src/mudconf.h File Reference

#include "config.h"
#include <netinet/in.h>
#include "htab.h"
#include "alloc.h"
#include "flags.h"
#include "mail.h"
#include "db.h"
#include "pcache.h"
#include "cque.h"
#include "rbtree.h"

Include dependency graph for mudconf.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  confdata
struct  site_data
struct  objlist_block
struct  objlist_stack
struct  markbuf
struct  alist
struct  badname_struc
struct  forward_list
struct  statedata

Defines

#define OBLOCK_SIZE   ((LBUF_SIZE - sizeof(OBLOCK *)) / sizeof(dbref))
#define CF_LOGIN   0x0001
#define CF_BUILD   0x0002
#define CF_INTERP   0x0004
#define CF_CHECKPOINT   0x0008
#define CF_DBCHECK   0x0010
#define CF_IDLECHECK   0x0020
#define CF_DEQUEUE   0x0100
#define CF_EVENTCHECK   0x0200
#define H_REGISTRATION   0x0001
#define H_FORBIDDEN   0x0002
#define H_SUSPECT   0x0004
#define ET_DAILY   0x00000001
#define LOG_ALLCOMMANDS   0x00000001
#define LOG_ACCOUNTING   0x00000002
#define LOG_BADCOMMANDS   0x00000004
#define LOG_BUGS   0x00000008
#define LOG_DBSAVES   0x00000010
#define LOG_CONFIGMODS   0x00000020
#define LOG_PCREATES   0x00000040
#define LOG_KILLS   0x00000080
#define LOG_LOGIN   0x00000100
#define LOG_NET   0x00000200
#define LOG_SECURITY   0x00000400
#define LOG_SHOUTS   0x00000800
#define LOG_STARTUP   0x00001000
#define LOG_WIZARD   0x00002000
#define LOG_ALLOCATE   0x00004000
#define LOG_PROBLEMS   0x00008000
#define LOG_SUSPECTCMDS   0x00010000
#define LOG_ALWAYS   0x80000000
#define LOGOPT_FLAGS   0x01
#define LOGOPT_LOC   0x02
#define LOGOPT_OWNER   0x04
#define LOGOPT_TIMESTAMP   0x08
#define HIDDEN_IDLESECS   600

Typedefs

typedef unsigned char Uchar
typedef confdata CONFDATA
typedef site_data SITE
typedef objlist_block OBLOCK
typedef objlist_stack OLSTK
typedef markbuf MARKBUF
typedef alist ALIST
typedef badname_struc BADNAME
typedef forward_list FWDLIST
typedef statedata STATEDATA

Variables

CONFDATA mudconf
STATEDATA mudstate


Define Documentation

#define CF_BUILD   0x0002

Definition at line 465 of file mudconf.h.

Referenced by process_cmdent().

#define CF_CHECKPOINT   0x0008

Definition at line 467 of file mudconf.h.

Referenced by dispatch().

#define CF_DBCHECK   0x0010

Definition at line 468 of file mudconf.h.

Referenced by dispatch().

#define CF_DEQUEUE   0x0100

Definition at line 474 of file mudconf.h.

Referenced by do_queue(), do_second(), and do_top().

#define CF_EVENTCHECK   0x0200

Definition at line 475 of file mudconf.h.

Referenced by dispatch().

#define CF_IDLECHECK   0x0020

Definition at line 469 of file mudconf.h.

Referenced by dispatch().

#define CF_INTERP   0x0004

Definition at line 466 of file mudconf.h.

Referenced by process_cmdent(), and wait_que().

#define CF_LOGIN   0x0001

Definition at line 464 of file mudconf.h.

Referenced by announce_connect(), and check_connect().

#define ET_DAILY   0x00000001

Definition at line 485 of file mudconf.h.

Referenced by check_events().

#define H_FORBIDDEN   0x0002

Definition at line 480 of file mudconf.h.

Referenced by accept_new_connection(), dump_users(), and stat_string().

#define H_REGISTRATION   0x0001

Definition at line 479 of file mudconf.h.

Referenced by check_connect(), dump_users(), stat_string(), and welcome_user().

#define H_SUSPECT   0x0004

Definition at line 481 of file mudconf.h.

Referenced by announce_connect(), announce_disconnect(), and dump_users().

#define HIDDEN_IDLESECS   600

Definition at line 513 of file mudconf.h.

Referenced by dump_users().

#define LOG_ACCOUNTING   0x00000002

Definition at line 490 of file mudconf.h.

Referenced by shutdownsock().

