diff options
author | Alexey Kulakov <panda75@bk.ru> | 2012-10-03 17:00:43 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2012-10-03 17:00:43 +0000 |
commit | d2da1f079fc61195437007882296184714d2fe54 (patch) | |
tree | 1da95a90cae8b6225754975a97e325ce48d13338 /include/delphi/m_protosvc.inc | |
parent | 10e856dedeb8bc7adf01213ff393b82772c90e92 (diff) |
includes updates
history++ compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@1771 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_protosvc.inc')
-rw-r--r-- | include/delphi/m_protosvc.inc | 67 |
1 files changed, 37 insertions, 30 deletions
diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc index 2076dbc8bc..4414323a44 100644 --- a/include/delphi/m_protosvc.inc +++ b/include/delphi/m_protosvc.inc @@ -238,17 +238,6 @@ type lParam : LPARAM;
end;
- //File(s) have been received (0.9.x)
- PPROTORECVFILET = ^TPROTORECVFILET;
- TPROTORECVFILET = record
- flags : DWORD;
- timestamp : DWORD; // unix time
- szDescription: TChar;
- FileCount : int;
- pFiles : ^TChar; // pointer to an array of PAnsiChar's
- lParam : LPARAM;
- end;
-
PPROTOFILERESUME = ^TPROTOFILERESUME;
TPROTOFILERESUME = record
action : int; // FILERESUME_* flag
@@ -908,10 +897,47 @@ const stored as DB event EVENTTYPE_MESSAGE, blob contains message
string without null termination.
}
+
+{ Proto/RecvMessage
+Copies a message from a PROTORECVEVENT event into the database
+ wParam = 0 (unused)
+ lParam = CCSDATA*
+Returns the result of MS_DB_EVENT_ADD
+}
PSR_MESSAGE = '/RecvMessage';
// PSR_MESSAGEW = '/RecvMessageW';
MS_PROTO_RECVMSG = 'Proto/RecvMessage';
+
+
+{ Proto/AuthRecv
+Copies the EVENTTYPE_AUTHREQUEST event from PROTORECVEVENT into DBEVENTINFO and adds it
+ wParam = char* : protocol name
+ lParam = PROTORECVEVENT*
+Returns the result of MS_DB_EVENT_ADD
+}
+ PSR_AUTH = '/RecvAuth';
+ MS_PROTO_AUTHRECV = 'Proto/AuthRecv';
+
+//File(s) have been received
+//wParam = 0
+//lParam = (LPARAM)(PROTORECVFILET*)&prf
+
+type
+ PROTORECVFILET = record
+ flags:dword;
+ timestamp:dword; // unix time
+ szDescription:TChar;
+ fileCount:int;
+ ptszFiles:^TChar;
+ lParam:LPARAM; // extra space for the network level protocol module
+ end;
+
+const
+ PSR_FILE = '/RecvFile';
+
+ MS_PROTO_RECVFILET = 'Proto/RecvFileT';
+
{
CCSDATA: Yes
wParam : 0
@@ -952,30 +978,11 @@ const {
CCSDATA: Yes
- wParam : 0
- lParam : Pointer to a TPROTORECVFILE
- Affect : File(s) have been received
- }
- PSR_FILE = '/RecvFile';
-
- MS_PROTO_RECVFILE :pAnsiChar = 'Proto/RecvFile';
- MS_PROTO_RECVFILET:pAnsiChar = 'Proto/RecvFileT';
-
- {
- CCSDATA: Yes
wParam : status_mode
lParam : Pointer to a TPROTORECVEVENT structure
Affect : An away message reply has been received
}
PSR_AWAYMSG = '/RecvAwayMsg';
- {
- An authorization request has been received
- wParam=0
- lParam=(LPARAM)(PROTORECVEVENT*)&pre
- pre.szMessage is same format as blob
- pre.lParam is the size of the blob
- }
- PSR_AUTH = '/RecvAuth';
{$ENDIF}
|