mux/src/db.h File Reference

#include "attrcache.h"
#include "flags.h"
#include "timeutil.h"

Include dependency graph for db.h:

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

Go to the source code of this file.

Data Structures

struct  attr
struct  stack
struct  boolexp
struct  object

Defines

#define SYNC   cache_sync()
#define CLOSE   cache_close()
#define ITER_PARENTS(t, p, l)
#define anum_get(x)   (anum_table[(x)])
#define anum_set(x, v)   anum_table[(x)] = v
#define ATR_INFO_CHAR   '\1'
#define BOOLEXP_AND   0
#define BOOLEXP_OR   1
#define BOOLEXP_NOT   2
#define BOOLEXP_CONST   3
#define BOOLEXP_ATR   4
#define BOOLEXP_INDIR   5
#define BOOLEXP_CARRY   6
#define BOOLEXP_IS   7
#define BOOLEXP_OWNER   8
#define BOOLEXP_EVAL   9
#define TRUE_BOOLEXP   ((BOOLEXP *) 0)
#define F_UNKNOWN   0
#define F_MUX   5
#define V_MASK   0x000000ff
#define V_ZONE   0x00000100
#define V_LINK   0x00000200
#define V_DATABASE   0x00000400
#define V_ATRNAME   0x00000800
#define V_ATRKEY   0x00001000
#define V_PARENT   0x00002000
#define V_ATRMONEY   0x00008000
#define V_XFLAGS   0x00010000
#define V_POWERS   0x00020000
#define V_3FLAGS   0x00040000
#define V_QUOTED   0x00080000
#define DB_CHANNELS   0x2
#define DB_SLOCK   0x4
#define DB_MC   0x8
#define DB_MPAR   0x10
#define DB_CLASS   0x20
#define DB_RANK   0x40
#define DB_DROPLOCK   0x80
#define DB_GIVELOCK   0x100
#define DB_GETLOCK   0x200
#define DB_THREEPOW   0x400
#define NOTHING   (-1)
#define AMBIGUOUS   (-2)
#define HOME   (-3)
#define NOPERM   (-4)
#define Location(t)   db[t].location
#define Zone(t)   db[t].zone
#define Contents(t)   db[t].contents
#define Exits(t)   db[t].exits
#define Next(t)   db[t].next
#define Link(t)   db[t].link
#define Owner(t)   db[t].owner
#define Parent(t)   db[t].parent
#define Flags(t)   db[t].fs.word[FLAG_WORD1]
#define Flags2(t)   db[t].fs.word[FLAG_WORD2]
#define Flags3(t)   db[t].fs.word[FLAG_WORD3]
#define Powers(t)   db[t].powers
#define Powers2(t)   db[t].powers2
#define Stack(t)   db[t].stackhead
#define Home(t)   Link(t)
#define Dropto(t)   Location(t)
#define ThAttrib(t)   db[t].throttled_attributes
#define ThMail(t)   db[t].throttled_mail
#define s_Location(t, n)   db[t].location = (n)
#define s_Zone(t, n)   db[t].zone = (n)
#define s_Contents(t, n)   db[t].contents = (n)
#define s_Exits(t, n)   db[t].exits = (n)
#define s_Next(t, n)   db[t].next = (n)
#define s_Link(t, n)   db[t].link = (n)
#define s_Owner(t, n)   db[t].owner = (n)
#define s_Parent(t, n)   db[t].parent = (n)
#define s_Flags(t, f, n)   db[t].fs.word[f] = (n)
#define s_Powers(t, n)   db[t].powers = (n)
#define s_Powers2(t, n)   db[t].powers2 = (n)
#define s_Stack(t, n)   db[t].stackhead = (n)
#define s_Home(t, n)   s_Link(t,n)
#define s_Dropto(t, n)   s_Location(t,n)
#define s_ThAttrib(t, n)   db[t].throttled_attributes = (n);
#define s_ThMail(t, n)   db[t].throttled_mail = (n);
#define DOLIST(thing, list)
#define SAFE_DOLIST(thing, next, list)
#define DO_WHOLE_DB(thing)   for ((thing)=0; (thing)<mudstate.db_top; (thing)++)
#define DO_WHOLE_DB_BACKWARDS(thing)   for ((thing)=mudstate.db_top-1; (thing)>=0; (thing)--)

