summaryrefslogtreecommitdiff
path: root/core/friend_requests.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/friend_requests.h')
-rw-r--r--core/friend_requests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/friend_requests.h b/core/friend_requests.h
index 708d8f66..f18107ce 100644
--- a/core/friend_requests.h
+++ b/core/friend_requests.h
@@ -37,7 +37,7 @@ int send_friendrequest(uint8_t *public_key, uint8_t *data, uint32_t length);
37 37
38/* set the function that will be executed when a friend request for us is received. 38/* set the function that will be executed when a friend request for us is received.
39 function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) */ 39 function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) */
40void callback_friendrequest(void (*function)(uint8_t *, uint8_t *, uint16_t)); 40void callback_friendrequest(void (*function)(uint8_t *, uint8_t *, uint16_t, void*), void* userdata);
41 41
42/* sets up friendreq packet handlers */ 42/* sets up friendreq packet handlers */
43void friendreq_init(void); 43void friendreq_init(void);