Migrate remaining modules to AV2

No descriptions yet. :(
This commit is contained in:
Elizabeth Myers 2016-03-07 00:03:39 -06:00
parent 1bb809cb30
commit 105a4985b4
83 changed files with 84 additions and 84 deletions

View file

@ -65,4 +65,4 @@ _moddeinit(void)
capability_orphan(cli_capindex, "account-tag"); capability_orphan(cli_capindex, "account-tag");
} }
DECLARE_MODULE_AV1(cap_account_tag, _modinit, _moddeinit, NULL, NULL, cap_account_tag_hfnlist, "$Revision$"); DECLARE_MODULE_AV2(cap_account_tag, _modinit, _moddeinit, NULL, NULL, cap_account_tag_hfnlist, NULL, NULL, NULL);

View file

@ -68,4 +68,4 @@ _moddeinit(void)
capability_orphan(cli_capindex, "server-time"); capability_orphan(cli_capindex, "server-time");
} }
DECLARE_MODULE_AV1(cap_server_time, _modinit, _moddeinit, NULL, NULL, cap_server_time_hfnlist, "$Revision$"); DECLARE_MODULE_AV2(cap_server_time, _modinit, _moddeinit, NULL, NULL, cap_server_time_hfnlist, NULL, NULL, NULL);

View file

@ -76,4 +76,4 @@ _moddeinit(void)
cflag_orphan('c'); cflag_orphan('c');
} }
DECLARE_MODULE_AV1(chm_nocolour, _modinit, _moddeinit, NULL, NULL, chm_nocolour_hfnlist, "$Revision$"); DECLARE_MODULE_AV2(chm_nocolour, _modinit, _moddeinit, NULL, NULL, chm_nocolour_hfnlist, NULL, NULL, NULL);

View file

@ -76,4 +76,4 @@ _moddeinit(void)
cflag_orphan('C'); cflag_orphan('C');
} }
DECLARE_MODULE_AV1(chm_noctcp, _modinit, _moddeinit, NULL, NULL, chm_noctcp_hfnlist, "$Revision$"); DECLARE_MODULE_AV2(chm_noctcp, _modinit, _moddeinit, NULL, NULL, chm_noctcp_hfnlist, NULL, NULL, NULL);

View file

@ -55,7 +55,7 @@ struct Message ban_msgtab = {
}; };
mapi_clist_av1 ban_clist[] = { &ban_msgtab, NULL }; mapi_clist_av1 ban_clist[] = { &ban_msgtab, NULL };
DECLARE_MODULE_AV1(ban, NULL, NULL, ban_clist, NULL, NULL, "$Revision: 1349 $"); DECLARE_MODULE_AV2(ban, NULL, NULL, ban_clist, NULL, NULL, NULL, NULL, NULL);
static int static int
m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])

View file

@ -47,7 +47,7 @@ static struct Message die_msgtab = {
mapi_clist_av1 die_clist[] = { &die_msgtab, NULL }; mapi_clist_av1 die_clist[] = { &die_msgtab, NULL };
DECLARE_MODULE_AV1(die, NULL, NULL, die_clist, NULL, NULL, "$Revision: 3295 $"); DECLARE_MODULE_AV2(die, NULL, NULL, die_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_die - DIE command handler * mo_die - DIE command handler

View file

@ -45,7 +45,7 @@ mapi_clist_av1 error_clist[] = {
&error_msgtab, NULL &error_msgtab, NULL
}; };
DECLARE_MODULE_AV1(error, NULL, NULL, error_clist, NULL, NULL, "$Revision: 494 $"); DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, NULL);
/* Determine whether an ERROR message is safe to show (no IP address in it) */ /* Determine whether an ERROR message is safe to show (no IP address in it) */
static int static int

View file

@ -67,7 +67,7 @@ mapi_hlist_av1 join_hlist[] = {
{ NULL, NULL }, { NULL, NULL },
}; };
DECLARE_MODULE_AV1(join, NULL, NULL, join_clist, join_hlist, NULL, "$Revision: 3494 $"); DECLARE_MODULE_AV2(join, NULL, NULL, join_clist, join_hlist, NULL, NULL, NULL, NULL);
static void do_join_0(struct Client *client_p, struct Client *source_p); static void do_join_0(struct Client *client_p, struct Client *source_p);
static int check_channel_name_loc(struct Client *source_p, const char *name); static int check_channel_name_loc(struct Client *source_p, const char *name);

View file

