afb-session: Verbs for timeout and remining time
[src/app-framework-binder.git] / src / afb-session.h
index c93db5c..8e2ee3d 100644 (file)
@@ -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);