summaryrefslogtreecommitdiff
path: root/include/checkFront.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-30 17:03:33 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-30 17:03:33 +0000
commit6f8cef248e1467595a932707eb9a9c53af2e8839 (patch)
tree14beaef0e6253ab3657b59a90231d2788806307a /include/checkFront.h
parent13cb3930e9989aba57f0301a821f64ceed29af20 (diff)
- opravene memory leaky pomocou vlagrindu
- sietovy protokol je navrhnuty tal aby client odsiselal info o tom, ze obdrzal spravu git-svn-id: http://opensvn.csie.org/tuxanci_ng@57 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
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