#ifndef WH_WORKER_H_bcae4d5f_ #define WH_WORKER_H_bcae4d5f_ #include #include #include "es.h" typedef struct worker WORKER; struct worker { WORKER *link; const char *tag; int fd; int id; pid_t kid; void (*from)(const char *, int); ES in; AIO_OQ oq; } ; extern void worker_common_startup(WORKER *, void (*)(const char *, int)); #endif