Anope IRC Services  Version 1.8
Data Structures | Macros | Typedefs | Enumerations
services.h File Reference
#include "sysconf.h"
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <errno.h>
#include <grp.h>
#include <limits.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <fcntl.h>
#include <dirent.h>
#include "sockets.h"
#include <ctype.h>
#include "defs.h"
#include "slist.h"
#include "events.h"
#include "extern.h"
Include dependency graph for services.h:

Go to the source code of this file.

Data Structures

struct  ircdvars_
 
struct  ircdcapab_
 
struct  uid_
 
struct  Directive
 
struct  ModuleData_
 
struct  memo_
 
struct  MemoInfo
 
struct  nickrequest_
 
struct  nickalias_
 
struct  nickcore_
 
struct  botinfo_
 
struct  ChanAccess
 
struct  AutoKick
 
struct  badword_
 
struct  chaninfo_
 
struct  csmodeutil_
 
struct  LevelInfo
 
struct  server_
 
struct  user_
 
struct  user_::u_chanlist
 
struct  user_::u_chaninfolist
 
struct  cbmode_
 
struct  cbmodeinfo_
 
struct  cmmode_
 
struct  cumode_
 
struct  bandata_
 
struct  userdata_
 
struct  channel_
 
struct  channel_::c_userlist
 
struct  c_elist
 
struct  c_elist_entry
 
struct  ignore_data
 
struct  mailinfo_
 
struct  akill_
 
struct  sxline_
 
struct  hostcore_
 
struct  newsitem_
 
struct  exception_
 
struct  session_
 
struct  ircd_proto_
 
struct  ircd_modes_
 
struct  capabinfo_
 

Macros

#define MAX_CMD_HASH   1024
 
#define _GNU_SOURCE
 
#define h_addr   h_addr_list[0] /* for backwards compatability, see man gethostbyname */
 
#define VA_COPY(DEST, SRC)   memcpy ((&DEST), (&SRC), sizeof(va_list))
 
#define tolower   tolower_
 
#define toupper   toupper_
 
#define encrypt   encrypt_
 
#define GET_USER(u)   ((ircd->p10 || (UseTS6 && ircd->ts6)) ? (u->uid ? u->uid : u->nick) : u->nick)
 
#define GET_BOT(bot)   ((ircd->p10 || (UseTS6 && ircd->ts6)) ? (find_uid(bot) ? find_uid(bot)->uid : bot) : bot)
 
#define MAXPARAMS   8
 
#define PARAM_NONE   0
 
#define PARAM_INT   1
 
#define PARAM_POSINT   2 /* Positive integer only */
 
#define PARAM_PORT   3 /* 1..65535 only */
 
#define PARAM_STRING   4
 
#define PARAM_TIME   5
 
#define PARAM_STRING_ARRAY   6 /* Array of string */
 
#define PARAM_SET
 
#define PARAM_DEPRECATED
 
#define PARAM_OPTIONAL   0x01
 
#define PARAM_FULLONLY   0x02 /* Directive only allowed if !STREAMLINED */
 
#define PARAM_RELOAD   0x04 /* Directive is reloadable */
 
#define BOT_VERSION   10
 
#define CHAN_VERSION   16
 
#define EXCEPTION_VERSION   9
 
#define NEWS_VERSION   9
 
#define NICK_VERSION   14
 
#define PRE_NICK_VERSION   2
 
#define OPER_VERSION   13
 
#define HELP_VERSION   1
 
#define HOST_VERSION   3
 
#define ACCESS_FOUNDER   10000 /* Numeric level indicating founder access */
 
#define ACCESS_INVALID   -10000 /* Used in levels[] for disabled settings */
 
#define ACCESS_SUPERADMIN   10001
 
#define ACCESS_VOP   3
 
#define ACCESS_HOP   4
 
#define ACCESS_AOP   5
 
#define ACCESS_SOP   10
 
#define AK_USED   0x0001
 
#define AK_ISNICK   0x0002
 
#define AK_STUCK   0x0004
 
#define BW_ANY   0
 
#define BW_SINGLE   1
 
#define BW_START   2
 
#define BW_END   3
 
#define CI_KEEPTOPIC   0x00000001
 
#define CI_SECUREOPS   0x00000002
 
#define CI_PRIVATE   0x00000004
 
#define CI_TOPICLOCK   0x00000008
 
#define CI_RESTRICTED   0x00000010
 
#define CI_PEACE   0x00000020
 
#define CI_SECURE   0x00000040
 
#define CI_VERBOTEN   0x00000080
 
#define CI_ENCRYPTEDPW   0x00000100
 
#define CI_NO_EXPIRE   0x00000200
 
#define CI_MEMO_HARDMAX   0x00000400
 
#define CI_OPNOTICE   0x00000800
 
#define CI_SECUREFOUNDER   0x00001000
 
#define CI_SIGNKICK   0x00002000
 
#define CI_SIGNKICK_LEVEL   0x00004000
 
#define CI_XOP   0x00008000
 
#define CI_SUSPENDED   0x00010000
 
#define CI_INHABIT   0x80000000
 
#define CA_INVITE   0
 
#define CA_AKICK   1
 
#define CA_SET   2 /* but not FOUNDER or PASSWORD */
 
#define CA_UNBAN   3
 
#define CA_AUTOOP   4
 
#define CA_AUTODEOP   5 /* Maximum, not minimum */
 
#define CA_AUTOVOICE   6
 
#define CA_OPDEOP   7 /* ChanServ commands OP and DEOP */
 
#define CA_ACCESS_LIST   8
 
#define CA_CLEAR   9
 
#define CA_NOJOIN   10 /* Maximum */
 
#define CA_ACCESS_CHANGE   11
 
#define CA_MEMO   12
 
#define CA_ASSIGN   13 /* BotServ ASSIGN command */
 
#define CA_BADWORDS   14 /* BotServ BADWORDS command */
 
#define CA_NOKICK   15 /* Not kicked by the bot */
 
#define CA_FANTASIA   16
 
#define CA_SAY   17
 
#define CA_GREET   18
 
#define CA_VOICEME   19
 
#define CA_VOICE   20
 
#define CA_GETKEY   21
 
#define CA_AUTOHALFOP   22
 
#define CA_AUTOPROTECT   23
 
#define CA_OPDEOPME   24
 
#define CA_HALFOPME   25
 
#define CA_HALFOP   26
 
#define CA_PROTECTME   27
 
#define CA_PROTECT   28
 
