summaryrefslogtreecommitdiffstats
path: root/lasso/xml/lib_idp_entry.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-13 15:16:13 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-13 15:16:13 +0000
commitda4e23d09cb5edb56c70ccc090d7929a72122043 (patch)
treedf0a4ae57e005302edc83daf953e79d27a753d80 /lasso/xml/lib_idp_entry.c
parent2687aac1714a0fe2260d725dc4c628c2696134f4 (diff)
downloadlasso-da4e23d09cb5edb56c70ccc090d7929a72122043.tar.gz
lasso-da4e23d09cb5edb56c70ccc090d7929a72122043.tar.xz
lasso-da4e23d09cb5edb56c70ccc090d7929a72122043.zip
declarations first (and s/lenght/length/)
Diffstat (limited to 'lasso/xml/lib_idp_entry.c')
-rw-r--r--lasso/xml/lib_idp_entry.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lasso/xml/lib_idp_entry.c b/lasso/xml/lib_idp_entry.c
index 995e1c99..a301db6d 100644
--- a/lasso/xml/lib_idp_entry.c
+++ b/lasso/xml/lib_idp_entry.c
@@ -56,10 +56,11 @@ void
lasso_lib_idp_entry_set_providerID(LassoLibIDPEntry *node,
const xmlChar *providerID)
{
+ LassoNodeClass *class;
g_assert(LASSO_IS_LIB_IDP_ENTRY(node));
g_assert(providerID != NULL);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+ class = LASSO_NODE_GET_CLASS(node);
class->new_child(LASSO_NODE (node), "ProviderID", providerID, FALSE);
}
@@ -76,10 +77,11 @@ void
lasso_lib_idp_entry_set_providerName(LassoLibIDPEntry *node,
const xmlChar *providerName)
{
+ LassoNodeClass *class;
g_assert(LASSO_IS_LIB_IDP_ENTRY(node));
g_assert(providerName != NULL);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+ class = LASSO_NODE_GET_CLASS(node);
class->new_child(LASSO_NODE (node), "ProviderName", providerName, FALSE);
}
@@ -99,10 +101,11 @@ void
lasso_lib_idp_entry_set_loc(LassoLibIDPEntry *node,
const xmlChar *loc)
{
+ LassoNodeClass *class;
g_assert(LASSO_IS_LIB_IDP_ENTRY(node));
g_assert(loc != NULL);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+ class = LASSO_NODE_GET_CLASS(node);
class->new_child(LASSO_NODE (node), "Loc", loc, FALSE);
}