summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-04-06 02:27:59 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-04-06 02:27:59 +0000
commit3f8ad592fc3b488ee3a763a34ca410c442e2594b (patch)
tree6c76b8f1425b1dfca40dcc7f42a9241af8029fcf
parent1246c96751c98acf4982f7347c6e23a254ed60ed (diff)
downloadlasso-3f8ad592fc3b488ee3a763a34ca410c442e2594b.tar.gz
lasso-3f8ad592fc3b488ee3a763a34ca410c442e2594b.tar.xz
lasso-3f8ad592fc3b488ee3a763a34ca410c442e2594b.zip
Used lasso_node_get_child instead() of class->get_child()
-rw-r--r--lasso/xml/lib_register_name_identifier_request.c19
1 files changed, 7 insertions, 12 deletions
diff --git a/lasso/xml/lib_register_name_identifier_request.c b/lasso/xml/lib_register_name_identifier_request.c
index d5efe7b8..22dbf881 100644
--- a/lasso/xml/lib_register_name_identifier_request.c
+++ b/lasso/xml/lib_register_name_identifier_request.c
@@ -91,35 +91,30 @@ lasso_lib_register_name_identifier_request_set_old_provided_name_identifier(Lass
void
lasso_lib_register_name_identifier_request_update_nameIdentifiers(LassoLibRegisterNameIdentifierRequest *node)
{
- xmlNodePtr identifier;
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
-
// IDPProvidedNameIdentifier
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
"NameQualifier", "IDPNameQualifier");
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
"Format", "IDPFormat");
// SPProvidedNameIdentifier
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "SPProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "SPProvidedNameIdentifier"),
"NameQualifier", "SPNameQualifier");
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "SPProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "SPProvidedNameIdentifier"),
"Format", "SPFormat");
// OldProvidedNameIdentifier
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "OldProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "OldProvidedNameIdentifier"),
"NameQualifier", "OldNameQualifier");
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "OldProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "OldProvidedNameIdentifier"),
"Format", "OldFormat");
}
void
lasso_lib_register_name_identifier_request_restore_nameIdentifiers(LassoLibRegisterNameIdentifierRequest *node)
{
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
-
// IDPProvidedNameIdentifier
- lasso_node_rename_prop(class->get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
+ lasso_node_rename_prop(lasso_node_get_child(LASSO_NODE(node), "IDPProvidedNameIdentifier"),
"NameQualifier", "IDPNameQualifier");
}