mux/src/mudconf.h File Reference

#include "alloc.h"
#include "htab.h"
#include "stringutil.h"
#include <netinet/in.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  tag_int_array
struct  HELP_DESC
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 WIDTHOF_DOING_STRING   45
#define SIZEOF_DOING_STRING   (2*WIDTHOF_DOING_STRING)
#define OBLOCK_SIZE   ((LBUF_SIZE - sizeof(OBLOCK *)) / sizeof(dbref))
#define MAX_ITEXT   100
#define CF_HAND(proc)   int proc(int *vp, char *str, void *pExtra, UINT32 nExtra, dbref player, char *cmd)
#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_GUEST   0x0040
#define CF_DEQUEUE   0x0100
#define CF_EVENTCHECK   0x0400
#define H_REGISTRATION   0x0001
#define H_FORBIDDEN   0x0002
#define H_SUSPECT   0x0004
#define H_GUEST   0x0008
#define H_NOSITEMON   0x0010
#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   0x00020000
#define LOG_TIMEUSE   0x00040000
#define LOG_ALWAYS   0x80000000
#define LOGOPT_FLAGS   0x01
#define LOGOPT_LOC   0x02
#define LOGOPT_OWNER   0x04
#define LOGOPT_TIMESTAMP   0x08

Typedefs

typedef tag_int_array IntArray
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 426 of file mudconf.h.

Referenced by check_command(), and process_cmdent().

#define CF_CHECKPOINT   0x0008

Definition at line 428 of file mudconf.h.

Referenced by dispatch_DatabaseDump().

#define CF_DBCHECK   0x0010

Definition at line 429 of file mudconf.h.

Referenced by dispatch_FreeListReconstruction(), do_apply_marked(), do_markall(), and do_search().

#define CF_DEQUEUE   0x0100

Definition at line 433 of file mudconf.h.

Referenced by do_global().

#define CF_EVENTCHECK   0x0400

Definition at line 437 of file mudconf.h.

Referenced by dispatch_CheckEvents().

#define CF_GUEST   0x0040

Definition at line 431 of file mudconf.h.

Referenced by check_connect().

#define CF_HAND ( proc   )     int proc(int *vp, char *str, void *pExtra, UINT32 nExtra, dbref player, char *cmd)

Definition at line 419 of file mudconf.h.

#define CF_IDLECHECK   0x0020

Definition at line 430 of file mudconf.h.

Referenced by dispatch_IdleCheck().

#define CF_INTERP   0x0004

Definition at line 427 of file mudconf.h.

Referenced by process_cmdent(), and wait_que().

#define CF_LOGIN   0x0001

Definition at line 425 of file mudconf.h.

Referenced by announce_connect(), and check_connect().

#define ET_DAILY   0x00000001

Definition at line 449 of file mudconf.h.

Referenced by check_events().

#define H_FORBIDDEN   0x0002

Definition at line 442 of file mudconf.h.

Referenced by dump_users(), new_connection(), shutdownsock(), and stat_string().

#define H_GUEST   0x0008

Definition at line 444 of file mudconf.h.

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

#define H_NOSITEMON   0x0010

Definition at line 445 of file mudconf.h.

Referenced by SiteMonSend(), and stat_string().

#define H_REGISTRATION   0x0001

Definition at line 441 of file mudconf.h.

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

#define H_SUSPECT   0x0004

Definition at line 443 of file mudconf.h.

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

#define LOG_ACCOUNTING   0x00000002

Definition at line 454 of file mudconf.h.

Referenced by shutdownsock().

#define LOG_ALLCOMMANDS   0x00000001

Definition at line 453 of file mudconf.h.

Referenced by process_command().

#define LOG_ALLOCATE   0x00004000

Definition at line 467 of file mudconf.h.

Referenced by pool_alloc(), pool_alloc_lbuf(), pool_err(), pool_free(), and pool_free_lbuf().

#define LOG_ALWAYS   0x80000000

Definition at line 474 of file mudconf.h.

Referenced by boot_slave(), cf_init(), do_backup(), do_restart(), do_shutdown(), get_slave_result(), init_dbfile(), init_version(), load_game(), LogStatBuf(), main(), new_connection(), pool_alloc(), pool_alloc_lbuf(), pool_free(), pool_free_lbuf(), pool_vfy(), process_command(), report_timecheck(), and write_pidfile().

#define LOG_BADCOMMANDS   0x00000004

