aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-session.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-07 19:25:15 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-07 19:25:15 +0100
commit9fcc6c5d9cb59065e57fa24a80a8912516c8c20c (patch)
treea61d92e690b739dcf8114fe32233d7826f2ef950 /src/afb-session.h
parentef3d8bddfd976643620f56471a4711cd0daa197f (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.h2
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);