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 3a9a56df..3044122b 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -201,6 +201,10 @@ void m_callback_userstatus(void (*function)(int, USERSTATUS)); | |||
201 | in that case, you should discard it. */ | 201 | in that case, you should discard it. */ |
202 | void m_callback_read_receipt(void (*function)(int, uint32_t)); | 202 | void m_callback_read_receipt(void (*function)(int, uint32_t)); |
203 | 203 | ||
204 | /* set the callback for friend status changes | ||
205 | function(int friendnumber, uint8_t status) */ | ||
206 | void m_callback_friendstatus(void (*function)(int, uint8_t)); | ||
207 | |||
204 | /* run this at startup | 208 | /* run this at startup |
205 | returns 0 if no connection problems | 209 | returns 0 if no connection problems |
206 | returns -1 if there are problems */ | 210 | returns -1 if there are problems */ |