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..569fcab1 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -197,6 +197,10 @@ void m_callback_statusmessage(void (*function)(int, uint8_t *, uint16_t)); | |||
197 | in that case, you should discard it. */ | 197 | in that case, you should discard it. */ |
198 | void m_callback_read_receipt(void (*function)(int, uint32_t)); | 198 | void m_callback_read_receipt(void (*function)(int, uint32_t)); |
199 | 199 | ||
200 | /* set the callback for friend status changes | ||
201 | function(int friendnumber, uint8_t status) */ | ||
202 | void m_callback_friendstatus(void (*function)(int, uint8_t)); | ||
203 | |||
200 | /* run this at startup | 204 | /* run this at startup |
201 | returns 0 if no connection problems | 205 | returns 0 if no connection problems |
202 | returns -1 if there are problems */ | 206 | returns -1 if there are problems */ |