summaryrefslogtreecommitdiff
path: root/include/checkFront.h
blob: 84f69063b36e836e178852969cf45d94b662c790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef CHECK_FRONT_H

#define CHECK_FRONT_H

#include "list.h"
#include "server.h"

#define CHECK_FRONT_SEND_TIME_INTERVAL	100
#define CHECK_FRONT_MAX_COUNT_SEND	30

extern list_t* newCheckFront();
extern void addMsgInCheckFront(list_t *list, char *msg, int id);
extern void eventMsgInCheckFront(client_t *client);
extern void delMsgInCheckFront(list_t *listCheckFront, int id);
extern void destroyCheckFront(list_t *p);

#endif