/*****************************************************************
 * PTlink IRCd is (C) CopyRight PTlink Coders Team 1999-2000     *
 * http://www.ptlink.net/Coders - coders@PTlink.net              *
 * This program is distributed under GNU Public License          *
 * Please read the file COPYING for copyright information.       *
 *****************************************************************
 
  File: throttle.h
  Desc: throttling code
  Author: Lamego@PTlink.net
*/

struct aThrottle {		/* this is a throttle record */
    struct in_addr ip;
    time_t last;
    struct aThrottle *next;
    char *connected;
    short count;
};

#define THROTTLE_HITLIMIT -1
#define THROTTLE_SENTWARN -2
extern int check_clones(struct Client * cptr, const char *remote);
extern void remove_clone_check(struct Client * cptr); 

