summaryrefslogtreecommitdiff
path: root/toxcore/DHT.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/DHT.h')
-rw-r--r--toxcore/DHT.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/DHT.h b/toxcore/DHT.h
index 13f7ce20..40ce73f1 100644
--- a/toxcore/DHT.h
+++ b/toxcore/DHT.h
@@ -69,9 +69,9 @@ int create_request(const uint8_t *send_public_key, const uint8_t *send_secret_ke
69 const uint8_t *recv_public_key, const uint8_t *data, uint32_t length, uint8_t request_id); 69 const uint8_t *recv_public_key, const uint8_t *data, uint32_t length, uint8_t request_id);
70 70
71/* puts the senders public key in the request in public_key, the data from the request 71/* puts the senders public key in the request in public_key, the data from the request
72 in data if a friend or ping request was sent to us and returns the length of the data. 72 * in data if a friend or ping request was sent to us and returns the length of the data.
73 packet is the request packet and length is its length 73 * packet is the request packet and length is its length
74 return -1 if not valid request. */ 74 * return -1 if not valid request. */
75int handle_request(const uint8_t *self_public_key, const uint8_t *self_secret_key, uint8_t *public_key, uint8_t *data, 75int handle_request(const uint8_t *self_public_key, const uint8_t *self_secret_key, uint8_t *public_key, uint8_t *data,
76 uint8_t *request_id, const uint8_t *packet, uint16_t length); 76 uint8_t *request_id, const uint8_t *packet, uint16_t length);
77 77