Definition at line 455 of file mudconf.h.

Referenced by process_command().

#define LOG_BUGS   0x00000008

Definition at line 456 of file mudconf.h.

Referenced by cf_init(), create_obj(), do_link(), do_logged_out_internal(), do_mail_read(), eval_boolexp(), new_mail_message(), pool_free(), pool_free_lbuf(), process_command(), report(), and ValidateHelpFileIndex().

#define LOG_CONFIGMODS   0x00000020

Definition at line 458 of file mudconf.h.

Referenced by CF_HAND(), cf_init(), and do_global().

#define LOG_DBSAVES   0x00000010

Definition at line 457 of file mudconf.h.

Referenced by cf_init(), dump_database(), fork_and_dump(), and CHashFile::Insert().

#define LOG_KILLS   0x00000080

Definition at line 460 of file mudconf.h.

#define LOG_LOGIN   0x00000100

Definition at line 461 of file mudconf.h.

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

#define LOG_NET   0x00000200

Definition at line 462 of file mudconf.h.

Referenced by cf_init(), new_connection(), queue_write_LEN(), and shutdownsock().

#define LOG_PCREATES   0x00000040

Definition at line 459 of file mudconf.h.

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

#define LOG_PROBLEMS   0x00008000

Definition at line 468 of file mudconf.h.

Referenced by cf_init(), create_obj(), do_command(), fcache_read(), helpindex_read(), Log_header_err(), Log_pointer_err(), log_signal(), log_signal_ignore(), Log_simple_err(), pool_alloc(), pool_alloc_lbuf(), pool_free(), pool_free_lbuf(), purge_going(), queue_write_LEN(), ReportTopic(), shovechars(), sighandler(), and Task_RunQueueEntry().

#define LOG_SECURITY   0x00000400

Definition at line 463 of file mudconf.h.

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

#define LOG_SHOUTS   0x00000800

Definition at line 464 of file mudconf.h.

Referenced by cf_init(), and do_shout().

#define LOG_STARTUP   0x00001000

Definition at line 465 of file mudconf.h.

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

#define LOG_SUSPECTCMDS   0x00020000

Definition at line 469 of file mudconf.h.

Referenced by cf_init(), and process_command().

#define LOG_TIMEUSE   0x00040000

Definition at line 473 of file mudconf.h.

Referenced by cf_init(), and report_timecheck().

#define LOG_WIZARD   0x00002000

Definition at line 466 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 476 of file mudconf.h.

Referenced by log_name().

#define LOGOPT_LOC   0x02

Definition at line 477 of file mudconf.h.

Referenced by cf_init(), and log_name_and_loc().

#define LOGOPT_OWNER   0x04

Definition at line 478 of file mudconf.h.

Referenced by log_name().

#define LOGOPT_TIMESTAMP   0x08

Definition at line 479 of file mudconf.h.

Referenced by cf_init(), and start_log().

#define MAX_ITEXT   100

Definition at line 296 of file mudconf.h.

Referenced by FUNCTION(), and iter_value().

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

Definition at line 255 of file mudconf.h.

Referenced by olist_add(), and olist_next().

#define SIZEOF_DOING_STRING   (2*WIDTHOF_DOING_STRING)

Definition at line 18 of file mudconf.h.

Referenced by MakeCanonicalDoing().

#define WIDTHOF_DOING_STRING   45

Definition at line 17 of file mudconf.h.

Referenced by MakeCanonicalDoing().


Typedef Documentation

typedef struct alist ALIST

Definition at line 274 of file mudconf.h.

typedef struct badname_struc BADNAME

Definition at line 282 of file mudconf.h.

typedef struct confdata CONFDATA

Definition at line 36 of file mudconf.h.

typedef struct forward_list FWDLIST

Definition at line 289 of file mudconf.h.

typedef struct tag_int_array IntArray

typedef struct markbuf MARKBUF

Definition at line 268 of file mudconf.h.

typedef struct objlist_block OBLOCK

Definition at line 248 of file mudconf.h.

typedef struct objlist_stack OLSTK

Definition at line 257 of file mudconf.h.

typedef struct site_data SITE

Definition at line 239 of file mudconf.h.

typedef struct statedata STATEDATA

Definition at line 298 of file mudconf.h.


Variable Documentation

CONFDATA mudconf

Definition at line 33 of file conf.cpp.

