From 67c2b9fffd6d3ff12215d5cff82fb4b2c92739d4 Mon Sep 17 00:00:00 2001 From: stal Date: Wed, 7 Aug 2013 22:05:23 -0700 Subject: [PATCH] Re-export m_callback_userstatus --- core/Messenger.h | 4 ++++ 1 file changed, 4 insertions(+) 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)); you are not responsible for freeing newstatus */ void m_callback_statusmessage(void (*function)(int, uint8_t *, uint16_t)); +/* set the callback for status type changes + function(int friendnumber, USERSTATUS kind) */ +void m_callback_userstatus(void (*function)(int, USERSTATUS)) + /* set the callback for read receipts function(int friendnumber, uint32_t receipt) if you are keeping a record of returns from m_sendmessage,