master-settings.h revision 63849db64682675a2fd3e1aea05c10ecbc6d473a
#ifndef MASTER_SETTINGS_H
#define MASTER_SETTINGS_H
/* <settings checks> */
enum service_type {
};
/* </settings checks> */
struct file_listener_settings {
const char *path;
unsigned int mode;
const char *user;
const char *group;
};
struct inet_listener_settings {
const char *address;
unsigned int port;
bool ssl;
};
struct service_settings {
struct master_settings *master_set;
const char *name;
const char *protocol;
const char *type;
const char *executable;
const char *user;
const char *group;
const char *privileged_group;
const char *extra_groups;
const char *chroot;
bool drop_priv_before_exec;
unsigned int process_min_avail;
unsigned int process_limit;
unsigned int client_limit;
unsigned int service_count;
unsigned int vsz_limit;
enum service_type parsed_type;
unsigned int login_dump_core:1;
};
struct master_settings {
const char *base_dir;
const char *libexec_dir;
const char *protocols;
const char *listen;
const char *ssl;
unsigned int default_process_limit;
unsigned int default_client_limit;
unsigned int default_vsz_limit;
bool version_ignore;
bool mail_debug;
bool auth_debug;
bool verbose_proctitle;
unsigned int first_valid_uid, last_valid_uid;
unsigned int first_valid_gid, last_valid_gid;
char **protocols_split;
};
extern struct setting_parser_info master_setting_parser_info;
#endif