summaryrefslogtreecommitdiff
path: root/include/delphi
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-20 13:34:45 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-20 13:34:45 +0300
commite96132b4d5344d2d58d247906bcaefccfb9d5253 (patch)
tree24a9524e4900547f2ba3a461e228fd3c98c0410d /include/delphi
parent4dac8bd56f9116ac76423b2664286ed894ca80c2 (diff)
DBEVENTINFO::hContact to be returned inside an event, no need to call db_event_getContact() just after db_event_get()
Diffstat (limited to 'include/delphi')
-rw-r--r--include/delphi/m_database.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/delphi/m_database.inc b/include/delphi/m_database.inc
index ab9e66984c..93baaf542e 100644
--- a/include/delphi/m_database.inc
+++ b/include/delphi/m_database.inc
@@ -42,7 +42,8 @@ type
szModule : PAnsiChar; // module that 'owns' this event and controls the data format
timestamp: dword; // timestamp in UNIX time
flags : dword; // the DBEF_* flags above
- eventType: word; // event type, such as message, can be module defined
+ eventType: dword; // event type, such as message, can be module defined
+ hContact : TMCONTACT; // contact to which this event belongs
cbBlob : dword; // size in bytes of pBlob^
pBlob : PByte; // pointer to buffer containing the module defined event data
szId : PAnsiChar; // server id of event