master-settings.h revision 27cd7a142ed0bb77cb87294d475c73250c84affe
#ifndef MASTER_SETTINGS_H
#define MASTER_SETTINGS_H
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;
const char *auth_dest_service;
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;
};
struct master_settings {
const char *base_dir;
const char *libexec_dir;
const char *protocols;
const char *ssl;
unsigned int default_process_limit;
unsigned int default_client_limit;
bool version_ignore;
bool mail_debug;
bool auth_debug;
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