#ifndef MASTER_SERVICE_PRIVATE_H
#define MASTER_SERVICE_PRIVATE_H
#include "master-interface.h"
#include "master-service.h"
struct master_service_haproxy_conn;
struct master_service_listener {
char *name;
/* settings */
bool ssl;
bool haproxy;
/* state */
bool closed;
int fd;
};
struct master_service {
char *name;
char *getopt_str;
int argc;
char **argv;
const char *version_string;
char *config_path;
int config_fd;
int syslog_facility;
unsigned int socket_count;
unsigned int service_count_left;
unsigned int total_available_count;
unsigned int process_limit;
unsigned int process_min_avail;
unsigned int idle_kill_secs;
unsigned int last_sent_status_avail_count;
bool (*idle_die_callback)(void);
void (*die_callback)(void);
void (*avail_overflow_callback)(void);
};
struct master_service_connection *conn);
struct master_service_connection *conn);
struct master_service_connection *conn);
#endif