Added commands to debugcmd.c that enable and disable logs for a single session.

Added the session id to dprintAllSessions and dprintSession output.
This commit is contained in:
Markus Makela
2014-11-19 12:25:33 +02:00
parent a65d8cd525
commit 2556097a98
3 changed files with 40 additions and 29 deletions

View File

@ -148,6 +148,7 @@ typedef struct session {
((sess)->tail.clientReply)((sess)->tail.instance, \
(sess)->tail.session, (buf))
SESSION *get_all_sessions();
SESSION *session_alloc(struct service *, struct dcb *);
bool session_free(SESSION *);
int session_isvalid(SESSION *);