1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
/*
* flood.h: header file for flood.c
*
* Copyright 1991 Tomi Ollila
* Copyright 1997 EPIC Software Labs
* See the Copyright file for license information
*/
#ifndef __flood_h__
#define __flood_h__
typedef enum {
CRAP_FLOOD = 0,
CTCP_FLOOD,
INVITE_FLOOD,
JOIN_FLOOD,
MSG_FLOOD,
NICK_FLOOD,
NOTE_FLOOD,
NOTICE_FLOOD,
PUBLIC_FLOOD,
TOPIC_FLOOD,
WALLOP_FLOOD,
WALL_FLOOD,
NUMBER_OF_FLOODS
} FloodType;
int check_flooding (const char *, const char *, FloodType, const char *);
int new_check_flooding (const char *, const char *, const char *, const char *, FloodType);
char * function_floodinfo (char *);
#endif /* _FLOOD_H_ */
|