summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/session.h
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:13:55 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:13:55 +0000
commitfbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9 (patch)
tree22f7c4769cf64d513d022aeecabf68514d769e44 /lasso/id-ff/session.h
parenta3c4a339f2f90faeb1d755f292f6787aba5de764 (diff)
downloadlasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.tar.gz
lasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.tar.xz
lasso-fbfbe5553dfb00af22c4d7bb3f4c62c9a129c3a9.zip
ID-FF&Core: Seal public field of LassoSession
* id-ff/session.h: seal public fields. * id-ff/session.c, id-ff/sessionprivate.h: add accessors for reading the is_dirty flag and counting store assertions. * id-ff/logout.c, id-ff/login.c, saml-2.0/login.c, saml-2.0/logout.c, saml-2.0/profile.c: use the new accessors. * id-ff/profile.c: include the private header file, use the new accessors, and remove unnecessary setting of is_dirty to FALSE (it should be false at instanciation). * utils.h: add a macro to access private content, prepare for using G_TYPE_INSTANCE_GET_PRIVATE and the GObject infrastructure for private structures eventually.
Diffstat (limited to 'lasso/id-ff/session.h')
-rw-r--r--lasso/id-ff/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/session.h b/lasso/id-ff/session.h
index fe4b5e00..b355dd90 100644
--- a/lasso/id-ff/session.h
+++ b/lasso/id-ff/session.h
@@ -54,8 +54,8 @@ struct _LassoSession {
/*< public >*/
/* Can actually contain LassoSamlAssertion or LassoSaml2Assertion */
- GHashTable *assertions; /* of LassoSamlAssertion */
- gboolean is_dirty;
+ GHashTable *_assertions; /* of LassoSamlAssertion */
+ gboolean _is_dirty;
/*< private >*/
LassoSessionPrivate *private_data;