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 40d02f46..55c86682 100644 --- a/core/Messenger.h +++ b/core/Messenger.h | |||
@@ -211,6 +211,10 @@ void m_callback_userstatus(void (*function)(int, USERSTATUS)); | |||
211 | in that case, you should discard it. */ | 211 | in that case, you should discard it. */ |
212 | void m_callback_read_receipt(void (*function)(int, uint32_t)); | 212 | void m_callback_read_receipt(void (*function)(int, uint32_t)); |
213 | 213 | ||
214 | /* set the callback for friend status changes | ||
215 | function(int friendnumber, uint8_t status) */ | ||
216 | void m_callback_friendstatus(void (*function)(int, uint8_t)); | ||
217 | |||
214 | /* run this at startup | 218 | /* run this at startup |
215 | returns 0 if no connection problems | 219 | returns 0 if no connection problems |
216 | returns -1 if there are problems */ | 220 | returns -1 if there are problems */ |