#define CA_KICKME   29
 
#define CA_KICK   30
 
#define CA_SIGNKICK   31
 
#define CA_BANME   32
 
#define CA_BAN   33
 
#define CA_TOPIC   34
 
#define CA_INFO   35
 
#define CA_SIZE   36
 
#define BS_DONTKICKOPS   0x00000001
 
#define BS_DONTKICKVOICES   0x00000002
 
#define BS_FANTASY   0x00000004
 
#define BS_SYMBIOSIS   0x00000008
 
#define BS_GREET   0x00000010
 
#define BS_NOBOT   0x00000020
 
#define BS_KICK_BOLDS   0x80000000
 
#define BS_KICK_COLORS   0x40000000
 
#define BS_KICK_REVERSES   0x20000000
 
#define BS_KICK_UNDERLINES   0x10000000
 
#define BS_KICK_BADWORDS   0x08000000
 
#define BS_KICK_CAPS   0x04000000
 
#define BS_KICK_FLOOD   0x02000000
 
#define BS_KICK_REPEAT   0x01000000
 
#define TTB_BOLDS   0
 
#define TTB_COLORS   1
 
#define TTB_REVERSES   2
 
#define TTB_UNDERLINES   3
 
#define TTB_BADWORDS   4
 
#define TTB_CAPS   5
 
#define TTB_FLOOD   6
 
#define TTB_REPEAT   7
 
#define TTB_SIZE   8
 
#define SERVER_ISME   0x0001
 
#define SERVER_JUPED   0x0002
 
#define SERVER_ISUPLINK   0x0004
 
#define CBM_MINUS_NO_ARG   0x0001 /* No argument for unset */
 
#define CBM_NO_MLOCK   0x0002 /* Can't be MLOCKed */
 
#define CBM_NO_USER_MLOCK   0x0004 /* Can't be MLOCKed by non-opers */
 
#define CUF_PROTECT_BOTSERV   0x0001
 
#define ENTRYTYPE_NONE   0x00000000
 
#define ENTRYTYPE_CIDR4   0x00000001
 
#define ENTRYTYPE_NICK_WILD   0x00000004
 
#define ENTRYTYPE_NICK   0x00000008
 
#define ENTRYTYPE_USER_WILD   0x00000010
 
#define ENTRYTYPE_USER   0x00000020
 
#define ENTRYTYPE_HOST_WILD   0x00000040
 
#define ENTRYTYPE_HOST   0x00000080
 
#define NEWS_LOGON   0
 
#define NEWS_OPER   1
 
#define NEWS_RANDOM   2
 
#define DEFCON_NO_NEW_CHANNELS   1 /* No New Channel Registrations */
 
#define DEFCON_NO_NEW_NICKS   2 /* No New Nick Registrations */
 
#define DEFCON_NO_MLOCK_CHANGE   4 /* No MLOCK changes */
 
#define DEFCON_FORCE_CHAN_MODES   8 /* Force Chan Mode */
 
#define DEFCON_REDUCE_SESSION   16 /* Reduce Session Limit */
 
#define DEFCON_NO_NEW_CLIENTS   32 /* Kill any NEW clients */
 
#define DEFCON_OPER_ONLY   64 /* Restrict services to oper's only */
 
#define DEFCON_SILENT_OPER_ONLY   128 /* Silently ignore non-opers */
 
#define DEFCON_AKILL_NEW_CLIENTS   256 /* AKILL any new clients */
 
#define DEFCON_NO_NEW_MEMOS   512 /* No New Memos Sent */
 
#define MF_UNREAD   0x0001 /* Memo has not yet been read */
 
#define MF_RECEIPT   0x0002 /* Sender requested receipt */
 
#define MF_NOTIFYS   0x0004 /* Memo is a notification of receitp */
 
#define NS_VERBOTEN   0x0002 /* Nick may not be registered or used */
 
#define NS_NO_EXPIRE   0x0004 /* Nick never expires */
 
#define NS_IDENTIFIED   0x8000 /* User has IDENTIFY'd */
 
#define NS_RECOGNIZED   0x4000 /* ON_ACCESS true && SECURE flag not set */
 
#define NS_ON_ACCESS   0x2000 /* User comes from a known address */
 
#define NS_KILL_HELD   0x1000 /* Nick is being held after a kill */
 
#define NS_GUESTED
 
#define NS_MASTER   0x0200 /* Was a master nick; used to import old databases */
 
#define NS_TRANSGROUP
 
#define NS_TEMPORARY   0xFF00 /* All temporary status flags */
 
#define NS_OLD_ENCRYPTEDPW   0x0001 /* Nickname password is encrypted */
 
#define NI_KILLPROTECT   0x00000001 /* Kill others who take this nick */
 
#define NI_SECURE   0x00000002 /* Don't recognize unless IDENTIFY'd */
 
#define NI_MSG   0x00000004 /* Use PRIVMSGs instead of NOTICEs */
 
#define NI_MEMO_HARDMAX   0x00000008 /* Don't allow user to change memo limit */
 
#define NI_MEMO_SIGNON   0x00000010 /* Notify of memos at signon and un-away */
 
#define NI_MEMO_RECEIVE   0x00000020 /* Notify of new memos when sent */
 
#define NI_PRIVATE   0x00000040 /* Don't show in LIST to non-servadmins */
 
#define NI_HIDE_EMAIL   0x00000080 /* Don't show E-mail in INFO */
 
#define NI_HIDE_MASK   0x00000100 /* Don't show last seen address in INFO */
 
#define NI_HIDE_QUIT   0x00000200 /* Don't show last quit message in INFO */
 
#define NI_KILL_QUICK   0x00000400 /* Kill in 20 seconds instead of 60 */
 
#define NI_KILL_IMMED   0x00000800 /* Kill immediately instead of in 60 sec */
 
#define NI_SERVICES_OPER   0x00001000 /* User is a Services operator */
 
#define NI_SERVICES_ADMIN   0x00002000 /* User is a Services admin */
 
#define NI_ENCRYPTEDPW   0x00004000 /* Nickname password is encrypted */
 
#define NI_SERVICES_ROOT   0x00008000 /* User is a Services root */
 
#define NI_MEMO_MAIL   0x00010000 /* User gets email on memo */
 
#define NI_HIDE_STATUS   0x00020000 /* Don't show services access status */
 
#define NI_SUSPENDED   0x00040000 /* Nickname is suspended */
 
#define NI_AUTOOP   0x00080000 /* Autoop nickname in channels */
 
