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
Make LOA local to the binding
[src/app-framework-binder.git]
/
src
/
afb-session.c
diff --git
a/src/afb-session.c
b/src/afb-session.c
index
bc1c1c5
..
17fddd5
100644
(file)
--- a/
src/afb-session.c
+++ b/
src/afb-session.c
@@
-47,7
+47,6
@@
struct cookie
struct afb_session
{
unsigned refcount;
struct afb_session
{
unsigned refcount;
- unsigned loa;
int timeout;
time_t expiration; // expiration time of the token
time_t access;
int timeout;
time_t expiration; // expiration time of the token
time_t access;
@@
-383,18
+382,6
@@
const char *afb_session_token (struct afb_session *session)
return session->token;
}
return session->token;
}
-unsigned afb_session_get_LOA (struct afb_session *session)
-{
- assert(session != NULL);
- return session->loa;
-}
-
-void afb_session_set_LOA (struct afb_session *session, unsigned loa)
-{
- assert(session != NULL);
- session->loa = loa;
-}
-
void *afb_session_get_cookie(struct afb_session *session, const void *key)
{
struct cookie *cookie;
void *afb_session_get_cookie(struct afb_session *session, const void *key)
{
struct cookie *cookie;