summaryrefslogtreecommitdiff
path: root/toxcore/DHT.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-05-16 23:04:10 +0100
committeriphydf <iphydf@users.noreply.github.com>2020-05-17 18:16:42 +0100
commit03a511482ffa643a636cd5bcce596f110ca2d8e0 (patch)
treef984d78add7a716a8451907aecbbcdcb2dff690c /toxcore/DHT.h
parentfe8e0fb8fa46a815e89e3722a7c92b35181c2ce8 (diff)
Format comments according to tokstyle's requirements.
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