1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 14:23:14 +02:00

Core skeleton of IRCDProtoNew class created.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1195 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:09 +00:00
parent c037e6a6e9
commit 8d3d1775ae
39 changed files with 423 additions and 319 deletions
+6 -5
View File
@@ -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);
+11 -8
View File
@@ -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;