Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > media > contrib-release-debug > by-pkgid > 6fe193ae0d359229da5a8ec820ee0f6b > files > 24

epic4-debug-2.10-4mdv2011.0.i586.rpm

/*
 * 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_ */