From 6a3a3330319c4c5a31eda65221e4e39e71814fc3 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 9 Jun 2014 14:38:56 +1000 Subject: [PATCH] connsock_t is a ckpool only struct --- src/ckpool.h | 10 ++++++++++ src/libckpool.h | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) 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;