diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2005-03-02 08:31:22 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2005-03-02 08:31:22 +0000 |
| commit | 4b8ffde37140109d7fc896d7c63836bac16e0b7a (patch) | |
| tree | 0897bf6aa1b03852d571c9280217b8d08a8d9991 | |
| parent | 656d132c7b3dc426fd4784cf7f14e3a94ff237f5 (diff) | |
Renamed LassoSaSaslRequest to LassoSaSASLRequest. Idem to LassoSaSASLResponse.
| -rw-r--r-- | lasso/xml/sa_sasl_request.c | 32 | ||||
| -rw-r--r-- | lasso/xml/sa_sasl_request.h | 18 | ||||
| -rw-r--r-- | lasso/xml/sa_sasl_response.c | 30 | ||||
| -rw-r--r-- | lasso/xml/sa_sasl_response.h | 22 |
4 files changed, 51 insertions, 51 deletions
diff --git a/lasso/xml/sa_sasl_request.c b/lasso/xml/sa_sasl_request.c index 212d29be..37d7d6c1 100644 --- a/lasso/xml/sa_sasl_request.c +++ b/lasso/xml/sa_sasl_request.c @@ -53,17 +53,17 @@ static struct XmlSnippet schema_snippets[] = { { "Data", SNIPPET_LIST_CONTENT, - G_STRUCT_OFFSET(LassoSaSaslRequest, Data) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, Data) }, { "RequestAuthnContext", SNIPPET_NODE, - G_STRUCT_OFFSET(LassoSaSaslRequest, RequestAuthnContext) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, RequestAuthnContext) }, { "mechanism", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSaSaslRequest, mechanism) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, mechanism) }, { "authzID", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSaSaslRequest, authzID) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, authzID) }, { "advisoryAuthnID", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSaSaslRequest, advisoryAuthnID) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, advisoryAuthnID) }, { "id", SNIPPET_ATTRIBUTE, - G_STRUCT_OFFSET(LassoSaSaslRequest, id) }, + G_STRUCT_OFFSET(LassoSaSASLRequest, id) }, { NULL, 0, 0} }; @@ -72,7 +72,7 @@ static struct XmlSnippet schema_snippets[] = { /*****************************************************************************/ static void -instance_init(LassoSaSaslRequest *node) +instance_init(LassoSaSASLRequest *node) { node->Data = NULL; node->RequestAuthnContext = NULL; @@ -84,7 +84,7 @@ instance_init(LassoSaSaslRequest *node) } static void -class_init(LassoSaSaslRequestClass *klass) +class_init(LassoSaSASLRequestClass *klass) { LassoNodeClass *nclass = LASSO_NODE_CLASS(klass); @@ -101,27 +101,27 @@ lasso_sa_sasl_request_get_type() if (!this_type) { static const GTypeInfo this_info = { - sizeof (LassoSaSaslRequestClass), + sizeof (LassoSaSASLRequestClass), NULL, NULL, (GClassInitFunc) class_init, NULL, NULL, - sizeof(LassoSaSaslRequest), + sizeof(LassoSaSASLRequest), 0, (GInstanceInitFunc) instance_init, }; this_type = g_type_register_static(LASSO_TYPE_NODE, - "LassoSaSaslRequest", &this_info, 0); + "LassoSaSASLRequest", &this_info, 0); } return this_type; } -LassoSaSaslRequest* -lasso_sa_sasl_request_new(const char *mechanism) +LassoSaSASLRequest* +lasso_sa_sasl_request_new(const gchar *mechanism) { - LassoSaSaslRequest *node; + LassoSaSASLRequest *node; g_return_val_if_fail(mechanism != NULL, NULL); @@ -131,10 +131,10 @@ lasso_sa_sasl_request_new(const char *mechanism) return node; } -LassoSaSaslRequest* +LassoSaSASLRequest* lasso_sa_sasl_request_new_from_message(const gchar *message) { - LassoSaSaslRequest *node; + LassoSaSASLRequest *node; g_return_val_if_fail(message != NULL, NULL); diff --git a/lasso/xml/sa_sasl_request.h b/lasso/xml/sa_sasl_request.h index d0fccb19..8d5f2575 100644 --- a/lasso/xml/sa_sasl_request.h +++ b/lasso/xml/sa_sasl_request.h @@ -34,20 +34,20 @@ extern "C" { #define LASSO_TYPE_SA_SASL_REQUEST (lasso_sa_sasl_request_get_type()) #define LASSO_SA_SASL_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ - LASSO_TYPE_SA_SASL_REQUEST, LassoSaSaslRequest)) + LASSO_TYPE_SA_SASL_REQUEST, LassoSaSASLRequest)) #define LASSO_SA_SASL_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \ - LASSO_TYPE_SA_SASL_REQUEST, LassoSaSaslRequestClass)) + LASSO_TYPE_SA_SASL_REQUEST, LassoSaSASLRequestClass)) #define LASSO_IS_SA_SASL_REQUEST(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_SASL_REQUEST)) #define LASSO_IS_SA_SASL_REQUEST_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SA_SASL_REQUEST)) #define LASSO_SA_SASL_REQUEST_GET_CLASS(o) \ - (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SA_SASL_REQUEST, LassoSaSaslRequestClass)) + (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SA_SASL_REQUEST, LassoSaSASLRequestClass)) -typedef struct _LassoSaSaslRequest LassoSaSaslRequest; -typedef struct _LassoSaSaslRequestClass LassoSaSaslRequestClass; +typedef struct _LassoSaSASLRequest LassoSaSASLRequest; +typedef struct _LassoSaSASLRequestClass LassoSaSASLRequestClass; -struct _LassoSaSaslRequest { +struct _LassoSaSASLRequest { LassoNode parent; GList *Data; @@ -59,15 +59,15 @@ struct _LassoSaSaslRequest { char *id; }; -struct _LassoSaSaslRequestClass { +struct _LassoSaSASLRequestClass { LassoNodeClass parent; }; LASSO_EXPORT GType lasso_sa_sasl_request_get_type(void); -LASSO_EXPORT LassoSaSaslRequest* lasso_sa_sasl_request_new(const char *mechanism); +LASSO_EXPORT LassoSaSASLRequest* lasso_sa_sasl_request_new(const char *mechanism); -LASSO_EXPORT LassoSaSaslRequest* lasso_sa_sasl_request_new_from_message(const gchar *message); +LASSO_EXPORT LassoSaSASLRequest* lasso_sa_sasl_request_new_from_message(const gchar *message); #ifdef __cplusplus } diff --git a/lasso/xml/sa_sasl_response.c b/lasso/xml/sa_sasl_response.c index 39a8c822..9e0fb4a4 100644 --- a/lasso/xml/sa_sasl_response.c +++ b/lasso/xml/sa_sasl_response.c @@ -60,18 +60,18 @@ /*****************************************************************************/ static struct XmlSnippet schema_snippets[] = { - { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSaSaslResponse, Status) }, + { "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) }, /* TODO : 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} }; @@ -108,7 +108,7 @@ get_xmlNode(LassoNode *node, gboolean lasso_dump) /*****************************************************************************/ static void -instance_init(LassoSaSaslResponse *node) +instance_init(LassoSaSASLResponse *node) { node->Status = NULL; node->PasswordTransforms = NULL; @@ -121,7 +121,7 @@ instance_init(LassoSaSaslResponse *node) } static void -class_init(LassoSaSaslResponseClass *klass) +class_init(LassoSaSASLResponseClass *klass) { LassoNodeClass *nodeClass = LASSO_NODE_CLASS(klass); @@ -139,27 +139,27 @@ lasso_sa_sasl_response_get_type() if (!this_type) { static const GTypeInfo this_info = { - sizeof (LassoSaSaslResponseClass), + sizeof (LassoSaSASLResponseClass), NULL, NULL, (GClassInitFunc) class_init, NULL, NULL, - sizeof(LassoSaSaslResponse), + sizeof(LassoSaSASLResponse), 0, (GInstanceInitFunc) instance_init, }; this_type = g_type_register_static(LASSO_TYPE_NODE, - "LassoSaSaslResponse", &this_info, 0); + "LassoSaSASLResponse", &this_info, 0); } return this_type; } -LassoSaSaslResponse* +LassoSaSASLResponse* lasso_sa_sasl_response_new(LassoUtilityStatus *status) { - LassoSaSaslResponse *node; + LassoSaSASLResponse *node; node = g_object_new(LASSO_TYPE_SA_SASL_RESPONSE, NULL); @@ -168,10 +168,10 @@ lasso_sa_sasl_response_new(LassoUtilityStatus *status) return node; } -LassoSaSaslResponse* +LassoSaSASLResponse* lasso_sa_sasl_response_new_from_message(const gchar *message) { - LassoSaSaslResponse *node; + LassoSaSASLResponse *node; g_return_val_if_fail(message != NULL, NULL); diff --git a/lasso/xml/sa_sasl_response.h b/lasso/xml/sa_sasl_response.h index 2f0a39bc..21129c04 100644 --- a/lasso/xml/sa_sasl_response.h +++ b/lasso/xml/sa_sasl_response.h @@ -35,20 +35,20 @@ extern "C" { #define LASSO_TYPE_SA_SASL_RESPONSE (lasso_sa_sasl_response_get_type()) #define LASSO_SA_SASL_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ - LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSaslResponse)) + LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSASLResponse)) #define LASSO_SA_SASL_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \ - LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSaslResponseClass)) + LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSASLResponseClass)) #define LASSO_IS_SA_SASL_RESPONSE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_SASL_RESPONSE)) #define LASSO_IS_SA_SASL_RESPONSE_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SA_SASL_RESPONSE)) #define LASSO_SA_SASL_RESPONSE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \ - LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSaslResponseClass)) + LASSO_TYPE_SA_SASL_RESPONSE, LassoSaSASLResponseClass)) -typedef struct _LassoSaSaslResponse LassoSaSaslResponse; -typedef struct _LassoSaSaslResponseClass LassoSaSaslResponseClass; +typedef struct _LassoSaSASLResponse LassoSaSASLResponse; +typedef struct _LassoSaSASLResponseClass LassoSaSASLResponseClass; -struct _LassoSaSaslResponse { +struct _LassoSaSASLResponse { LassoNode parent; /*< public >*/ @@ -59,19 +59,19 @@ struct _LassoSaSaslResponse { GList *Credentials; GList *any; - char *serverMechanism; - char *id; + gchar *serverMechanism; + gchar *id; }; -struct _LassoSaSaslResponseClass { +struct _LassoSaSASLResponseClass { LassoNodeClass parent; }; LASSO_EXPORT GType lasso_sa_sasl_response_get_type(void); -LASSO_EXPORT LassoSaSaslResponse* lasso_sa_sasl_response_new(LassoUtilityStatus *status); +LASSO_EXPORT LassoSaSASLResponse* lasso_sa_sasl_response_new(LassoUtilityStatus *status); -LASSO_EXPORT LassoSaSaslResponse* lasso_sa_sasl_response_new_from_message(const gchar *message); +LASSO_EXPORT LassoSaSASLResponse* lasso_sa_sasl_response_new_from_message(const gchar *message); #ifdef __cplusplus } |
