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`.
This commit is contained in:
iphydf 2018-08-04 11:44:14 +00:00
parent 064ffe5875
commit 788fa224a5
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9
2 changed files with 0 additions and 9 deletions

View File

@ -842,11 +842,6 @@ static void set_friend_typing(const Messenger *m, int32_t friendnumber, uint8_t
m->friendlist[friendnumber].is_typing = is_typing;
}
void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata)
{
logger_callback_log(m->log, function, context, userdata);
}
/* Set the function that will be executed when a friend request is received. */
void m_callback_friendrequest(Messenger *m, m_friend_request_cb *function)
{

View File

@ -481,10 +481,6 @@ int m_set_usertyping(Messenger *m, int32_t friendnumber, uint8_t is_typing);
*/
int m_get_istyping(const Messenger *m, int32_t friendnumber);
/* Set the logger callback.
*/
void m_callback_log(Messenger *m, logger_cb *function, void *context, void *userdata);
/* Set the function that will be executed when a friend request is received.
* Function format is function(uint8_t * public_key, uint8_t * data, size_t length)
*/