From e528950ac7a2d23512be2a06378525b00be74185 Mon Sep 17 00:00:00 2001 From: oroborus Date: Thu, 26 Jun 2008 19:57:20 +0000 Subject: - oprava chyby, server s GUI bol niekedy pozadu, lebo spracoval iba jeden packet aj ked ich bolo viac - jednodny subsystem na odosielanie packetov zo servera clientom ( checkFront.c sa pouziva aj na odosielaie sprav, ktorych prichod sa nemusi kontrolovat ) git-svn-id: http://opensvn.csie.org/tuxanci_ng@74 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e --- include/checkFront.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/checkFront.h') diff --git a/include/checkFront.h b/include/checkFront.h index 84f6906..dde30f0 100644 --- a/include/checkFront.h +++ b/include/checkFront.h @@ -9,8 +9,12 @@ #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 id); +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); -- cgit v1.2.3