#if !defined(_WORKER_H_) #define _WORKER_H_ 1 #include "config.h" #include "mylock.h" #include "netio.h" #include "xce/types.h" #include "zarray.h" extern xce_hostconfig_t* find_matched_hostconfig(cluster_t*, const char*); extern int init_worker(cluster_t*, endpoint_t*, const char*, hostattrs_t*, xce_hostconfig_t*); extern int rejoin_worker(cluster_t*, worker_t*, endpoint_t*, hostattrs_t*, xce_hostconfig_t*); extern int restore_worker(void*, xce_worker_t); extern int worker_from_capnp(cluster_t*, const void*, size_t); #endif