summaryrefslogtreecommitdiff
path: root/include/delphi/m_protosvc.inc
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-03-08 13:10:05 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-03-08 13:10:05 +0000
commitd83baeb842ea828eaee90a0cd6575872a95240e8 (patch)
tree8d775bb8920446118011093658caf7d9c0d61ed4 /include/delphi/m_protosvc.inc
parent0da38f608c271216398052dc0030b901951143ec (diff)
Pascal-style type correction
Letter case correction small fixes Actman UA part dialog slightly changed git-svn-id: http://svn.miranda-ng.org/main/trunk@8473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/delphi/m_protosvc.inc')
-rw-r--r--include/delphi/m_protosvc.inc32
1 files changed, 16 insertions, 16 deletions
diff --git a/include/delphi/m_protosvc.inc b/include/delphi/m_protosvc.inc
index f08315bc40..36c20984d9 100644
--- a/include/delphi/m_protosvc.inc
+++ b/include/delphi/m_protosvc.inc
@@ -205,7 +205,7 @@ type
email : TFNAMECHAR;
id : TFNAMECHAR;
flags : int;
- reserved : array [0..(8*SizeOf(THANDLE) div SizeOf(dword))-1] of Byte;
+ reserved : array [0..(8*SizeOf(THANDLE) div SizeOf(dword))-1] of byte;
// Protocols may extend this structure with extra members at will and supply
// a larger cbSize to reflect the new information, but they must not change
// any elements above this comment
@@ -224,18 +224,18 @@ type
PPROTORECVEVENT = ^TPROTORECVEVENT;
TPROTORECVEVENT = record
- flags : DWORD;
- timestamp : DWORD;
+ flags : dword;
+ timestamp : dword;
szMessage : TChar;
lParam : LPARAM;
pCustomData : pointer;
- cbCustomDataSize: DWORD;
+ cbCustomDataSize: dword;
end;
PPROTORECVFILE = ^TPROTORECVFILE;
TPROTORECVFILE = record
- flags : DWORD;
- timestamp : DWORD; // unix time
+ flags : dword;
+ timestamp : dword; // unix time
szDescription: PAnsiChar;
pFiles : ^PAnsiChar; // pointer to an array of PAnsiChar's
lParam : LPARAM;
@@ -354,7 +354,7 @@ const
Notes : Auth request come in the form of an event added to the database
for the NULL(0) user, the form is:
-
- protocolSpecific: DWORD;
+ protocolSpecific: dword;
nick, firstname, lastName, e-mail, requestReason: ASCIIZ;
-
HDBEVENT musts be the handle of such an event, one or more
@@ -473,7 +473,7 @@ const
PS_SEARCHBYADVANCED = '/SearchByAdvanced';
type
- CUSTOMSEARCHRESULTS = record
+ TCUSTOMSEARCHRESULTS = record
nSize :size_t;
nFieldCount:int;
szFields :^TCHAR;
@@ -484,12 +484,12 @@ type
wParam : flags
lParam : Pointer to a TPROTOSEARCHRESULT structure
Affect : Adds a search result to the contact list, see notes
- Returns: A handle to the new contact (MCONTACT) or NULL(0) on failure
+ Returns: A handle to the new contact (TMCONTACT) or NULL(0) on failure
Notes : The pointer MUST be a result returned by a search function
since there maybe extra protocol-spec data required by the protocol.
-
the protocol module should not allow duplicate contains to be added,
- but if such a request *is* received it should return a MCONTACT
+ but if such a request *is* received it should return a TMCONTACT
to the original user,
-
If flags is PALF_TEMPORARY set, the contact should be added
@@ -503,7 +503,7 @@ const
wParam : MAKEWPARAM(flags, iContact)
lParam : HDBEVENT
Affects: Add a contact to the contact list given an auth/added/contacts events, see notes
- Returns: A MCONTACT or NULL(0) on failure
+ Returns: A TMCONTACT or NULL(0) on failure
Notes : HDBEVENT must be either EVENTTYPE_AUTHREQ or EVENTTYPE_ADDED
flags are the same as PS_ADDTOLIST,
-
@@ -576,7 +576,7 @@ const
{
Asks protocol for the status message for a status
- wParam=(WORD) 0 for current status or a status id
+ wParam=(word) 0 for current status or a status id
lParam=SGMA_xxx
Returns status msg or NULL if there is none. The protocol have to handle only the current
status. Handling messages for other statuses is optional.
@@ -672,7 +672,7 @@ const
flags which may have SGIF_MINIMAL set to only get
"basic" information, such as nickname, email address.
- PCCSDATA(lParam)^.hContact has the MCONTACT handle to get user
+ PCCSDATA(lParam)^.hContact has the TMCONTACT handle to get user
information for.
Will update all the information in the database and then
@@ -757,7 +757,7 @@ const
CCSDATA: Yes
wParam : 0
lParam : 0
- Affect : Send a request to retrieve MCONTACT's mode message, see notes
+ Affect : Send a request to retrieve TMCONTACT's mode message, see notes
Returns: a hProcess which will be ack'd later, NULL(0) on failure
Notes : the reply will come in a form of an ack :
@@ -793,7 +793,7 @@ const
-
File transfers are marked by a EVENTTYPE_FILE added to the database.
The format is :
- hTransfer: DWORD
+ hTransfer: dword
filename(s), description: ASCIIZ
}
PSS_FILEALLOW = '/FileAllow';
@@ -900,7 +900,7 @@ Returns the result of MS_DB_EVENT_ADD
//lParam = (LPARAM)(PROTORECVFILET*)&prf
type
- PROTORECVFILET = record
+ TPROTORECVFILET = record
flags:dword;
timestamp:dword; // unix time
szDescription:TChar;