Typedefs

typedef attr ATTR
typedef stack STACK
typedef boolexp BOOLEXP
typedef object OBJ

Functions

int get_atr (char *name)
char * MakeCanonicalAttributeName (const char *pName, int *pnName, bool *pbValid)
char * MakeCanonicalAttributeCommand (const char *pName, int *pnName, bool *pbValid)
ATTRatr_num (int anum)
ATTRatr_str (char *s)
void anum_extend (int)
int Pennies (dbref obj)
 Returns how many coins are in a player's or things's purse.
void s_Pennies (dbref obj, int howfew)
 Sets the number of coins in a player's or thing's purse.
void s_PenniesDirect (dbref obj, int howfew)
 A shortcut method of initializing the coins in a object's purse.
void load_restart_db (void)
dbref getref (FILE *)
void putref (FILE *, dbref)
void free_boolexp (BOOLEXP *)
dbref parse_dbref (const char *)
bool ThrottleMail (dbref executor)
bool ThrottleAttributeNames (dbref executor)
bool ThrottlePlayerCreate (void)
int mkattr (dbref executor, char *)
void al_store (void)
void db_grow (dbref)
void db_free (void)
void db_make_minimal (void)
dbref db_read (FILE *, int *, int *, int *)
dbref db_write (FILE *, int, int)
void destroy_thing (dbref)
void destroy_exit (dbref)
void putstring (FILE *f, const char *s)
char * getstring_noalloc (FILE *f, int new_strings)
void init_attrtab (void)

Variables

ATTR attr []
ATTR ** anum_table
char * aszSpecialDBRefNames [1-NOPERM]
const int INITIAL_ATRLIST_SIZE = 10
const int ATRLIST_CHUNK = 20
OBJdb


Define Documentation

#define AMBIGUOUS   (-2)

Definition at line 123 of file db.h.

Referenced by do_chown(), do_clone(), do_drop(), do_give(), do_kill(), do_lock(), do_mail_stats(), do_move(), do_pemit_single(), do_teleport_single(), do_unlink(), give_thing(), match_result(), match_status(), parse_boolexp_L(), promote_dflt(), and safe_match_result().

#define anum_get (  )     (anum_table[(x)])

Definition at line 62 of file db.h.

Referenced by atr_num(), db_write(), dbclean_CheckALISTtoAT(), dbclean_CheckANHtoAT(), dbclean_CheckATtoANH(), dbclean_RemoveStaleAttributeNames(), dbclean_RenumberAttributes(), and do_notify().

#define anum_set ( x,
 )     anum_table[(x)] = v

Definition at line 63 of file db.h.

Referenced by dbclean_RemoveStaleAttributeNames(), dbclean_RenumberAttributes(), init_attrtab(), vattr_define_LEN(), and vattr_delete_LEN().

#define ATR_INFO_CHAR   '\1'

Definition at line 66 of file db.h.

Referenced by atr_decode_flags_owner(), and atr_encode().

#define BOOLEXP_AND   0

Definition at line 69 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_T(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_ATR   4

Definition at line 73 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), test_atr(), and unparse_boolexp1().

#define BOOLEXP_CARRY   6

Definition at line 75 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_CONST   3

Definition at line 72 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), parse_boolexp_L(), putbool_subexp(), unparse_boolexp(), unparse_boolexp1(), unparse_boolexp_decompile(), unparse_boolexp_function(), and unparse_boolexp_quiet().

#define BOOLEXP_EVAL   9

Definition at line 78 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), putbool_subexp(), test_atr(), and unparse_boolexp1().

#define BOOLEXP_INDIR   5

Definition at line 74 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_IS   7

Definition at line 76 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_NOT   2

Definition at line 71 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_OR   1

Definition at line 70 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_E(), putbool_subexp(), and unparse_boolexp1().

#define BOOLEXP_OWNER   8

Definition at line 77 of file db.h.