@ -47,7 +47,7 @@ struct Message kick_msgtab = {
mapi_clist_av1 kick_clist[] = { &kick_msgtab, NULL }; mapi_clist_av1 kick_clist[] = { &kick_msgtab, NULL };
DECLARE_MODULE_AV1(kick, NULL, NULL, kick_clist, NULL, NULL, "$Revision: 3317 $"); DECLARE_MODULE_AV2(kick, NULL, NULL, kick_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** m_kick ** m_kick

View file

@ -58,7 +58,7 @@ mapi_hlist_av1 kill_hlist[] = {
{ NULL, NULL}, { NULL, NULL},
}; };
DECLARE_MODULE_AV1(kill, NULL, NULL, kill_clist, kill_hlist, NULL, "$Revision: 3408 $"); DECLARE_MODULE_AV2(kill, NULL, NULL, kill_clist, kill_hlist, NULL, NULL, NULL, NULL);
/* /*
** mo_kill ** mo_kill

View file

@ -76,7 +76,7 @@ struct Message notice_msgtab = {
mapi_clist_av1 message_clist[] = { &privmsg_msgtab, &notice_msgtab, NULL }; mapi_clist_av1 message_clist[] = { &privmsg_msgtab, &notice_msgtab, NULL };
DECLARE_MODULE_AV1(message, modinit, moddeinit, message_clist, NULL, NULL, "$Revision: 3173 $"); DECLARE_MODULE_AV2(message, modinit, moddeinit, message_clist, NULL, NULL, NULL, NULL, NULL);
struct entity struct entity
{ {

View file

@ -65,7 +65,7 @@ struct Message bmask_msgtab = {
mapi_clist_av1 mode_clist[] = { &mode_msgtab, &tmode_msgtab, &mlock_msgtab, &bmask_msgtab, NULL }; mapi_clist_av1 mode_clist[] = { &mode_msgtab, &tmode_msgtab, &mlock_msgtab, &bmask_msgtab, NULL };
DECLARE_MODULE_AV1(mode, NULL, NULL, mode_clist, NULL, NULL, "$Revision: 1006 $"); DECLARE_MODULE_AV2(mode, NULL, NULL, mode_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_mode - MODE command handler * m_mode - MODE command handler

View file

@ -85,7 +85,7 @@ struct Message save_msgtab = {
mapi_clist_av1 nick_clist[] = { &nick_msgtab, &uid_msgtab, &euid_msgtab, mapi_clist_av1 nick_clist[] = { &nick_msgtab, &uid_msgtab, &euid_msgtab,
&save_msgtab, NULL }; &save_msgtab, NULL };
DECLARE_MODULE_AV1(nick, NULL, NULL, nick_clist, NULL, NULL, "$Revision: 3518 $"); DECLARE_MODULE_AV2(nick, NULL, NULL, nick_clist, NULL, NULL, NULL, NULL, NULL);
static int change_remote_nick(struct Client *, struct Client *, time_t, static int change_remote_nick(struct Client *, struct Client *, time_t,
const char *, int); const char *, int);

View file

@ -49,7 +49,7 @@ struct Message part_msgtab = {
mapi_clist_av1 part_clist[] = { &part_msgtab, NULL }; mapi_clist_av1 part_clist[] = { &part_msgtab, NULL };
DECLARE_MODULE_AV1(part, NULL, NULL, part_clist, NULL, NULL, "$Revision: 98 $"); DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, NULL);
static void part_one_client(struct Client *client_p, static void part_one_client(struct Client *client_p,
struct Client *source_p, char *name, struct Client *source_p, char *name,

View file

@ -44,7 +44,7 @@ struct Message quit_msgtab = {
mapi_clist_av1 quit_clist[] = { &quit_msgtab, NULL }; mapi_clist_av1 quit_clist[] = { &quit_msgtab, NULL };
DECLARE_MODULE_AV1(quit, NULL, NULL, quit_clist, NULL, NULL, "$Revision: 1333 $"); DECLARE_MODULE_AV2(quit, NULL, NULL, quit_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** m_quit ** m_quit

View file

@ -55,7 +55,7 @@ struct Message sid_msgtab = {
mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL }; mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL };
DECLARE_MODULE_AV1(server, NULL, NULL, server_clist, NULL, NULL, "$Revision: 3291 $"); DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, NULL);
int bogus_host(const char *host); int bogus_host(const char *host);
static int set_server_gecos(struct Client *, const char *); static int set_server_gecos(struct Client *, const char *);

View file

@ -48,7 +48,7 @@ struct Message squit_msgtab = {
mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL }; mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL };
DECLARE_MODULE_AV1(squit, NULL, NULL, squit_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, NULL);
struct squit_parms struct squit_parms
{ {

View file

@ -48,7 +48,7 @@ struct Message accept_msgtab = {
mapi_clist_av1 accept_clist[] = { mapi_clist_av1 accept_clist[] = {
&accept_msgtab, NULL &accept_msgtab, NULL
}; };
DECLARE_MODULE_AV1(accept, NULL, NULL, accept_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(accept, NULL, NULL, accept_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_accept - ACCEPT command handler * m_accept - ACCEPT command handler

View file

@ -54,7 +54,7 @@ mapi_hlist_av1 admin_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(admin, NULL, NULL, admin_clist, admin_hlist, NULL, "$Revision: 3368 $"); DECLARE_MODULE_AV2(admin, NULL, NULL, admin_clist, admin_hlist, NULL, NULL, NULL, NULL);
/* /*
* mr_admin - ADMIN command handler * mr_admin - ADMIN command handler

View file

@ -43,7 +43,7 @@ struct Message away_msgtab = {
}; };
mapi_clist_av1 away_clist[] = { &away_msgtab, NULL }; mapi_clist_av1 away_clist[] = { &away_msgtab, NULL };
DECLARE_MODULE_AV1(away, NULL, NULL, away_clist, NULL, NULL, "$Revision: 3370 $"); DECLARE_MODULE_AV2(away, NULL, NULL, away_clist, NULL, NULL, NULL, NULL, NULL);
/*********************************************************************** /***********************************************************************
* m_away() - Added 14 Dec 1988 by jto. * m_away() - Added 14 Dec 1988 by jto.

View file

@ -54,7 +54,7 @@ struct Message cap_msgtab = {
}; };
mapi_clist_av1 cap_clist[] = { &cap_msgtab, NULL }; mapi_clist_av1 cap_clist[] = { &cap_msgtab, NULL };
DECLARE_MODULE_AV1(cap, NULL, NULL, cap_clist, NULL, NULL, "$Revision: 676 $"); DECLARE_MODULE_AV2(cap, NULL, NULL, cap_clist, NULL, NULL, NULL, NULL, NULL);
#define IsCapableEntry(c, e) IsCapable(c, 1 << (e)->value) #define IsCapableEntry(c, e) IsCapable(c, 1 << (e)->value)
#define HasCapabilityFlag(c, f) (c->ownerdata != NULL && (((struct ClientCapability *)c->ownerdata)->flags & (f)) == f) #define HasCapabilityFlag(c, f) (c->ownerdata != NULL && (((struct ClientCapability *)c->ownerdata)->flags & (f)) == f)

View file

@ -44,7 +44,7 @@ struct Message gcap_msgtab = {
}; };
mapi_clist_av1 capab_clist[] = { &capab_msgtab, &gcap_msgtab, NULL }; mapi_clist_av1 capab_clist[] = { &capab_msgtab, &gcap_msgtab, NULL };
DECLARE_MODULE_AV1(capab, NULL, NULL, capab_clist, NULL, NULL, "$Revision: 1295 $"); DECLARE_MODULE_AV2(capab, NULL, NULL, capab_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mr_capab - CAPAB message handler * mr_capab - CAPAB message handler

View file

@ -47,7 +47,7 @@ struct Message certfp_msgtab = {
mapi_clist_av1 certfp_clist[] = { &certfp_msgtab, NULL }; mapi_clist_av1 certfp_clist[] = { &certfp_msgtab, NULL };
DECLARE_MODULE_AV1(certfp, NULL, NULL, certfp_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(certfp, NULL, NULL, certfp_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** me_certfp ** me_certfp

View file

@ -67,7 +67,7 @@ static int challenge_load(void)
#endif #endif
} }
DECLARE_MODULE_AV1(challenge, challenge_load, NULL, NULL, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(challenge, challenge_load, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#else #else
static int m_challenge(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int m_challenge(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
@ -79,7 +79,7 @@ struct Message challenge_msgtab = {
}; };
mapi_clist_av1 challenge_clist[] = { &challenge_msgtab, NULL }; mapi_clist_av1 challenge_clist[] = { &challenge_msgtab, NULL };
DECLARE_MODULE_AV1(challenge, NULL, NULL, challenge_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(challenge, NULL, NULL, challenge_clist, NULL, NULL, NULL, NULL, NULL);
static int generate_challenge(char **r_challenge, char **r_response, RSA * key); static int generate_challenge(char **r_challenge, char **r_response, RSA * key);

View file

@ -45,7 +45,7 @@ struct Message chghost_msgtab = {
mapi_clist_av1 chghost_clist[] = { &chghost_msgtab, &realhost_msgtab, NULL }; mapi_clist_av1 chghost_clist[] = { &chghost_msgtab, &realhost_msgtab, NULL };
DECLARE_MODULE_AV1(chghost, NULL, NULL, chghost_clist, NULL, NULL, "$Revision: 3424 $"); DECLARE_MODULE_AV2(chghost, NULL, NULL, chghost_clist, NULL, NULL, NULL, NULL, NULL);
/* clean_host() /* clean_host()
* *

View file

@ -39,7 +39,7 @@ struct Message close_msgtab = {
}; };
mapi_clist_av1 close_clist[] = { &close_msgtab, NULL }; mapi_clist_av1 close_clist[] = { &close_msgtab, NULL };
DECLARE_MODULE_AV1(close, NULL, NULL, close_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(close, NULL, NULL, close_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_close - CLOSE message handler * mo_close - CLOSE message handler

View file

@ -72,7 +72,7 @@ struct Message cnotice_msgtab = {
}; };
mapi_clist_av1 cmessage_clist[] = { &cprivmsg_msgtab, &cnotice_msgtab, NULL }; mapi_clist_av1 cmessage_clist[] = { &cprivmsg_msgtab, &cnotice_msgtab, NULL };
DECLARE_MODULE_AV1(cmessage, _modinit, _moddeinit, cmessage_clist, NULL, NULL, "$Revision: 1543 $"); DECLARE_MODULE_AV2(cmessage, _modinit, _moddeinit, cmessage_clist, NULL, NULL, NULL, NULL, NULL);
#define PRIVMSG 0 #define PRIVMSG 0
#define NOTICE 1 #define NOTICE 1

View file

@ -47,7 +47,7 @@ struct Message connect_msgtab = {
}; };
mapi_clist_av1 connect_clist[] = { &connect_msgtab, NULL }; mapi_clist_av1 connect_clist[] = { &connect_msgtab, NULL };
DECLARE_MODULE_AV1(connect, NULL, NULL, connect_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(connect, NULL, NULL, connect_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_connect - CONNECT command handler * mo_connect - CONNECT command handler

View file

@ -60,7 +60,7 @@ struct Message undline_msgtab = {
mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL }; mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL };
DECLARE_MODULE_AV1(dline, NULL, NULL, dline_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(dline, NULL, NULL, dline_clist, NULL, NULL, NULL, NULL, NULL);
static int remove_temp_dline(struct ConfItem *); static int remove_temp_dline(struct ConfItem *);
static int apply_dline(struct Client *, const char *, int, char *); static int apply_dline(struct Client *, const char *, int, char *);

View file

@ -50,7 +50,7 @@ struct Message encap_msgtab = {
}; };
mapi_clist_av1 encap_clist[] = { &encap_msgtab, NULL }; mapi_clist_av1 encap_clist[] = { &encap_msgtab, NULL };
DECLARE_MODULE_AV1(encap, NULL, NULL, encap_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, NULL);
/* ms_encap() /* ms_encap()
* *

View file

@ -83,7 +83,7 @@ _moddeinit(void)
} }
mapi_clist_av1 etrace_clist[] = { &etrace_msgtab, &chantrace_msgtab, &masktrace_msgtab, NULL }; mapi_clist_av1 etrace_clist[] = { &etrace_msgtab, &chantrace_msgtab, &masktrace_msgtab, NULL };
DECLARE_MODULE_AV1(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, NULL);
static void do_etrace(struct Client *source_p, int ipv4, int ipv6); static void do_etrace(struct Client *source_p, int ipv4, int ipv6);
static void do_etrace_full(struct Client *source_p); static void do_etrace_full(struct Client *source_p);

View file

@ -26,7 +26,7 @@ struct Message grant_msgtab = {
mapi_clist_av1 grant_clist[] = { &grant_msgtab, NULL }; mapi_clist_av1 grant_clist[] = { &grant_msgtab, NULL };
DECLARE_MODULE_AV1(grant, NULL, NULL, grant_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(grant, NULL, NULL, grant_clist, NULL, NULL, NULL, NULL, NULL);
static int static int
mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])

View file

@ -51,7 +51,7 @@ struct Message uhelp_msgtab = {
}; };
mapi_clist_av1 help_clist[] = { &help_msgtab, &uhelp_msgtab, NULL }; mapi_clist_av1 help_clist[] = { &help_msgtab, &uhelp_msgtab, NULL };
DECLARE_MODULE_AV1(help, NULL, NULL, help_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(help, NULL, NULL, help_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_help - HELP message handler * m_help - HELP message handler

View file

@ -60,7 +60,7 @@ mapi_hlist_av1 info_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(info, NULL, NULL, info_clist, info_hlist, NULL, "$Revision: 3396 $"); DECLARE_MODULE_AV2(info, NULL, NULL, info_clist, info_hlist, NULL, NULL, NULL, NULL);
/* /*
* jdc -- Structure for our configuration value table * jdc -- Structure for our configuration value table

View file

@ -61,7 +61,7 @@ invite_moddeinit(void)
capability_orphan(cli_capindex, "invite-notify"); capability_orphan(cli_capindex, "invite-notify");
} }
DECLARE_MODULE_AV1(invite, invite_modinit, invite_moddeinit, invite_clist, NULL, NULL, "$Revision: 3438 $"); DECLARE_MODULE_AV2(invite, invite_modinit, invite_moddeinit, invite_clist, NULL, NULL, NULL, NULL, NULL);
static void add_invite(struct Channel *, struct Client *); static void add_invite(struct Channel *, struct Client *);

View file

@ -45,7 +45,7 @@ struct Message ison_msgtab = {
}; };
mapi_clist_av1 ison_clist[] = { &ison_msgtab, NULL }; mapi_clist_av1 ison_clist[] = { &ison_msgtab, NULL };
DECLARE_MODULE_AV1(ison, NULL, NULL, ison_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(ison, NULL, NULL, ison_clist, NULL, NULL, NULL, NULL, NULL);
static char buf[BUFSIZE]; static char buf[BUFSIZE];
static char buf2[BUFSIZE]; static char buf2[BUFSIZE];

View file

@ -63,7 +63,7 @@ struct Message unkline_msgtab = {
mapi_clist_av1 kline_clist[] = { &kline_msgtab, &unkline_msgtab, NULL }; mapi_clist_av1 kline_clist[] = { &kline_msgtab, &unkline_msgtab, NULL };
DECLARE_MODULE_AV1(kline, NULL, NULL, kline_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(kline, NULL, NULL, kline_clist, NULL, NULL, NULL, NULL, NULL);
/* Local function prototypes */ /* Local function prototypes */
static int find_user_host(struct Client *source_p, const char *userhost, char *user, char *host); static int find_user_host(struct Client *source_p, const char *userhost, char *user, char *host);

View file

@ -57,7 +57,7 @@ _moddeinit(void)
} }
mapi_clist_av1 knock_clist[] = { &knock_msgtab, NULL }; mapi_clist_av1 knock_clist[] = { &knock_msgtab, NULL };
DECLARE_MODULE_AV1(knock, _modinit, _moddeinit, knock_clist, NULL, NULL, "$Revision: 3570 $"); DECLARE_MODULE_AV2(knock, _modinit, _moddeinit, knock_clist, NULL, NULL, NULL, NULL, NULL);
/* m_knock /* m_knock
* parv[1] = channel * parv[1] = channel

View file

@ -54,7 +54,7 @@ mapi_hlist_av1 links_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(links, NULL, NULL, links_clist, links_hlist, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(links, NULL, NULL, links_clist, links_hlist, NULL, NULL, NULL, NULL);
/* /*
* m_links - LINKS message handler * m_links - LINKS message handler

View file

@ -81,7 +81,7 @@ mapi_hfn_list_av1 list_hfnlist[] = {
{NULL, NULL} {NULL, NULL}
}; };
DECLARE_MODULE_AV1(list, _modinit, _moddeinit, list_clist, NULL, list_hfnlist, "$Revision: 3372 $"); DECLARE_MODULE_AV2(list, _modinit, _moddeinit, list_clist, NULL, list_hfnlist, NULL, NULL, NULL);
static struct ev_entry *iterate_clients_ev = NULL; static struct ev_entry *iterate_clients_ev = NULL;

View file

@ -47,7 +47,7 @@ struct Message locops_msgtab = {
}; };
mapi_clist_av1 locops_clist[] = { &locops_msgtab, NULL }; mapi_clist_av1 locops_clist[] = { &locops_msgtab, NULL };
DECLARE_MODULE_AV1(locops, NULL, NULL, locops_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(locops, NULL, NULL, locops_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_locops - LOCOPS message handler * m_locops - LOCOPS message handler

View file

@ -43,7 +43,7 @@ struct Message lusers_msgtab = {
}; };
mapi_clist_av1 lusers_clist[] = { &lusers_msgtab, NULL }; mapi_clist_av1 lusers_clist[] = { &lusers_msgtab, NULL };
DECLARE_MODULE_AV1(lusers, NULL, NULL, lusers_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(lusers, NULL, NULL, lusers_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_lusers - LUSERS message handler * m_lusers - LUSERS message handler

View file

@ -39,7 +39,7 @@ struct Message map_msgtab = {
}; };
mapi_clist_av1 map_clist[] = { &map_msgtab, NULL }; mapi_clist_av1 map_clist[] = { &map_msgtab, NULL };
DECLARE_MODULE_AV1(map, NULL, NULL, map_clist, NULL, NULL, "$Revision: 3368 $"); DECLARE_MODULE_AV2(map, NULL, NULL, map_clist, NULL, NULL, NULL, NULL, NULL);
static void dump_map(struct Client *client_p, struct Client *root, char *pbuf); static void dump_map(struct Client *client_p, struct Client *root, char *pbuf);
static void flattened_map(struct Client *client_p); static void flattened_map(struct Client *client_p);

View file

@ -49,7 +49,7 @@ struct Message monitor_msgtab = {
}; };
mapi_clist_av1 monitor_clist[] = { &monitor_msgtab, NULL }; mapi_clist_av1 monitor_clist[] = { &monitor_msgtab, NULL };
DECLARE_MODULE_AV1(monitor, monitor_init, monitor_deinit, monitor_clist, NULL, NULL, "$Revision: 312 $"); DECLARE_MODULE_AV2(monitor, monitor_init, monitor_deinit, monitor_clist, NULL, NULL, NULL, NULL, NULL);
static int monitor_init(void) static int monitor_init(void)
{ {

View file

@ -52,7 +52,7 @@ mapi_hlist_av1 motd_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(motd, NULL, NULL, motd_clist, motd_hlist, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(motd, NULL, NULL, motd_clist, motd_hlist, NULL, NULL, NULL, NULL);
static void motd_spy(struct Client *); static void motd_spy(struct Client *);

View file

@ -45,7 +45,7 @@ struct Message names_msgtab = {
}; };
mapi_clist_av1 names_clist[] = { &names_msgtab, NULL }; mapi_clist_av1 names_clist[] = { &names_msgtab, NULL };
DECLARE_MODULE_AV1(names, NULL, NULL, names_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(names, NULL, NULL, names_clist, NULL, NULL, NULL, NULL, NULL);
static void names_global(struct Client *source_p); static void names_global(struct Client *source_p);

View file

@ -47,7 +47,7 @@ struct Message oper_msgtab = {
}; };
mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL }; mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL };
DECLARE_MODULE_AV1(oper, NULL, NULL, oper_clist, NULL, NULL, "$Revision: 1483 $"); DECLARE_MODULE_AV2(oper, NULL, NULL, oper_clist, NULL, NULL, NULL, NULL, NULL);
static int match_oper_password(const char *password, struct oper_conf *oper_p); static int match_oper_password(const char *password, struct oper_conf *oper_p);

View file

@ -51,7 +51,7 @@ struct Message operspy_msgtab = {
}; };
mapi_clist_av1 operspy_clist[] = { &operspy_msgtab, NULL }; mapi_clist_av1 operspy_clist[] = { &operspy_msgtab, NULL };
DECLARE_MODULE_AV1(operspy, NULL, NULL, operspy_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(operspy, NULL, NULL, operspy_clist, NULL, NULL, NULL, NULL, NULL);
/* ms_operspy() /* ms_operspy()
* *

View file

@ -43,7 +43,7 @@ struct Message pass_msgtab = {
}; };
mapi_clist_av1 pass_clist[] = { &pass_msgtab, NULL }; mapi_clist_av1 pass_clist[] = { &pass_msgtab, NULL };
DECLARE_MODULE_AV1(pass, NULL, NULL, pass_clist, NULL, NULL, "$Revision: 3550 $"); DECLARE_MODULE_AV2(pass, NULL, NULL, pass_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_pass() - Added Sat, 4 March 1989 * m_pass() - Added Sat, 4 March 1989

View file

@ -44,7 +44,7 @@ struct Message ping_msgtab = {
}; };
mapi_clist_av1 ping_clist[] = { &ping_msgtab, NULL }; mapi_clist_av1 ping_clist[] = { &ping_msgtab, NULL };
DECLARE_MODULE_AV1(ping, NULL, NULL, ping_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(ping, NULL, NULL, ping_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** m_ping ** m_ping

View file

@ -47,7 +47,7 @@ struct Message pong_msgtab = {
}; };
mapi_clist_av1 pong_clist[] = { &pong_msgtab, NULL }; mapi_clist_av1 pong_clist[] = { &pong_msgtab, NULL };
DECLARE_MODULE_AV1(pong, NULL, NULL, pong_clist, NULL, NULL, "$Revision: 3181 $"); DECLARE_MODULE_AV2(pong, NULL, NULL, pong_clist, NULL, NULL, NULL, NULL, NULL);
static int static int
ms_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) ms_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])

View file

@ -52,7 +52,7 @@ struct Message put_msgtab = {
mapi_clist_av1 post_clist[] = { mapi_clist_av1 post_clist[] = {
&post_msgtab, &get_msgtab, &put_msgtab, NULL &post_msgtab, &get_msgtab, &put_msgtab, NULL
}; };
DECLARE_MODULE_AV1(post, NULL, NULL, post_clist, NULL, NULL, "$Revision: 498 $"); DECLARE_MODULE_AV2(post, NULL, NULL, post_clist, NULL, NULL, NULL, NULL, NULL);
/* /*

View file

@ -73,7 +73,7 @@ static struct mode_table auth_client_table[] = {
{NULL, 0} {NULL, 0}
}; };
DECLARE_MODULE_AV1(privs, NULL, NULL, privs_clist, NULL, NULL, ""); DECLARE_MODULE_AV2(privs, NULL, NULL, privs_clist, NULL, NULL, NULL, NULL, NULL);
static void show_privs(struct Client *source_p, struct Client *target_p) static void show_privs(struct Client *source_p, struct Client *target_p)
{ {

View file

@ -53,7 +53,7 @@ struct Message rehash_msgtab = {
}; };
mapi_clist_av1 rehash_clist[] = { &rehash_msgtab, NULL }; mapi_clist_av1 rehash_clist[] = { &rehash_msgtab, NULL };
DECLARE_MODULE_AV1(rehash, NULL, NULL, rehash_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(rehash, NULL, NULL, rehash_clist, NULL, NULL, NULL, NULL, NULL);
struct hash_commands struct hash_commands
{ {

View file

@ -48,7 +48,7 @@ struct Message restart_msgtab = {
}; };
mapi_clist_av1 restart_clist[] = { &restart_msgtab, NULL }; mapi_clist_av1 restart_clist[] = { &restart_msgtab, NULL };
DECLARE_MODULE_AV1(restart, NULL, NULL, restart_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(restart, NULL, NULL, restart_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_restart * mo_restart

View file

@ -57,7 +57,7 @@ struct Message unresv_msgtab = {
mapi_clist_av1 resv_clist[] = { &resv_msgtab, &unresv_msgtab, NULL }; mapi_clist_av1 resv_clist[] = { &resv_msgtab, &unresv_msgtab, NULL };
DECLARE_MODULE_AV1(resv, NULL, NULL, resv_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(resv, NULL, NULL, resv_clist, NULL, NULL, NULL, NULL, NULL);
static void parse_resv(struct Client *source_p, const char *name, static void parse_resv(struct Client *source_p, const char *name,
const char *reason, int temp_time, int propagated); const char *reason, int temp_time, int propagated);

View file

@ -115,7 +115,7 @@ _moddeinit(void)
capability_orphan(cli_capindex, "sasl"); capability_orphan(cli_capindex, "sasl");
} }
DECLARE_MODULE_AV1(sasl, _modinit, _moddeinit, sasl_clist, NULL, sasl_hfnlist, "$Revision: 1409 $"); DECLARE_MODULE_AV2(sasl, _modinit, _moddeinit, sasl_clist, NULL, sasl_hfnlist, NULL, NULL, NULL);
static int static int
m_authenticate(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, m_authenticate(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,

View file

@ -59,7 +59,7 @@ struct Message scan_msgtab = {
}; };
mapi_clist_av1 scan_clist[] = { &scan_msgtab, NULL }; mapi_clist_av1 scan_clist[] = { &scan_msgtab, NULL };
DECLARE_MODULE_AV1(scan, NULL, NULL, scan_clist, NULL, NULL, "$Revision: 1853 $"); DECLARE_MODULE_AV2(scan, NULL, NULL, scan_clist, NULL, NULL, NULL, NULL, NULL);
typedef int (*scan_handler)(struct MsgBuf *, struct Client *, struct Client *, int, typedef int (*scan_handler)(struct MsgBuf *, struct Client *, struct Client *, int,
const char **); const char **);

View file

@ -94,7 +94,7 @@ mapi_hfn_list_av1 services_hfnlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(services, _modinit, _moddeinit, services_clist, NULL, services_hfnlist, "$Revision: 1907 $"); DECLARE_MODULE_AV2(services, _modinit, _moddeinit, services_clist, NULL, services_hfnlist, NULL, NULL, NULL);
static int static int
_modinit(void) _modinit(void)

View file

@ -47,7 +47,7 @@ struct Message set_msgtab = {
}; };
mapi_clist_av1 set_clist[] = { &set_msgtab, NULL }; mapi_clist_av1 set_clist[] = { &set_msgtab, NULL };
DECLARE_MODULE_AV1(set, NULL, NULL, set_clist, NULL, NULL, "$Revision: 3406 $"); DECLARE_MODULE_AV2(set, NULL, NULL, set_clist, NULL, NULL, NULL, NULL, NULL);
/* Structure used for the SET table itself */ /* Structure used for the SET table itself */
struct SetStruct struct SetStruct

View file

@ -67,7 +67,7 @@ mapi_clist_av1 signon_clist[] = {
&svslogin_msgtab, &signon_msgtab, NULL &svslogin_msgtab, &signon_msgtab, NULL
}; };
DECLARE_MODULE_AV1(signon, NULL, NULL, signon_clist, NULL, NULL, "$Revision: 1192 $"); DECLARE_MODULE_AV2(signon, NULL, NULL, signon_clist, NULL, NULL, NULL, NULL, NULL);
#define NICK_VALID 1 #define NICK_VALID 1
#define USER_VALID 2 #define USER_VALID 2

View file

@ -56,7 +56,7 @@ struct Message snote_msgtab = {
}; };
mapi_clist_av1 snote_clist[] = { &snote_msgtab, NULL }; mapi_clist_av1 snote_clist[] = { &snote_msgtab, NULL };
DECLARE_MODULE_AV1(snote, NULL, NULL, snote_clist, NULL, NULL, "$Revision: 623 $"); DECLARE_MODULE_AV2(snote, NULL, NULL, snote_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* me_snote * me_snote

View file

@ -61,7 +61,7 @@ _moddeinit(void)
#endif #endif
} }
DECLARE_MODULE_AV1(starttls, _modinit, _moddeinit, starttls_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(starttls, _modinit, _moddeinit, starttls_clist, NULL, NULL, NULL, NULL, NULL);
static int static int
mr_starttls(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) mr_starttls(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])

