Anope IRC Services  Version 1.8
Functions
compat.c File Reference
#include "services.h"
Include dependency graph for compat.c:

Go to the source code of this file.

Functions

int snprintf (char *buf, size_t len, const char *fmt,...)
 
int stricmp (const char *s1, const char *s2)
 
int strnicmp (const char *s1, const char *s2, size_t len)
 
char * strdup (const char *s)
 
size_t strspn (const char *s, const char *accept)
 
char * strerror (int errnum)
 
char * strsignal (int signum)
 

Function Documentation

int snprintf ( char *  buf,
size_t  len,
const char *  fmt,
  ... 
)

Definition at line 37 of file compat.c.

References vsnprintf().

Referenced by _common_unban(), add_akill(), add_ignore(), add_session(), add_sgline(), add_sqline(), akick_view(), akill_list(), akill_view(), anope_cmd_action(), anope_event_capab(), anope_event_ping(), bahamut_cmd_jupe(), bot_join(), bot_raw_ban(), bot_raw_mode(), charybdis_cmd_jupe(), check_ban(), check_kick(), check_sqline(), collide(), cs_get_limit(), db_mysql_error(), db_mysql_load_cs_dbase(), db_mysql_load_exceptions(), db_mysql_load_news(), db_mysql_load_ns_dbase(), db_mysql_secure(), del_memo_callback(), delcore(), delete_ignore(), delHostCore(), delnick(), do_access(), do_akick(), do_akill(), do_chankill(), do_clear(), do_confirm(), do_del(), do_fantasy(), do_ghost(), do_group(), do_identify(), do_info(), do_list(), do_news(), do_news_add(), do_news_del(), do_nick(), do_noop(), do_saset_greet(), do_sendpass(), do_sendregmail(), do_set_greet(), do_setall(), do_sgline(), do_sqline(), do_squit(), do_szline(), do_userlist(), do_xop(), dreamforge_cmd_jupe(), duration(), expire_left(), fill_db_ptr(), get_ban_data(), get_idealban(), get_ignore(), get_limit(), get_logname(), hs_do_request(), hybrid_cmd_jupe(), inspircd_cmd_jupe(), is_akill_entry_equal(), kill_user(), listnicks(), load_lang(), load_old_akill(), log_gettimestamp(), main(), merge_args(), ModuleRemoveBackups(), ModuleRunTimeDirCleanUp(), my_cs_appendtopic(), myDoSet(), new_write_db_entry(), ntoa(), open_db_write(), oper_global(), plexus_cmd_jupe(), ptlink_cmd_jupe(), rageircd_cmd_jupe(), ratbox_cmd_jupe(), remove_backups(), rename_database(), req_send_memos(), resetDefCon(), rsend_notify(), send_bot_channels(), shadowircd_cmd_jupe(), sighandler(), solidircd_cmd_jupe(), str_is_cidr(), strerror(), strsignal(), ts6_sid_retrieve(), ts6_uid_init(), ultimate2_cmd_jupe(), ultimate3_cmd_jupe(), unreal_cmd_jupe(), and viagra_cmd_jupe().

char* strdup ( const char *  s)

Definition at line 94 of file compat.c.

Referenced by add_line(), get_value_str(), main(), smtp_set_from(), smtp_set_to(), and sstrdup().

char* strerror ( int  errnum)
int stricmp ( const char *  s1,
const char *  s2 
)

Definition at line 58 of file compat.c.

References c, and tolower.

