diff options
author | irungentoo <irungentoo@gmail.com> | 2014-01-04 19:40:43 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-01-04 19:40:43 -0500 |
commit | 7e2d21271a549347575a38e5c3859d7374d496ed (patch) | |
tree | c8e4c56cd4793fd24e1e0bf3f989755b5d1cd036 /toxcore/onion.h | |
parent | d46891c3b7cf70a2b436562ae387d85384f05d5c (diff) |
Some work on the onion part done.
Diffstat (limited to 'toxcore/onion.h')
-rw-r--r-- | toxcore/onion.h | 6 |
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 | ||
25 | typedef struct { | 28 | typedef struct { |
@@ -58,3 +61,6 @@ int send_onion_response(Networking_Core *net, IP_Port dest, uint8_t *data, uint3 | |||
58 | Onion *new_onion(DHT *dht); | 61 | Onion *new_onion(DHT *dht); |
59 | 62 | ||
60 | void kill_onion(Onion *onion); | 63 | void kill_onion(Onion *onion); |
64 | |||
65 | |||
66 | #endif | ||