diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-20 13:34:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-20 13:34:45 +0300 |
commit | e96132b4d5344d2d58d247906bcaefccfb9d5253 (patch) | |
tree | 24a9524e4900547f2ba3a461e228fd3c98c0410d /include/delphi | |
parent | 4dac8bd56f9116ac76423b2664286ed894ca80c2 (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.inc | 3 |
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
|