TinyMUSH 3.3
TinyMUSH Server
Loading...
Searching...
No Matches
Public Attributes | List of all members
statedata Struct Reference
Collaboration diagram for statedata:
Collaboration graph
[legend]

Public Attributes

int record_players
 
int db_block_size
 
UDB_OBJECTobjpipes [NUM_OBJPIPES]
 
unsigned int objc
 
versioninfo version
 
char * modloaded
 
char ** cfiletab
 
int configfiles
 
int initializing
 
int loading_db
 
int standalone
 
int panicking
 
int restarting
 
int dumping
 
int logstderr
 
int debug
 
pid_t dumper
 
int logging
 
int epoch
 
int generation
 
int mush_lognum
 
int helpfiles
 
int hfiletab_size
 
char ** hfiletab
 
HASHTABhfile_hashes
 
dbref curr_enactor
 
dbref curr_player
 
char * curr_cmd
 
int alarm_triggered
 
time_t now
 
time_t dump_counter
 
time_t check_counter
 
time_t idle_counter
 
time_t mstats_counter
 
time_t events_counter
 
int shutdown_flag
 
int flatfile_flag
 
time_t start_time
 
time_t restart_time
 
int reboot_nums
 
time_t cpu_count_from
 
char * debug_cmd
 
char * doing_hdr
 
SITEaccess_list
 
SITEsuspect_list
 
HASHTAB command_htab
 
HASHTAB logout_cmd_htab
 
HASHTAB func_htab
 
HASHTAB ufunc_htab
 
HASHTAB powers_htab
 
HASHTAB flags_htab
 
HASHTAB attr_name_htab
 
HASHTAB vattr_name_htab
 
HASHTAB player_htab
 
HASHTAB nref_htab
 
HASHTAB desc_htab
 
HASHTAB fwdlist_htab
 
HASHTAB propdir_htab
 
HASHTAB qpid_htab
 
HASHTAB redir_htab
 
HASHTAB objstack_htab
 
HASHTAB objgrid_htab
 
HASHTAB parent_htab
 
HASHTAB vars_htab
 
HASHTAB structs_htab
 
HASHTAB cdefs_htab
 
HASHTAB instance_htab
 
HASHTAB instdata_htab
 
HASHTAB api_func_htab
 
MODULEmodules_list
 
int max_structs
 
int max_cdefs
 
int max_instance
 
int max_instdata
 
int max_stacks
 
int max_vars
 
int attr_next
 
BQUEqfirst
 
BQUEqlast
 
BQUEqlfirst
 
BQUEqllast
 
BQUEqwait
 
BQUEqsemfirst
 
BQUEqsemlast
 
BADNAMEbadname_head
 
int mstat_ixrss [2]
 
int mstat_idrss [2]
 
int mstat_isrss [2]
 
int mstat_secs [2]
 
int mstat_curr
 
ALIST iter_alist
 
char * mod_alist
 
int mod_size
 
dbref mod_al_id
 
OLSTKolist
 
dbref freelist
 
int min_size
 
int db_top
 
int db_size
 
unsigned int moduletype_top
 
int * guest_free
 
MARKBUFmarkbits
 
int in_loop
 
char * loop_token [MAX_ITER_NESTING]
 
char * loop_token2 [MAX_ITER_NESTING]
 
int loop_number [MAX_ITER_NESTING]
 
int loop_break [MAX_ITER_NESTING]
 
int in_switch
 
char * switch_token
 
int func_nest_lev
 
int func_invk_ctr
 
int ntfy_nest_lev
 
int lock_nest_lev
 
int cmd_nest_lev
 
int cmd_invk_ctr
 
int wild_times_lev
 
GDATArdata
 
int zone_nest_num
 
int break_called
 
int f_limitmask
 
int inpipe
 
char * pout
 
char * poutnew
 
char * poutbufc
 
dbref poutobj
 
clock_t cputime_base
 
clock_t cputime_now
 
const unsigned char * retabs
 
MEMTRACKraw_allocs
 
int dbm_fd
 

Member Data Documentation

◆ access_list

SITE* statedata::access_list

Access states for sites

◆ alarm_triggered

int statedata::alarm_triggered

Has periodic alarm signal occurred?

◆ api_func_htab

HASHTAB statedata::api_func_htab

Registered module API functions

◆ attr_name_htab

HASHTAB statedata::attr_name_htab

Attribute names hashtable

◆ attr_next

int statedata::attr_next

Next attr to alloc when freelist is empty

◆ badname_head

BADNAME* statedata::badname_head

List of disallowed names

◆ break_called

int statedata::break_called

Boolean flag for @break and @assert

◆ cdefs_htab

HASHTAB statedata::cdefs_htab

Components hashtable