#define LANG_EN_US   0 /* United States English */
 
#define LANG_JA_JIS   1 /* Japanese (JIS encoding) */
 
#define LANG_JA_EUC   2 /* Japanese (EUC encoding) */
 
#define LANG_JA_SJIS   3 /* Japanese (SJIS encoding) */
 
#define LANG_ES   4 /* Spanish */
 
#define LANG_PT   5 /* Portugese */
 
#define LANG_FR   6 /* French */
 
#define LANG_TR   7 /* Turkish */
 
#define LANG_IT   8 /* Italian */
 
#define LANG_DE   9 /* German */
 
#define LANG_CAT   10 /* Catalan */
 
#define LANG_GR   11 /* Greek */
 
#define LANG_NL   12 /* Dutch */
 
#define LANG_RU   13 /* Russian */
 
#define LANG_HUN   14 /* Hungarian */
 
#define LANG_PL   15 /* Polish */
 
#define LANG_JA_UTF8   16 /* Japanese (UTF-8 encoding) */
 
#define NUM_LANGS   17 /* Number of languages */
 
#define USED_LANGS   14 /* Number of languages provided */
 
#define DEF_LANGUAGE   LANG_EN_US
 
#define BI_PRIVATE   0x0001
 
#define CUS_OP   0x0001
 
#define CUS_VOICE   0x0002
 
#define CUS_HALFOP   0x0004 /* Halfop (+h) */
 
#define CUS_OWNER   0x0008 /* Owner/Founder (+q) */
 
#define CUS_PROTECT   0x0010 /* Protected users (+a) */
 
#define CUS_DEOPPED   0x0080 /* User has been specifically deopped */
 
#define MUT_DEOP   0
 
#define MUT_OP   1
 
#define MUT_DEVOICE   2
 
#define MUT_VOICE   3
 
#define MUT_DEHALFOP   4
 
#define MUT_HALFOP   5
 
#define MUT_DEPROTECT   6
 
#define MUT_PROTECT   7
 
#define CAPAB_NOQUIT   0x00000001
 
#define CAPAB_TSMODE   0x00000002
 
#define CAPAB_UNCONNECT   0x00000004
 
#define CAPAB_NICKIP   0x00000008
 
#define CAPAB_NSJOIN   0x00000010
 
#define CAPAB_ZIP   0x00000020
 
#define CAPAB_BURST   0x00000040
 
#define CAPAB_TS3   0x00000080
 
#define CAPAB_TS5   0x00000100
 
#define CAPAB_DKEY   0x00000200
 
#define CAPAB_DOZIP   0x00000400
 
#define CAPAB_DODKEY   0x00000800
 
#define CAPAB_QS   0x00001000
 
#define CAPAB_SCS   0x00002000
 
#define CAPAB_PT4   0x00004000
 
#define CAPAB_UID   0x00008000
 
#define CAPAB_KNOCK   0x00010000
 
#define CAPAB_CLIENT   0x00020000
 
#define CAPAB_IPV6   0x00040000
 
#define CAPAB_SSJ5   0x00080000
 
#define CAPAB_SN2   0x00100000
 
#define CAPAB_VHOST   0x00200000
 
#define CAPAB_TOKEN   0x00400000
 
#define CAPAB_SSJ3   0x00800000
 
#define CAPAB_NICK2   0x01000000
 
#define CAPAB_UMODE2   0x02000000
 
#define CAPAB_VL   0x04000000
 
#define CAPAB_TLKEXT   0x08000000
 
#define CAPAB_CHANMODE   0x10000000
 
#define CAPAB_SJB64   0x20000000
 
#define CAPAB_NICKCHARS   0x40000000
 
#define isvalidnick(c)   ( isalnum(c) || ((c) >='\x5B' && (c) <='\x60') || ((c) >='\x7B' && (c) <='\x7D') || (c)=='-' )
 

Typedefs

typedef struct server_ Server
 
typedef struct user_ User
 
typedef struct channel_ Channel
 
typedef struct c_elist EList
 
typedef struct c_elist_entry Entry
 
typedef struct ModuleData_ ModuleData
 
typedef struct memo_ Memo
 
typedef struct nickrequest_ NickRequest
 
typedef struct nickalias_ NickAlias
 
typedef struct nickcore_ NickCore
 
typedef struct botinfo_ BotInfo
 
typedef struct chaninfo_ ChannelInfo
 
typedef struct badword_ BadWord
 
typedef struct bandata_ BanData
 
typedef struct userdata_ UserData
 
typedef struct mailinfo_ MailInfo
 
typedef struct akill_ Akill
 
typedef struct sxline_ SXLine
 
typedef struct hostcore_ HostCore
 
typedef struct newsitem_ NewsItem
 
typedef struct exception_ Exception
 
typedef struct cbmode_ CBMode
 
typedef struct cbmodeinfo_ CBModeInfo
 
typedef struct cmmode_ CMMode
 
typedef struct csmode_ CSMode
 
typedef struct cumode_ CUMode
 
typedef struct csmodeutil_ CSModeUtil
 
typedef struct session_ Session
 
typedef struct uid_ Uid
 
typedef struct ircdvars_ IRCDVar
 
typedef struct ircdcapab_ IRCDCAPAB
 
typedef struct ignore_data IgnoreData
 
typedef struct ircd_proto_ IRCDProto
 
typedef struct ircd_modes_ IRCDModes
 
typedef struct capabinfo_ CapabInfo
 

Enumerations

enum  boolean { false, true }
 
enum  SyncState { SSYNC_UNKNOWN = 0, SSYNC_IN_PROGRESS = 1, SSYNC_DONE = 2 }
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 29 of file services.h.

#define ACCESS_AOP   5

Definition at line 616 of file services.h.

Referenced by do_alist(), do_aop(), do_set_xop(), do_xop(), and get_xop_level().

#define ACCESS_FOUNDER   10000 /* Numeric level indicating founder access */
#define ACCESS_HOP   4

Definition at line 615 of file services.h.

Referenced by do_alist(), do_hop(), do_set_xop(), and get_xop_level().

#define ACCESS_INVALID   -10000 /* Used in levels[] for disabled settings */

Definition at line 605 of file services.h.

Referenced by check_access(), do_access(), do_alist(), do_levels(), and load_cs_dbase().

#define ACCESS_SOP   10

Definition at line 617 of file services.h.

Referenced by do_alist(), do_set_xop(), do_sop(), and get_xop_level().

