X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-session.h;h=8e2ee3d6b999950a1289898659417df9a892e26a;hb=66df82496e8b5cf0e49e8fe4ddd57827bbd0e3c5;hp=c93db5c42f750c4ef865192e69d3ed041148739e;hpb=6e7f3d28a2d08a8976fdd9c586b4cbddcaeb37bd;p=src%2Fapp-framework-binder.git diff --git a/src/afb-session.h b/src/afb-session.h index c93db5c4..8e2ee3d6 100644 --- a/src/afb-session.h +++ b/src/afb-session.h @@ -43,6 +43,8 @@ extern int afb_session_is_closed (struct afb_session *session); extern int afb_session_check_token(struct afb_session *session, const char *token); extern void afb_session_new_token(struct afb_session *session); extern const char *afb_session_token(struct afb_session *session); +extern int afb_session_timeout(struct afb_session *session); +extern int afb_session_what_remains(struct afb_session *session); extern void *afb_session_get_cookie(struct afb_session *session, const void *key); extern void *afb_session_cookie(struct afb_session *session, const void *key, void *(*makecb)(void *closure), void (*freecb)(void *item), void *closure, int replace);