summaryrefslogtreecommitdiff
path: root/toxcore/onion.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-01-04 19:40:43 -0500
committerirungentoo <irungentoo@gmail.com>2014-01-04 19:40:43 -0500
commit7e2d21271a549347575a38e5c3859d7374d496ed (patch)
treec8e4c56cd4793fd24e1e0bf3f989755b5d1cd036 /toxcore/onion.h
parentd46891c3b7cf70a2b436562ae387d85384f05d5c (diff)
Some work on the onion part done.
Diffstat (limited to 'toxcore/onion.h')
-rw-r--r--toxcore/onion.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/toxcore/onion.h b/toxcore/onion.h
index 84aa72e1..bb4687fe 100644
--- a/toxcore/onion.h
+++ b/toxcore/onion.h
@@ -20,6 +20,9 @@
20* 20*
21*/ 21*/
22 22
23#ifndef ONION_H
24#define ONION_H
25
23#include "DHT.h" 26#include "DHT.h"
24 27
25typedef struct { 28typedef struct {
@@ -58,3 +61,6 @@ int send_onion_response(Networking_Core *net, IP_Port dest, uint8_t *data, uint3
58Onion *new_onion(DHT *dht); 61Onion *new_onion(DHT *dht);
59 62
60void kill_onion(Onion *onion); 63void kill_onion(Onion *onion);
64
65
66#endif