summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2016-06-07 21:52:48 +0200
committerGDR! <gdr@gdr.name>2016-06-07 21:52:48 +0200
commit1013b2aaeafa9112849df4e08bcced23cbd91fdf (patch)
tree101e51c47c70ac1a9a70c4db3633983939de95aa /main.h
parent816245f429145052b8908d500c64d372fc8c2972 (diff)
"Whitelist clients by pubkeys" mode, re-request friends
See #14
Diffstat (limited to 'main.h')
-rw-r--r--main.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.h b/main.h
index 41a7995..65494ef 100644
--- a/main.h
+++ b/main.h
@@ -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
60typedef struct allowed_toxid {
61 char toxid[TOX_ADDRESS_SIZE];
62 struct allowed_toxid *next;
63} allowed_toxid;
64
59typedef struct protocol_frame_t { 65typedef struct protocol_frame_t {
60 uint32_t friendnumber; 66 uint32_t friendnumber;
61 67