This commit is contained in:
2023-08-18 22:38:43 +02:00
parent db3bbf21c8
commit bdfed6f56b
20 changed files with 609 additions and 291 deletions

View File

@@ -6,6 +6,9 @@
typedef struct {
int64_t port;
int socket;
int nofork;
int logfd;
} cworker_t;
int cworker_init(cworker_t* worker, char** argv, int argc);
@@ -13,7 +16,7 @@ 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(const cworker_t* worker);
int cworker_build(cworker_t* worker);
int cworker_run(const cworker_t* worker);