aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-03-23 16:37:20 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-03-23 16:37:20 +0100
commitfe79c7ba875a9203020e72e82fa3524fd2fb74d2 (patch)
tree6439d725c771575cb8a668c82e6d99cc2bbe6f9f /include
parent2b1bd19ee26f4ee5b2010d830cdabed952a37be4 (diff)
session: removes file handling
Change-Id: Ib26a93bae5ef824fc570e634cf124b364b03fced Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include')
-rw-r--r--include/proto-def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proto-def.h b/include/proto-def.h
index 3650fce7..877fafe9 100644
--- a/include/proto-def.h
+++ b/include/proto-def.h
@@ -43,10 +43,12 @@ extern void initPlugins (AFB_session *session);
extern AFB_plugin* pluginRegister ();
// Session handling
+#if defined(ALLOWS_SESSION_FILES)
extern AFB_error sessionCheckdir (AFB_session *session);
extern json_object *sessionList (AFB_session *session, AFB_request *request);
extern json_object *sessionToDisk (AFB_session *session, AFB_request *request, char *name,json_object *jsonSession);
extern json_object *sessionFromDisk (AFB_session *session, AFB_request *request, char *name);
+#endif
extern AFB_error ctxTokenRefresh (AFB_clientCtx *clientCtx, AFB_request *request);
extern AFB_error ctxTokenCreate (AFB_clientCtx *clientCtx, AFB_request *request);