summaryrefslogtreecommitdiffstats
path: root/lasso/xml/sa_sasl_response.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2008-08-05 14:53:29 +0000
commit207891ff2946db888c80b15f77e7cce15bfcc006 (patch)
treec1bc0b3b20525c1b842973c2602f61bdec50c919 /lasso/xml/sa_sasl_response.c
parentf83d4bd9f8227da65dbc350b3d2d390b7b0a2299 (diff)
downloadlasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.gz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.tar.xz
lasso-207891ff2946db888c80b15f77e7cce15bfcc006.zip
* Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting
Diffstat (limited to 'lasso/xml/sa_sasl_response.c')
-rw-r--r--lasso/xml/sa_sasl_response.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/lasso/xml/sa_sasl_response.c b/lasso/xml/sa_sasl_response.c
index cbf87c20..6757f6f8 100644
--- a/lasso/xml/sa_sasl_response.c
+++ b/lasso/xml/sa_sasl_response.c
@@ -68,16 +68,16 @@
static struct XmlSnippet schema_snippets[] = {
{ "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSaSASLResponse, Status) },
{ "PasswordTransforms", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSaSASLResponse, PasswordTransforms) },
+ G_STRUCT_OFFSET(LassoSaSASLResponse, PasswordTransforms) },
{ "Data", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoSaSASLResponse, Data) },
+ G_STRUCT_OFFSET(LassoSaSASLResponse, Data) },
{ "ResourceOffering", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSaSASLResponse, ResourceOffering) },
+ G_STRUCT_OFFSET(LassoSaSASLResponse, ResourceOffering) },
{ "Credentials", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSaSASLResponse, Credentials) },
{ "serverMechanism", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLResponse, serverMechanism) },
+ G_STRUCT_OFFSET(LassoSaSASLResponse, serverMechanism) },
{ "id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLResponse, id) },
+ G_STRUCT_OFFSET(LassoSaSASLResponse, id) },
{ NULL, 0, 0}
};
@@ -190,12 +190,12 @@ lasso_sa_sasl_response_new_from_message(const gchar *message)
gint
lasso_sa_sasl_response_add_credentials(LassoSaSASLResponse *response,
- LassoSaCredentials *credentials)
+ LassoSaCredentials *credentials)
{
g_return_val_if_fail(LASSO_IS_SA_SASL_RESPONSE(response),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
+ LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
g_return_val_if_fail(LASSO_IS_SA_CREDENTIALS(credentials),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
+ LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
g_object_ref(credentials);
response->Credentials = g_list_append(response->Credentials, credentials);
@@ -205,12 +205,12 @@ lasso_sa_sasl_response_add_credentials(LassoSaSASLResponse *response,
gint
lasso_sa_sasl_response_add_resource_offering(LassoSaSASLResponse *response,
- LassoDiscoResourceOffering *resourceOffering)
+ LassoDiscoResourceOffering *resourceOffering)
{
g_return_val_if_fail(LASSO_IS_SA_SASL_RESPONSE(response),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
+ LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(resourceOffering),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
+ LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
g_object_ref(resourceOffering);
response->ResourceOffering = g_list_append(response->ResourceOffering, resourceOffering);