#define ACCESS_SUPERADMIN   10001

Definition at line 610 of file services.h.

Referenced by get_access().

#define ACCESS_VOP   3

Definition at line 614 of file services.h.

Referenced by do_alist(), do_set_xop(), do_vop(), and get_xop_level().

#define AK_ISNICK   0x0002
#define AK_STUCK   0x0004

Definition at line 636 of file services.h.

Referenced by akick_view(), do_akick(), is_stuck(), and stick_all().

#define AK_USED   0x0001
#define BI_PRIVATE   0x0001

Definition at line 1339 of file services.h.

Referenced by do_assign(), do_botlist(), do_info(), and do_set().

#define BOT_VERSION   10

Definition at line 461 of file services.h.

Referenced by load_bs_dbase(), and save_bs_dbase().

#define BS_DONTKICKOPS   0x00000001

Definition at line 793 of file services.h.

Referenced by botchanmsgs(), do_info(), do_set(), and read_config().

#define BS_DONTKICKVOICES   0x00000002

Definition at line 794 of file services.h.

Referenced by botchanmsgs(), do_info(), do_set(), and read_config().

#define BS_FANTASY   0x00000004

Definition at line 795 of file services.h.

Referenced by botchanmsgs(), do_info(), do_set(), and read_config().

#define BS_GREET   0x00000010

Definition at line 797 of file services.h.

Referenced by chan_adduser2(), do_info(), do_set(), and read_config().

#define BS_KICK_BADWORDS   0x08000000

Definition at line 805 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_BOLDS   0x80000000

Definition at line 801 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_CAPS   0x04000000

Definition at line 806 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_COLORS   0x40000000

Definition at line 802 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_FLOOD   0x02000000

Definition at line 807 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_REPEAT   0x01000000

Definition at line 808 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_REVERSES   0x20000000

Definition at line 803 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_KICK_UNDERLINES   0x10000000

Definition at line 804 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define BS_NOBOT   0x00000020

Definition at line 798 of file services.h.

Referenced by do_assign(), do_info(), and do_set().

#define BS_SYMBIOSIS   0x00000008

Definition at line 796 of file services.h.

Referenced by do_info(), do_set(), and read_config().

#define BW_ANY   0

Definition at line 646 of file services.h.

Referenced by botchanmsgs(), and do_badwords().

#define BW_END   3

Definition at line 649 of file services.h.

Referenced by badwords_list(), botchanmsgs(), and do_badwords().

#define BW_SINGLE   1

Definition at line 647 of file services.h.

Referenced by badwords_list(), botchanmsgs(), and do_badwords().

#define BW_START   2

Definition at line 648 of file services.h.

Referenced by badwords_list(), botchanmsgs(), and do_badwords().

#define CA_ACCESS_CHANGE   11

Definition at line 760 of file services.h.

Referenced by do_access().

#define CA_ACCESS_LIST   8

Definition at line 757 of file services.h.

Referenced by do_access().

#define CA_AKICK   1

Definition at line 750 of file services.h.

Referenced by do_akick(), do_set_xop(), and my_cs_enforce().

#define CA_ASSIGN   13 /* BotServ ASSIGN command */

Definition at line 762 of file services.h.

Referenced by do_assign(), and do_unassign().

#define CA_AUTODEOP   5 /* Maximum, not minimum */
#define CA_AUTOHALFOP   22
#define CA_AUTOOP   4
#define CA_AUTOPROTECT   23
#define CA_AUTOVOICE   6

Definition at line 755 of file services.h.

Referenced by chan_set_correct_modes(), check_should_voice(), do_levels(), and do_set_xop().

#define CA_BADWORDS   14 /* BotServ BADWORDS command */

Definition at line 763 of file services.h.

Referenced by do_badwords().

#define CA_BAN   33

Definition at line 786 of file services.h.

Referenced by canBanUser(), do_ban(), do_fantasy(), and load_cs_dbase().

#define CA_BANME   32

Definition at line 785 of file services.h.

Referenced by do_ban(), do_fantasy(), and load_cs_dbase().

#define CA_CLEAR   9

Definition at line 758 of file services.h.

Referenced by do_clear().

#define CA_FANTASIA   16

Definition at line 765 of file services.h.

Referenced by botchanmsgs().

#define CA_GETKEY   21

Definition at line 770 of file services.h.

Referenced by do_getkey().

#define CA_GREET   18

Definition at line 767 of file services.h.

Referenced by chan_adduser2().

#define CA_HALFOP   26

Definition at line 775 of file services.h.

Referenced by do_set_xop().

#define CA_HALFOPME   25

Definition at line 774 of file services.h.

Referenced by chan_set_correct_modes(), and do_set_xop().

#define CA_INFO   35

Definition at line 788 of file services.h.

Referenced by do_info().

#define CA_INVITE   0

Definition at line 749 of file services.h.

Referenced by do_invite().

#define CA_KICK   30

Definition at line 779 of file services.h.

Referenced by do_cs_kick(), do_fantasy(), and load_cs_dbase().

#define CA_KICKME   29

Definition at line 778 of file services.h.

Referenced by do_cs_kick(), do_fantasy(), and load_cs_dbase().

#define CA_MEMO   12

Definition at line 761 of file services.h.

Referenced by chan_adduser2(), do_del(), do_info(), do_list(), do_read(), do_set_limit(), and memo_send_from().

#define CA_NOJOIN   10 /* Maximum */
#define CA_NOKICK   15 /* Not kicked by the bot */

Definition at line 764 of file services.h.

Referenced by botchanmsgs().

#define CA_OPDEOP   7 /* ChanServ commands OP and DEOP */

Definition at line 756 of file services.h.

Referenced by do_set_xop(), and load_cs_dbase().

#define CA_OPDEOPME   24

Definition at line 773 of file services.h.

Referenced by chan_set_correct_modes(), do_set_xop(), and load_cs_dbase().

#define CA_PROTECT   28

Definition at line 777 of file services.h.

Referenced by load_cs_dbase(), and updateProtectDetails().

#define CA_PROTECTME   27

Definition at line 776 of file services.h.

Referenced by chan_set_correct_modes(), load_cs_dbase(), and updateProtectDetails().

#define CA_SAY   17

Definition at line 766 of file services.h.

Referenced by do_act(), and do_say().

#define CA_SET   2 /* but not FOUNDER or PASSWORD */

Definition at line 751 of file services.h.

Referenced by do_kickcmd(), do_set(), and do_set_xop().

