diff options
Diffstat (limited to 'testing/experiment/group_chats.h')
-rw-r--r-- | testing/experiment/group_chats.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testing/experiment/group_chats.h b/testing/experiment/group_chats.h index 527610d8..42ea3e08 100644 --- a/testing/experiment/group_chats.h +++ b/testing/experiment/group_chats.h | |||
@@ -76,7 +76,7 @@ void callback_groupmessage(Group_Chat *chat, void (*function)(Group_Chat *chat, | |||
76 | * Send a message to the group. | 76 | * Send a message to the group. |
77 | * | 77 | * |
78 | */ | 78 | */ |
79 | uint32_t m_sendmessage(Group_Chat *chat, uint8_t *message, uint32_t length); | 79 | uint32_t group_sendmessage(Group_Chat *chat, uint8_t *message, uint32_t length); |
80 | 80 | ||
81 | /* Create a new group chat. | 81 | /* Create a new group chat. |
82 | * | 82 | * |
@@ -93,6 +93,10 @@ Group_Chat *new_groupchat(Networking_Core *net); | |||
93 | */ | 93 | */ |
94 | void kill_groupchat(Group_Chat *chat); | 94 | void kill_groupchat(Group_Chat *chat); |
95 | 95 | ||
96 | /* | ||
97 | * This is the main loop. | ||
98 | */ | ||
99 | void do_groupchat(Group_Chat *chat); | ||
96 | 100 | ||
97 | /* if we receive a group chat packet we call this function so it can be handled. | 101 | /* if we receive a group chat packet we call this function so it can be handled. |
98 | return 0 if packet is handled correctly. | 102 | return 0 if packet is handled correctly. |
@@ -100,7 +104,7 @@ void kill_groupchat(Group_Chat *chat); | |||
100 | int handle_groupchatpacket(Group_Chat *chat, IP_Port source, uint8_t *packet, uint32_t length); | 104 | int handle_groupchatpacket(Group_Chat *chat, IP_Port source, uint8_t *packet, uint32_t length); |
101 | 105 | ||
102 | 106 | ||
103 | void chat_bootstrap(Group_Chat *chat, IP_Port ip_port, int peernum); | 107 | void chat_bootstrap(Group_Chat *chat, IP_Port ip_port, uint8_t *client_id); |
104 | 108 | ||
105 | #ifdef __cplusplus | 109 | #ifdef __cplusplus |
106 | } | 110 | } |