Referenced by dup_bool(), eval_boolexp(), free_boolexp(), getboolexp1(), parse_boolexp_F(), putbool_subexp(), and unparse_boolexp1().

#define CLOSE   cache_close()

Definition at line 11 of file db.h.

Referenced by dbconvert(), do_restart(), do_shutdown(), main(), and sighandler().

#define Contents (  )     db[t].contents

Definition at line 185 of file db.h.

Referenced by announce_connect(), announce_disconnect(), check_dead_refs(), check_loc_contents(), check_misplaced_obj(), db_write_object(), debug_examine(), divest_object(), do_examine(), do_inventory(), do_sweep(), empty_obj(), eval_boolexp(), FUNCTION(), look_contents(), match_neighbor(), match_possession(), move_object(), notify_check(), notify_except(), notify_except2(), process_command(), and process_sticky_dropto().

#define DB_CHANNELS   0x2

Definition at line 110 of file db.h.

#define DB_CLASS   0x20

Definition at line 114 of file db.h.

#define DB_DROPLOCK   0x80

Definition at line 116 of file db.h.

#define DB_GETLOCK   0x200

Definition at line 118 of file db.h.

#define DB_GIVELOCK   0x100

Definition at line 117 of file db.h.

#define DB_MC   0x8

Definition at line 112 of file db.h.

#define DB_MPAR   0x10

Definition at line 113 of file db.h.

#define DB_RANK   0x40

Definition at line 115 of file db.h.

#define DB_SLOCK   0x4

Definition at line 111 of file db.h.

#define DB_THREEPOW   0x400

Definition at line 119 of file db.h.

#define DO_WHOLE_DB ( thing   )     for ((thing)=0; (thing)<mudstate.db_top; (thing)++)

Definition at line 257 of file db.h.

Referenced by check_contents_chains(), check_dead_refs(), check_events(), check_exit_chains(), check_floating(), check_mail_expiration(), chown_all(), count_quota(), dbclean_CheckALISTtoAT(), dbclean_CheckALISTtoDB(), dbclean_RemoveStaleAttributeNames(), dbclean_RenumberAttributes(), do_apply_marked(), do_mail_debug(), do_mail_nuke(), do_mail_stats(), do_poor(), do_quota(), do_report(), dump_mail(), FUNCTION(), get_stats(), load_player_names(), process_preload(), purge_going(), report_timecheck(), scan_zone(), and CGuests::StartUp().

#define DO_WHOLE_DB_BACKWARDS ( thing   )     for ((thing)=mudstate.db_top-1; (thing)>=0; (thing)--)

Definition at line 259 of file db.h.

Referenced by make_freelist().

#define DOLIST ( thing,
list   ) 

Value:

for ((thing)=(list); \
         ((thing)!=NOTHING) && (Next(thing)!=(thing)); \
         (thing)=Next(thing))

Definition at line 249 of file db.h.

Referenced by announce_connect(), announce_disconnect(), do_examine(), do_inventory(), eval_boolexp(), FUNCTION(), look_contents(), look_exits(), match_exit_internal(), match_list(), member(), notify_check(), notify_except(), notify_except2(), process_command(), process_sticky_dropto(), remove_first(), and room_list().

#define Dropto (  )     Location(t)

Definition at line 198 of file db.h.

Referenced by check_dead_refs(), do_clone(), do_entrances(), do_examine(), do_link(), FUNCTION(), process_dropped_dropto(), process_sticky_dropto(), and send_dropto().

#define Exits (  )     db[t].exits

Definition at line 186 of file db.h.

Referenced by check_dead_refs(), check_loc_exits(), db_write_object(), debug_examine(), destroy_exit(), do_clone(), do_drop(), do_entrances(), do_examine(), do_get(), do_inventory(), do_search(), do_sweep(), do_teleport_single(), empty_obj(), FUNCTION(), look_exits(), mark_place(), match_exit_internal(), move_the_exit(), notify_check(), open_exit(), room_list(), and where_is().

#define F_MUX   5

Definition at line 94 of file db.h.

Referenced by db_read(), db_write(), dbconvert(), dump_database_internal(), getboolexp(), and info().

