diff options
Diffstat (limited to 'toxcore/group.h')
-rw-r--r-- | toxcore/group.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/toxcore/group.h b/toxcore/group.h index 67b824fb..ab36ca34 100644 --- a/toxcore/group.h +++ b/toxcore/group.h | |||
@@ -32,11 +32,6 @@ enum { | |||
32 | GROUPCHAT_STATUS_VALID | 32 | GROUPCHAT_STATUS_VALID |
33 | }; | 33 | }; |
34 | 34 | ||
35 | enum { | ||
36 | GROUPCON_STATUS_NONE, | ||
37 | GROUPCON_STATUS_VALID | ||
38 | }; | ||
39 | |||
40 | typedef struct { | 35 | typedef struct { |
41 | uint8_t client_id[crypto_box_PUBLICKEYBYTES]; | 36 | uint8_t client_id[crypto_box_PUBLICKEYBYTES]; |
42 | uint64_t pingid; | 37 | uint64_t pingid; |
@@ -84,21 +79,11 @@ typedef struct { | |||
84 | } Group_c; | 79 | } Group_c; |
85 | 80 | ||
86 | typedef struct { | 81 | typedef struct { |
87 | uint8_t status; | ||
88 | |||
89 | uint8_t real_public_key[crypto_box_PUBLICKEYBYTES]; | ||
90 | uint8_t dht_public_key[crypto_box_PUBLICKEYBYTES]; | ||
91 | } Group_Connection; | ||
92 | |||
93 | typedef struct { | ||
94 | Messenger *m; | 82 | Messenger *m; |
95 | 83 | ||
96 | Group_c *chats; | 84 | Group_c *chats; |
97 | uint32_t num_chats; | 85 | uint32_t num_chats; |
98 | 86 | ||
99 | Group_Connection *cons; | ||
100 | uint32_t num_cons; | ||
101 | |||
102 | void (*invite_callback)(Messenger *m, int32_t, const uint8_t *, uint16_t, void *); | 87 | void (*invite_callback)(Messenger *m, int32_t, const uint8_t *, uint16_t, void *); |
103 | void *invite_callback_userdata; | 88 | void *invite_callback_userdata; |
104 | void (*message_callback)(Messenger *m, int, int, const uint8_t *, uint16_t, void *); | 89 | void (*message_callback)(Messenger *m, int, int, const uint8_t *, uint16_t, void *); |