X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fsession.h;h=fa6f9c2d9a460c845e1c49af86344308e5b018ed;hb=dc011f99aed9407c8319b1b70a81f56ad2f02bc8;hp=497951af733648df845666ae13460a08dcd5aa16;hpb=7e0abe76db7b90369429bf387d7aad0fb5a42328;p=src%2Fapp-framework-binder.git diff --git a/src/session.h b/src/session.h index 497951af..fa6f9c2d 100644 --- a/src/session.h +++ b/src/session.h @@ -22,6 +22,7 @@ struct AFB_clientCtx; extern void ctxStoreInit (int max_session_count, int timeout, const char *initok, int context_count); +extern struct AFB_clientCtx *ctxClientCreate (const char *uuid, int timeout); extern struct AFB_clientCtx *ctxClientGetSession (const char *uuid, int *created); extern struct AFB_clientCtx *ctxClientAddRef(struct AFB_clientCtx *clientCtx); extern void ctxClientUnref(struct AFB_clientCtx *clientCtx); @@ -38,3 +39,6 @@ extern void ctxClientSetLOA (struct AFB_clientCtx *clientCtx, unsigned loa); extern void *ctxClientValueGet(struct AFB_clientCtx *clientCtx, int index); extern void ctxClientValueSet(struct AFB_clientCtx *clientCtx, int index, void *value, void (*free_value)(void*)); +extern void *ctxClientCookieGet(struct AFB_clientCtx *clientCtx, const void *key); +extern int ctxClientCookieSet(struct AFB_clientCtx *clientCtx, const void *key, void *value, void (*free_value)(void*)); +