summaryrefslogtreecommitdiff
path: root/toxcore/friend_requests.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2015-01-28 20:48:07 -0500
committerirungentoo <irungentoo@gmail.com>2015-01-28 20:48:07 -0500
commitb83ff00c277671e087d580452288c89a84a0f3df (patch)
treee6bde54b39e8ab2baf97ddfccb216a7ed1e02a87 /toxcore/friend_requests.h
parent10ef3a674f16a02045c5135b4d568d3a2b53b8c4 (diff)
Code cleanups.
Diffstat (limited to 'toxcore/friend_requests.h')
-rw-r--r--toxcore/friend_requests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/friend_requests.h b/toxcore/friend_requests.h
index b7e07af4..86069f3b 100644
--- a/toxcore/friend_requests.h
+++ b/toxcore/friend_requests.h
@@ -51,12 +51,12 @@ typedef struct {
51void set_nospam(Friend_Requests *fr, uint32_t num); 51void set_nospam(Friend_Requests *fr, uint32_t num);
52uint32_t get_nospam(const Friend_Requests *fr); 52uint32_t get_nospam(const Friend_Requests *fr);
53 53
54/* Remove client id from received_requests list. 54/* Remove real_pk from received_requests list.
55 * 55 *
56 * return 0 if it removed it successfully. 56 * return 0 if it removed it successfully.
57 * return -1 if it didn't find it. 57 * return -1 if it didn't find it.
58 */ 58 */
59int remove_request_received(Friend_Requests *fr, const uint8_t *client_id); 59int remove_request_received(Friend_Requests *fr, const uint8_t *real_pk);
60 60
61/* Set the function that will be executed when a friend request for us is received. 61/* Set the function that will be executed when a friend request for us is received.
62 * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length, void * userdata) 62 * Function format is function(uint8_t * public_key, uint8_t * data, uint16_t length, void * userdata)