#define LOG_ALLCOMMANDS   0x00000001

Definition at line 489 of file mudconf.h.

Referenced by process_command().

#define LOG_ALLOCATE   0x00004000

Definition at line 503 of file mudconf.h.

#define LOG_ALWAYS   0x80000000

Definition at line 506 of file mudconf.h.

Referenced by cf_init(), db_grow(), do_restart(), do_shutdown(), init_version(), load_game(), and main().

#define LOG_BADCOMMANDS   0x00000004

Definition at line 491 of file mudconf.h.

Referenced by process_command().

#define LOG_BUGS   0x00000008

Definition at line 492 of file mudconf.h.

Referenced by cf_init(), create_obj(), do_command(), do_help(), do_link(), do_unauth_command(), eval_boolexp(), process_command(), and report().

#define LOG_CONFIGMODS   0x00000020

Definition at line 494 of file mudconf.h.

Referenced by cf_init(), and cf_set().

#define LOG_DBSAVES   0x00000010

Definition at line 493 of file mudconf.h.

Referenced by cf_init(), dump_database(), and fork_and_dump().

#define LOG_KILLS   0x00000080

Definition at line 496 of file mudconf.h.

#define LOG_LOGIN   0x00000100

Definition at line 497 of file mudconf.h.

Referenced by cf_init(), check_connect(), failconn(), and shutdownsock().

#define LOG_NET   0x00000200

Definition at line 498 of file mudconf.h.

Referenced by accept_new_connection(), cf_init(), and shutdownsock().

#define LOG_PCREATES   0x00000040

Definition at line 495 of file mudconf.h.

Referenced by cf_init(), check_connect(), and do_pcreate().

#define LOG_PROBLEMS   0x00008000

Definition at line 504 of file mudconf.h.

Referenced by bind_signals(), cf_init(), create_obj(), eradicate_broken_fd(), fcache_read(), helpindex_read(), Log_header_err(), Log_pointer_err(), and Log_simple_err().

#define LOG_SECURITY   0x00000400

Definition at line 499 of file mudconf.h.

Referenced by accept_new_connection(), cf_init(), check_connect(), do_fixdb(), do_name(), and failconn().

#define LOG_SHOUTS   0x00000800

Definition at line 500 of file mudconf.h.

Referenced by cf_init(), and do_say().

#define LOG_STARTUP   0x00001000

Definition at line 501 of file mudconf.h.

Referenced by cf_init(), cf_log_notfound(), cf_log_syntax(), cf_status_from_succfail(), cf_string(), and load_game().

#define LOG_SUSPECTCMDS   0x00010000

Definition at line 505 of file mudconf.h.

Referenced by process_command().

#define LOG_WIZARD   0x00002000

Definition at line 502 of file mudconf.h.

Referenced by cf_init(), do_boot(), do_newpassword(), do_pcreate(), do_quota(), and do_toad().

#define LOGOPT_FLAGS   0x01

Definition at line 508 of file mudconf.h.

Referenced by log_name().

#define LOGOPT_LOC   0x02

Definition at line 509 of file mudconf.h.

Referenced by cf_init(), and log_name_and_loc().

#define LOGOPT_OWNER   0x04

Definition at line 510 of file mudconf.h.

Referenced by log_name().

#define LOGOPT_TIMESTAMP   0x08

Definition at line 511 of file mudconf.h.

Referenced by cf_init(), log_error(), and start_log().

#define OBLOCK_SIZE   ((LBUF_SIZE - sizeof(OBLOCK *)) / sizeof(dbref))

Definition at line 326 of file mudconf.h.

Referenced by olist_add(), and olist_next().


Typedef Documentation

typedef struct alist ALIST

Definition at line 343 of file mudconf.h.

typedef struct badname_struc BADNAME

Definition at line 350 of file mudconf.h.

typedef struct confdata CONFDATA

Definition at line 23 of file mudconf.h.

typedef struct forward_list FWDLIST

Definition at line 356 of file mudconf.h.

typedef struct markbuf MARKBUF

Definition at line 338 of file mudconf.h.

typedef struct objlist_block OBLOCK

Definition at line 320 of file mudconf.h.

typedef struct objlist_stack OLSTK

Definition at line 328 of file mudconf.h.

typedef struct site_data SITE

Definition at line 312 of file mudconf.h.

typedef struct statedata STATEDATA

Definition at line 362 of file mudconf.h.

typedef unsigned char Uchar

Definition at line 21 of file mudconf.h.


Variable Documentation

