diff options
Diffstat (limited to 'toxcore/onion.h')
-rw-r--r-- | toxcore/onion.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/toxcore/onion.h b/toxcore/onion.h index f125f3c3..da145081 100644 --- a/toxcore/onion.h +++ b/toxcore/onion.h | |||
@@ -140,8 +140,6 @@ int send_onion_response(Networking_Core *net, IP_Port dest, const uint8_t *data, | |||
140 | int onion_send_1(const Onion *onion, const uint8_t *plain, uint16_t len, IP_Port source, const uint8_t *nonce); | 140 | int onion_send_1(const Onion *onion, const uint8_t *plain, uint16_t len, IP_Port source, const uint8_t *nonce); |
141 | 141 | ||
142 | /* Set the callback to be called when the dest ip_port doesn't have TOX_AF_INET6 or TOX_AF_INET as the family. | 142 | /* Set the callback to be called when the dest ip_port doesn't have TOX_AF_INET6 or TOX_AF_INET as the family. |
143 | * | ||
144 | * Format: function(void *object, IP_Port dest, uint8_t *data, uint16_t length) | ||
145 | */ | 143 | */ |
146 | void set_callback_handle_recv_1(Onion *onion, onion_recv_1_cb *function, void *object); | 144 | void set_callback_handle_recv_1(Onion *onion, onion_recv_1_cb *function, void *object); |
147 | 145 | ||