#include "services.h"#include "pseudo.h"
Go to the source code of this file.
Defines | |
| #define | LTSIZE 20 |
Functions | |
| void | moduleAddMsgs (void) |
| void | moduleAddIRCDMsgs (void) |
| void | introduce_user (const char *user) |
| static int | set_group (void) |
| static int | parse_dir_options (int ac, char **av) |
| static int | parse_options (int ac, char **av) |
| static void | remove_pidfile (void) |
| static void | write_pidfile (void) |
| int | init_primary (int ac, char **av) |
| int | init_secondary (int ac, char **av) |
Variables | |
| int | servernum = 0 |
| int | openlog_failed = 0 |
| int | openlog_errno = 0 |
| #define LTSIZE 20 |
Referenced by introduce_user().
| int init_primary | ( | int | ac, | |
| char ** | av | |||
| ) |
Definition at line 428 of file init.c.
References encryption_module_init(), log_filename, open_log(), openlog_errno, openlog_failed, parse_dir_options(), protocol_module_init(), read_config(), services_dir, set_group(), and strerror().
Referenced by main().
| int init_secondary | ( | int | ac, | |
| char ** | av | |||
| ) |
Load our delayed modeles - modules that are planing on making clients need to wait till now where as modules wanting to modify our ircd connection messages need to load eariler :|
Definition at line 476 of file init.c.
References add_entropy_userkeys(), alog(), anope_cmd_connect(), anope_cmd_eob(), anope_cmd_global(), anope_cmd_join(), bs_init(), close_log(), conn(), cs_init(), debug, DefConChanModes, DefConLevel, defconParseModeString(), disconn(), DumpCore, EVENT_CONNECT, EVENT_START, EVENT_STOP, fatal(), fatal_perror(), helpserv_init(), hostserv_init(), inbuf, introduce_user(), ircd, ircdvars_::join2msg, lang_init(), load_bs_dbase(), load_cs_dbase(), load_exceptions(), load_hs_dbase(), load_news(), load_ns_dbase(), load_ns_req_db(), load_os_dbase(), LocalHost, LocalPort, logchan, LogChannel, moduleAddMsgs(), modules_delayed_init(), modules_init(), ms_init(), MysqlSecure, nofork, ns_init(), openlog_errno, openlog_failed, os_init(), parse_options(), PreNickDBName, rand_init(), rdb_init(), rdb_load_dbases(), readonly, RemotePort, RemotePort2, RemotePort3, RemoteServer, RemoteServer2, RemoteServer3, s_BotServ, s_ChanServ, s_GlobalNoticer, s_HostServ, s_NickServ, s_OperServ, save_databases(), send_event(), servernum, servsock, sgets2(), sighandler(), skeleton, start_time, strerror(), strnicmp(), UseRDB, version_number, version_protocol, and write_pidfile().
Referenced by main().
| void introduce_user | ( | const char * | user | ) |
Definition at line 24 of file init.c.
References anope_cmd_bot_nick(), anope_cmd_nick(), botlists, ircdvars_::botserv_bot_mode, ircdvars_::botservaliasmode, ircdvars_::botservmode, ircdvars_::chanservaliasmode, ircdvars_::chanservmode, desc_BotServ, desc_BotServAlias, desc_ChanServ, desc_ChanServAlias, desc_DevNull, desc_DevNullAlias, desc_GlobalNoticer, desc_GlobalNoticerAlias, desc_HelpServ, desc_HelpServAlias, desc_HostServ, desc_HostServAlias, desc_MemoServ, desc_MemoServAlias, desc_NickServ, desc_NickServAlias, desc_OperServ, desc_OperServAlias, ircdvars_::devnullmode, ircdvars_::devnullvaliasmode, fatal(), ircdvars_::globalaliasmode, ircdvars_::globalmode, ircdvars_::helpservaliasmode, ircdvars_::helpservmode, botinfo_::host, ircdvars_::hostservaliasmode, ircdvars_::hostservmode, ircd, LTSIZE, ircdvars_::memoservaliasmode, ircdvars_::memoservmode, botinfo_::next, botinfo_::nick, ircdvars_::nickservaliasmode, ircdvars_::nickservmode, ircdvars_::operservaliasmode, ircdvars_::operservmode, botinfo_::real, s_BotServ, s_BotServAlias, s_ChanServ, s_ChanServAlias, s_DevNull, s_DevNullAlias, s_GlobalNoticer, s_GlobalNoticerAlias, s_HelpServ, s_HelpServAlias, s_HostServ, s_HostServAlias, s_MemoServ, s_MemoServAlias, s_NickServ, s_NickServAlias, s_OperServ, s_OperServAlias, stricmp(), botinfo_::user, and ircdvars_::vhost.
Referenced by init_secondary(), m_kill(), and m_nickcoll().
| void moduleAddIRCDMsgs | ( | void | ) |
Definition at line 632 of file bahamut.c.
References addCoreMessage(), anope_event_436(), anope_event_482(), anope_event_admin(), anope_event_away(), anope_event_bmask(), anope_event_burst(), anope_event_capab(), anope_event_chghost(), anope_event_chgident(), anope_event_chgname(), anope_event_client(), anope_event_credits(), anope_event_cs(), anope_event_encap(), anope_event_eob(), anope_event_eos(), anope_event_error(), anope_event_euid(), anope_event_fjoin(), anope_event_fmode(), anope_event_ftopic(), anope_event_globops(), anope_event_gnotice(), anope_event_hs(), anope_event_idle(), anope_event_invite(), anope_event_join(), anope_event_kick(), anope_event_kill(), anope_event_luserslock(), anope_event_mode(), anope_event_motd(), anope_event_ms(), anope_event_myid(), anope_event_netctrl(), anope_event_netglobal(), anope_event_netinfo(), anope_event_newmask(), anope_event_nick(), anope_event_notice(), anope_event_ns(), anope_event_null(), anope_event_opertype(), anope_event_os(), anope_event_part(), anope_event_pass(), anope_event_ping(), anope_event_privmsg(), anope_event_quit(), anope_event_rehash(), anope_event_rsquit(), anope_event_sajoin(), anope_event_samode(), anope_event_sanick(), anope_event_sapart(), anope_event_sdesc(), anope_event_server(), anope_event_sethost(), anope_event_setident(), anope_event_setname(), anope_event_sid(), anope_event_sjoin(), anope_event_smo(), anope_event_snetinfo(), anope_event_snick(), anope_event_snotice(), anope_event_sqline(), anope_event_squit(), anope_event_svinfo(), anope_event_svsinfo(), anope_event_swhois(), anope_event_tburst(), anope_event_tctrl(), anope_event_tkl(), anope_event_tmode(), anope_event_topic(), anope_event_umode2(), anope_event_vctrl(), anope_event_version(), anope_event_vhost(), anope_event_vs(), anope_event_whois(), createMessage(), IRCD, m_stats(), m_time(), m_version(), Numeric, sstrdup(), TS6SID, updateProtectDetails(), UseTokens, UseTS6, and UseTSMODE.
Referenced by AnopeInit().
| void moduleAddMsgs | ( | void | ) |
Definition at line 399 of file messages.c.
References addCoreMessage(), createMessage(), IRCD, m_stats(), m_time(), and m_version().
| static int parse_dir_options | ( | int | ac, | |
| char ** | av | |||
| ) | [static] |
Definition at line 176 of file init.c.
References log_filename, services_dir, version_build, version_flags, and version_number.
Referenced by init_primary().
| static int parse_options | ( | int | ac, | |
| char ** | av | |||
| ) | [static] |
Definition at line 213 of file init.c.
References debug, ExpireTimeout, forceload, LocalHost, LocalPort, logchan, LogChannel, noexpire, nofork, nothird, protocoldebug, readonly, RemotePort, RemoteServer, ServerDesc, ServerName, ServiceHost, ServiceUser, skeleton, UpdateTimeout, version_build, version_flags, and version_number.
Referenced by init_secondary().
| static void remove_pidfile | ( | void | ) | [static] |
| static int set_group | ( | void | ) | [static] |
| static void write_pidfile | ( | void | ) | [static] |
Definition at line 408 of file init.c.
References log_perror(), PIDFilename, and remove_pidfile().
Referenced by init_secondary().
| int openlog_errno = 0 |
| int openlog_failed = 0 |
1.5.7.1