service-process.h revision 0dffa25d211be541ee3c953b23566a1a990789df
#ifndef SERVICE_PROCESS_H
#define SERVICE_PROCESS_H
struct service_process {
int refcount;
unsigned int uid;
/* number of new connections process is currently accepting */
unsigned int available_count;
/* number of connections process has ever accepted */
unsigned int total_count;
/* time when process started idling, or 0 if we're not idling */
/* kill process if it hits idle timeout */
/* time when we last received a status update */
/* time when we last sent SIGINT to process */
/* kill the process if it doesn't send initial status notification */
bool destroyed:1;
};
#define SERVICE_PROCESS_IS_INITIALIZED(process) \
int status);
#endif