/[cvs]/botnetop.mod/botnetop.h
ViewVC logotype

Contents of /botnetop.mod/botnetop.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Mon Aug 28 18:23:31 2000 UTC (19 years, 1 month ago) by sup
Branch: MAIN
Changes since 1.3: +22 -4 lines
File MIME type: text/x-csrc
Updated to 0.5.0

1 /*
2 * botnetop.h -- part of botnetop.mod
3 *
4 * $Id: botnetop.h,v 1.3 2000/08/25 20:19:17 sup Exp $
5 */
6 /*
7 * Copyright (C) 2000 Teemu Hjelt <temex@iki.fi>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 */
23
24 #ifndef _EGG_MOD_BOTNETOP_BOTNETOP_H
25 #define _EGG_MOD_BOTNETOP_BOTNETOP_H
26
27 #ifdef MAKING_BOTNETOP
28
29 /* misc.c */
30 static int matchattr(struct userrec *, char *, char *);
31 static int isop(char *, struct chanset_t *);
32 static int handisop(char *, struct chanset_t *);
33 static int hasops(struct chanset_t *);
34 static int lowbots(struct chanset_t *);
35
36 /* botcmds.c */
37 static void bnop_reqop(char *);
38 static void bnop_askbot(char *, char *);
39 static void bnop_letmein(char *, char *);
40
41 /* delay.c */
42 struct delay_t {
43 struct delay_t *next;
44 char chan[81];
45 char bot[HANDLEN];
46 int reqtime;
47 int resptime;
48 int reqs;
49 };
50 static struct delay_t *find_delay();
51 static struct delay_t *add_delay();
52 static void delay_free_mem();
53 static void check_delays();
54
55 #endif /* MAKING_BOTNETOP */
56
57 #endif /* _EGG_MOD_BOTNETOP_BOTNETOP_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23