This repository has been archived on 2025-02-12. You can view files and clone it, but cannot push or open issues or pull requests.
NeoStats-blsb/blsb.h

71 lines
1.9 KiB
C
Raw Normal View History

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
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];
int noban;
} dom_list;
typedef struct scanclient {
char usernick[MAXNICK];
char username[MAXUSER];
char hostname[MAXHOST];
int exclude;
dom_list *domain;
char checknick[MAXNICK];
2005-05-22 21:39:43 +00:00
char reverseip[HOSTIPLEN];
char ip[HOSTIPLEN];
char *lookup;
2005-08-12 15:03:48 +00:00
int banned;
} scanclient;
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[];
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-22 20:08:09 +00:00
#endif /* BLSB_H */