From: Gabriel B. <sh...@us...> - 2007-04-10 21:17:00
|
Update of /cvsroot/solidircd/solidircd-stable/include In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv32644/include Modified Files: config.h memcount.h struct.h Log Message: compile fixes Index: memcount.h =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/include/memcount.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** memcount.h 9 Apr 2007 22:59:07 -0000 1.5 --- memcount.h 10 Apr 2007 21:16:54 -0000 1.6 *************** *** 190,193 **** --- 190,200 ---- } MCklines; + /* glines.c */ + typedef struct { + const char *file; + + /* MEMTRACE: allocates userban reasons */ + } MCglines; + /* list.c */ *************** *** 479,482 **** --- 486,490 ---- u_long memcount_clientlist(MCclientlist *); u_long memcount_klines(MCklines *); + u_long memcount_glines(MCglines *); u_long memcount_clones(MCclones *); #ifdef HAVE_ENCRYPTION_ON Index: struct.h =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/include/struct.h,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** struct.h 9 Apr 2007 22:59:07 -0000 1.13 --- struct.h 10 Apr 2007 21:16:54 -0000 1.14 *************** *** 74,81 **** #define REPORT_FIN_ID_ ":%s NOTICE AUTH :*** Got Ident response" #define REPORT_FAIL_ID_ ":%s NOTICE AUTH :*** No Ident response" extern char REPORT_DO_DNS[256], REPORT_FIN_DNS[256], REPORT_FIN_DNSC[256], REPORT_FAIL_DNS[256], REPORT_DO_ID[256], REPORT_FIN_ID[256], ! REPORT_FAIL_ID[256]; #include "hash.h" --- 74,83 ---- #define REPORT_FIN_ID_ ":%s NOTICE AUTH :*** Got Ident response" #define REPORT_FAIL_ID_ ":%s NOTICE AUTH :*** No Ident response" + #define REPORT_REJECT_ID_ ":%s NOTICE AUTH :*** Ignoring encrypted/unusable "\ + "Ident response" extern char REPORT_DO_DNS[256], REPORT_FIN_DNS[256], REPORT_FIN_DNSC[256], REPORT_FAIL_DNS[256], REPORT_DO_ID[256], REPORT_FIN_ID[256], ! REPORT_FAIL_ID[256], REPORT_REJECT_ID[256]; #include "hash.h" Index: config.h =================================================================== RCS file: /cvsroot/solidircd/solidircd-stable/include/config.h,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** config.h 9 Apr 2007 22:59:07 -0000 1.30 --- config.h 10 Apr 2007 21:16:54 -0000 1.31 *************** *** 1060,1063 **** --- 1060,1066 ---- #define IRCD_PIDFILE PPATH + /* token bucket size for join rate stuffs */ + #define DEFAULT_JOIN_SIZE (DEFAULT_JOIN_NUM * DEFAULT_JOIN_TIME) + /* enforce a minimum, even though it'll probably break at runtime */ #if (MAXCONNECTIONS < 20) |