diff options
Diffstat (limited to 'src/base/checkFront.h')
| -rw-r--r-- | src/base/checkFront.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/src/base/checkFront.h b/src/base/checkFront.h index dde30f0..bcf0a18 100644 --- a/src/base/checkFront.h +++ b/src/base/checkFront.h @@ -1,22 +1,21 @@ #ifndef CHECK_FRONT_H -#define CHECK_FRONT_H + #define CHECK_FRONT_H + #define CHECK_FRONT_SEND_TIME_INTERVAL 100 + #define CHECK_FRONT_MAX_COUNT_SEND 30 + + #define CHECK_FRONT_ID_NONE -1 + #define CHECK_FRONT_TYPE_SIMPLE 1 + #define CHECK_FRONT_TYPE_CHECK 2 -#include "list.h" -#include "server.h" + #include "list.h" + #include "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); + 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 |