diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-21 23:06:55 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-21 23:06:55 +0000 |
| commit | 16dd4983eb0375d2851c7259f048422869965b3e (patch) | |
| tree | 0bac8314dc604f115b39a4e8dcf8bcc18fe3f057 | |
| parent | 0700378832be3c66cc9156a22f097e668865cea8 (diff) | |
| download | lasso-16dd4983eb0375d2851c7259f048422869965b3e.tar.gz lasso-16dd4983eb0375d2851c7259f048422869965b3e.tar.xz lasso-16dd4983eb0375d2851c7259f048422869965b3e.zip | |
strings type changed: gchar* -> xmlChar*
| -rw-r--r-- | lasso/xml/strings.c | 92 | ||||
| -rw-r--r-- | lasso/xml/strings.h | 94 |
2 files changed, 93 insertions, 93 deletions
diff --git a/lasso/xml/strings.c b/lasso/xml/strings.c index 2862bce0..fadc3c47 100644 --- a/lasso/xml/strings.c +++ b/lasso/xml/strings.c @@ -29,72 +29,72 @@ /*****************************************************************************/ /* prefix & href */ -const gchar lassoLibHRef[] = "urn:liberty:iff:2003-08"; -const gchar lassoLibPrefix[] = "lib"; +const xmlChar lassoLibHRef[] = "urn:liberty:iff:2003-08"; +const xmlChar lassoLibPrefix[] = "lib"; /* Versioning */ -const gchar lassoLibMajorVersion[] = "1"; -const gchar lassoLibMinorVersion[] = "2"; +const xmlChar lassoLibMajorVersion[] = "1"; +const xmlChar lassoLibMinorVersion[] = "2"; /* NameIDPolicyType */ -const gchar lassoLibNameIDPolicyTypeNone[] = "none"; -const gchar lassoLibNameIDPolicyTypeOneTime[] = "onetime"; -const gchar lassoLibNameIDPolicyTypeFederated[] = "federated"; -const gchar lassoLibNameIDPolicyTypeAny[] = "any"; +const xmlChar lassoLibNameIDPolicyTypeNone[] = "none"; +const xmlChar lassoLibNameIDPolicyTypeOneTime[] = "onetime"; +const xmlChar lassoLibNameIDPolicyTypeFederated[] = "federated"; +const xmlChar lassoLibNameIDPolicyTypeAny[] = "any"; /* AuthnContextComparison */ -const gchar lassoLibAuthnContextComparisonExact[] = "exact"; -const gchar lassoLibAuthnContextComparisonMinimum[] = "minimum"; -const gchar lassoLibAuthnContextComparisonBetter[] = "better"; +const xmlChar lassoLibAuthnContextComparisonExact[] = "exact"; +const xmlChar lassoLibAuthnContextComparisonMinimum[] = "minimum"; +const xmlChar lassoLibAuthnContextComparisonBetter[] = "better"; /* StatusCodes */ -const gchar lassoLibStatusCodeFederationDoesNotExist[] = "lib:FederationDoesNotExist"; -const gchar lassoLibStatusCodeNoPassive[] = "lib:NoPassive"; +const xmlChar lassoLibStatusCodeFederationDoesNotExist[] = "lib:FederationDoesNotExist"; +const xmlChar lassoLibStatusCodeNoPassive[] = "lib:NoPassive"; /* ProtocolProfile */ -const gchar lassoLibProtocolProfileArtifact[] = "http://projectliberty.org/profiles/brws-art"; -const gchar lassoLibProtocolProfilePost[] = "http://projectliberty.org/profiles/brws-post"; -const gchar lassoLibProtocolProfileFedTermIdpHttp[] = "http://projectliberty.org/profiles/fedterm-idp-http"; -const gchar lassoLibProtocolProfileFedTermIdpSoap[] = "http://projectliberty.org/profiles/fedterm-idp-soap"; -const gchar lassoLibProtocolProfileFedTermSpHttp[] = "http://projectliberty.org/profiles/fedterm-sp-http"; -const gchar lassoLibProtocolProfileFedTermSpSoap[] = "http://projectliberty.org/profiles/fedterm-sp-soap"; -const gchar lassoLibProtocolProfileRniIdpHttp[] = "http://projectliberty.org/profiles/rni-idp-http"; -const gchar lassoLibProtocolProfileRniIdpSoap[] = "http://projectliberty.org/profiles/rni-idp-soap"; -const gchar lassoLibProtocolProfileRniSpHttp[] = "http://projectliberty.org/profiles/rni-sp-http"; -const gchar lassoLibProtocolProfileRniSpSoap[] = "http://projectliberty.org/profiles/rni-sp-soap"; -const gchar lassoLibProtocolProfileSloSpHttp[] = "http://projectliberty.org/profiles/slo-sp-http"; -const gchar lassoLibProtocolProfileSloSpSoap[] = "http://projectliberty.org/profiles/slo-sp-soap"; -const gchar lassoLibProtocolProfileSloIdpHttp[] = "http://projectliberty.org/profiles/slo-idp-http"; -const gchar lassoLibProtocolProfileSloIdpSoap[] = "http://projectliberty.org/profiles/slo-idp-soap"; +const xmlChar lassoLibProtocolProfileArtifact[] = "http://projectliberty.org/profiles/brws-art"; +const xmlChar lassoLibProtocolProfilePost[] = "http://projectliberty.org/profiles/brws-post"; +const xmlChar lassoLibProtocolProfileFedTermIdpHttp[] = "http://projectliberty.org/profiles/fedterm-idp-http"; +const xmlChar lassoLibProtocolProfileFedTermIdpSoap[] = "http://projectliberty.org/profiles/fedterm-idp-soap"; +const xmlChar lassoLibProtocolProfileFedTermSpHttp[] = "http://projectliberty.org/profiles/fedterm-sp-http"; +const xmlChar lassoLibProtocolProfileFedTermSpSoap[] = "http://projectliberty.org/profiles/fedterm-sp-soap"; +const xmlChar lassoLibProtocolProfileRniIdpHttp[] = "http://projectliberty.org/profiles/rni-idp-http"; +const xmlChar lassoLibProtocolProfileRniIdpSoap[] = "http://projectliberty.org/profiles/rni-idp-soap"; +const xmlChar lassoLibProtocolProfileRniSpHttp[] = "http://projectliberty.org/profiles/rni-sp-http"; +const xmlChar lassoLibProtocolProfileRniSpSoap[] = "http://projectliberty.org/profiles/rni-sp-soap"; +const xmlChar lassoLibProtocolProfileSloSpHttp[] = "http://projectliberty.org/profiles/slo-sp-http"; +const xmlChar lassoLibProtocolProfileSloSpSoap[] = "http://projectliberty.org/profiles/slo-sp-soap"; +const xmlChar lassoLibProtocolProfileSloIdpHttp[] = "http://projectliberty.org/profiles/slo-idp-http"; +const xmlChar lassoLibProtocolProfileSloIdpSoap[] = "http://projectliberty.org/profiles/slo-idp-soap"; /*****************************************************************************/ /* SAML */ /*****************************************************************************/ /* prefix & href */ -const gchar lassoSamlAssertionHRef[] = "urn:oasis:names:tc:SAML:1.0:assertion"; -const gchar lassoSamlAssertionPrefix[] = "saml"; -const gchar lassoSamlProtocolHRef[] = "urn:oasis:names:tc:SAML:1.0:protocol"; -const gchar lassoSamlProtocolPrefix[] = "samlp"; +const xmlChar lassoSamlAssertionHRef[] = "urn:oasis:names:tc:SAML:1.0:assertion"; +const xmlChar lassoSamlAssertionPrefix[] = "saml"; +const xmlChar lassoSamlProtocolHRef[] = "urn:oasis:names:tc:SAML:1.0:protocol"; +const xmlChar lassoSamlProtocolPrefix[] = "samlp"; /* Versioning */ -const gchar lassoSamlMajorVersion[] = "1"; -const gchar lassoSamlMinorVersion[] = "0"; +const xmlChar lassoSamlMajorVersion[] = "1"; +const xmlChar lassoSamlMinorVersion[] = "0"; /* StatusCodes */ -const gchar lassoSamlStatusCodeRequestDenied[] = "Samlp:RequestDenied"; -const gchar lassoSamlStatusCodeSuccess[] = "Samlp:Success"; +const xmlChar lassoSamlStatusCodeRequestDenied[] = "Samlp:RequestDenied"; +const xmlChar lassoSamlStatusCodeSuccess[] = "Samlp:Success"; /* AuthenticationMethods */ -const gchar lassoSamlAuthenticationMethodPassword[] = "urn:oasis:names:tc:SAML:1.0:am:password"; -const gchar lassoSamlAuthenticationMethodKerberos[] = "urn:ietf:rfc:1510"; -const gchar lassoSamlAuthenticationMethodSecureRemotePassword[] = "urn:ietf:rfc:2945"; -const gchar lassoSamlAuthenticationMethodHardwareToken[] = "urn:oasis:names:tc:SAML:1.0:am:HardwareToken"; -const gchar lassoSamlAuthenticationMethodSmartcardPki[] = "urn:ietf:rfc:2246"; -const gchar lassoSamlAuthenticationMethodSoftwarePki[] = "urn:oasis:names:tc:SAML:1.0:am:X509-PKI"; -const gchar lassoSamlAuthenticationMethodPGP[] = "urn:oasis:names:tc:SAML:1.0:am:PGP"; -const gchar lassoSamlAuthenticationMethodSPki[] = "urn:oasis:names:tc:SAML:1.0:am:SPKI"; -const gchar lassoSamlAuthenticationMethodXkms[] = "urn:oasis:names:tc:SAML:1.0:am:XKMS"; -const gchar lassoSamlAuthenticationMethodXmlSign[] = "urn:ietf:rfc:3075"; -const gchar lassoSamlAuthenticationMethodUnspecified[] = "urn:oasis:names:tc:SAML:1.0:am:unspecified"; +const xmlChar lassoSamlAuthenticationMethodPassword[] = "urn:oasis:names:tc:SAML:1.0:am:password"; +const xmlChar lassoSamlAuthenticationMethodKerberos[] = "urn:ietf:rfc:1510"; +const xmlChar lassoSamlAuthenticationMethodSecureRemotePassword[] = "urn:ietf:rfc:2945"; +const xmlChar lassoSamlAuthenticationMethodHardwareToken[] = "urn:oasis:names:tc:SAML:1.0:am:HardwareToken"; +const xmlChar lassoSamlAuthenticationMethodSmartcardPki[] = "urn:ietf:rfc:2246"; +const xmlChar lassoSamlAuthenticationMethodSoftwarePki[] = "urn:oasis:names:tc:SAML:1.0:am:X509-PKI"; +const xmlChar lassoSamlAuthenticationMethodPGP[] = "urn:oasis:names:tc:SAML:1.0:am:PGP"; +const xmlChar lassoSamlAuthenticationMethodSPki[] = "urn:oasis:names:tc:SAML:1.0:am:SPKI"; +const xmlChar lassoSamlAuthenticationMethodXkms[] = "urn:oasis:names:tc:SAML:1.0:am:XKMS"; +const xmlChar lassoSamlAuthenticationMethodXmlSign[] = "urn:ietf:rfc:3075"; +const xmlChar lassoSamlAuthenticationMethodUnspecified[] = "urn:oasis:names:tc:SAML:1.0:am:unspecified"; diff --git a/lasso/xml/strings.h b/lasso/xml/strings.h index 06688026..b72c674e 100644 --- a/lasso/xml/strings.h +++ b/lasso/xml/strings.h @@ -30,81 +30,81 @@ extern "C" { #endif /* __cplusplus */ #include <lasso/export.h> -#include <glib-object.h> +#include <libxml/xpath.h> /*****************************************************************************/ /* Liberty Alliance */ /*****************************************************************************/ /* prefix & href */ -LASSO_EXPORT_VAR const gchar lassoLibHRef[]; -LASSO_EXPORT_VAR const gchar lassoLibPrefix[]; +LASSO_EXPORT_VAR const xmlChar lassoLibHRef[]; +LASSO_EXPORT_VAR const xmlChar lassoLibPrefix[]; /* Versioning */ -LASSO_EXPORT_VAR const gchar lassoLibMajorVersion[]; -LASSO_EXPORT_VAR const gchar lassoLibMinorVersion[]; +LASSO_EXPORT_VAR const xmlChar lassoLibMajorVersion[]; +LASSO_EXPORT_VAR const xmlChar lassoLibMinorVersion[]; /* NameIDPolicyType */ -LASSO_EXPORT_VAR const gchar lassoLibNameIDPolicyTypeNone[]; -LASSO_EXPORT_VAR const gchar lassoLibNameIDPolicyTypeOneTime[]; -LASSO_EXPORT_VAR const gchar lassoLibNameIDPolicyTypeFederated[]; -LASSO_EXPORT_VAR const gchar lassoLibNameIDPolicyTypeAny[]; +LASSO_EXPORT_VAR const xmlChar lassoLibNameIDPolicyTypeNone[]; +LASSO_EXPORT_VAR const xmlChar lassoLibNameIDPolicyTypeOneTime[]; +LASSO_EXPORT_VAR const xmlChar lassoLibNameIDPolicyTypeFederated[]; +LASSO_EXPORT_VAR const xmlChar lassoLibNameIDPolicyTypeAny[]; /* AuthnContextComparison */ -LASSO_EXPORT_VAR const gchar lassoLibAuthnContextComparisonExact[]; -LASSO_EXPORT_VAR const gchar lassoLibAuthnContextComparisonMinimum[]; -LASSO_EXPORT_VAR const gchar lassoLibAuthnContextComparisonBetter[]; +LASSO_EXPORT_VAR const xmlChar lassoLibAuthnContextComparisonExact[]; +LASSO_EXPORT_VAR const xmlChar lassoLibAuthnContextComparisonMinimum[]; +LASSO_EXPORT_VAR const xmlChar lassoLibAuthnContextComparisonBetter[]; /* StatusCodes */ -LASSO_EXPORT_VAR const gchar lassoLibStatusCodeFederationDoesNotExist[]; -LASSO_EXPORT_VAR const gchar lassoLibStatusCodeNoPassive[]; +LASSO_EXPORT_VAR const xmlChar lassoLibStatusCodeFederationDoesNotExist[]; +LASSO_EXPORT_VAR const xmlChar lassoLibStatusCodeNoPassive[]; /* ProtocolProfile */ -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileArtifact[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfilePost[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileFedTermIdpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileFedTermIdpSoap[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileFedTermSpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileFedTermSpSoap[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileRniIdpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileRniIdpSoap[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileRniSpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileRniSpSoap[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileSloSpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileSloSpSoap[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileSloIdpHttp[]; -LASSO_EXPORT_VAR const gchar lassoLibProtocolProfileSloIdpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileArtifact[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfilePost[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileFedTermIdpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileFedTermIdpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileFedTermSpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileFedTermSpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileRniIdpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileRniIdpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileRniSpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileRniSpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloSpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloSpSoap[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloIdpHttp[]; +LASSO_EXPORT_VAR const xmlChar lassoLibProtocolProfileSloIdpSoap[]; /*****************************************************************************/ /* SAML */ /*****************************************************************************/ /* prefix & href */ -LASSO_EXPORT_VAR const gchar lassoSamlAssertionHRef[]; -LASSO_EXPORT_VAR const gchar lassoSamlAssertionPrefix[]; -LASSO_EXPORT_VAR const gchar lassoSamlProtocolHRef[]; -LASSO_EXPORT_VAR const gchar lassoSamlProtocolPrefix[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAssertionHRef[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAssertionPrefix[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlProtocolHRef[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlProtocolPrefix[]; /* Versioning */ -LASSO_EXPORT_VAR const gchar lassoSamlMajorVersion[]; -LASSO_EXPORT_VAR const gchar lassoSamlMinorVersion[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlMajorVersion[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlMinorVersion[]; /* StatusCodes */ -LASSO_EXPORT_VAR const gchar lassoSamlStatusCodeRequestDenied[]; -LASSO_EXPORT_VAR const gchar lassoSamlStatusCodeSuccess[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlStatusCodeRequestDenied[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlStatusCodeSuccess[]; /* AuthenticationMethods */ -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodPassword[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodKerberos[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodSecureRemotePassword[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodHardwareToken[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodSmartcardPki[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodSoftwarePki[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodPGP[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodSPki[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodXkms[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodXmlSign[]; -LASSO_EXPORT_VAR const gchar lassoSamlAuthenticationMethodUnspecified[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodPassword[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodKerberos[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSecureRemotePassword[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodHardwareToken[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSmartcardPki[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSoftwarePki[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodPGP[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodSPki[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodXkms[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodXmlSign[]; +LASSO_EXPORT_VAR const xmlChar lassoSamlAuthenticationMethodUnspecified[]; #ifdef __cplusplus } |
