Use new session entry points to get remote and user rather than dereference

the DCB directly.
This commit is contained in:
Mark Riddoch
2014-06-19 16:07:21 +01:00
parent 058d553973
commit c759767a91
5 changed files with 26 additions and 15 deletions

View File

@ -150,6 +150,7 @@ bool session_free(SESSION *);
int session_isvalid(SESSION *);
int session_reply(void *inst, void *session, GWBUF *data);
char *session_get_remote(SESSION *);
char *session_getUser(SESSION *);
void printAllSessions();
void printSession(SESSION *);
void dprintAllSessions(struct dcb *);