Browse Source

connsock_t is a ckpool only struct

master
Con Kolivas 11 years ago
parent
commit
6a3a333031
  1. 10
      src/ckpool.h
  2. 10
      src/libckpool.h

10
src/ckpool.h

@ -29,6 +29,16 @@ struct proc_instance {
int (*process)(proc_instance_t *); 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 { struct server_instance {
/* Hash table data */ /* Hash table data */
UT_hash_handle hh; UT_hash_handle hh;

10
src/libckpool.h

@ -211,16 +211,6 @@ struct cklock {
typedef struct cklock cklock_t; typedef struct cklock cklock_t;
struct connsock {
int fd;
char *url;
char *port;
char *auth;
char *buf;
};
typedef struct connsock connsock_t;
struct unixsock { struct unixsock {
int sockd; int sockd;
char *path; char *path;

Loading…
Cancel
Save