CONFDATA mudconf

Definition at line 46 of file conf.c.

Referenced by AccumulateGunXP(), AccumulateGunXPold(), ai_crash(), ammo_explosion(), announce_connect(), announce_disconnect(), anum_extend(), AttackMovementMods(), autoeject(), can_see(), canpayfees(), cf_init(), cf_read(), char_xp_bonus(), ChargeMech(), check_access(), check_connect(), check_dead_refs(), check_events(), check_floating(), check_idle(), check_mail_expiration(), check_read_perms(), check_zone(), check_zone_for_player(), CheckDamage(), CheckGenericFail(), CheckWeaponFailed(), chown_all(), connect_player(), count_quota(), create_guest(), create_obj(), create_player(), crittable(), DamageMech(), db_grow(), db_read(), DeathFromAbove(), default_home(), desc_reload(), destroy_guest(), destroy_obj(), destroyable(), DestroyMech(), DestroyParts(), determineDamageFromHit(), dispatch(), DisplayTarget(), do_addcom(), do_allcom(), do_cemit(), do_chanlist(), do_channelwho(), do_chanstatus(), do_chboot(), do_chopen(), do_chown(), do_chzone(), do_clearcom(), do_clone(), do_comlist(), do_command(), do_comtitle(), do_createchannel(), do_delcom(), do_destroychannel(), do_editchannel(), do_entrances(), do_examine(), do_find(), do_global(), do_help(), do_kill(), do_list(), do_look(), do_mail(), do_mail_stats(), do_malias(), do_motd(), do_move(), do_name(), do_pcreate(), do_pemit(), do_pemit_list(), do_postpend(), do_prepend(), do_processcom(), do_queue(), do_quota(), do_restart(), do_score(), do_second(), do_set(), do_shutdown(), do_sweep(), do_switch(), do_teleport(), do_top(), do_unauth_command(), do_verb(), domino_space(), dump_database(), dump_database_internal(), dump_item(), dump_users(), eval_boolexp(), exam_wildattrs(), exec(), fcache_load(), find_wild_attrs(), FindAdvFasaVehicleHitLocation(), FindBTHByC3Range(), FindBTHByRange(), FindFasaHitLocation(), FindHitLocation(), FindHitLocation_CritProof(), FindNormalBTH(), FireWeaponNumber(), fork_and_dump(), fun_btparttype(), fun_cemit(), fun_clist(), fun_cobj(), fun_create(), fun_cwho(), fun_flags(), fun_fullname(), fun_hasflag(), fun_haspower(), fun_inzone(), fun_mudname(), fun_name(), fun_push(), fun_rloc(), fun_room(), fun_zfun(), fun_zone(), fun_zplayers(), fun_zwho(), get_stats(), give_money(), halt_que(), HandleCritical(), HandleOverheat(), heat_effect(), helpindex_load(), HitTarget(), In_IC_Loc(), init_timer(), initializesock(), KillMechContentsIfIC(), link_exit(), list_costs(), list_df_flags(), list_options(), load_game(), load_restart_db(), load_restart_db_xdr(), load_template(), load_xcode(), log_error(), log_name(), log_name_and_loc(), look_contents(), look_in(), look_simple(), main(), make_guest(), match_master_exit(), mech_axe(), mech_club(), mech_disembark(), mech_eject(), mech_explode(), mech_kickortrip(), mech_lrsmap(), mech_mace(), mech_navigate(), mech_punch(), mech_saw(), mech_sword(), mech_tacmap(), Missile_Hit(), MissileHitTarget(), mkattr(), move_mech(), move_object(), move_via_exit(), move_via_teleport(), Name(), network_initialize_socket(), NewHexEntered(), nfy_que(), notify_checked(), ok_player_name(), open_exit(), page_check(), parse_connect(), parse_to(), parse_to_cleanup(), pcache_reload1(), PhysicalAttack(), process_cmdent(), process_command(), process_enter_loc(), process_leave_loc(), PureName(), QueueMax(), reactor_explosion(), record_login(), runqueues(), s_Name(), SaveSpecialObjects(), search_setup(), set_attr_internal(), setup_que(), shovechars(), show_a_desc(), signal_BUS(), signal_SEGV(), sp_ok(), start_home(), start_log(), string_compare(), sweep_check(), TargetMovementMods(), tcache_add(), tele_contents(), TFUNC_LOC(), trimmed_site(), u_comp(), update_oweight(), update_quotas(), UpdateHeading(), UpdateSpeed(), wait_que(), where_room(), and wspec_fun().

