summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index ef56b304..b2b9f4f5 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -87,9 +87,6 @@ uint32_t crypto_num_free_sendqueue_slots(Net_Crypto *c, int crypt_connection_id)
87 */ 87 */
88int write_cryptpacket(Net_Crypto *c, int crypt_connection_id, uint8_t *data, uint32_t length); 88int write_cryptpacket(Net_Crypto *c, int crypt_connection_id, uint8_t *data, uint32_t length);
89 89
90/* Function to call when request beginning with byte is received. */
91void cryptopacket_registerhandler(Net_Crypto *c, uint8_t byte, cryptopacket_handler_callback cb, void *object);
92
93/* Start a secure connection with other peer who has public_key and ip_port. 90/* Start a secure connection with other peer who has public_key and ip_port.
94 * 91 *
95 * return -1 if failure. 92 * return -1 if failure.