◆ cfiletab

char** statedata::cfiletab

Array of config files

◆ check_counter

time_t statedata::check_counter

Countdown to next db check

◆ cmd_invk_ctr

int statedata::cmd_invk_ctr

Commands invoked so far by this qentry

◆ cmd_nest_lev

int statedata::cmd_nest_lev

Current nesting of commands like @sw/now

◆ command_htab

HASHTAB statedata::command_htab

Commands hashtable

◆ configfiles

int statedata::configfiles

Number of config files

◆ cpu_count_from

time_t statedata::cpu_count_from

When did we last reset CPU counters?

◆ cputime_base

clock_t statedata::cputime_base

CPU baselined at beginning of command

◆ cputime_now

clock_t statedata::cputime_now

CPU time recorded during command

◆ curr_cmd

char* statedata::curr_cmd

The current command

◆ curr_enactor

dbref statedata::curr_enactor

Who initiated the current command

◆ curr_player

dbref statedata::curr_player

Who is running the current command

◆ db_block_size

int statedata::db_block_size

Block size of database

◆ db_size

int statedata::db_size

Allocated size of db structure

◆ db_top

int statedata::db_top

Number of items in the db

◆ dbm_fd

int statedata::dbm_fd

File descriptor of our DBM database

◆ debug

int statedata::debug

Are we being debug?

◆ debug_cmd

char* statedata::debug_cmd

The command we are executing (if any)

◆ desc_htab

HASHTAB statedata::desc_htab

Socket descriptor hashtable

◆ doing_hdr

char* statedata::doing_hdr

Doing column header in WHO display

◆ dump_counter

time_t statedata::dump_counter

Countdown to next db dump

◆ dumper

pid_t statedata::dumper

If forked-dumping, with what pid?

◆ dumping

int statedata::dumping

Are we dumping?

◆ epoch

int statedata::epoch

Generation number for dumps

◆ events_counter

time_t statedata::events_counter

Countdown to next events check

◆ f_limitmask

int statedata::f_limitmask

Flagword for limiter for functions

◆ flags_htab

HASHTAB statedata::flags_htab

Flags hashtable

◆ flatfile_flag

int statedata::flatfile_flag

Dump a flatfile when we have the chance

◆ freelist

dbref statedata::freelist

Head of object freelist

◆ func_htab

HASHTAB statedata::func_htab

Functions hashtable

◆ func_invk_ctr

int statedata::func_invk_ctr

Functions invoked so far by this command

◆ func_nest_lev

int statedata::func_nest_lev

Current nesting of functions

◆ fwdlist_htab

HASHTAB statedata::fwdlist_htab

Room forwardlists

◆ generation

int statedata::generation

DB global generation number

◆ guest_free

int* statedata::guest_free

Table to keep track of free guests

◆ helpfiles

int statedata::helpfiles

Number of external indexed helpfiles

◆ hfile_hashes

HASHTAB* statedata::hfile_hashes

Pointer to an array of index hashtables

◆ hfiletab

char** statedata::hfiletab

Array of path pointers

◆ hfiletab_size

int statedata::hfiletab_size

Size of the table storing path pointers

◆ idle_counter

time_t statedata::idle_counter

Countdown to next idle check

◆ in_loop

int statedata::in_loop

In a loop() statement?

◆ in_switch

int statedata::in_switch

In a switch() statement?

◆ initializing

int statedata::initializing

Are we reading config file at startup?

◆ inpipe

int statedata::inpipe

Boolean flag for command piping

◆ instance_htab

HASHTAB statedata::instance_htab

Instances hashtable

◆ instdata_htab

HASHTAB statedata::instdata_htab

Structure data hashtable

◆ iter_alist

ALIST statedata::iter_alist

Attribute list for iterations

◆ loading_db

int statedata::loading_db

Are we loading the db?

◆ lock_nest_lev

int statedata::lock_nest_lev

Current nesting of lock evals

◆ logging

int statedata::logging

Are we in the middle of logging?

◆ logout_cmd_htab

HASHTAB statedata::logout_cmd_htab

Logged-out commands hashtable (WHO, etc)

◆ logstderr

int statedata::logstderr

Echo log to stderr too?

◆ loop_break

int statedata::loop_break[MAX_ITER_NESTING]

Kill this iter() loop?

◆ loop_number

int statedata::loop_number[MAX_ITER_NESTING]

Value of #@

◆ loop_token

char* statedata::loop_token[MAX_ITER_NESTING]

Value of ##

◆ loop_token2

char* statedata::loop_token2[MAX_ITER_NESTING]

Value of #?

◆ markbits

MARKBUF* statedata::markbits

temp storage for marking/unmarking

◆ min_size

int statedata::min_size