STATEDATA mudstate

Definition at line 47 of file conf.c.

Referenced by _logcache_list(), accept_new_connection(), add_count(), add_mail_message(), add_mail_message_nosig(), add_player_name(), aero_ControlEffect(), aero_update(), ai_check_path(), announce_connect(), announce_disconnect(), atr_match(), atr_match1(), atr_str(), auto_sensor_event(), auto_update_profile_event(), badname_add(), badname_check(), badname_list(), badname_remove(), bind_and_queue(), cf_access(), cf_acmd_access(), cf_flagalias(), cf_include(), cf_init(), cf_log_notfound(), cf_log_syntax(), cf_read(), cf_set(), cf_set_flags(), cf_site(), cf_status_from_succfail(), cf_string(), char_gainxpbycode(), check_access(), check_command(), check_connect(), check_events(), check_idle(), check_mail_expiration(), check_zone(), check_zone_for_player(), count_mail(), cque_dump_restart(), cque_enqueue(), create_obj(), db_free(), db_grow(), db_read(), db_write(), db_write_object(), decode_power(), delete_mail_message(), delete_player_name(), desc_addhash(), desc_delhash(), did_it(), dispatch(), do_addcommand(), do_chanlist(), do_channelnuke(), do_command(), do_comprintf(), do_comsend(), do_createchannel(), do_dbclean(), do_delcommand(), do_destroychannel(), do_doing(), do_force(), do_function(), do_help(), do_listchannels(), do_listcommands(), do_macro(), do_mail_debug(), do_mail_file(), do_mail_flags(), do_mail_list(), do_mail_purge(), do_mail_read(), do_mail_retract(), do_mail_review(), do_name(), do_prog(), do_ps(), do_queue(), do_quitprog(), do_restart(), do_second(), do_show_com(), do_shutdown(), do_stats(), do_switch(), do_timewarp(), do_top(), do_ufun(), do_unauth_command(), do_version(), do_wait(), dump_bqe(), dump_database(), dump_database_internal(), dump_mail(), dump_restart_db(), dump_restart_db_xdr(), dump_users(), end_log(), eval_boolexp(), exec(), failconn(), fetch_connect(), fetch_idle(), find_flag(), find_power(), find_wild_attrs(), fork_and_dump(), fun_bttechtime(), fun_children(), fun_clist(), fun_connrecord(), fun_convtime(), fun_inzone(), fun_poll(), fun_r(), fun_regmatch(), fun_secs(), fun_setq(), fun_setr(), fun_startsecs(), fun_starttime(), fun_time(), fun_version(), fun_zplayers(), fun_zwho(), fwdlist_clr(), fwdlist_get(), fwdlist_set(), game_lag(), get_mail_message(), halt_que(), handle_prog(), Hearer(), helpindex_init(), helpindex_load(), init_attrtab(), init_chantab(), init_cmdtab(), init_flagtab(), init_functab(), init_logout_cmdtab(), init_mactab(), init_powertab(), init_timer(), init_version(), initializesock(), list_check(), list_options(), list_process(), list_siteinfo(), list_vattrs(), load_bqe(), load_comsystem(), load_mail(), load_restart_db(), load_restart_db_xdr(), LoadSpecialObjects(), log_error(), log_perror(), look_atrs(), look_atrs1(), lookup_player(), mail_db_grow(), mail_fetch(), main(), make_freelist(), make_mail_freelist(), mech_startup_event(), mmdb_db_read(), mmdb_db_write(), mytime(), Name(), network_initialize_socket(), new_mail_message(), nfy_que(), notify_checked(), olist_add(), olist_first(), olist_next(), olist_pop(), olist_push(), parse_attrib_wild(), parse_range(), process_cmdent(), process_command(), PureName(), QueueMax(), raw_notify_newline(), raw_notify_raw(), report(), save_comsystem(), save_template(), search_perform(), select_channel(), send_mail(), set_prefix_cmds(), show_que(), shutdownsock(), signal_BUS(), signal_SEGV(), start_log(), tech_addtechtime(), tech_status(), timer_callback(), u_comp(), UpdateSpecialObject_func(), UpdateSpecialObjects(), urgent_mail(), vattr_alloc(), vattr_define(), vattr_delete(), vattr_find(), vattr_first(), vattr_init(), vattr_next(), vattr_rename(), wait_que(), wakeup_wait_que(), and xml_db_write().


Generated on Mon May 28 04:25:46 2007 for BattletechMUX by  doxygen 1.4.7