Improved to diagnostic routines and documentation for the debug cli interpreter

This commit is contained in:
Mark Riddoch
2013-06-20 15:03:55 +02:00
parent e55631e60f
commit 088b3473bc
6 changed files with 85 additions and 5 deletions

View File

@ -54,7 +54,7 @@ typedef struct session {
struct dcb *client; /**< The client connection */
struct dcb *backends; /**< The set of backend servers */
void *data; /**< The session data */
void *router_session;/**< The router insatnce data */
void *router_session;/**< The router instance data */
SESSION_STATS stats; /**< Session statistics */
struct service *service; /**< The service this session is using */
struct session *next; /**< Linked list of all sessions */
@ -71,4 +71,6 @@ extern void session_free(SESSION *);
extern void printAllSessions();
extern void printSession(SESSION *);
extern void dprintAllSessions(struct dcb *);
extern void dprintSession(struct dcb *, SESSION *);
extern char *session_state(int);
#endif