Referenced by CGuests::AddToGuestChannel(), AddToPublicChannel(), announce_connect(), announce_disconnect(), anum_extend(), bCanReadAttr(), BuildChannelMessage(), CallBack_HaltQueue(), CallBack_NotifySemaphoreDrainOrAll(), can_see(), canpayfees(), CF_HAND(), cf_init(), cf_read(), check_command(), check_connect(), check_dead_refs(), check_events(), check_floating(), check_idle(), check_mail_expiration(), check_zone_handler(), chown_all(), CGuests::CleanUp(), CLI_CallBack(), connect_player(), count_quota(), CGuests::Create(), create_obj(), db_grow(), db_read(), default_home(), desc_reload(), destroy_obj(), destroyable(), CGuests::DestroyGuestChar(), dispatch_CacheTick(), dispatch_CheckEvents(), dispatch_DatabaseDump(), dispatch_FreeListReconstruction(), dispatch_IdleCheck(), do_addcom(), do_allcom(), do_apply_marked(), do_backup(), do_cemit(), do_chanlist(), do_channelwho(), do_chboot(), do_chopen(), do_chown(), do_chzone(), do_clearcom(), do_clone(), do_comlist(), do_command(), do_comtitle(), do_delcom(), do_destroy(), do_destroychannel(), do_editchannel(), do_entrances(), do_examine(), do_find(), do_global(), do_kill(), do_list(), do_logged_out_internal(), do_look(), do_mail(), do_mail_stats(), do_malias(), do_markall(), do_motd(), do_move(), do_pcreate(), do_pemit_single(), do_postpend(), do_prepend(), do_processcom(), do_quota(), do_restart(), do_score(), do_search(), do_shutdown(), do_sweep(), do_switch(), do_teleport(), do_teleport_single(), do_toad(), do_unlink(), do_verb(), do_wipe(), dump_database(), dump_database_internal(), dump_info(), dump_users(), eval_boolexp(), exam_wildattrs(), fh_going_bit(), filter_handler(), fork_and_dump(), FUNCTION(), get_slave_result(), get_stats(), give_money(), halt_que(), higcheck(), hook_fail(), init_timer(), initializesock(), link_exit(), list_costs(), list_df_flags(), list_options(), CGuests::ListAll(), load_game(), load_restart_db(), log_name(), log_name_and_loc(), look_contents(), look_in(), look_simple(), main(), CGuests::MakeGuestChar(), match_master_exit(), mkattr(), Moniker(), move_object(), move_via_exit(), move_via_teleport(), mux_exec(), new_connection(), notify_check(), ok_password(), open_exit(), page_check(), parse_connect(), parse_to(), parse_to_cleanup(), pool_alloc(), pool_alloc_lbuf(), pool_free(), pool_free_lbuf(), process_cmdent(), process_command(), process_enter_loc(), process_leave_loc(), process_preload(), PureName(), queue_write_LEN(), QueueMax(), quick_wild(), ReleaseAllResources(), report_timecheck(), CScheduler::RunTasks(), s_Moniker(), s_Name(), scan_zone(), setup_que(), SetupGlobalThrottle(), SetupThrottle(), show_a_desc(), sighandler(), sp_ok(), start_home(), start_log(), CGuests::StartUp(), string_compare(), sweep_check(), Task_ProcessCommand(), Task_RunQueueEntry(), tcache_add(), CHashFile::Tick(), TrimCache(), trimmed_site(), u_comp(), update_quotas(), ValidateConfigurationDbrefs(), ValidatePlayerName(), wait_que(), where_room(), and wild1().

STATEDATA mudstate

Definition at line 34 of file conf.cpp.

