diff options
Diffstat (limited to 'core/Messenger.h')
-rw-r--r-- | core/Messenger.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/Messenger.h b/core/Messenger.h index d2fa8945..634b1c8b 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -188,6 +188,10 @@ void m_callback_namechange(void (*function)(int, uint8_t *, uint16_t)); | |||
188 | you are not responsible for freeing newstatus */ | 188 | you are not responsible for freeing newstatus */ |
189 | void m_callback_statusmessage(void (*function)(int, uint8_t *, uint16_t)); | 189 | void m_callback_statusmessage(void (*function)(int, uint8_t *, uint16_t)); |
190 | 190 | ||
191 | /* set the callback for status type changes | ||
192 | function(int friendnumber, USERSTATUS kind) */ | ||
193 | void m_callback_userstatus(void (*function)(int, USERSTATUS)) | ||
194 | |||
191 | /* set the callback for read receipts | 195 | /* set the callback for read receipts |
192 | function(int friendnumber, uint32_t receipt) | 196 | function(int friendnumber, uint32_t receipt) |
193 | if you are keeping a record of returns from m_sendmessage, | 197 | if you are keeping a record of returns from m_sendmessage, |