summaryrefslogtreecommitdiff
path: root/src/base/checkFront.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-28 16:38:35 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-06-28 16:38:35 +0000
commit2d776fcd61be168e1ff0ff2e4a5e71835e7cea19 (patch)
tree7cf274897bf540d5332d446f583ffd066e4e2e1d /src/base/checkFront.h
parentb877ae23ac5d380ab3aa48d7724045cf4883b186 (diff)
- prekopanie adresarovej struktury, prva cast
git-svn-id: http://opensvn.csie.org/tuxanci_ng@77 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'src/base/checkFront.h')
-rw-r--r--src/base/checkFront.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/base/checkFront.h b/src/base/checkFront.h
new file mode 100644
index 0000000..3beb370
--- /dev/null
+++ b/src/base/checkFront.h
@@ -0,0 +1,22 @@
+
+#ifndef CHECK_FRONT_H
+
+#define CHECK_FRONT_H
+
+#include "base/list.h"
+#include "base/server.h"
+
+#define CHECK_FRONT_SEND_TIME_INTERVAL 100
+#define CHECK_FRONT_MAX_COUNT_SEND 30
+
+#define CHECK_FRONT_ID_NONE -1
+#define CHECK_FORNT_TYPE_SIMPLE 1
+#define CHECK_FORNT_TYPE_CHECK 2
+
+extern list_t* newCheckFront();
+extern void addMsgInCheckFront(list_t *list, char *msg, int type, int id);
+extern void eventMsgInCheckFront(client_t *client);
+extern void delMsgInCheckFront(list_t *listCheckFront, int id);
+extern void destroyCheckFront(list_t *p);
+
+#endif