#define CA_SIGNKICK   31

Definition at line 780 of file services.h.

Referenced by bot_raw_ban(), bot_raw_kick(), do_ban(), and do_cs_kick().

#define CA_SIZE   36
#define CA_TOPIC   34

Definition at line 787 of file services.h.

Referenced by do_cs_topic(), load_cs_dbase(), and my_cs_appendtopic().

#define CA_UNBAN   3

Definition at line 752 of file services.h.

Referenced by do_fantasy(), and do_unban().

#define CA_VOICE   20

Definition at line 769 of file services.h.

Referenced by do_set_xop().

#define CA_VOICEME   19

Definition at line 768 of file services.h.

Referenced by do_set_xop().

#define CAPAB_BURST   0x00000040

Definition at line 1372 of file services.h.

#define CAPAB_CHANMODE   0x10000000

Definition at line 1394 of file services.h.

Referenced by do_stats().

#define CAPAB_CLIENT   0x00020000

Definition at line 1383 of file services.h.

#define CAPAB_DKEY   0x00000200

Definition at line 1375 of file services.h.

#define CAPAB_DODKEY   0x00000800

Definition at line 1377 of file services.h.

#define CAPAB_DOZIP   0x00000400

Definition at line 1376 of file services.h.

#define CAPAB_IPV6   0x00040000

Definition at line 1384 of file services.h.

#define CAPAB_KNOCK   0x00010000

Definition at line 1382 of file services.h.

#define CAPAB_NICK2   0x01000000

Definition at line 1390 of file services.h.

#define CAPAB_NICKCHARS   0x40000000

Definition at line 1396 of file services.h.

Referenced by do_stats().

#define CAPAB_NICKIP   0x00000008

Definition at line 1369 of file services.h.

#define CAPAB_NOQUIT   0x00000001

Definition at line 1366 of file services.h.

#define CAPAB_NSJOIN   0x00000010

Definition at line 1370 of file services.h.

#define CAPAB_PT4   0x00004000

Definition at line 1380 of file services.h.

#define CAPAB_QS   0x00001000

Definition at line 1378 of file services.h.

#define CAPAB_SCS   0x00002000

Definition at line 1379 of file services.h.

#define CAPAB_SJB64   0x20000000

Definition at line 1395 of file services.h.

#define CAPAB_SN2   0x00100000

Definition at line 1386 of file services.h.

#define CAPAB_SSJ3   0x00800000

Definition at line 1389 of file services.h.

#define CAPAB_SSJ5   0x00080000

Definition at line 1385 of file services.h.

#define CAPAB_TLKEXT   0x08000000

Definition at line 1393 of file services.h.

#define CAPAB_TOKEN   0x00400000

Definition at line 1388 of file services.h.

#define CAPAB_TS3   0x00000080

Definition at line 1373 of file services.h.

#define CAPAB_TS5   0x00000100

Definition at line 1374 of file services.h.

#define CAPAB_TSMODE   0x00000002

Definition at line 1367 of file services.h.

#define CAPAB_UID   0x00008000

Definition at line 1381 of file services.h.

#define CAPAB_UMODE2   0x02000000

Definition at line 1391 of file services.h.

#define CAPAB_UNCONNECT   0x00000004

Definition at line 1368 of file services.h.

#define CAPAB_VHOST   0x00200000

Definition at line 1387 of file services.h.

#define CAPAB_VL   0x04000000

Definition at line 1392 of file services.h.

#define CAPAB_ZIP   0x00000020

Definition at line 1371 of file services.h.

#define CBM_MINUS_NO_ARG   0x0001 /* No argument for unset */

Definition at line 928 of file services.h.

Referenced by anope_event_capab(), chan_get_modes(), chan_set_modes(), and check_modes().

#define CBM_NO_MLOCK   0x0002 /* Can't be MLOCKed */

Definition at line 929 of file services.h.

Referenced by anope_event_capab(), defconParseModeString(), and do_set_mlock().

#define CBM_NO_USER_MLOCK   0x0004 /* Can't be MLOCKed by non-opers */

Definition at line 930 of file services.h.

Referenced by anope_event_capab(), and do_set_mlock().

#define CHAN_VERSION   16

Definition at line 462 of file services.h.

Referenced by load_cs_dbase(), and save_cs_dbase().

#define CI_ENCRYPTEDPW   0x00000100

Definition at line 727 of file services.h.

#define CI_INHABIT   0x80000000

Definition at line 746 of file services.h.

Referenced by check_kick(), db_mysql_load_cs_dbase(), load_cs_dbase(), and timeout_leave().

#define CI_KEEPTOPIC   0x00000001

Definition at line 711 of file services.h.

Referenced by do_info(), do_set_keeptopic(), listchans(), read_config(), and restore_topic().

#define CI_MEMO_HARDMAX   0x00000400

Definition at line 731 of file services.h.

Referenced by do_info(), and do_set_limit().

#define CI_NO_EXPIRE   0x00000200

Definition at line 729 of file services.h.

Referenced by do_alist(), do_info(), do_list(), do_set_noexpire(), expire_chans(), and listchans().

#define CI_OPNOTICE   0x00000800

Definition at line 733 of file services.h.

Referenced by do_info(), do_set_opnotice(), and read_config().

#define CI_PEACE   0x00000020
#define CI_PRIVATE   0x00000004

Definition at line 715 of file services.h.

Referenced by do_info(), do_list(), do_set_private(), listchans(), and read_config().

#define CI_RESTRICTED   0x00000010

Definition at line 719 of file services.h.

Referenced by do_enforce_set(), do_info(), do_set_restricted(), listchans(), and read_config().

#define CI_SECURE   0x00000040
#define CI_SECUREFOUNDER   0x00001000
#define CI_SECUREOPS   0x00000002
#define CI_SIGNKICK   0x00002000
#define CI_SIGNKICK_LEVEL   0x00004000
#define CI_SUSPENDED   0x00010000
#define CI_TOPICLOCK   0x00000008

Definition at line 717 of file services.h.

Referenced by check_topiclock(), do_info(), do_set_topiclock(), listchans(), and read_config().

#define CI_VERBOTEN   0x00000080
#define CI_XOP   0x00008000
#define CUF_PROTECT_BOTSERV   0x0001

Definition at line 956 of file services.h.

Referenced by anope_event_capab(), and chan_set_modes().

#define CUS_DEOPPED   0x0080 /* User has been specifically deopped */

