diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:05:45 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-06 15:06:55 +0100 |
commit | 541756a5f6af26338add0b1ac7a1c0c3bb518b80 (patch) | |
tree | 56b0e931c4ba14f2541f51432d9cadc132f7eabd /src/afb-session.h | |
parent | e106c1b5e5c4a27d6907f8f1dc55443506135072 (diff) |
afb-session: add function afb_session_search
Also the function afb_session_get always create
a session even if 'created' is NULL
Change-Id: Ia5ac1231e1d61e92cb9bbc07c968e3000d6864ff
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-session.h')
-rw-r--r-- | src/afb-session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-session.h b/src/afb-session.h index c76d6769..a8009bfd 100644 --- a/src/afb-session.h +++ b/src/afb-session.h @@ -23,6 +23,7 @@ extern void afb_session_init(int max_session_count, int timeout, const char *ini extern const char *afb_session_initial_token(); extern struct afb_session *afb_session_create (int timeout); +extern struct afb_session *afb_session_search (const char *uuid); extern struct afb_session *afb_session_get (const char *uuid, int *created); extern const char *afb_session_uuid (struct afb_session *session); |