/[cvs]/eggdrop1.9/src/misc.h
ViewVC logotype

Contents of /eggdrop1.9/src/misc.h

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


Revision 1.11 - (show annotations) (download) (as text)
Tue Dec 16 21:45:35 2003 UTC (15 years, 6 months ago) by wcc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
File MIME type: text/x-csrc
FILE REMOVED
* src/ cleanups.

1 /*
2 * misc.h --
3 *
4 * maskhost() dumplots() daysago() days() daysdur()
5 * queueing output for the bot (msg and help)
6 * help system
7 * motd display and %var substitution
8 */
9 /*
10 * Copyright (C) 1997 Robey Pointer
11 * Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Eggheads Development Team
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 */
27 /*
28 * $Id: misc.h,v 1.10 2003/12/11 00:49:11 wcc Exp $
29 */
30
31 #ifndef _EGG_MISC_H
32 #define _EGG_MISC_H
33
34 #include "flags.h" /* flag_record */
35
36 #define HELP_DCC 1
37 #define HELP_TEXT 2
38 #define HELP_IRC 16
39
40 #ifndef MAKING_MODS
41
42 extern void _maskhost(const char *, char *, int);
43 extern void dumplots(int, const char *, char *);
44 extern void daysago(time_t, time_t, char *);
45 extern void days(time_t, time_t, char *);
46 extern void daysdur(time_t, time_t, char *);
47 extern void help_subst(char *, char *, struct flag_record *, int, char *);
48 extern void sub_lang(int, char *);
49 extern void show_motd(int);
50 extern void tellhelp(int, char *, struct flag_record *, int);
51 extern void tellwildhelp(int, char *, struct flag_record *);
52 extern void tellallhelp(int, char *, struct flag_record *);
53 extern void showhelp(char *, char *, struct flag_record *, int);
54 extern void rem_help_reference(char *file);
55 extern void add_help_reference(char *file);
56 extern void reload_help_data(void);
57 extern char *extracthostname(char *);
58 extern void show_telnet_banner(int i);
59 extern void make_rand_str(char *, int);
60 extern int oatoi(const char *);
61 extern void kill_bot(char *, char *);
62
63 #define maskhost(a,b) _maskhost((a),(b),1)
64 #define maskban(a,b) _maskhost((a),(b),0)
65
66 #endif /* !MAKING_MODS */
67
68 #endif /* !_EGG_MISC_H */

webmaster@eggheads.org
ViewVC Help
Powered by ViewVC 1.1.23