#define F_UNKNOWN   0

Definition at line 93 of file db.h.

Referenced by db_read().

#define Flags (  )     db[t].fs.word[FLAG_WORD1]

Definition at line 191 of file db.h.

Referenced by check_idle(), chown_all(), db_make_minimal(), db_write_object(), do_chzone(), do_clone(), do_command(), handle_flaglists(), process_preload(), raw_broadcast(), Task_RunQueueEntry(), and unparse_object().

#define Flags2 (  )     db[t].fs.word[FLAG_WORD2]

Definition at line 192 of file db.h.

Referenced by announce_connect(), check_events(), db_write_object(), do_edit_msg(), do_expmail_abort(), do_expmail_start(), do_expmail_stop(), do_mail_cc(), do_mail_fwd(), do_mail_proof(), do_mail_quick(), do_mail_reply(), do_postpend(), do_prepend(), handle_flaglists(), and unparse_object().

#define Flags3 (  )     db[t].fs.word[FLAG_WORD3]

Definition at line 193 of file db.h.

Referenced by db_write_object(), do_icmd(), and handle_flaglists().

#define Home (  )     Link(t)

Definition at line 197 of file db.h.

Referenced by check_contents_chains(), check_dead_refs(), clone_home(), divest_object(), do_entrances(), do_examine(), do_link(), do_teleport_single(), empty_obj(), FUNCTION(), move_exit(), move_object(), move_via_exit(), move_via_generic(), move_via_teleport(), new_home(), and process_leave_loc().

#define HOME   (-3)

Definition at line 124 of file db.h.

Referenced by check_contents_chains(), check_dead_refs(), check_loc_exits(), could_doit(), divest_object(), do_kill(), do_link(), do_move(), do_open(), do_teleport_single(), empty_obj(), link_exit(), match_home(), move_exit(), move_object(), move_via_exit(), move_via_generic(), move_via_teleport(), open_exit(), parse_linkable_room(), process_dropped_dropto(), process_leave_loc(), send_dropto(), and unparse_object_quiet().

#define ITER_PARENTS ( t,
p,
 ) 

Value:

for ((l)=0, (p)=(t); \
                     (Good_obj(p) && \
                      ((l) < mudconf.parent_nest_lim)); \
                     (p)=Parent(p), (l)++)

Definition at line 21 of file db.h.

Referenced by atr_match(), atr_pget_info(), atr_pget_str_LEN(), check_events(), do_parent(), do_prog(), FUNCTION(), look_atrs(), look_exits(), match_carried_exit_with_parents(), match_exit_with_parents(), parse_attrib_wild(), process_preload(), room_list(), and sweep_check().

#define Link (  )     db[t].link

Definition at line 188 of file db.h.

Referenced by check_dead_refs(), create_obj(), db_write_object(), and debug_examine().

#define Location (  )     db[t].location

Definition at line 181 of file db.h.

Referenced by announce_connect(), announce_disconnect(), check_contents_chains(), check_dead_refs(), check_loc_contents(), check_loc_exits(), check_misplaced_obj(), db_write_object(), debug_examine(), destroy_obj(), did_it(), do_chown(), do_clone(), do_destroy(), do_dig(), do_drop(), do_enter_internal(), do_entrances(), do_examine(), do_get(), do_icmd(), do_kill(), do_leave(), do_look(), do_move(), do_open(), do_pcreate(), do_pemit_single(), do_say(), do_search(), do_sweep(), do_teleport_single(), do_toad(), do_train(), dump_users(), empty_obj(), FUNCTION(), link_exit(), log_name_and_loc(), look_contents(), look_exits(), look_in(), mark_place(), match_exit(), match_exit_with_parents(), match_here(), match_neighbor(), move_exit(), move_object(), move_via_exit(), move_via_generic(), move_via_teleport(), new_home(), notify_check(), process_command(), process_dropped_dropto(), process_enter_loc(), process_leave_loc(), promote_match(), purge_going(), room_list(), send_dropto(), shutdownsock(), sp_ok(), where_is(), where_room(), and zonecmdtest().

#define Next (  )     db[t].next