View file

@ -66,7 +66,7 @@ mapi_hlist_av1 stats_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(stats, NULL, NULL, stats_clist, stats_hlist, NULL, "$Revision: 1608 $"); DECLARE_MODULE_AV2(stats, NULL, NULL, stats_clist, stats_hlist, NULL, NULL, NULL, NULL);
const char *Lformat = "%s %u %u %u %u %u :%u %u %s"; const char *Lformat = "%s %u %u %u %u %u :%u %u %s";

View file

@ -43,7 +43,7 @@ struct Message svinfo_msgtab = {
}; };
mapi_clist_av1 svinfo_clist[] = { &svinfo_msgtab, NULL }; mapi_clist_av1 svinfo_clist[] = { &svinfo_msgtab, NULL };
DECLARE_MODULE_AV1(svinfo, NULL, NULL, svinfo_clist, NULL, NULL, "$Revision: 494 $"); DECLARE_MODULE_AV2(svinfo, NULL, NULL, svinfo_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* ms_svinfo - SVINFO message handler * ms_svinfo - SVINFO message handler

View file

@ -56,7 +56,7 @@ struct Message etb_msgtab = {
}; };
mapi_clist_av1 tb_clist[] = { &tb_msgtab, &etb_msgtab, NULL }; mapi_clist_av1 tb_clist[] = { &tb_msgtab, &etb_msgtab, NULL };
DECLARE_MODULE_AV1(tb, NULL, NULL, tb_clist, NULL, NULL, "$Revision: 1349 $"); DECLARE_MODULE_AV2(tb, NULL, NULL, tb_clist, NULL, NULL, NULL, NULL, NULL);
/* m_tb() /* m_tb()
* *

View file

@ -52,7 +52,7 @@ struct Message testgecos_msgtab = {
}; };
mapi_clist_av1 testline_clist[] = { &testline_msgtab, &testgecos_msgtab, NULL }; mapi_clist_av1 testline_clist[] = { &testline_msgtab, &testgecos_msgtab, NULL };
DECLARE_MODULE_AV1(testline, NULL, NULL, testline_clist, NULL, NULL, "$Revision: 3303 $"); DECLARE_MODULE_AV2(testline, NULL, NULL, testline_clist, NULL, NULL, NULL, NULL, NULL);
static int static int
mo_testline(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) mo_testline(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])

View file

@ -55,7 +55,7 @@ struct Message testmask_msgtab = {
}; };
mapi_clist_av1 testmask_clist[] = { &testmask_msgtab, NULL }; mapi_clist_av1 testmask_clist[] = { &testmask_msgtab, NULL };
DECLARE_MODULE_AV1(testmask, NULL, NULL, testmask_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(testmask, NULL, NULL, testmask_clist, NULL, NULL, NULL, NULL, NULL);
static const char *empty_sockhost = "255.255.255.255"; static const char *empty_sockhost = "255.255.255.255";
static const char *spoofed_sockhost = "0"; static const char *spoofed_sockhost = "0";

View file

@ -48,7 +48,7 @@ struct Message tginfo_msgtab = {
mapi_clist_av1 tginfo_clist[] = { &tginfo_msgtab, NULL }; mapi_clist_av1 tginfo_clist[] = { &tginfo_msgtab, NULL };
DECLARE_MODULE_AV1(tginfo, NULL, NULL, tginfo_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(tginfo, NULL, NULL, tginfo_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** me_tginfo ** me_tginfo

View file

@ -43,7 +43,7 @@ struct Message time_msgtab = {
}; };
mapi_clist_av1 time_clist[] = { &time_msgtab, NULL }; mapi_clist_av1 time_clist[] = { &time_msgtab, NULL };
DECLARE_MODULE_AV1(time, NULL, NULL, time_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(time, NULL, NULL, time_clist, NULL, NULL, NULL, NULL, NULL);
static const char *months[] = { static const char *months[] = {
"January", "February", "March", "April", "January", "February", "March", "April",

View file

@ -50,7 +50,7 @@ struct Message topic_msgtab = {
}; };
mapi_clist_av1 topic_clist[] = { &topic_msgtab, NULL }; mapi_clist_av1 topic_clist[] = { &topic_msgtab, NULL };
DECLARE_MODULE_AV1(topic, NULL, NULL, topic_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(topic, NULL, NULL, topic_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_topic * m_topic

View file

@ -56,7 +56,7 @@ mapi_hlist_av1 trace_hlist[] = {
{ "doing_trace", &doing_trace_hook }, { "doing_trace", &doing_trace_hook },
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(trace, NULL, NULL, trace_clist, trace_hlist, NULL, "$Revision: 3183 $"); DECLARE_MODULE_AV2(trace, NULL, NULL, trace_clist, trace_hlist, NULL, NULL, NULL, NULL);
static void count_downlinks(struct Client *server_p, int *pservcount, int *pusercount); static void count_downlinks(struct Client *server_p, int *pservcount, int *pusercount);
static int report_this_status(struct Client *source_p, struct Client *target_p); static int report_this_status(struct Client *source_p, struct Client *target_p);

View file

@ -38,7 +38,7 @@ struct Message unreject_msgtab = {
}; };
mapi_clist_av1 unreject_clist[] = { &unreject_msgtab, NULL }; mapi_clist_av1 unreject_clist[] = { &unreject_msgtab, NULL };
DECLARE_MODULE_AV1(unreject, NULL, NULL, unreject_clist, NULL, NULL, "$Revision: 3161 $"); DECLARE_MODULE_AV2(unreject, NULL, NULL, unreject_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_unreject * mo_unreject

View file

@ -44,7 +44,7 @@ struct Message user_msgtab = {
}; };
mapi_clist_av1 user_clist[] = { &user_msgtab, NULL }; mapi_clist_av1 user_clist[] = { &user_msgtab, NULL };
DECLARE_MODULE_AV1(user, NULL, NULL, user_clist, NULL, NULL, "$Revision: 3416 $"); DECLARE_MODULE_AV2(user, NULL, NULL, user_clist, NULL, NULL, NULL, NULL, NULL);
static int do_local_user(struct Client *client_p, struct Client *source_p, static int do_local_user(struct Client *client_p, struct Client *source_p,
const char *username, const char *realname); const char *username, const char *realname);

View file

@ -44,7 +44,7 @@ struct Message userhost_msgtab = {
}; };
mapi_clist_av1 userhost_clist[] = { &userhost_msgtab, NULL }; mapi_clist_av1 userhost_clist[] = { &userhost_msgtab, NULL };
DECLARE_MODULE_AV1(userhost, NULL, NULL, userhost_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(userhost, NULL, NULL, userhost_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_userhost added by Darren Reed 13/8/91 to aid clients and reduce * m_userhost added by Darren Reed 13/8/91 to aid clients and reduce

View file

@ -41,7 +41,7 @@ struct Message users_msgtab = {
}; };
mapi_clist_av1 users_clist[] = { &users_msgtab, NULL }; mapi_clist_av1 users_clist[] = { &users_msgtab, NULL };
DECLARE_MODULE_AV1(users, NULL, NULL, users_clist, NULL, NULL, "$Revision: 254 $"); DECLARE_MODULE_AV2(users, NULL, NULL, users_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_users * m_users

View file

@ -45,7 +45,7 @@ struct Message version_msgtab = {
}; };
mapi_clist_av1 version_clist[] = { &version_msgtab, NULL }; mapi_clist_av1 version_clist[] = { &version_msgtab, NULL };
DECLARE_MODULE_AV1(version, NULL, NULL, version_clist, NULL, NULL, "$Revision: 1887 $"); DECLARE_MODULE_AV2(version, NULL, NULL, version_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* m_version - VERSION command handler * m_version - VERSION command handler

View file

@ -50,7 +50,7 @@ struct Message operwall_msgtab = {
}; };
mapi_clist_av1 wallops_clist[] = { &wallops_msgtab, &operwall_msgtab, NULL }; mapi_clist_av1 wallops_clist[] = { &wallops_msgtab, &operwall_msgtab, NULL };
DECLARE_MODULE_AV1(wallops, NULL, NULL, wallops_clist, NULL, NULL, "$Revision: 1377 $"); DECLARE_MODULE_AV2(wallops, NULL, NULL, wallops_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
* mo_operwall (write to *all* opers currently online) * mo_operwall (write to *all* opers currently online)

View file

@ -82,7 +82,7 @@ _moddeinit(void)
} }
mapi_clist_av1 who_clist[] = { &who_msgtab, NULL }; mapi_clist_av1 who_clist[] = { &who_msgtab, NULL };
DECLARE_MODULE_AV1(who, _modinit, _moddeinit, who_clist, NULL, NULL, "$Revision: 3350 $"); DECLARE_MODULE_AV2(who, _modinit, _moddeinit, who_clist, NULL, NULL, NULL, NULL, NULL);
static void do_who_on_channel(struct Client *source_p, struct Channel *chptr, static void do_who_on_channel(struct Client *source_p, struct Channel *chptr,
int server_oper, int member, int server_oper, int member,

View file

@ -68,7 +68,7 @@ mapi_hlist_av1 whois_hlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(whois, NULL, NULL, whois_clist, whois_hlist, NULL, "$Revision: 3536 $"); DECLARE_MODULE_AV2(whois, NULL, NULL, whois_clist, whois_hlist, NULL, NULL, NULL, NULL);
/* /*
* m_whois * m_whois

View file

@ -47,7 +47,7 @@ struct Message whowas_msgtab = {
}; };
mapi_clist_av1 whowas_clist[] = { &whowas_msgtab, NULL }; mapi_clist_av1 whowas_clist[] = { &whowas_msgtab, NULL };
DECLARE_MODULE_AV1(whowas, NULL, NULL, whowas_clist, NULL, NULL, "$Revision: 1717 $"); DECLARE_MODULE_AV2(whowas, NULL, NULL, whowas_clist, NULL, NULL, NULL, NULL, NULL);
/* /*
** m_whowas ** m_whowas

View file

@ -73,7 +73,7 @@ struct Message unxline_msgtab = {
mapi_clist_av1 xline_clist[] = { &xline_msgtab, &unxline_msgtab, NULL }; mapi_clist_av1 xline_clist[] = { &xline_msgtab, &unxline_msgtab, NULL };
DECLARE_MODULE_AV1(xline, NULL, NULL, xline_clist, NULL, NULL, "$Revision$"); DECLARE_MODULE_AV2(xline, NULL, NULL, xline_clist, NULL, NULL, NULL, NULL, NULL);
static int valid_xline(struct Client *, const char *, const char *); static int valid_xline(struct Client *, const char *, const char *);
static void apply_xline(struct Client *client_p, const char *name, static void apply_xline(struct Client *client_p, const char *name,

View file

@ -45,7 +45,7 @@ mapi_hfn_list_av1 nn_hfnlist[] = {
{ NULL, NULL } { NULL, NULL }
}; };
DECLARE_MODULE_AV1(networknotice, NULL, NULL, NULL, NULL, nn_hfnlist, "$Revision: 1172 $"); DECLARE_MODULE_AV2(networknotice, NULL, NULL, NULL, NULL, nn_hfnlist, NULL, NULL, NULL);
/* /*
* count_mark_downlinks * count_mark_downlinks