Add more core module descriptions
This commit is contained in:
parent
d821282260
commit
ee6dcb0514
6 changed files with 23 additions and 8 deletions
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "stdinc.h"
|
#include "stdinc.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "common.h" /* FALSE */
|
#include "common.h"
|
||||||
#include "ircd.h"
|
#include "ircd.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
#include "send.h"
|
#include "send.h"
|
||||||
|
@ -45,7 +45,10 @@ mapi_clist_av1 error_clist[] = {
|
||||||
&error_msgtab, NULL
|
&error_msgtab, NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, NULL);
|
static const char error_desc[] =
|
||||||
|
"Provides the ERROR command for clients and servers";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, error_desc);
|
||||||
|
|
||||||
/* 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
|
||||||
|
|
|
@ -64,8 +64,10 @@ 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 };
|
||||||
|
static const char mode_desc[] =
|
||||||
|
"Provides the MODE and MLOCK client and server commands, and TS6 server-to-server TMODE and BMASK commands";
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(mode, NULL, NULL, mode_clist, NULL, NULL, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(mode, NULL, NULL, mode_clist, NULL, NULL, NULL, NULL, mode_desc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* m_mode - MODE command handler
|
* m_mode - MODE command handler
|
||||||
|
|
|
@ -85,7 +85,10 @@ 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_AV2(nick, NULL, NULL, nick_clist, NULL, NULL, NULL, NULL, NULL);
|
static const char nick_desc[] =
|
||||||
|
"Provides the NICK client and server commands as well as the UID, EUID, and SAVE TS6 server commands";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(nick, NULL, NULL, nick_clist, NULL, NULL, NULL, NULL, nick_desc);
|
||||||
|
|
||||||
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);
|
||||||
|
|
|
@ -49,7 +49,10 @@ struct Message part_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 part_clist[] = { &part_msgtab, NULL };
|
mapi_clist_av1 part_clist[] = { &part_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, NULL);
|
static const char part_desc[] =
|
||||||
|
"Provides the PART client and server commands";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, part_desc);
|
||||||
|
|
||||||
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,
|
||||||
|
|
|
@ -55,7 +55,9 @@ 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_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, NULL);
|
static const char server_desc[] = "Provides the SERVER and SID commands for TS6 use";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, server_desc);
|
||||||
|
|
||||||
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 *);
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "stdinc.h"
|
#include "stdinc.h"
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "common.h" /* FALSE bleah */
|
#include "common.h"
|
||||||
#include "match.h"
|
#include "match.h"
|
||||||
#include "ircd.h"
|
#include "ircd.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
|
@ -48,7 +48,9 @@ struct Message squit_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL };
|
mapi_clist_av1 squit_clist[] = { &squit_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, NULL);
|
static const char squit_desc[] = "Provides the TS6 SQUIT command";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(squit, NULL, NULL, squit_clist, NULL, NULL, NULL, NULL, squit_desc);
|
||||||
|
|
||||||
struct squit_parms
|
struct squit_parms
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue