diff options
| author | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-26 19:57:20 +0000 |
|---|---|---|
| committer | oroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e> | 2008-06-26 19:57:20 +0000 |
| commit | e528950ac7a2d23512be2a06378525b00be74185 (patch) | |
| tree | 27fc486408154bcf540cdc63a293bfaf51355169 /include/checkFront.h | |
| parent | 3501cd8b1173f6c6d8c84f631734344252ebd31d (diff) | |
- 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
Diffstat (limited to 'include/checkFront.h')
| -rw-r--r-- | include/checkFront.h | 6 |
1 files changed, 5 insertions, 1 deletions
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); |