#ifndef SERVICE_ANVIL_H
#define SERVICE_ANVIL_H
struct service_anvil_global {
unsigned int uid;
/* passed to child processes */
/* used by master process to notify about dying processes */
/* master process sends new log fds to anvil via this unix socket */
unsigned int process_count;
/* anvil crashed and we're now restarting it */
bool restarted;
};
extern struct service_anvil_global *service_anvil_global;
void service_anvil_send_log_fd(void);
void service_anvil_global_init(void);
void service_anvil_global_deinit(void);
#endif