Definition at line 1346 of file services.h.

Referenced by chan_set_correct_modes(), chan_set_modes(), and get_new_statusmode().

#define CUS_HALFOP   0x0004 /* Halfop (+h) */
#define CUS_OP   0x0001
#define CUS_OWNER   0x0008 /* Owner/Founder (+q) */
#define CUS_PROTECT   0x0010 /* Protected users (+a) */
#define CUS_VOICE   0x0002
#define DEF_LANGUAGE   LANG_EN_US

Definition at line 1337 of file services.h.

Referenced by lang_init(), and read_config().

#define DEFCON_AKILL_NEW_CLIENTS   256 /* AKILL any new clients */

Definition at line 1262 of file services.h.

Referenced by defcon_sendlvls(), do_nick(), and read_config().

#define DEFCON_FORCE_CHAN_MODES   8 /* Force Chan Mode */

Definition at line 1257 of file services.h.

Referenced by defcon_sendlvls(), read_config(), and runDefCon().

#define DEFCON_NO_MLOCK_CHANGE   4 /* No MLOCK changes */

Definition at line 1256 of file services.h.

Referenced by defcon_sendlvls(), and do_set_mlock().

#define DEFCON_NO_NEW_CHANNELS   1 /* No New Channel Registrations */

DEFCON Defines

Definition at line 1254 of file services.h.

Referenced by defcon_sendlvls(), and do_register().

#define DEFCON_NO_NEW_CLIENTS   32 /* Kill any NEW clients */

Definition at line 1259 of file services.h.

Referenced by check_akill(), and defcon_sendlvls().

#define DEFCON_NO_NEW_MEMOS   512 /* No New Memos Sent */
#define DEFCON_NO_NEW_NICKS   2 /* No New Nick Registrations */

Definition at line 1255 of file services.h.

Referenced by defcon_sendlvls(), do_group(), and do_register().

#define DEFCON_OPER_ONLY   64 /* Restrict services to oper's only */

Definition at line 1260 of file services.h.

Referenced by defcon_sendlvls(), and do_run_cmd().

#define DEFCON_REDUCE_SESSION   16 /* Reduce Session Limit */

Definition at line 1258 of file services.h.

Referenced by add_session(), defcon_sendlvls(), and read_config().

#define DEFCON_SILENT_OPER_ONLY   128 /* Silently ignore non-opers */

Definition at line 1261 of file services.h.

Referenced by defcon_sendlvls(), and do_run_cmd().

#define encrypt   encrypt_

Definition at line 194 of file services.h.

#define ENTRYTYPE_CIDR4   0x00000001

Definition at line 990 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_HOST   0x00000080

Definition at line 996 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_HOST_WILD   0x00000040

Definition at line 995 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_NICK   0x00000008

Definition at line 992 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_NICK_WILD   0x00000004

Definition at line 991 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_NONE   0x00000000

Definition at line 989 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_USER   0x00000020

Definition at line 994 of file services.h.

Referenced by entry_create(), and entry_match().

#define ENTRYTYPE_USER_WILD   0x00000010

Definition at line 993 of file services.h.

Referenced by entry_create(), and entry_match().

#define EXCEPTION_VERSION   9

Definition at line 463 of file services.h.

Referenced by load_exceptions(), and save_exceptions().

#define GET_BOT (   bot)    ((ircd->p10 || (UseTS6 && ircd->ts6)) ? (find_uid(bot) ? find_uid(bot)->uid : bot) : bot)
#define GET_USER (   u)    ((ircd->p10 || (UseTS6 && ircd->ts6)) ? (u->uid ? u->uid : u->nick) : u->nick)
#define h_addr   h_addr_list[0] /* for backwards compatability, see man gethostbyname */

Definition at line 90 of file services.h.

#define HELP_VERSION   1

Definition at line 468 of file services.h.

#define HOST_VERSION   3

Definition at line 469 of file services.h.

Referenced by load_hs_dbase(), and save_hs_dbase().

#define isvalidnick (   c)    ( isalnum(c) || ((c) >='\x5B' && (c) <='\x60') || ((c) >='\x7B' && (c) <='\x7D') || (c)=='-' )

