代码拉取完成,页面将自动刷新
unit PointerscanStructures;
{$mode delphi}
interface
uses
{$ifdef darwin}
macport, Classes, SysUtils, Sockets, CELazySocket, commonTypeDefs;
{$endif}
{$ifdef windows}
windows, Classes, SysUtils, winsock, CELazySocket, commonTypeDefs;
{$endif}
const
MAXQUEUESIZE=64;
pointerscanfileversion=2;
type
TPathQueueElement=record
tempresults: array of dword;
valuelist: array of qword;
valuetofind: qword;
startlevel: integer;
end;
PPathQueueElement=^TPathQueueElement;
TMainPathQueue=array [0..MAXQUEUESIZE-1] of TPathQueueElement;
PMainPathQueue=^TMainPathQueue;
TDynPathQueue=array of TPathQueueElement;
TPointerscanControllerParent=record
socket: TSocketstream;
scanid: dword;
name: string;
iConnectedTo: boolean;
connectdata: record
ip: string;
port: word;
password: string;
end;
ip: string;
port: word;
trustsme: boolean;
knowsIAmTerminating: boolean;
connecttime: qword;
end;
PPointerscanControllerParent=^TPointerscanControllerParent;
TPointerscancontrollerchild=record
socket: TSocketstream;
MissingSince: qword; //holds the time when the connection was lost. If this is set to 0 the child info will be deleted
Error: string;
iConnectedTo: boolean;
connectdata: record
ip: string;
port: word;
password: string;
end;
ip: string;
port: word;
childid: integer;
trusted: boolean;
takePathsAndDisconnect: boolean;
terminating: boolean;
idle: boolean;
//pathspersecond: qword;
totalPathsEvaluated: qword;
pathqueuesize: integer;
totalpathqueuesize: integer;
potentialthreadcount: integer;
actualthreadcount: integer;
resultsfound: qword;
queued: boolean;
queuepos: dword;
queuesize: dword;
trustlevel: integer;
nontrustedlastpaths: TDynPathQueue;
nontrustedlastpathstime: qword;
scandatauploader: TThread;
ScanDataSent: qword;
ScanDataTotalSize: qword;
ScanDataStartTime: qword;
hasReceivedScandata: boolean;
LastUpdateReceived: qword;
scanresultDownloader: TThread; //not nil if the results it has sent me are still being processed
resultstream: TFilestream; //if initializer this holds an open filestream to the .ptr associated with this child
end;
PPointerscancontrollerchild=^TPointerscancontrollerchild;
TQueueWriterMethod=procedure(sender: TObject; PathQueueElement: TPathQueueElement) of object;
implementation
end.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。