mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
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:
parent
064ffe5875
commit
788fa224a5
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user