Referenced by add_akill(), add_ignore(), add_sgline(), add_sqline(), add_szline(), addCommand(), addEventHandler(), addEventHook(), addMessage(), addModule(), alpha_insert_alias(), alpha_insert_chan(), anope_event_bmask(), anope_event_encap(), anope_event_euid(), anope_event_server(), backup_ignoredb(), bot_raw_ban(), bot_raw_kick(), bot_raw_mode(), botchanmsgs(), botmsgs(), botserv(), capab_parse(), catserv(), chan_set_user_status(), change_user_nick(), chanserv(), compare_adminlist_entries(), compare_operlist_entries(), count_email_in_use(), cs_findchan(), db_mysql_load_ns_dbase(), delCommand(), delete_ignore(), delEventHandler(), delEventHook(), delMessage(), delModule(), delnick(), displayCommandFromHash(), displayEvtMessageFromHash(), displayHookFromHash(), displayMessageFromHash(), do_access(), do_admin(), do_akick(), do_akill(), do_alist(), do_assign(), do_badwords(), do_ban(), do_bot(), do_cancel(), do_chanlist(), do_clear(), do_clearmodes(), do_confirm(), do_cs_kick(), do_del(), do_exception(), do_fantasy(), do_getemail(), do_ghost(), do_glist(), do_group(), do_help(), do_ignoreuser(), do_info(), do_kick(), do_kickcmd(), do_levels(), do_list(), do_logout(), do_memocheck(), do_modlist(), do_moo(), do_news(), do_news_del(), do_nick(), do_noop(), do_oper(), do_part(), do_read(), do_recover(), do_register(), do_rsend(), do_saset(), do_saset_autoop(), do_saset_display(), do_saset_hide(), do_saset_kill(), do_saset_msg(), do_saset_noexpire(), do_saset_password(), do_saset_private(), do_saset_secure(), do_sendall(), do_session(), do_set(), do_set_autoop(), do_set_display(), do_set_hide(), do_set_keeptopic(), do_set_kill(), do_set_limit(), do_set_msg(), do_set_noexpire(), do_set_notify(), do_set_opnotice(), do_set_password(), do_set_peace(), do_set_private(), do_set_restricted(), do_set_secure(), do_set_securefounder(), do_set_secureops(), do_set_signkick(), do_set_topiclock(), do_set_xop(), do_sgline(), do_sqline(), do_stats(), do_svsnick(), do_szline(), do_userlist(), do_util(), do_xop(), elist_find_mask(), entry_match(), exception_add(), find_byuid(), find_nickuid(), find_uid(), findbot(), findchan(), findCommand(), findcore(), findEventHandler(), findEventHook(), findHostCore(), findMessage(), findModule(), findnick(), findrequestnick(), findserver(), findserver_uid(), findsession(), finduser(), get_ban_data(), helpserv(), hostserv(), hs_do_list_out(), hsreq_load_db(), hsreqevt_db_backup(), hsreqevt_db_saving(), insert_bot(), introduce_user(), is_akill_entry_equal(), is_host_setter(), is_sgline_entry_equal(), is_sqline_entry_equal(), is_szline_entry_equal(), is_ulined(), load_ignore_db(), load_ns_dbase(), load_old_ns_dbase(), lookup_cmd(), m_privmsg(), m_whois(), mBackupData(), memoserv(), mEventReload(), mLoadData(), moduleDelAllData(), moduleDelCommand(), moduleDelData(), moduleGetConfigDirective(), moduleGetData(), ModuleRunTimeDirCleanUp(), mSaveData(), my_cs_enforce(), my_event_addcommand(), my_event_delcommand(), my_event_reload(), my_ns_set(), my_privmsg(), my_save(), new_write_db_entry(), nickIsServices(), nickserv(), operserv(), parse_directive(), prepForUnload(), read_config(), reload_config(), save_ignoredb(), showModuleCmdLoaded(), showModuleMsgLoaded(), and unreal_valid_nick().

int strnicmp ( const char *  s1,
const char *  s2,
size_t  len 
)

Definition at line 73 of file compat.c.

References c, and tolower.

Referenced by botchanmsgs(), do_levels(), and init_secondary().

char* strsignal ( int  signum)

Definition at line 142 of file compat.c.

References snprintf(), and strscpy().

Referenced by sighandler().

size_t strspn ( const char *  s,
const char *  accept 
)