RFC: defination of a valid nick nickname = ( letter / special ) *8( letter / digit / special / "-" ) letter = x41-5A / x61-7A ; A-Z / a-z digit = x30-39 ; 0-9 special = x5B-60 / x7B-7D ; "[", "]", "\", "`", "_", "^", "{", "|", "}"

Definition at line 1407 of file services.h.

Referenced by do_bot(), do_forbid(), and do_svsnick().

#define LANG_CAT   10 /* Catalan */

Definition at line 1325 of file services.h.

Referenced by lang_init().

#define LANG_DE   9 /* German */

Definition at line 1324 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_EN_US   0 /* United States English */
#define LANG_ES   4 /* Spanish */

Definition at line 1319 of file services.h.

Referenced by lang_init(), and m_AddLanguages().

#define LANG_FR   6 /* French */

Definition at line 1321 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_GR   11 /* Greek */

Definition at line 1326 of file services.h.

Referenced by lang_init().

#define LANG_HUN   14 /* Hungarian */

Definition at line 1329 of file services.h.

Referenced by lang_init().

#define LANG_IT   8 /* Italian */

Definition at line 1323 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_JA_EUC   2 /* Japanese (EUC encoding) */

Definition at line 1317 of file services.h.

#define LANG_JA_JIS   1 /* Japanese (JIS encoding) */

Definition at line 1316 of file services.h.

#define LANG_JA_SJIS   3 /* Japanese (SJIS encoding) */

Definition at line 1318 of file services.h.

#define LANG_JA_UTF8   16 /* Japanese (UTF-8 encoding) */

Definition at line 1331 of file services.h.

Referenced by lang_init().

#define LANG_NL   12 /* Dutch */

Definition at line 1327 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_PL   15 /* Polish */

Definition at line 1330 of file services.h.

Referenced by lang_init().

#define LANG_PT   5 /* Portugese */

Definition at line 1320 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_RU   13 /* Russian */

Definition at line 1328 of file services.h.

Referenced by lang_init(), m_AddLanguages(), mAddLanguages(), and my_add_languages().

#define LANG_TR   7 /* Turkish */

Definition at line 1322 of file services.h.

Referenced by lang_init().

#define MAX_CMD_HASH   1024

Definition at line 23 of file services.h.

#define MAXPARAMS   8

Definition at line 426 of file services.h.

Referenced by moduleGetConfigDirective(), parse(), and read_config().

#define MF_NOTIFYS   0x0004 /* Memo is a notification of receitp */

Definition at line 1270 of file services.h.

Referenced by do_cancel(), and memo_send_from().

#define MF_RECEIPT   0x0002 /* Sender requested receipt */

Definition at line 1269 of file services.h.

Referenced by memo_send_from(), read_memo(), and rsend_notify().

#define MF_UNREAD   0x0001 /* Memo has not yet been read */
#define MUT_DEHALFOP   4

Definition at line 1352 of file services.h.

Referenced by do_dehalfop().

#define MUT_DEOP   0

Definition at line 1348 of file services.h.

Referenced by do_deop().

#define MUT_DEPROTECT   6

Definition at line 1354 of file services.h.

Referenced by do_deprotect().

#define MUT_DEVOICE   2

Definition at line 1350 of file services.h.

Referenced by do_devoice().

#define MUT_HALFOP   5

Definition at line 1353 of file services.h.

Referenced by do_halfop().

#define MUT_OP   1

Definition at line 1349 of file services.h.

Referenced by do_op().

#define MUT_PROTECT   7

Definition at line 1355 of file services.h.

Referenced by do_protect().

#define MUT_VOICE   3

Definition at line 1351 of file services.h.

Referenced by do_voice().

#define NEWS_LOGON   0

Definition at line 1049 of file services.h.

Referenced by display_news(), do_logonnews(), and do_nick().

#define NEWS_OPER   1
#define NEWS_RANDOM   2

Definition at line 1051 of file services.h.

Referenced by display_news(), do_nick(), and do_randomnews().

#define NEWS_VERSION   9

Definition at line 464 of file services.h.

Referenced by load_news(), and save_news().

#define NI_AUTOOP   0x00080000 /* Autoop nickname in channels */
#define NI_ENCRYPTEDPW   0x00004000 /* Nickname password is encrypted */

Definition at line 1304 of file services.h.

Referenced by load_old_ns_dbase().

#define NI_HIDE_EMAIL   0x00000080 /* Don't show E-mail in INFO */

Definition at line 1297 of file services.h.

Referenced by do_info(), do_saset_hide(), do_set_hide(), and read_config().

#define NI_HIDE_MASK   0x00000100 /* Don't show last seen address in INFO */

Definition at line 1298 of file services.h.

Referenced by do_info(), do_list(), do_saset_hide(), do_set_hide(), and read_config().

#define NI_HIDE_QUIT   0x00000200 /* Don't show last quit message in INFO */

Definition at line 1299 of file services.h.

Referenced by do_info(), do_saset_hide(), do_set_hide(), and read_config().

#define NI_HIDE_STATUS   0x00020000 /* Don't show services access status */

Definition at line 1307 of file services.h.

Referenced by do_info(), do_saset_hide(), and do_set_hide().

#define NI_KILL_IMMED   0x00000800 /* Kill immediately instead of in 60 sec */
#define NI_KILL_QUICK   0x00000400 /* Kill in 20 seconds instead of 60 */

Definition at line 1300 of file services.h.

Referenced by do_saset_kill(), do_set_kill(), do_suspend(), read_config(), and validate_user().

#define NI_KILLPROTECT   0x00000001 /* Kill others who take this nick */
#define NI_MEMO_HARDMAX   0x00000008 /* Don't allow user to change memo limit */

Definition at line 1293 of file services.h.

Referenced by do_info(), and do_set_limit().

#define NI_MEMO_MAIL   0x00010000 /* User gets email on memo */

Definition at line 1306 of file services.h.

Referenced by do_set_notify(), and memo_send_from().

#define NI_MEMO_RECEIVE   0x00000020 /* Notify of new memos when sent */

Definition at line 1295 of file services.h.

Referenced by do_info(), do_set_notify(), memo_send_from(), and read_config().

#define NI_MEMO_SIGNON   0x00000010 /* Notify of memos at signon and un-away */

Definition at line 1294 of file services.h.

Referenced by check_memos(), do_info(), do_set_notify(), and read_config().

#define NI_MSG   0x00000004 /* Use PRIVMSGs instead of NOTICEs */
#define NI_PRIVATE   0x00000040 /* Don't show in LIST to non-servadmins */

Definition at line 1296 of file services.h.

Referenced by do_info(), do_list(), do_saset_private(), do_set_private(), listnicks(), and read_config().

#define NI_SECURE   0x00000002 /* Don't recognize unless IDENTIFY'd */
#define NI_SERVICES_ADMIN   0x00002000 /* User is a Services admin */
#define NI_SERVICES_OPER   0x00001000 /* User is a Services operator */
#define NI_SERVICES_ROOT   0x00008000 /* User is a Services root */
#define NI_SUSPENDED   0x00040000 /* Nickname is suspended */
#define NICK_VERSION   14

Definition at line 465 of file services.h.

Referenced by load_ns_dbase(), load_old_ns_dbase(), and save_ns_dbase().

#define NS_GUESTED
Value:
0x0100 /* SVSNICK has been sent but nick has not
* yet changed. An enforcer will be
* introduced when it does change. */

Definition at line 1279 of file services.h.

Referenced by cancel_user(), and collide().

#define NS_IDENTIFIED   0x8000 /* User has IDENTIFY'd */
#define NS_KILL_HELD   0x1000 /* Nick is being held after a kill */

Definition at line 1278 of file services.h.

Referenced by cancel_user(), do_release(), m_whois(), and release().

#define NS_MASTER   0x0200 /* Was a master nick; used to import old databases */

Definition at line 1282 of file services.h.

Referenced by load_old_ns_dbase().

#define NS_NO_EXPIRE   0x0004 /* Nick never expires */

Definition at line 1274 of file services.h.

Referenced by do_glist(), do_info(), do_list(), do_saset_noexpire(), expire_nicks(), and listnicks().

#define NS_OLD_ENCRYPTEDPW   0x0001 /* Nickname password is encrypted */

Definition at line 1287 of file services.h.

Referenced by load_old_ns_dbase().

#define NS_ON_ACCESS   0x2000 /* User comes from a known address */

Definition at line 1277 of file services.h.

Referenced by validate_user().

#define NS_RECOGNIZED   0x4000 /* ON_ACCESS true && SECURE flag not set */
#define NS_TEMPORARY   0xFF00 /* All temporary status flags */

Definition at line 1285 of file services.h.

Referenced by cancel_user(), db_mysql_load_ns_dbase(), load_ns_dbase(), and load_old_ns_dbase().

#define NS_TRANSGROUP
Value:
0xC000 /* Status flags that can be passed to a nick of the
same group during nick change */

Definition at line 1283 of file services.h.

Referenced by do_nick().

#define NS_VERBOTEN   0x0002 /* Nick may not be registered or used */
#define NUM_LANGS   17 /* Number of languages */
#define OPER_VERSION   13

Definition at line 467 of file services.h.

Referenced by load_os_dbase(), and save_os_dbase().

#define PARAM_DEPRECATED
Value:
-2 /* Set for deprecated directives; `ptr'
* is a function pointer to call */

