summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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);