summaryrefslogtreecommitdiff
path: root/core/friend_requests.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-16 13:11:09 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-16 13:11:09 -0400
commit88ff81d9def5efe69cbaf91aa41906177ba7dde9 (patch)
treecb9f149e438bcd1f18d8c1eb5d8be6b0a22f58a4 /core/friend_requests.h
parentc5af8f44a9d040a0bbe0442ec074d9fc8562dd32 (diff)
Passed everything through astyle.
Diffstat (limited to 'core/friend_requests.h')
-rw-r--r--core/friend_requests.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/friend_requests.h b/core/friend_requests.h
index 0b75fd60..3ce0df8c 100644
--- a/core/friend_requests.h
+++ b/core/friend_requests.h
@@ -33,7 +33,7 @@ extern "C" {
33 33
34/* Try to send a friendrequest to peer with public_key 34/* Try to send a friendrequest to peer with public_key
35 data is the data in the request and length is the length. */ 35 data is the data in the request and length is the length. */
36int send_friendrequest(uint8_t * public_key, uint32_t nospam_num, uint8_t * data, uint32_t length); 36int send_friendrequest(uint8_t *public_key, uint32_t nospam_num, uint8_t *data, uint32_t length);
37/* 37/*
38 * Set and get the nospam variable used to prevent one type of friend request spam 38 * Set and get the nospam variable used to prevent one type of friend request spam
39 */ 39 */
@@ -42,7 +42,7 @@ uint32_t get_nospam();
42 42
43/* set the function that will be executed when a friend request for us is received. 43/* set the function that will be executed when a friend request for us is received.
44 function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) */ 44 function format is function(uint8_t * public_key, uint8_t * data, uint16_t length) */
45void callback_friendrequest(void (*function)(uint8_t *, uint8_t *, uint16_t, void*), void* userdata); 45void callback_friendrequest(void (*function)(uint8_t *, uint8_t *, uint16_t, void *), void *userdata);
46 46
47/* sets up friendreq packet handlers */ 47/* sets up friendreq packet handlers */
48void friendreq_init(void); 48void friendreq_init(void);