summaryrefslogtreecommitdiff
path: root/include/checkFront.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/checkFront.h')
-rw-r--r--include/checkFront.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/checkFront.h b/include/checkFront.h
new file mode 100644
index 0000000..84f6906
--- /dev/null
+++ b/include/checkFront.h
@@ -0,0 +1,18 @@
+
+#ifndef CHECK_FRONT_H
+
+#define CHECK_FRONT_H
+
+#include "list.h"
+#include "server.h"
+
+#define CHECK_FRONT_SEND_TIME_INTERVAL 100
+#define CHECK_FRONT_MAX_COUNT_SEND 30
+
+extern list_t* newCheckFront();
+extern void addMsgInCheckFront(list_t *list, char *msg, int id);
+extern void eventMsgInCheckFront(client_t *client);
+extern void delMsgInCheckFront(list_t *listCheckFront, int id);
+extern void destroyCheckFront(list_t *p);
+
+#endif