#ifndef CWORKER_H_QWERTY #define CWORKER_H_QWERTY #include typedef struct { int64_t port; int socket; int nofork; int logfd; } cworker_t; int cworker_init(cworker_t* worker, char** argv, int argc); int cworker_detach(const cworker_t* worker); int cworker_writepid(const cworker_t* worker); int cworker_configure(const cworker_t* worker); int cworker_build(cworker_t* worker); int cworker_run(const cworker_t* worker); #endif