summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/identity.h
diff options
context:
space:
mode:
Diffstat (limited to 'lasso/id-ff/identity.h')
-rw-r--r--lasso/id-ff/identity.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lasso/id-ff/identity.h b/lasso/id-ff/identity.h
index 0985897d..8c8f2bf4 100644
--- a/lasso/id-ff/identity.h
+++ b/lasso/id-ff/identity.h
@@ -49,9 +49,11 @@ typedef struct _LassoIdentityPrivate LassoIdentityPrivate;
struct _LassoIdentity {
LassoNode parent;
+ /*< public >*/
GHashTable *federations; /* hash for federations with remote ProviderID as key */
gboolean is_dirty;
+ /*< private >*/
LassoIdentityPrivate *private_data;
};
@@ -61,18 +63,18 @@ struct _LassoIdentityClass {
LASSO_EXPORT GType lasso_identity_get_type(void);
LASSO_EXPORT LassoIdentity* lasso_identity_new(void);
+LASSO_EXPORT LassoIdentity* lasso_identity_new_from_dump(const gchar *dump);
LASSO_EXPORT gint lasso_identity_add_federation(LassoIdentity *identity,
LassoFederation *federation);
LASSO_EXPORT LassoFederation* lasso_identity_get_federation(
- LassoIdentity *identity, gchar *providerID);
+ LassoIdentity *identity, const char *providerID);
LASSO_EXPORT gint lasso_identity_remove_federation(LassoIdentity *identity,
- char *remote_providerID);
+ const char *providerID);
LASSO_EXPORT void lasso_identity_destroy(LassoIdentity *identity);
LASSO_EXPORT gchar* lasso_identity_dump(LassoIdentity *identity);
-LASSO_EXPORT LassoIdentity* lasso_identity_new_from_dump(const gchar *dump);
#ifdef __cplusplus
}