summaryrefslogtreecommitdiff
path: root/core/friend_requests.h
diff options
context:
space:
mode:
authorslvr <slvr@unsafeio.com>2013-08-12 23:08:48 +0100
committerslvr <slvr@unsafeio.com>2013-08-12 23:08:48 +0100
commitbe840b46b961080aee8871a1278d9383affa6f4f (patch)
tree2fb12430cdb2bd4d1aac6b4c87505363d0387c3e /core/friend_requests.h
parenta56d87cd3f7e20939e7f877a5c6419f28d9b8b24 (diff)
parentf9bfb42504ffb56fdcc028efbe1177fe1d45a26c (diff)
Merge remote-tracking branch 'upstream/master' into timer
Conflicts: core/Messenger.c
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);