diff options
author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-08 12:26:43 +0000 |
---|---|---|
committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-08-08 12:26:43 +0000 |
commit | a9eb36000125df06a24496c6320bcc2786f57ece (patch) | |
tree | f62b777995d79edbc256cbe21c30e67c2a0fb082 /lasso/Attic | |
parent | 7b35cd2b1915c0d3a85e3481579c61dd251654e8 (diff) | |
download | lasso-a9eb36000125df06a24496c6320bcc2786f57ece.tar.gz lasso-a9eb36000125df06a24496c6320bcc2786f57ece.tar.xz lasso-a9eb36000125df06a24496c6320bcc2786f57ece.zip |
In the dump of the federation object,
rather than use the "Lasso" word in the name of nodes,
the namespace of the root elment is now set to the Lasso namespace (without prefix).
Diffstat (limited to 'lasso/Attic')
-rw-r--r-- | lasso/Attic/protocols/federation.c | 1 | ||||
-rw-r--r-- | lasso/Attic/protocols/federation.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lasso/Attic/protocols/federation.c b/lasso/Attic/protocols/federation.c index 41834e79..194fbb54 100644 --- a/lasso/Attic/protocols/federation.c +++ b/lasso/Attic/protocols/federation.c @@ -72,6 +72,7 @@ lasso_federation_dump(LassoFederation *federation) federation_node = lasso_node_new(); federation_class = LASSO_NODE_GET_CLASS(federation_node); federation_class->set_name(federation_node, LASSO_FEDERATION_NODE); + federation_class->set_ns(federation_node, lassoLassoHRef, NULL); /* set the remote providerID */ federation_class->set_prop(federation_node, LASSO_FEDERATION_REMOTE_PROVIDERID_NODE, diff --git a/lasso/Attic/protocols/federation.h b/lasso/Attic/protocols/federation.h index 201f6644..387863c8 100644 --- a/lasso/Attic/protocols/federation.h +++ b/lasso/Attic/protocols/federation.h @@ -40,10 +40,10 @@ extern "C" { #define LASSO_IS_FEDERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_FEDERATION)) #define LASSO_FEDERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_FEDERATION, LassoFederationClass)) -#define LASSO_FEDERATION_NODE "LassoFederation" +#define LASSO_FEDERATION_NODE "Federation" #define LASSO_FEDERATION_REMOTE_PROVIDERID_NODE "RemoteProviderID" -#define LASSO_FEDERATION_LOCAL_NAME_IDENTIFIER_NODE "LassoLocalNameIdentifier" -#define LASSO_FEDERATION_REMOTE_NAME_IDENTIFIER_NODE "LassoRemoteNameIdentifier" +#define LASSO_FEDERATION_LOCAL_NAME_IDENTIFIER_NODE "LocalNameIdentifier" +#define LASSO_FEDERATION_REMOTE_NAME_IDENTIFIER_NODE "RemoteNameIdentifier" typedef struct _LassoFederation LassoFederation; typedef struct _LassoFederationClass LassoFederationClass; |