2005-05-08 09:24:11 +00:00
|
|
|
/* NeoStats - IRC Statistical Services
|
2006-01-26 15:40:07 +00:00
|
|
|
** Copyright (c) 1999-2006 Adam Rutter, Justin Hammond, Mark Hetherington
|
2005-05-08 09:24:11 +00:00
|
|
|
** http://www.neostats.net/
|
|
|
|
**
|
|
|
|
** This program is free software; you can redistribute it and/or modify
|
|
|
|
** it under the terms of the GNU General Public License as published by
|
|
|
|
** the Free Software Foundation; either version 2 of the License, or
|
|
|
|
** (at your option) any later version.
|
|
|
|
**
|
|
|
|
** This program is distributed in the hope that it will be useful,
|
|
|
|
** but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
** GNU General Public License for more details.
|
|
|
|
**
|
|
|
|
** You should have received a copy of the GNU General Public License
|
|
|
|
** along with this program; if not, write to the Free Software
|
|
|
|
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
|
|
** USA
|
|
|
|
**
|
|
|
|
** NetStats CVS Identification
|
2005-05-08 09:32:13 +00:00
|
|
|
** $Id$
|
2005-05-08 09:24:11 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2005-05-22 20:08:09 +00:00
|
|
|
#ifndef BLSB_H
|
|
|
|
#define BLSB_H
|
2005-05-08 09:24:11 +00:00
|
|
|
|
2005-05-22 21:58:55 +00:00
|
|
|
#include MODULECONFIG
|
2005-05-08 09:24:11 +00:00
|
|
|
|
2005-05-22 21:39:43 +00:00
|
|
|
typedef enum BL_LOOKUP_TYPE
|
|
|
|
{
|
|
|
|
BL_LOOKUP_TYPE_MIN = 0,
|
|
|
|
BL_LOOKUP_TXT_RECORD,
|
|
|
|
BL_LOOKUP_A_RECORD,
|
2005-10-20 21:06:51 +00:00
|
|
|
BL_LOOKUP_TYPE_MAX
|
2005-05-22 21:39:43 +00:00
|
|
|
}BL_LOOKUP_TYPE;
|
2005-05-08 09:24:11 +00:00
|
|
|
|
2005-05-08 12:22:35 +00:00
|
|
|
typedef struct dom_list {
|
|
|
|
char name[BUFSIZE];
|
|
|
|
char domain[BUFSIZE];
|
2005-05-22 21:39:43 +00:00
|
|
|
BL_LOOKUP_TYPE type;
|
2005-08-12 15:03:48 +00:00
|
|
|
char msg[BUFSIZE];
|
2005-12-11 14:45:22 +00:00
|
|
|
int noban;
|
2005-05-08 12:22:35 +00:00
|
|
|
} dom_list;
|
|
|
|
|
2005-05-09 04:56:25 +00:00
|
|
|
typedef struct scanclient {
|
2006-01-14 15:33:36 +00:00
|
|
|
char usernick[MAXNICK];
|
|
|
|
char username[MAXUSER];
|
|
|
|
char hostname[MAXHOST];
|
|
|
|
int exclude;
|
2005-05-09 04:56:25 +00:00
|
|
|
dom_list *domain;
|
2006-01-14 15:33:36 +00:00
|
|
|
char checknick[MAXNICK];
|
2005-05-22 21:39:43 +00:00
|
|
|
char reverseip[HOSTIPLEN];
|
|
|
|
char ip[HOSTIPLEN];
|
2005-05-09 04:56:25 +00:00
|
|
|
char *lookup;
|
2005-08-12 15:03:48 +00:00
|
|
|
int banned;
|
2005-05-09 04:56:25 +00:00
|
|
|
} scanclient;
|
2005-05-08 12:22:35 +00:00
|
|
|
|
2005-05-08 09:24:11 +00:00
|
|
|
/* blsb_help.c */
|
2005-05-22 20:08:09 +00:00
|
|
|
extern const char *blsb_about[];
|
|
|
|
extern const char *blsb_help_add[];
|
|
|
|
extern const char *blsb_help_del[];
|
|
|
|
extern const char *blsb_help_list[];
|
|
|
|
extern const char *blsb_help_check[];
|
2005-05-21 22:19:13 +00:00
|
|
|
extern const char *blsb_help_set_akill[];
|
|
|
|
extern const char *blsb_help_set_akilltime[];
|
|
|
|
extern const char *blsb_help_set_verbose[];
|
2005-05-08 09:24:11 +00:00
|
|
|
extern const char *blsb_help_set_exclusions[];
|
2005-05-09 04:56:25 +00:00
|
|
|
|
2005-05-22 20:08:09 +00:00
|
|
|
#endif /* BLSB_H */
|