Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bindings V2: migration of HelloWorld binder
[src/app-framework-binder.git]
/
src
/
afb-session.h
diff --git
a/src/afb-session.h
b/src/afb-session.h
index
c45a7e2
..
e79d037
100644
(file)
--- a/
src/afb-session.h
+++ b/
src/afb-session.h
@@
-34,9
+34,7
@@
extern int afb_session_check_token(struct afb_session *session, const char *toke
extern void afb_session_new_token(struct afb_session *session);
extern const char *afb_session_token(struct afb_session *session);
extern void afb_session_new_token(struct afb_session *session);
extern const char *afb_session_token(struct afb_session *session);
-extern unsigned afb_session_get_LOA(struct afb_session *session);
-extern void afb_session_set_LOA (struct afb_session *session, unsigned loa);
-
extern void *afb_session_get_cookie(struct afb_session *session, const void *key);
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), void (*freecb)(void*));
extern int afb_session_set_cookie(struct afb_session *session, const void *key, void *value, void (*freecb)(void*));
extern int afb_session_set_cookie(struct afb_session *session, const void *key, void *value, void (*freecb)(void*));