MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | #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 |
Zesstra | 0a6b088 | 2019-09-27 16:17:09 +0200 | [diff] [blame] | 21 | #define IC_ENCODING 12 |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 22 | |
| 23 | /* Possible options for configure_object(). |
| 24 | */ |
| 25 | #define OC_COMMANDS_ENABLED 0 |
| 26 | #define OC_HEART_BEAT 1 |
Zesstra | 7b2fbe7 | 2017-06-17 19:05:06 +0200 | [diff] [blame] | 27 | #define OC_EUID 2 |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 28 | |
| 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 |
Zesstra | 0a6b088 | 2019-09-27 16:17:09 +0200 | [diff] [blame] | 41 | #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 User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 62 | |
| 63 | #endif /* LPC_CONFIGURATION_H_ */ |