X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fproto-def.h;h=e96b0229c0256a6011614878b38838927563bc51;hb=8ca3d16606a99ef91d01a623dbe5ce1331688953;hp=3650fce74806d033220f701bfa81d986455d8e0b;hpb=9c9253cd9106e656195aba6f0cadb29f6a940fe1;p=src%2Fapp-framework-binder.git diff --git a/include/proto-def.h b/include/proto-def.h index 3650fce7..e96b0229 100644 --- a/include/proto-def.h +++ b/include/proto-def.h @@ -38,15 +38,13 @@ extern void endPostRequest(AFB_PostHandle *posthandle); extern int doRestApi(struct MHD_Connection *connection, AFB_session *session, const char* url, const char *method , const char *upload_data, size_t *upload_data_size, void **con_cls); -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);