Definition at line 448 of file services.h.

Referenced by parse_directive().

#define PARAM_FULLONLY   0x02 /* Directive only allowed if !STREAMLINED */

Definition at line 453 of file services.h.

Referenced by parse_directive().

#define PARAM_INT   1

Definition at line 440 of file services.h.

Referenced by my_load_config(), parse_directive(), and read_config().

#define PARAM_NONE   0

Definition at line 439 of file services.h.

Referenced by moduleGetConfigDirective(), parse_directive(), and read_config().

#define PARAM_OPTIONAL   0x01

Definition at line 452 of file services.h.

Referenced by parse_directive().

#define PARAM_PORT   3 /* 1..65535 only */

Definition at line 442 of file services.h.

Referenced by parse_directive().

#define PARAM_POSINT   2 /* Positive integer only */

Definition at line 441 of file services.h.

Referenced by parse_directive(), and read_config().

#define PARAM_RELOAD   0x04 /* Directive is reloadable */
#define PARAM_SET
Value:
-1 /* Not a real parameter; just set the
* given integer variable to 1 */

Definition at line 446 of file services.h.

Referenced by my_load_config(), parse_directive(), and read_config().

#define PARAM_STRING   4
#define PARAM_STRING_ARRAY   6 /* Array of string */

Definition at line 445 of file services.h.

#define PARAM_TIME   5

Definition at line 444 of file services.h.

Referenced by parse_directive(), and read_config().

#define PRE_NICK_VERSION   2

Definition at line 466 of file services.h.

Referenced by load_ns_req_db(), and save_ns_req_dbase().

#define SERVER_ISME   0x0001
#define SERVER_ISUPLINK   0x0004

Definition at line 867 of file services.h.

Referenced by do_jupe(), and new_server().

#define SERVER_JUPED   0x0002
#define tolower   tolower_
#define toupper   toupper_

Definition at line 191 of file services.h.

#define TTB_BADWORDS   4

Definition at line 815 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_BOLDS   0

Definition at line 811 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_CAPS   5

Definition at line 816 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_COLORS   1

Definition at line 812 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_FLOOD   6

Definition at line 817 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_REPEAT   7

Definition at line 818 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_REVERSES   2

Definition at line 813 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define TTB_SIZE   8
#define TTB_UNDERLINES   3

Definition at line 814 of file services.h.

Referenced by botchanmsgs(), do_info(), and do_kickcmd().

#define USED_LANGS   14 /* Number of languages provided */

Definition at line 1334 of file services.h.

Referenced by read_config().

#define VA_COPY (   DEST,
  SRC 
)    memcpy ((&DEST), (&SRC), sizeof(va_list))

Definition at line 153 of file services.h.

Referenced by process_numlist(), slist_delete_range(), and slist_enum().

Typedef Documentation

typedef struct akill_ Akill

Definition at line 234 of file services.h.

typedef struct badword_ BadWord

Definition at line 230 of file services.h.

typedef struct bandata_ BanData

Definition at line 231 of file services.h.

typedef struct botinfo_ BotInfo

Definition at line 228 of file services.h.

typedef struct capabinfo_ CapabInfo

Definition at line 1360 of file services.h.

typedef struct cbmode_ CBMode

Definition at line 239 of file services.h.

typedef struct cbmodeinfo_ CBModeInfo

Definition at line 240 of file services.h.

typedef struct channel_ Channel

Definition at line 220 of file services.h.

typedef struct chaninfo_ ChannelInfo

Definition at line 229 of file services.h.

typedef struct cmmode_ CMMode

Definition at line 241 of file services.h.

typedef struct csmode_ CSMode

Definition at line 242 of file services.h.

typedef struct csmodeutil_ CSModeUtil

Definition at line 244 of file services.h.

typedef struct cumode_ CUMode

Definition at line 243 of file services.h.

typedef struct c_elist EList

Definition at line 221 of file services.h.

typedef struct c_elist_entry Entry

Definition at line 222 of file services.h.

typedef struct exception_ Exception

Definition at line 238 of file services.h.

typedef struct hostcore_ HostCore

Definition at line 236 of file services.h.

typedef struct ignore_data IgnoreData
typedef struct ircdcapab_ IRCDCAPAB

Definition at line 274 of file services.h.

typedef struct ircd_modes_ IRCDModes
typedef struct ircd_proto_ IRCDProto

IRCD Protocol module support struct. protocol modules register the command they want touse for function X with our set functions, we then call the correct function for the anope_ commands.

typedef struct ircdvars_ IRCDVar

Definition at line 273 of file services.h.

typedef struct mailinfo_ MailInfo

Definition at line 233 of file services.h.

typedef struct memo_ Memo

Definition at line 224 of file services.h.

typedef struct ModuleData_ ModuleData

Definition at line 223 of file services.h.

typedef struct newsitem_ NewsItem

Definition at line 237 of file services.h.

typedef struct nickalias_ NickAlias

Definition at line 226 of file services.h.

typedef struct nickcore_ NickCore

Definition at line 227 of file services.h.

typedef struct nickrequest_ NickRequest

Definition at line 225 of file services.h.

typedef struct server_ Server

Definition at line 218 of file services.h.

typedef struct session_ Session

Definition at line 245 of file services.h.

typedef struct sxline_ SXLine

Definition at line 235 of file services.h.

typedef struct uid_ Uid

Definition at line 246 of file services.h.

typedef struct user_ User

Definition at line 219 of file services.h.

typedef struct userdata_ UserData

Definition at line 232 of file services.h.

Enumeration Type Documentation

enum boolean
Enumerator
false 
true 

Definition at line 255 of file services.h.

enum SyncState
Enumerator
SSYNC_UNKNOWN 
SSYNC_IN_PROGRESS 
SSYNC_DONE 

Definition at line 845 of file services.h.