diff options
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -73,6 +73,13 @@ typedef struct protocol_frame_t { | |||
73 | uint8_t *data; | 73 | uint8_t *data; |
74 | } protocol_frame; | 74 | } protocol_frame; |
75 | 75 | ||
76 | /* Rules policy */ | ||
77 | enum rules_policy_enum { VALIDATE, NONE }; | ||
78 | typedef struct rule { | ||
79 | uint16_t port; | ||
80 | char * host; | ||
81 | struct rule *next; | ||
82 | } rule; | ||
76 | 83 | ||
77 | /**** GLOBAL VARIABLES ****/ | 84 | /**** GLOBAL VARIABLES ****/ |
78 | extern Tox *tox; | 85 | extern Tox *tox; |