summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-08-04 11:44:14 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-08-04 11:44:14 +0000
commit788fa224a56805cd9b6cab2f1c5c0fd3a90249b1 (patch)
tree6d9b2d0254651c6955312db47ea82168b7648046 /toxcore/Messenger.h
parent064ffe58756f1adbd1917689ea79db95756d535e (diff)
Remove unused `m_callback_log` function.
The logger callback can only be set once at the beginning, because it requires user data coming from `Tox_Options`.
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r--toxcore/Messenger.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h
index 548d8654..8cab9801 100644
--- a/toxcore/Messenger.h
+++ b/toxcore/Messenger.h
@@ -481,10 +481,6 @@ int m_set_usertyping(Messenger *m, int32_t friendnumber, uint8_t is_typing);
481 */ 481 */
482int m_get_istyping(const Messenger *m, int32_t friendnumber); 482int m_get_istyping(const Messenger *m, int32_t friendnumber);
483 483
484/* Set the logger callback.
485 */
486void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata);
487
488/* Set the function that will be executed when a friend request is received. 484/* Set the function that will be executed when a friend request is received.
489 * Function format is function(uint8_t * public_key, uint8_t * data, size_t length) 485 * Function format is function(uint8_t * public_key, uint8_t * data, size_t length)
490 */ 486 */