blob: 5bde7473710fdf28a5d84b7406bed2c86c02e569 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001#ifndef LPC_CONFIGURATION_H_
2#define LPC_CONFIGURATION_H_
3
4/* Definition of argument values for the configure_*() efuns.
5 */
6
7/* Possible options for configure_interactive().
8 */
9#define IC_MAX_WRITE_BUFFER_SIZE 0
10#define IC_SOCKET_BUFFER_SIZE 1
11#define IC_COMBINE_CHARSET_AS_STRING 2
12#define IC_COMBINE_CHARSET_AS_ARRAY 3
13#define IC_CONNECTION_CHARSET_AS_STRING 4
14#define IC_CONNECTION_CHARSET_AS_ARRAY 5
15#define IC_QUOTE_IAC 6
16#define IC_TELNET_ENABLED 7
17#define IC_MCCP 8
18#define IC_PROMPT 9
19#define IC_MAX_COMMANDS 10
20#define IC_MODIFY_COMMAND 11
Zesstraffb18e92019-09-27 16:17:09 +020021#define IC_ENCODING 12
MG Mud User88f12472016-06-24 23:31:02 +020022
23/* Possible options for configure_object().
24 */
25#define OC_COMMANDS_ENABLED 0
26#define OC_HEART_BEAT 1
Zesstra7b2fbe72017-06-17 19:05:06 +020027#define OC_EUID 2
MG Mud User88f12472016-06-24 23:31:02 +020028
29/* Possible options for configure_driver().
30 */
31#define DC_MEMORY_LIMIT 0
32#define DC_ENABLE_HEART_BEATS 1
33#define DC_LONG_EXEC_TIME 2
34#define DC_DATA_CLEAN_TIME 3
35#define DC_TLS_CERTIFICATE 4
36#define DC_TLS_DHE_PARAMETER 5
37#define DC_TLS_CIPHERLIST 6
38#define DC_EXTRA_WIZINFO_SIZE 7
39#define DC_DEFAULT_RUNTIME_LIMITS 8
40#define DC_SWAP_COMPACT_MODE 9
Zesstraffb18e92019-09-27 16:17:09 +020041#define DC_SWAP_TIME 10
42#define DC_SWAP_VAR_TIME 11
43#define DC_CLEANUP_TIME 12
44#define DC_RESET_TIME 13
45#define DC_DEBUG_FILE 14
46#define DC_FILESYSTEM_ENCODING 15
47
48#define DC_SIGACTION_SIGHUP 20
49#define DC_SIGACTION_SIGINT 21
50#define DC_SIGACTION_SIGUSR1 22
51#define DC_SIGACTION_SIGUSR2 23
52
53/* Values for the DC_SIGACTION_SIG* options:
54 */
55#define DCS_DEFAULT 0
56#define DCS_IGNORE 1
57#define DCS_TERMINATE 2
58#define DCS_SHUTDOWN 3
59#define DCS_INFORM_MASTER 4
60#define DCS_RELOAD_MASTER 5
61#define DCS_THROW_EXCEPTION 6
MG Mud User88f12472016-06-24 23:31:02 +020062
63#endif /* LPC_CONFIGURATION_H_ */