PennMUSH Community
Show
Ignore:
Timestamp:
06/12/07 15:21:47 (1 year ago)
Author:
shawnw
Message:

1.8.3p3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/trunk/hdrs/conf.h

    r846 r919  
    6969#define SPILLOVER_THRESHOLD     0 
    7070/* #define SPILLOVER_THRESHOLD  (MAX_OUTPUT / 2) */ 
    71 #define COMMAND_TIME_MSEC 1000 /* time slice length in milliseconds */ 
    72 #define COMMAND_BURST_SIZE 100 /* commands allowed per user in a burst */ 
    73 #define COMMANDS_PER_TIME 1    /* commands per time slice after burst */ 
     71#define COMMAND_TIME_MSEC 1000  /* time slice length in milliseconds */ 
     72#define COMMAND_BURST_SIZE 100  /* commands allowed per user in a burst */ 
     73#define COMMANDS_PER_TIME 1     /* commands per time slice after burst */ 
    7474 
    7575 
     
    8383 
    8484typedef int (*config_func) (const char *opt, const char *val, void *loc, 
    85                int maxval, int source); 
     85                            int maxval, int source); 
    8686 
    8787/** Runtime configuration parameter. 
     
    8989 */ 
    9090typedef struct confparm { 
    91   const char *name;        /**< name of option. */ 
     91  const char *name;             /**< name of option. */ 
    9292  /** the function handler. */ 
    9393  config_func handler; 
    94   void *loc;           /**< place to put this option. */ 
    95   int max;         /**< max: string length, integer value. */ 
    96   int overridden;      /**< Has the default been overridden? */ 
    97   const char *group;       /**< The option's group name */ 
     94  void *loc;                    /**< place to put this option. */ 
     95  int max;                      /**< max: string length, integer value. */ 
     96  int overridden;               /**< Has the default been overridden? */ 
     97  const char *group;            /**< The option's group name */ 
    9898} PENNCONF; 
    9999 
     
    103103 */ 
    104104struct options_table { 
    105   char mud_name[128];  /**< The name of the mush */ 
    106   int port;        /**< The port to listen for connections */ 
    107   int ssl_port;        /**< The port to listen for SSL connections */ 
    108   char input_db[256];  /**< Name of the input database file */ 
    109   char output_db[256]; /**< Name of the output database file */ 
    110   char crash_db[256];  /**< Name of the panic database file */ 
    111   char mail_db[256];   /**< Name of the mail database file */ 
    112   dbref player_start;  /**< The room in which new players are created */ 
    113   dbref master_room;   /**< The master room for global commands/exits */ 
    114   dbref ancestor_room; /**< The ultimate parent room */ 
    115   dbref ancestor_exit; /**< The ultimate parent exit */ 
    116   dbref ancestor_thing;    /**< The ultimate parent thing */ 
     105  char mud_name[128];   /**< The name of the mush */ 
     106  int port;             /**< The port to listen for connections */ 
     107  int ssl_port;         /**< The port to listen for SSL connections */ 
     108  char input_db[256];   /**< Name of the input database file */ 
     109  char output_db[256];  /**< Name of the output database file */ 
     110  char crash_db[256];   /**< Name of the panic database file */ 
     111  char mail_db[256];    /**< Name of the mail database file */ 
     112  dbref player_start;   /**< The room in which new players are created */ 
     113  dbref master_room;    /**< The master room for global commands/exits */ 
     114  dbref ancestor_room;  /**< The ultimate parent room */ 
     115  dbref ancestor_exit;  /**< The ultimate parent exit */ 
     116  dbref ancestor_thing; /**< The ultimate parent thing */ 
    117117  dbref ancestor_player; /**< The ultimate parent player */ 
    118   int idle_timeout;    /**< Maximum idle time allowed, in minutes */ 
    119   int unconnected_idle_timeout;    /**< Maximum idle time for connections without dbrefs, in minutes */ 
     118  int idle_timeout;     /**< Maximum idle time allowed, in minutes */ 
     119  int unconnected_idle_timeout; /**< Maximum idle time for connections without dbrefs, in minutes */ 
    120120  int keepalive_timeout; /**< Number of seconds between TCP keepalive pings */ 
    121   int dump_interval;   /**< Interval between database dumps, in seconds */ 
     121  int dump_interval;    /**< Interval between database dumps, in seconds */ 
    122122  char dump_message[256]; /**< Message shown at start of nonforking dump */ 
    123123  char dump_complete[256]; /**< Message shown at end of nonforking dump */ 
    124   time_t dump_counter; /**< Time since last dump */ 
    125   int ident_timeout;   /**< Timeout for ident lookups */ 
    126   int max_logins;  /**< Maximum total logins allowed at once */ 
    127   int max_guests;  /**< Maximum guests logins allowed at once */ 
    128   int whisper_loudness;    /**< % chance that a noisy whisper is overheard */ 
    129   int blind_page;  /**< Does page default to page/blind? */ 
    130   int page_aliases;    /**< Does page include aliases? */ 
    131   int paycheck;        /**< Number of pennies awarded each day of connection */ 
    132   int guest_paycheck;  /**< Paycheck for guest connections */ 
    133   int starting_money;  /**< Number of pennies for newly created players */ 
    134   int starting_quota;  /**< Object quota for newly created players */ 
     124  time_t dump_counter;  /**< Time since last dump */ 
     125  int ident_timeout;    /**< Timeout for ident lookups */ 
     126  int max_logins;       /**< Maximum total logins allowed at once */ 
     127  int max_guests;       /**< Maximum guests logins allowed at once */ 
     128  int whisper_loudness; /**< % chance that a noisy whisper is overheard */ 
     129  int blind_page;       /**< Does page default to page/blind? */ 
     130  int page_aliases;     /**< Does page include aliases? */ 
     131  int paycheck;         /**< Number of pennies awarded each day of connection */ 
     132  int guest_paycheck;   /**< Paycheck for guest connections */ 
     133  int starting_money;   /**< Number of pennies for newly created players */ 
     134  int starting_quota;   /**< Object quota for newly created players */ 
    135135  int player_queue_limit; /**< Maximum commands a player can queue at once */ 
    136   int queue_chunk; /**< Number of commands run from queue when no input from sockets is waiting */ 
    137   int active_q_chunk;  /**< Number of commands run from queue when input from sockets is waiting */ 
    138   int func_nest_lim;   /**< Maximum function recursion depth */ 
    139   int func_invk_lim;   /**< Maximum number of function invocations */ 
    140   int call_lim;        /**< Maximum parser calls allowed in a queue cycle */ 
    141   char log_wipe_passwd[256];   /**< Password for logwipe command */ 
    142   char money_singular[32]; /**< Currency unit name, singular */ 
    143   char money_plural[32];   /**< Currency unit name, plural */ 
    144   char compressprog[256];  /**< Program to compress database dumps */ 
    145   char uncompressprog[256];    /**< Program to uncompress database dumps */ 
    146   char compresssuff[256];  /**< Suffix for compressed dump files */ 
    147   char chatdb[256];        /**< Name of the chat database file */ 
    148   int max_player_chans;        /**< Number of channels a player can create */ 
    149   int max_channels;        /**< Total maximum allowed channels */ 
    150   int chan_cost;       /**< Cost to create a channel */ 
    151   int noisy_cemit;     /**< Is @cemit noisy by default? */ 
    152   char connect_file[2][256];   /**< Names of text and html connection files */ 
    153   char motd_file[2][256];  /**< Names of text and html motd files */ 
    154   char wizmotd_file[2][256];   /**< Names of text and html wizmotd files */ 
    155   char newuser_file[2][256];   /**< Names of text and html new user files */ 
    156   char register_file[2][256];  /**< Names of text and html registration files */ 
    157   char quit_file[2][256];  /**< Names of text and html disconnection files */ 
    158   char down_file[2][256];  /**< Names of text and html server down files */ 
    159   char full_file[2][256];  /**< Names of text and html server full files */ 
    160   char guest_file[2][256]; /**< Names of text and html guest files */ 
    161   int log_commands;    /**< Should we log all commands? */ 
    162   int log_forces;  /**< Should we log force commands? */ 
    163   int support_pueblo;  /**< Should the MUSH send Pueblo tags? */ 
    164   int login_allow; /**< Are mortals allowed to log in? */ 
    165   int guest_allow; /**< Are guests allowed to log in? */ 
    166   int create_allow;    /**< Can new players be created? */ 
    167   int reverse_shs; /**< Should the SHS routines assume little-endian byte order? */ 
    168   char player_flags[BUFFER_LEN];   /**< Space-separated list of flags to set on newly created players. */ 
    169   char room_flags[BUFFER_LEN];     /**< Space-separated list of flags to set on newly created rooms. */ 
    170   char exit_flags[BUFFER_LEN];     /**< Space-separated list of flags to set on newly created exits. */ 
    171   char thing_flags[BUFFER_LEN];        /**< Space-separated list of flags to set on newly created things. */ 
    172   char channel_flags[BUFFER_LEN];  /**< Space-separated list of flags to set on newly created channels. */ 
    173   int warn_interval;   /**< Interval between warning checks */ 
    174   time_t warn_counter; /**< Time since last warning check */ 
    175   dbref base_room; /**< Room which floating checks consider as the base */ 
    176   dbref default_home;  /**< Home for the homeless */ 
    177   int use_dns;     /**< Should we use DNS lookups? */ 
    178   int safer_ufun;  /**< Should we require security for ufun calls? */ 
    179   char dump_warning_1min[256]; /**< 1 minute nonforking dump warning message */ 
    180   char dump_warning_5min[256]; /**< 5 minute nonforking dump warning message */ 
    181   int noisy_whisper;   /**< Does whisper default to whisper/noisy? */ 
    182   int possessive_get;  /**< Can possessive get be used? */ 
    183   int possessive_get_d;    /**< Can possessive get be used on disconnected players? */ 
    184   int really_safe; /**< Does the SAFE flag protect objects from nuke */ 
    185   int destroy_possessions; /**< Are the possessions of a nuked player nuked? */ 
    186   int null_eq_zero;    /**< Is null string treated as 0 in math functions? */ 
    187   int tiny_booleans;   /**< Do strings and db#'s evaluate as false, like TinyMUSH? */ 
    188   int tiny_trim_fun;   /**< Does the trim function take arguments in TinyMUSH order? */ 
    189   int tiny_math;   /**< Can you use strings in math functions, like TinyMUSH? */ 
    190   int adestroy;        /**< Is the adestroy attribute available? */ 
    191   int amail;       /**< Is the amail attribute available? */ 
    192   int mail_limit;  /**< Maximum number of mail messages per player */ 
    193   int player_listen;   /**< Does listen work on players? */ 
    194   int player_ahear;    /**< Does ahear work on players? */ 
    195   int startups;        /**< Is startup run on startups? */ 
    196   int room_connects;   /**< Do players trigger aconnect/adisconnect on their location? */ 
    197   int ansi_names;  /**< Are object names shown in bold? */ 
    198   int comma_exit_list; /**< Should exit lists be itemized? */ 
    199   int count_all;   /**< Are hidden players included in total player counts? */ 
    200   int exits_connect_rooms; /**< Does the presence of an exit make a room connected? */ 
    201   int zone_control;    /**< Are only ZMPs allowed to determine zone-based control? */ 
    202   int link_to_object;  /**< Can exits be linked to objects? */ 
    203   int owner_queues;    /**< Are queues tracked by owner or individual object? */ 
    204   int wiz_noaenter;    /**< Do DARK wizards trigger aenters? */ 
    205   int use_ident;   /**< Should we do ident checks on connections? */ 
    206   char ip_addr[64];    /**< What ip address should the server bind to? */ 
    207   char ssl_ip_addr[64];    /**< What ip address should the server bind to? */ 
    208   int player_name_spaces;  /**< Can players have multiword names? */ 
    209   int max_aliases;     /**< Maximum allowed aliases per player */ 
    210   int forking_dump;    /**< Should we fork to dump? */ 
    211   int restrict_building;   /**< Is the builder power required to build? */ 
    212   int free_objects;    /**< If builder power is required, can you create without it? */ 
    213   int flags_on_examine;    /**< Are object flags shown when it's examined? */ 
    214   int ex_public_attribs;   /**< Are visual attributes shown on examine? */ 
    215   int full_invis;  /**< Are DARK wizards anonymous? */ 
    216   int silent_pemit;    /**< Does pemit default to pemit/silent? */ 
    217   dbref max_dbref; /**< Maximum allowable database size */ 
    218   int chat_strip_quote;    /**< Should we strip initial quotes in chat? */ 
    219   char wizwall_prefix[256];    /**< Prefix for wizwall announcements */ 
    220   char rwall_prefix[256];  /**< Prefix for rwall announcements */ 
    221   char wall_prefix[256];   /**< Prefix for wall announcements */ 
    222   int announce_connects;   /**< Should dis/connects be announced? */ 
    223   char access_file[256];   /**< Name of file of access control rules */ 
    224   char names_file[256];    /**< Name of file of forbidden player names */ 
    225   int object_cost; /**< Cost to create an object */ 
    226   int exit_cost;   /**< Cost to create an exit */ 
    227   int link_cost;   /**< Cost to link an exit */ 
    228   int room_cost;   /**< Cost to dig a room */ 
    229   int queue_cost;  /**< Deposit to queue a command */ 
    230   int quota_cost;  /**< Number of objects per quota unit */ 
    231   int find_cost;   /**< Cost to create an object */ 
    232   int page_cost;   /**< Cost to create an object */ 
    233   int kill_default_cost;   /**< Default cost to use 'kill' */ 
    234   int kill_min_cost;   /**< Minimum cost to use 'kill' */ 
    235   int kill_bonus;  /**< Percentage of cost paid to victim of 'kill' */ 
    236   int queue_loss;  /**< 1/queue_loss chance of a command costing a penny */ 
    237   int max_pennies; /**< Maximum pennies a player can have */ 
    238   int max_guest_pennies;   /**< Maximum pennies a guest can have */ 
    239   int max_depth;   /**< Maximum container depth */ 
    240   int max_parents; /**< Maximum parent depth */ 
    241   int purge_interval;  /**< Time between automatic purges */ 
    242   time_t purge_counter;    /**< Time since last automatic purge */ 
    243   int dbck_interval;   /**< Time between automatic dbcks */ 
    244   time_t dbck_counter; /**< Time since last automatic dbck */ 
    245   int max_attrcount;   /**< Maximum number of attributes per object */ 
    246   int float_precision; /**< Precision of floating point display */ 
    247   int newline_one_char;    /**< Should a newline be counted as 1 character or 2? */ 
    248   int player_name_len; /**< Maximum length of player names */ 
    249   int queue_entry_cpu_time;    /**< Maximum cpu time allowed per queue entry */ 
    250   int ascii_names; /**< Are object names restricted to ascii characters? */ 
    251   int max_global_fns;  /**< Maximum number of functions */ 
    252   char chunk_swap_file[256];   /**< Name of the attribute swap file */ 
    253   int chunk_cache_memory;  /**< Memory to use for the attribute cache */ 
    254   int chunk_migrate_amount;    /**< Number of attrs to migrate each second */ 
    255   int read_remote_desc;    /**< Can players read DESCRIBE attribute remotely? */ 
     136  int queue_chunk;      /**< Number of commands run from queue when no input from sockets is waiting */ 
     137  int active_q_chunk;   /**< Number of commands run from queue when input from sockets is waiting */ 
     138  int func_nest_lim;    /**< Maximum function recursion depth */ 
     139  int func_invk_lim;    /**< Maximum number of function invocations */ 
     140  int call_lim;         /**< Maximum parser calls allowed in a queue cycle */ 
     141  char log_wipe_passwd[256];    /**< Password for logwipe command */ 
     142  char money_singular[32];      /**< Currency unit name, singular */ 
     143  char money_plural[32];        /**< Currency unit name, plural */ 
     144  char compressprog[256];       /**< Program to compress database dumps */ 
     145  char uncompressprog[256];     /**< Program to uncompress database dumps */ 
     146  char compresssuff[256];       /**< Suffix for compressed dump files */ 
     147  char chatdb[256];             /**< Name of the chat database file */ 
     148  int max_player_chans;         /**< Number of channels a player can create */ 
     149  int max_channels;             /**< Total maximum allowed channels */ 
     150  int chan_cost;                /**< Cost to create a channel */ 
     151  int noisy_cemit;              /**< Is @cemit noisy by default? */ 
     152  char connect_file[2][256];    /**< Names of text and html connection files */ 
     153  char motd_file[2][256];       /**< Names of text and html motd files */ 
     154  char wizmotd_file[2][256];    /**< Names of text and html wizmotd files */ 
     155  char newuser_file[2][256];    /**< Names of text and html new user files */ 
     156  char register_file[2][256];   /**< Names of text and html registration files */ 
     157  char quit_file[2][256];       /**< Names of text and html disconnection files */ 
     158  char down_file[2][256];       /**< Names of text and html server down files */ 
     159  char full_file[2][256];       /**< Names of text and html server full files */ 
     160  char guest_file[2][256];      /**< Names of text and html guest files */ 
     161  int log_commands;     /**< Should we log all commands? */ 
     162  int log_forces;       /**< Should we log force commands? */ 
     163  int support_pueblo;   /**< Should the MUSH send Pueblo tags? */ 
     164  int login_allow;      /**< Are mortals allowed to log in? */ 
     165  int guest_allow;      /**< Are guests allowed to log in? */ 
     166  int create_allow;     /**< Can new players be created? */ 
     167  int reverse_shs;      /**< Should the SHS routines assume little-endian byte order? */ 
     168  char player_flags[BUFFER_LEN];        /**< Space-separated list of flags to set on newly created players. */ 
     169  char room_flags[BUFFER_LEN];          /**< Space-separated list of flags to set on newly created rooms. */ 
     170  char exit_flags[BUFFER_LEN];          /**< Space-separated list of flags to set on newly created exits. */ 
     171  char thing_flags[BUFFER_LEN];         /**< Space-separated list of flags to set on newly created things. */ 
     172  char channel_flags[BUFFER_LEN];       /**< Space-separated list of flags to set on newly created channels. */ 
     173  int warn_interval;    /**< Interval between warning checks */ 
     174  time_t warn_counter;  /**< Time since last warning check */ 
     175  dbref base_room;      /**< Room which floating checks consider as the base */ 
     176  dbref default_home;   /**< Home for the homeless */ 
     177  int use_dns;          /**< Should we use DNS lookups? */ 
     178  int safer_ufun;       /**< Should we require security for ufun calls? */ 
     179  char dump_warning_1min[256];  /**< 1 minute nonforking dump warning message */ 
     180  char dump_warning_5min[256];  /**< 5 minute nonforking dump warning message */ 
     181  int noisy_whisper;    /**< Does whisper default to whisper/noisy? */ 
     182  int possessive_get;   /**< Can possessive get be used? */ 
     183  int possessive_get_d; /**< Can possessive get be used on disconnected players? */ 
     184  int really_safe;      /**< Does the SAFE flag protect objects from nuke */ 
     185  int destroy_possessions;      /**< Are the possessions of a nuked player nuked? */ 
     186  int null_eq_zero;     /**< Is null string treated as 0 in math functions? */ 
     187  int tiny_booleans;    /**< Do strings and db#'s evaluate as false, like TinyMUSH? */ 
     188  int tiny_trim_fun;    /**< Does the trim function take arguments in TinyMUSH order? */ 
     189  int tiny_math;        /**< Can you use strings in math functions, like TinyMUSH? */ 
     190  int adestroy;         /**< Is the adestroy attribute available? */ 
     191  int amail;            /**< Is the amail attribute available? */ 
     192  int mail_limit;       /**< Maximum number of mail messages per player */ 
     193  int player_listen;    /**< Does listen work on players? */ 
     194  int player_ahear;     /**< Does ahear work on players? */ 
     195  int startups;         /**< Is startup run on startups? */ 
     196  int room_connects;    /**< Do players trigger aconnect/adisconnect on their location? */ 
     197  int ansi_names;       /**< Are object names shown in bold? */ 
     198  int comma_exit_list;  /**< Should exit lists be itemized? */ 
     199  int count_all;        /**< Are hidden players included in total player counts? */ 
     200  int exits_connect_rooms;      /**< Does the presence of an exit make a room connected? */ 
     201  int zone_control;     /**< Are only ZMPs allowed to determine zone-based control? */ 
     202  int link_to_object;   /**< Can exits be linked to objects? */ 
     203  int owner_queues;     /**< Are queues tracked by owner or individual object? */ 
     204  int wiz_noaenter;     /**< Do DARK wizards trigger aenters? */ 
     205  int use_ident;        /**< Should we do ident checks on connections? */ 
     206  char ip_addr[64];     /**< What ip address should the server bind to? */ 
     207  char ssl_ip_addr[64]; /**< What ip address should the server bind to? */ 
     208  int player_name_spaces;       /**< Can players have multiword names? */ 
     209  int max_aliases;              /**< Maximum allowed aliases per player */ 
     210  int forking_dump;     /**< Should we fork to dump? */ 
     211  int restrict_building;        /**< Is the builder power required to build? */ 
     212  int free_objects;     /**< If builder power is required, can you create without it? */ 
     213  int flags_on_examine; /**< Are object flags shown when it's examined? */ 
     214  int ex_public_attribs;        /**< Are visual attributes shown on examine? */ 
     215  int full_invis;       /**< Are DARK wizards anonymous? */ 
     216  int silent_pemit;     /**< Does pemit default to pemit/silent? */ 
     217  dbref max_dbref;      /**< Maximum allowable database size */ 
     218  int chat_strip_quote; /**< Should we strip initial quotes in chat? */ 
     219  char wizwall_prefix[256];     /**< Prefix for wizwall announcements */ 
     220  char rwall_prefix[256];       /**< Prefix for rwall announcements */ 
     221  char wall_prefix[256];        /**< Prefix for wall announcements */ 
     222  int announce_connects;        /**< Should dis/connects be announced? */ 
     223  char access_file[256];        /**< Name of file of access control rules */ 
     224  char names_file[256]; /**< Name of file of forbidden player names */ 
     225  int object_cost;      /**< Cost to create an object */ 
     226  int exit_cost;        /**< Cost to create an exit */ 
     227  int link_cost;        /**< Cost to link an exit */ 
     228  int room_cost;        /**< Cost to dig a room */ 
     229  int queue_cost;       /**< Deposit to queue a command */ 
     230  int quota_cost;       /**< Number of objects per quota unit */ 
     231  int find_cost;        /**< Cost to create an object */ 
     232  int page_cost;        /**< Cost to create an object */ 
     233  int kill_default_cost;        /**< Default cost to use 'kill' */ 
     234  int kill_min_cost;    /**< Minimum cost to use 'kill' */ 
     235  int kill_bonus;       /**< Percentage of cost paid to victim of 'kill' */ 
     236  int queue_loss;       /**< 1/queue_loss chance of a command costing a penny */ 
     237  int max_pennies;      /**< Maximum pennies a player can have */ 
     238  int max_guest_pennies;        /**< Maximum pennies a guest can have */ 
     239  int max_depth;        /**< Maximum container depth */ 
     240  int max_parents;      /**< Maximum parent depth */ 
     241  int purge_interval;   /**< Time between automatic purges */ 
     242  time_t purge_counter; /**< Time since last automatic purge */ 
     243  int dbck_interval;    /**< Time between automatic dbcks */ 
     244  time_t dbck_counter;  /**< Time since last automatic dbck */ 
     245  int max_attrcount;    /**< Maximum number of attributes per object */ 
     246  int float_precision;  /**< Precision of floating point display */ 
     247  int newline_one_char; /**< Should a newline be counted as 1 character or 2? */ 
     248  int player_name_len;  /**< Maximum length of player names */ 
     249  int queue_entry_cpu_time;     /**< Maximum cpu time allowed per queue entry */ 
     250  int ascii_names;      /**< Are object names restricted to ascii characters? */ 
     251  int max_global_fns;   /**< Maximum number of functions */ 
     252  char chunk_swap_file[256];    /**< Name of the attribute swap file */ 
     253  int chunk_cache_memory;       /**< Memory to use for the attribute cache */ 
     254  int chunk_migrate_amount;     /**< Number of attrs to migrate each second */ 
     255  int read_remote_desc; /**< Can players read DESCRIBE attribute remotely? */ 
    256256#ifdef HAS_OPENSSL 
    257   char ssl_private_key_file[256];  /**< File to load the server's cert from */ 
    258   char ssl_ca_file[256];   /**< File to load the CA certs from */ 
    259   int ssl_require_client_cert; /**< Are clients required to present certs? */ 
     257  char ssl_private_key_file[256];       /**< File to load the server's cert from */ 
     258  char ssl_ca_file[256];        /**< File to load the CA certs from */ 
     259  int ssl_require_client_cert;  /**< Are clients required to present certs? */ 
    260260#endif 
    261   int mem_check;   /**< Turn on the memory allocation checker? */ 
    262   int use_quota;   /**< Are quotas enabled? */ 
    263   int empty_attrs; /**< Are empty attributes preserved? */ 
     261  int mem_check;        /**< Turn on the memory allocation checker? */ 
     262  int use_quota;        /**< Are quotas enabled? */ 
     263  int empty_attrs;      /**< Are empty attributes preserved? */ 
    264264  int function_side_effects; /**< Turn on side effect functions? */ 
    265265  char error_log[256]; /**< File to log connections */ 
    266266  char connect_log[256]; /**< File to log connections */ 
    267   char wizard_log[256];    /**< File to log wizard commands */ 
     267  char wizard_log[256]; /**< File to log wizard commands */ 
    268268  char command_log[256]; /**< File to log suspect commands */ 
    269269  char trace_log[256]; /**< File to log trace data */ 
     
    280280 
    281281extern PENNCONF *add_config(const char *name, config_func handler, void *loc, 
    282                int max, const char *group); 
     282                            int max, const char *group); 
    283283extern PENNCONF *new_config(void); 
    284284extern PENNCONF *get_config(const char *name); 
     
    287287 
    288288int cf_bool(const char *opt, const char *val, void *loc, int maxval, 
    289        int from_cmd); 
     289            int from_cmd); 
    290290int cf_str(const char *opt, const char *val, void *loc, int maxval, 
    291       int from_cmd); 
     291           int from_cmd); 
    292292int cf_int(const char *opt, const char *val, void *loc, int maxval, 
    293       int from_cmd); 
     293           int from_cmd); 
    294294int cf_dbref(const char *opt, const char *val, void *loc, int maxval, 
    295         int from_cmd); 
     295             int from_cmd); 
    296296int cf_flag(const char *opt, const char *val, void *loc, int maxval, 
    297        int from_cmd); 
     297            int from_cmd); 
    298298int cf_time(const char *opt, const char *val, void *loc, int maxval, 
    299        int from_cmd); 
     299            int from_cmd); 
    300300 
    301301 
     
    453453 
    454454struct globals_table { 
    455   int database_loaded;        /**< True after the database has been read. */ 
    456   char dumpfile[200];        /**< File name to dump database to */ 
    457   time_t start_time;         /**< MUSH start time (since process exec'd) */ 
     455  int database_loaded;         /**< True after the database has been read. */ 
     456  char dumpfile[200];             /**< File name to dump database to */ 
     457  time_t start_time;              /**< MUSH start time (since process exec'd) */ 
    458458  time_t first_start_time;    /**< MUSH start time (since last shutdown) */ 
    459459  time_t last_dump_time;      /**< Time of last successful db save */ 
    460   int reboot_count;          /**< Number of reboots so far */ 
    461   int paranoid_dump;         /**< if paranoid, scan before dumping */ 
    462   int paranoid_checkpt;          /**< write out an okay message every x objs */ 
    463   long indb_flags;       /**< flags set in the input database */ 
    464   int on_second;         /**< is it time for per-second processes? */ 
     460  int reboot_count;           /**< Number of reboots so far */ 
     461  int paranoid_dump;          /**< if paranoid, scan before dumping */ 
     462  int paranoid_checkpt;       /**< write out an okay message every x objs */ 
     463  long indb_flags;            /**< flags set in the input database */ 
     464  int on_second;              /**< is it time for per-second processes? */ 
    465465}; 
    466466 
    467467extern GLOBALTAB globals; 
    468468 
    469 #endif             /* __PENN_CONF_H */ 
     469#endif                          /* __PENN_CONF_H */