/* * proto.h * prototypes for every function used outside its own module * * (i guess i'm not very modular, cuz there are a LOT of these.) * with full prototyping, some have been moved to other .h files * because they use structures in those * (saves including those .h files EVERY time) - Beldin * * $Id: proto.h,v 1.16 2006-11-20 13:53:35 tothwolf Exp $ */ /* * Copyright (C) 1997 Robey Pointer * Copyright (C) 1999 - 2006 Eggheads Development Team * * 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. */ #ifndef _EGG_PROTO_H #define _EGG_PROTO_H #include "lush.h" #include "misc_file.h" /* These keep down compiler warnings. */ struct chanset_t; struct userrec; struct maskrec; struct igrec; struct list_type; #ifndef MAKING_MODS extern void (*encrypt_pass) (char *, char *); extern char *(*encrypt_string) (char *, char *); extern char *(*decrypt_string) (char *, char *); extern int (*match_noterej) (struct userrec *, char *); #endif /* tcl.c */ void protect_tcl(); void unprotect_tcl(); void do_tcl(char *, char *); int readtclprog(char *fname); /* users.c */ void addignore(char *, char *, char *, time_t); int delignore(char *); void tell_ignores(int, char *); int match_ignore(char *); void check_expired_ignores(); void autolink_cycle(char *); void tell_file_stats(int, char *); void tell_user_ident(int, char *, int); void tell_users_match(int, char *, int, int, int, char *); #endif /* _EGG_PROTO_H */