summaryrefslogtreecommitdiff
path: root/toxcore/friend_requests.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-15 10:36:57 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-15 10:36:57 -0400
commit750c75a47dda2712bc988fecd95510ccf54c68fd (patch)
tree001528115bcd2c312e4183bf93d8e08eeae0b7f1 /toxcore/friend_requests.h
parenta38d962b040e06ebe986e59e4c53843dc5fbbfab (diff)
Astyled code.
Diffstat (limited to 'toxcore/friend_requests.h')
-rw-r--r--toxcore/friend_requests.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toxcore/friend_requests.h b/toxcore/friend_requests.h
index e669607b..c3e31f36 100644
--- a/toxcore/friend_requests.h
+++ b/toxcore/friend_requests.h
@@ -51,7 +51,8 @@ typedef struct {
51 * data is the data in the request and length is the length. 51 * data is the data in the request and length is the length.
52 * Maximum length of data is MAX_FRIEND_REQUEST_DATA_SIZE. 52 * Maximum length of data is MAX_FRIEND_REQUEST_DATA_SIZE.
53 */ 53 */
54int send_friendrequest(const Onion_Client *onion_c, const uint8_t *public_key, uint32_t nospam_num, const uint8_t *data, uint32_t length); 54int send_friendrequest(const Onion_Client *onion_c, const uint8_t *public_key, uint32_t nospam_num, const uint8_t *data,
55 uint32_t length);
55/* Set and get the nospam variable used to prevent one type of friend request spam. */ 56/* Set and get the nospam variable used to prevent one type of friend request spam. */
56void set_nospam(Friend_Requests *fr, uint32_t num); 57void set_nospam(Friend_Requests *fr, uint32_t num);
57uint32_t get_nospam(const Friend_Requests *fr); 58uint32_t get_nospam(const Friend_Requests *fr);