From 6f8cef248e1467595a932707eb9a9c53af2e8839 Mon Sep 17 00:00:00 2001 From: oroborus Date: Fri, 30 May 2008 17:03:33 +0000 Subject: - 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 --- include/checkFront.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/checkFront.h (limited to 'include/checkFront.h') 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 -- cgit v1.2.3