Definition at line 187 of file db.h.

Referenced by check_dead_refs(), check_loc_contents(), check_loc_exits(), db_write_object(), debug_examine(), do_sweep(), FUNCTION(), list_check(), mark_place(), remove_first(), and reverse_list().

#define NOPERM   (-4)

Definition at line 125 of file db.h.

Referenced by do_destroy(), match_possessed(), match_status(), promote_dflt(), and unparse_object().

#define NOTHING   (-1)

Definition at line 122 of file db.h.

Referenced by absolute_name(), add_mail_message(), al_store(), announce_connect(), announce_disconnect(), atr_decode_flags_owner(), atr_encode(), atr_match1(), bind_and_queue(), CallBack_HaltQueue(), cf_init(), check_connect(), check_contents_chains(), check_dead_refs(), check_exit_chains(), check_floating(), check_loc_contents(), check_loc_exits(), check_misplaced_obj(), check_pennies(), chown_all(), connect_player(), CGuests::Create(), create_new_comsys(), create_obj(), create_player(), db_free(), db_make_minimal(), db_read(), dbconvert(), default_home(), delete_player_name(), destroy_bad_obj(), destroy_obj(), destroy_player(), destroy_thing(), did_it(), dispatch_FreeListReconstruction(), divest_object(), do_alias(), do_boot(), do_chanlist(), do_chopen(), do_chown(), do_chownall(), do_chzone(), do_clone(), do_command(), do_create(), do_createchannel(), do_cut(), do_dbck(), do_decomp(), do_delcommand(), do_destroy(), do_dig(), do_dolist(), do_drop(), do_edit(), do_editchannel(), do_enter(), do_enter_internal(), do_examine(), do_fixdb(), do_force(), do_forwardlist(), do_give(), do_halt(), do_icmd(), do_if(), do_inventory(), do_kill(), do_last(), do_leave(), do_link(), do_listchannels(), do_lock(), do_look(), do_mail_debug(), do_mail_retract1(), do_mail_review(), do_mail_stats(), do_malias_add(), do_malias_chown(), do_malias_create(), do_malias_remove(), do_malias_send(), do_move(), do_mvattr(), do_name(), do_newpassword(), do_page(), do_parent(), do_pcreate(), do_pemit_single(), do_power(), do_ps(), do_search(), do_stats(), do_sweep(), do_switch(), do_teleport_single(), do_toad(), do_unlink(), do_unlock(), do_use(), do_verb(), do_wait(), do_wipe(), empty_obj(), exam_wildattrs(), failconn(), fcache_init(), fcache_load(), find_connected_name(), FUNCTION(), get_exit_dest(), get_stats(), give_thing(), grep_util(), halt_que(), handle_prog(), helpindex_init(), helpindex_load(), init_match(), initialize_objects(), lattr_handler(), link_exit(), list_check(), load_comsystem(), locatable(), Log_header_err(), Log_pointer_err(), Log_simple_err(), lookup_player(), mail_fetch_from(), mail_to_list(), main(), make_freelist(), make_numlist(), CGuests::MakeGuestChar(), mark_place(), match_controlled_handler(), match_player(), match_possessed(), match_result(), match_status(), move_exit(), move_object(), move_via_teleport(), olist_first(), olist_next(), open_exit(), parse_attrib(), parse_boolexp_L(), parse_dbref(), parse_linkable_room(), parse_msglist(), parse_thing_slash(), process_cmdent(), process_command(), process_dropped_dropto(), process_enter_loc(), process_leave_loc(), process_sticky_dropto(), promote_dflt(), purge_going(), que_want(), MailList::RemoveItem(), reverse_list(), search_mark(), search_perform(), search_setup(), send_mail(), SendChannelMessage(), setup_que(), start_home(), CGuests::StartUp(), Task_RunQueueEntry(), Task_SemaphoreTimeout(), unparse_object_quiet(), ValidateConfigurationDbrefs(), view_atr(), wait_que(), where_is(), and where_room().

#define Owner (  )     db[t].owner

Definition at line 189 of file db.h.