Minimum db size (from file header)

◆ mod_al_id

dbref statedata::mod_al_id

Where did mod_alist come from?

◆ mod_alist

char* statedata::mod_alist

Attribute list for modifying

◆ mod_size

int statedata::mod_size

Length of modified buffer

◆ modloaded

char* statedata::modloaded

Modules loaded

◆ modules_list

MODULE* statedata::modules_list

Loadable modules hashtable

◆ moduletype_top

unsigned int statedata::moduletype_top

Highest module DBTYPE

◆ mstat_curr

int statedata::mstat_curr

Which sample is latest

◆ mstat_idrss

int statedata::mstat_idrss[2]

Summed private data size

◆ mstat_isrss

int statedata::mstat_isrss[2]

Summed private stack size

◆ mstat_ixrss

int statedata::mstat_ixrss[2]

Summed shared size

◆ mstat_secs

int statedata::mstat_secs[2]

Time of samples

◆ mstats_counter

time_t statedata::mstats_counter

Countdown to next mstats snapshot

◆ mush_lognum

int statedata::mush_lognum

Number of logfile

◆ now

time_t statedata::now

What time is it now?

◆ nref_htab

HASHTAB statedata::nref_htab

Object name reference #_name_ mapping

◆ ntfy_nest_lev

int statedata::ntfy_nest_lev

Current nesting of notifys

◆ objc

unsigned int statedata::objc

Object reference counter

◆ objgrid_htab

HASHTAB statedata::objgrid_htab

Object grids

◆ objpipes

UDB_OBJECT* statedata::objpipes[NUM_OBJPIPES]

Number of object pipelines

◆ objstack_htab

HASHTAB statedata::objstack_htab

Object stacks

◆ olist

OLSTK* statedata::olist

Stack of object lists for nested searches

◆ panicking

int statedata::panicking

Are we in the middle of dying horribly?

◆ parent_htab

HASHTAB statedata::parent_htab

Parent $-command exclusion

◆ player_htab

HASHTAB statedata::player_htab

Player name->number hashtable

◆ pout

char* statedata::pout

The output of the pipe used in %|

◆ poutbufc

char* statedata::poutbufc

Buffer position for poutnew

◆ poutnew

char* statedata::poutnew

The output being build by the current command

◆ poutobj

dbref statedata::poutobj

Object doing the piping

◆ powers_htab

HASHTAB statedata::powers_htab

Powers hashtable

◆ propdir_htab

HASHTAB statedata::propdir_htab

Propdir lists

◆ qfirst

BQUE* statedata::qfirst

Head of player queue

◆ qlast

BQUE* statedata::qlast

Tail of player queue

◆ qlfirst

BQUE* statedata::qlfirst

Head of object queue

◆ qllast

BQUE* statedata::qllast

Tail of object queue

◆ qpid_htab

HASHTAB statedata::qpid_htab

Queue process IDs

◆ qsemfirst

BQUE* statedata::qsemfirst

Head of semaphore queue

◆ qsemlast

BQUE* statedata::qsemlast

Tail of semaphore queue

◆ qwait

BQUE* statedata::qwait

Head of wait queue

◆ raw_allocs

MEMTRACK* statedata::raw_allocs

Tracking of raw memory allocations

◆ rdata

GDATA* statedata::rdata

Global register data

◆ reboot_nums

int statedata::reboot_nums

How many times have we restarted?

◆ record_players

int statedata::record_players

The maximum # of player logged on

◆ redir_htab

HASHTAB statedata::redir_htab

Redirections

◆ restart_time

time_t statedata::restart_time

When did we last restart?

◆ restarting

int statedata::restarting

Are we restarting?

◆ retabs

const unsigned char* statedata::retabs

PCRE regexp tables

◆ shutdown_flag

int statedata::shutdown_flag

Should interface be shut down?

◆ standalone

int statedata::standalone

Are we converting the database?

◆ start_time

time_t statedata::start_time

When was MUSH started

◆ structs_htab

HASHTAB statedata::structs_htab

Structure hashtable

◆ suspect_list

SITE* statedata::suspect_list

Sites that are suspect

◆ switch_token

char* statedata::switch_token

Value of #$

◆ ufunc_htab

HASHTAB statedata::ufunc_htab

Local functions hashtable

◆ vars_htab

HASHTAB statedata::vars_htab

Persistent variables hashtable

◆ vattr_name_htab

HASHTAB statedata::vattr_name_htab

User attribute names hashtable

◆ version

versioninfo statedata::version

MUSH version info

◆ wild_times_lev

int statedata::wild_times_lev

Wildcard matching tries.

◆ zone_nest_num

int statedata::zone_nest_num

Global current zone nest position


The documentation for this struct was generated from the following file: