diff options
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); |