diff --git a/src/ckpool.h b/src/ckpool.h index bcb80616..669a2147 100644 --- a/src/ckpool.h +++ b/src/ckpool.h @@ -29,6 +29,16 @@ struct proc_instance { int (*process)(proc_instance_t *); }; +struct connsock { + int fd; + char *url; + char *port; + char *auth; + char *buf; +}; + +typedef struct connsock connsock_t; + struct server_instance { /* Hash table data */ UT_hash_handle hh; diff --git a/src/libckpool.h b/src/libckpool.h index 30c5eb26..52a91dd6 100644 --- a/src/libckpool.h +++ b/src/libckpool.h @@ -211,16 +211,6 @@ struct cklock { typedef struct cklock cklock_t; -struct connsock { - int fd; - char *url; - char *port; - char *auth; - char *buf; -}; - -typedef struct connsock connsock_t; - struct unixsock { int sockd; char *path;