diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/extern.h | 11 | ||||
-rw-r--r-- | include/services.h | 19 |
2 files changed, 17 insertions, 13 deletions
diff --git a/include/extern.h b/include/extern.h index 85acc59a5..8b371167c 100644 --- a/include/extern.h +++ b/include/extern.h @@ -6,9 +6,9 @@ * Please read COPYING and README for furhter details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * - * $Id$ + * Based on the original code of Services by Andy Church. + * + * $Id$ * */ @@ -562,7 +562,7 @@ E char *DefConAkillReason; E char *DefConOffMessage; E long unsigned int UserKey1; -E long unsigned int UserKey2; +E long unsigned int UserKey2; E long unsigned int UserKey3; /**** converter.c ****/ @@ -608,6 +608,7 @@ E int init_secondary(int ac, char **av); E int servernum; /**** ircd.c ****/ +E void pmodule_ircd_proto(IRCDProtoNew *); E void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av)); E void pmodule_cmd_svsnoop(void (*func) (const char *server, int set)); E void pmodule_cmd_remove_akill(void (*func) (const char *user, const char *host)); @@ -1001,7 +1002,7 @@ E int check_szline(char *nick, char *ip); E Server *server_global(Server * s, char *msg); -E int OSOpersOnly; +E int OSOpersOnly; E time_t DefContimer; E void runDefCon(void); E int defconParseModeString(const char *str); diff --git a/include/services.h b/include/services.h index 3eca6381b..09ee7b2a7 100644 --- a/include/services.h +++ b/include/services.h @@ -6,8 +6,8 @@ * Please read COPYING and README for furhter details. * * Based on the original code of Epona by Lara. - * Based on the original code of Services by Andy Church. - * + * Based on the original code of Services by Andy Church. + * * */ @@ -157,7 +157,7 @@ # else # define VA_COPY(DEST, SRC) va_copy(DEST, SRC) # endif -#endif +#endif #ifdef _AIX /* Some AIX boxes seem to have bogus includes that don't have these @@ -386,7 +386,7 @@ struct ircdcapab_ { uint32 nickchars; }; -/* tiny struct needed for P10 and other UID servers so we can track +/* tiny struct needed for P10 and other UID servers so we can track services UID */ struct uid_ { @@ -457,7 +457,7 @@ struct ModuleData_ { char *value; /* The Value */ ModuleData *next; /* The next ModuleData record */ }; - + /*************************************************************************/ /* Memo info structures. Since both nicknames and channels can have memos, @@ -664,7 +664,7 @@ struct chaninfo_ { struct channel_ *c; /* Pointer to channel record (if * * channel is currently in use) */ - + ModuleData *moduleData; /* Module saved data attached to the ChannelInfo */ /* For BotServ */ @@ -823,7 +823,7 @@ typedef enum { struct server_ { Server *next, *prev; - + char *name; /* Server name */ uint16 hops; /* Hops between services and server */ char *desc; /* Server description */ @@ -839,7 +839,6 @@ struct server_ { #define SERVER_JUPED 0x0002 /*************************************************************************/ - #include "users.h" @@ -1158,6 +1157,10 @@ typedef struct ircd_proto_ { int (*ircd_flood_mode_check)(const char *value); } IRCDProto; +class IRCDProtoNew { + public: +}; + typedef struct ircd_modes_ { int user_invis; int user_oper; |