1 #ifndef MASTER_SETTINGS_H 2 #define MASTER_SETTINGS_H 3 4 #include "service-settings.h" 5 6 struct master_settings { 7 const char *base_dir; 8 const char *state_dir; 9 const char *libexec_dir; 10 const char *instance_name; 11 const char *protocols; 12 const char *listen; 13 const char *ssl; 14 const char *default_internal_user; 15 const char *default_internal_group; 16 const char *default_login_user; 17 unsigned int default_process_limit; 18 unsigned int default_client_limit; 19 unsigned int default_idle_kill; 20 uoff_t default_vsz_limit; 21 22 bool version_ignore; 23 24 unsigned int first_valid_uid, last_valid_uid; 25 unsigned int first_valid_gid, last_valid_gid; 26 27 ARRAY_TYPE(service_settings) services; 28 char **protocols_split; 29 }; 30 31 extern const struct setting_parser_info master_setting_parser_info; 32 33 void master_settings_do_fixes(const struct master_settings *set); 34 35 #endif 36