X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=src%2Fsession.h;h=c11921b6c5f649f4c28db0dcbdf78c3d22cf3dcf;hb=56f9ef4581d567248b6f83a3b15f39a0aca42895;hp=10af74fd161795cbf1c326e08d8c440600a0e40b;hpb=fb230eee946673ed5ebe9659d623c2a06d0a80ce;p=src%2Fapp-framework-binder.git diff --git a/src/session.h b/src/session.h index 10af74fd..c11921b6 100644 --- a/src/session.h +++ b/src/session.h @@ -26,12 +26,13 @@ struct AFB_clientCtx char token[37]; // short term authentication of remote client }; -extern void ctxStoreInit (int nbSession, int timeout, int apicount, const char *initok); +extern void ctxStoreInit (int nbSession, int timeout, const char *initok); extern struct AFB_clientCtx *ctxClientGetForUuid (const char *uuid); extern struct AFB_clientCtx *ctxClientGet(struct AFB_clientCtx *clientCtx); extern void ctxClientPut(struct AFB_clientCtx *clientCtx); extern void ctxClientClose (struct AFB_clientCtx *clientCtx); extern int ctxTokenCheck (struct AFB_clientCtx *clientCtx, const char *token); +extern int ctxTokenCheckLen (struct AFB_clientCtx *clientCtx, const char *token, size_t length); extern void ctxTokenNew (struct AFB_clientCtx *clientCtx);