diff options
Diffstat (limited to 'toxcore/friend_requests.h')
-rw-r--r-- | toxcore/friend_requests.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toxcore/friend_requests.h b/toxcore/friend_requests.h index ae21f7dc..5fd9bf34 100644 --- a/toxcore/friend_requests.h +++ b/toxcore/friend_requests.h | |||
@@ -33,7 +33,6 @@ typedef struct { | |||
33 | void (*handle_friendrequest)(void *, const uint8_t *, const uint8_t *, size_t, void *); | 33 | void (*handle_friendrequest)(void *, const uint8_t *, const uint8_t *, size_t, void *); |
34 | uint8_t handle_friendrequest_isset; | 34 | uint8_t handle_friendrequest_isset; |
35 | void *handle_friendrequest_object; | 35 | void *handle_friendrequest_object; |
36 | void *handle_friendrequest_userdata; | ||
37 | 36 | ||
38 | int (*filter_function)(const uint8_t *, void *); | 37 | int (*filter_function)(const uint8_t *, void *); |
39 | void *filter_function_userdata; | 38 | void *filter_function_userdata; |
@@ -62,7 +61,7 @@ int remove_request_received(Friend_Requests *fr, const uint8_t *real_pk); | |||
62 | * Function format is function(uint8_t * public_key, uint8_t * data, size_t length, void * userdata) | 61 | * Function format is function(uint8_t * public_key, uint8_t * data, size_t length, void * userdata) |
63 | */ | 62 | */ |
64 | void callback_friendrequest(Friend_Requests *fr, void (*function)(void *, const uint8_t *, const uint8_t *, size_t, | 63 | void callback_friendrequest(Friend_Requests *fr, void (*function)(void *, const uint8_t *, const uint8_t *, size_t, |
65 | void *), void *object, void *userdata); | 64 | void *), void *object); |
66 | 65 | ||
67 | /* Set the function used to check if a friend request should be displayed to the user or not. | 66 | /* Set the function used to check if a friend request should be displayed to the user or not. |
68 | * Function format is int function(uint8_t * public_key, void * userdata) | 67 | * Function format is int function(uint8_t * public_key, void * userdata) |