/[cvs]/eggdrop1.9/modules/oldbotnet/oldbotnet.h
ViewVC logotype

Contents of /eggdrop1.9/modules/oldbotnet/oldbotnet.h

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


Revision 1.8 - (show annotations) (download) (as text)
Sun Jun 3 23:43:46 2007 UTC (12 years ago) by sven
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -9 lines
File MIME type: text/x-csrc

 * Added netstring filter.
 * Created botnet module. (Just the framework, does nothing atm.)

1 /* oldbotnet.h: header for oldbotnet.c
2 *
3 * Copyright (C) 2003, 2004 Eggheads Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 *
19 * $Id: oldbotnet.h,v 1.7 2007-05-12 02:04:24 sven Exp $
20 */
21
22 #ifndef _EGG_MOD_OLDBOTNET_OLDBOTNET_H_
23 #define _EGG_MOD_OLDBOTNET_OLDBOTNET_H_
24
25 #define bothandler oldbotnet_LTX_bothandler
26 #define assoc_get_id oldbotnet_LTX_assoc_get_id
27
28 typedef struct {
29 botnet_bot_t *bot;
30 user_t *user;
31 int idx;
32 char *name;
33 char *password;
34 int linking;
35 int handlen;
36 int version;
37 int idle;
38 partymember_t *anonymous;
39 } oldbotnet_t;
40
41 /* From events.c */
42 botnet_handler_t bothandler;
43 int assoc_get_id(const char *name);
44
45 #endif /* !_EGG_MOD_OLDBOTNET_OLDBOTNET_H_ */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23