Referenced by add_comsys(), add_helpfile(), add_player_name(), al_add(), al_delete(), al_fetch(), al_store(), announce_connect(), announce_disconnect(), anum_extend(), MailList::AppendItem(), AssertionFailed(), atr_add(), atr_clr(), atr_free(), atr_head(), atr_match(), atr_match1(), atr_pop(), atr_push(), atr_str(), badname_add(), badname_check(), badname_list(), badname_remove(), bCanReadAttr(), bind_and_queue(), build_version(), cache_del(), cache_get(), cache_put(), CF_HAND(), cf_init(), cf_log_notfound(), cf_log_syntax(), cf_read(), cf_set(), cf_status_from_succfail(), check_access(), check_command(), check_connect(), check_dead_refs(), check_events(), check_filter(), check_floating(), check_panicking(), check_zone_handler(), CLI_CallBack(), commands_no_arg_add(), commands_one_arg_add(), commands_one_arg_cmdarg_add(), commands_two_arg_add(), commands_two_arg_argv_add(), commands_two_arg_argv_cmdarg_add(), commands_two_arg_cmdarg_add(), Commer(), create_obj(), db_free(), db_grow(), db_read(), db_write(), db_write_object(), dbclean_CheckANHtoAT(), dbclean_CheckATtoANH(), dbclean_RemoveStaleAttributeNames(), dbclean_RenumberAttributes(), decode_power(), del_comsys(), delete_player_name(), desc_addhash(), desc_delhash(), destroy_bad_obj(), destroy_obj(), did_it(), dispatch_CacheTick(), dispatch_CanRestart(), dispatch_CheckEvents(), dispatch_DatabaseDump(), dispatch_FreeListReconstruction(), dispatch_IdleCheck(), do_addcommand(), do_backup(), do_chanlist(), do_channelnuke(), do_command(), do_createchannel(), do_dbck(), do_dbclean(), do_delcommand(), do_destroychannel(), do_doing(), do_dolist(), do_dump(), do_flag(), do_force(), do_function(), do_hook(), do_icmd(), do_if(), do_listchannels(), do_listcommands(), do_logged_out_internal(), do_mail_debug(), do_prog(), do_quitprog(), do_restart(), do_shutdown(), do_stats(), do_switch(), do_timewarp(), do_train(), do_version(), do_wait(), dump_database(), dump_database_internal(), dump_info(), dump_mail(), dump_restart_db(), dump_users(), end_log(), eval_boolexp(), exit_displayable(), exit_visible(), failconn(), filter_handler(), find_flag(), find_power(), find_wild_attrs(), MailList::FirstItem(), flag_rename(), fork_and_dump(), FUNCTION(), function_add(), functions_add(), fwdlist_ck(), fwdlist_clr(), fwdlist_get(), fwdlist_load(), fwdlist_set(), GetProcessorUsage(), handle_prog(), Hearer(), help_helper(), help_write(), helpindex_clean(), helpindex_load(), helpindex_read(), init_attrtab(), init_cmdtab(), init_dbfile(), init_flagtab(), init_logout_cmdtab(), init_powertab(), init_timer(), init_version(), initializesock(), CHashFile::Insert(), iter_value(), list_check(), list_hashstats(), list_options(), list_process(), list_siteinfo(), list_vattrs(), load_comsystem(), load_restart_db(), log_name(), log_perror(), look_atrs(), look_atrs1(), lookup_player(), mail_db_grow(), main(), make_freelist(), MessageAdd(), mux_exec(), new_connection(), notify_check(), ok_password(), olist_add(), olist_first(), olist_next(), olist_pop(), olist_push(), OutOfMemory(), parse_attrib_wild(), parse_boolexp(), parse_boolexp_L(), parse_range(), Pennies(), pool_alloc(), pool_alloc_lbuf(), pool_err(), pool_free(), pool_free_lbuf(), process_cmdent(), process_command(), process_input(), process_output(), QueueMax(), quick_wild(), raw_notify(), raw_notify_html(), raw_notify_newline(), CHashPage::ReadPage(), real_regmatch(), MailList::RemoveAll(), MailList::RemoveItem(), report(), report_timecheck(), ReportMatchedTopics(), ReportTopic(), restore_global_regs(), room_list(), s_Pennies(), save_and_clear_global_regs(), save_comsystem(), save_global_regs(), search_perform(), select_channel(), SetupGlobalThrottle(), shovechars(), shutdownsock(), sighandler(), CMuxAlarm::Sleep(), start_log(), string_compare(), sweep_check(), CHashFile::Sync(), Task_RunQueueEntry(), ThrottlePlayerCreate(), TrimCache(), u_comp(), unparse_boolexp1(), ValidateConfigurationDbrefs(), ValidateHelpFileIndex(), ValidatePlayerName(), vattr_alloc_LEN(), vattr_define_LEN(), vattr_delete_LEN(), vattr_find_LEN(), vattr_first(), vattr_next(), vattr_rename_LEN(), wild(), wild1(), wild_match(), CHashFile::WriteDirectory(), and CHashPage::WritePage().


Generated on Mon May 28 04:40:20 2007 for MUX by  doxygen 1.4.7