diff options
Diffstat (limited to 'src/master/master-settings.h')
-rw-r--r-- | src/master/master-settings.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/master/master-settings.h b/src/master/master-settings.h new file mode 100644 index 0000000..1096d15 --- /dev/null +++ b/src/master/master-settings.h @@ -0,0 +1,35 @@ +#ifndef MASTER_SETTINGS_H +#define MASTER_SETTINGS_H + +#include "service-settings.h" + +struct master_settings { + const char *base_dir; + const char *state_dir; + const char *libexec_dir; + const char *instance_name; + const char *protocols; + const char *listen; + const char *ssl; + const char *default_internal_user; + const char *default_internal_group; + const char *default_login_user; + unsigned int default_process_limit; + unsigned int default_client_limit; + unsigned int default_idle_kill; + uoff_t default_vsz_limit; + + bool version_ignore; + + unsigned int first_valid_uid, last_valid_uid; + unsigned int first_valid_gid, last_valid_gid; + + ARRAY_TYPE(service_settings) services; + char **protocols_split; +}; + +extern const struct setting_parser_info master_setting_parser_info; + +void master_settings_do_fixes(const struct master_settings *set); + +#endif |