Referenced by atr_chown(), atr_cpy(), atr_decode_LEN(), atr_encode(), atr_get_info(), atr_get_str_LEN(), atr_pget_info(), atr_pget_str_LEN(), bCanLockAttr(), bCanReadAttr(), CallBack_HaltQueue(), CallBack_NotifySemaphoreDrainOrAll(), canpayfees(), check_dead_refs(), check_events(), check_floating(), check_loc_contents(), check_loc_exits(), chown_all(), clone_home(), count_quota(), create_obj(), db_write_object(), debug_examine(), destroy_obj(), destroy_thing(), do_alias(), do_chown(), do_clone(), do_comwho(), do_destroy(), do_edit(), do_examine(), do_forwardlist(), do_halt(), do_kill(), do_last(), do_move(), do_mvattr(), do_prog(), do_ps(), do_quitprog(), do_quota(), do_restart(), do_search(), do_shutdown(), do_stats(), do_teleport(), do_unlink(), eval_boolexp(), exam_wildattrs(), fh_privileged(), FUNCTION(), get_stats(), giveto(), link_exit(), load_comsystem(), log_name(), new_home(), notify_check(), pay_quota(), payfor(), process_command(), process_preload(), process_sticky_dropto(), purge_comsystem(), que_want(), search_perform(), search_setup(), send_mail(), set_attr_internal(), setup_que(), sweep_check(), Task_RunQueueEntry(), tcache_finish(), and view_atr().

#define Parent (  )     db[t].parent

Definition at line 190 of file db.h.

Referenced by atr_match(), atr_pget_info(), atr_pget_str_LEN(), check_dead_refs(), CGuests::Create(), db_write_object(), do_clone(), do_entrances(), do_examine(), FUNCTION(), look_atrs(), CGuests::MakeGuestChar(), parse_attrib_wild(), and search_perform().

#define Powers (  )     db[t].powers

Definition at line 194 of file db.h.

Referenced by db_write_object(), decompile_powers(), do_chzone(), has_power(), ph_any(), powers_list(), and search_perform().

#define Powers2 (  )     db[t].powers2

Definition at line 195 of file db.h.

Referenced by db_write_object(), decompile_powers(), has_power(), ph_any(), powers_list(), and search_perform().

#define s_Contents ( t,
 )     db[t].contents = (n)

Definition at line 206 of file db.h.

Referenced by check_dead_refs(), check_loc_contents(), check_misplaced_obj(), create_obj(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_obj(), do_fixdb(), initialize_objects(), move_object(), and process_sticky_dropto().

#define s_Dropto ( t,
 )     s_Location(t,n)

Definition at line 217 of file db.h.

Referenced by check_dead_refs(), do_clone(), do_link(), and do_unlink().

#define s_Exits ( t,
 )     db[t].exits = (n)

Definition at line 207 of file db.h.

Referenced by check_loc_exits(), create_obj(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_exit(), destroy_obj(), do_clone(), do_drop(), do_fixdb(), do_get(), FUNCTION(), initialize_objects(), move_the_exit(), and open_exit().

#define s_Flags ( t,
f,
 )     db[t].fs.word[f] = (n)

Definition at line 212 of file db.h.

Referenced by announce_connect(), chown_all(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_obj(), do_clone(), do_command(), do_icmd(), do_toad(), initialize_objects(), and Task_RunQueueEntry().

#define s_Home ( t,
 )     s_Link(t,n)

Definition at line 216 of file db.h.

Referenced by check_contents_chains(), check_dead_refs(), create_player(), divest_object(), do_clone(), do_create(), do_link(), empty_obj(), and FUNCTION().

#define s_Link ( t,
 )     db[t].link = (n)

Definition at line 209 of file db.h.

Referenced by check_dead_refs(), create_obj(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_obj(), initialize_objects(), and make_freelist().

#define s_Location ( t,
 )     db[t].location = (n)

Definition at line 202 of file db.h.

Referenced by check_contents_chains(), check_loc_exits(), create_obj(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_obj(), do_clone(), do_fixdb(), do_unlink(), empty_obj(), initialize_objects(), link_exit(), move_object(), and open_exit().