diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-07 19:25:15 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-07 19:25:15 +0100 |
commit | 9fcc6c5d9cb59065e57fa24a80a8912516c8c20c (patch) | |
tree | a61d92e690b739dcf8114fe32233d7826f2ef950 /src/afb-session.h | |
parent | ef3d8bddfd976643620f56471a4711cd0daa197f (diff) |
afb-stub-ws: manage closed sessions
Change-Id: I16620f12719c222c0da03caf330a865149fe9051
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-session.h')
-rw-r--r-- | src/afb-session.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/afb-session.h b/src/afb-session.h index 37cbeeeb..b27cbc80 100644 --- a/src/afb-session.h +++ b/src/afb-session.h @@ -35,6 +35,8 @@ extern struct afb_session *afb_session_addref(struct afb_session *session); extern void afb_session_unref(struct afb_session *session); extern void afb_session_close(struct afb_session *session); +extern int afb_session_is_active (struct afb_session *session); +extern int afb_session_is_closed (struct afb_session *session); extern int afb_session_check_token(struct afb_session *session, const char *token); extern void afb_session_new_token(struct afb_session *session); |