diff options
author | GDR! <gdr@gdr.name> | 2016-06-07 21:52:48 +0200 |
---|---|---|
committer | GDR! <gdr@gdr.name> | 2016-06-07 21:52:48 +0200 |
commit | 1013b2aaeafa9112849df4e08bcced23cbd91fdf (patch) | |
tree | 101e51c47c70ac1a9a70c4db3633983939de95aa /main.h | |
parent | 816245f429145052b8908d500c64d372fc8c2972 (diff) |
"Whitelist clients by pubkeys" mode, re-request friends
See #14
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include "util.h" | 23 | #include "util.h" |
24 | #include "uthash.h" | 24 | #include "uthash.h" |
25 | #include "utlist.h" | ||
25 | 26 | ||
26 | 27 | ||
27 | #define PROTOCOL_MAGIC_V1 0xa26a | 28 | #define PROTOCOL_MAGIC_V1 0xa26a |
@@ -56,6 +57,11 @@ typedef struct tunnel_t { | |||
56 | UT_hash_handle hh; | 57 | UT_hash_handle hh; |
57 | } tunnel; | 58 | } tunnel; |
58 | 59 | ||
60 | typedef struct allowed_toxid { | ||
61 | char toxid[TOX_ADDRESS_SIZE]; | ||
62 | struct allowed_toxid *next; | ||
63 | } allowed_toxid; | ||
64 | |||
59 | typedef struct protocol_frame_t { | 65 | typedef struct protocol_frame_t { |
60 | uint32_t friendnumber; | 66 | uint32_t friendnumber; |
61 | 67 | ||