Addition of connect function to dcb functions and added dcb_connect routine

This commit is contained in:
Mark Riddoch
2013-06-14 17:55:31 +02:00
parent ebbe4bf035
commit 34372fbc5d
3 changed files with 47 additions and 1 deletions

View File

@ -36,7 +36,7 @@ typedef struct session {
int state; /* Current descriptor state */
struct dcb *client; /* The client connection */
struct dcb *backends; /* The set of backend servers */
void *data; /* The session data */
void *data; /* The session data */
} SESSION;
#define SESSION_STATE_ALLOC 0