diff --git a/bindings/bindings.py b/bindings/bindings.py
index 8a81f541..b8f9d503 100644
--- a/bindings/bindings.py
+++ b/bindings/bindings.py
@@ -268,8 +268,6 @@ class Function:
skip = func.attrib.get('skip')
if skip == 'true':
self.skip = True
- elif skip == 'unless-id-wsf' and not binding.options.idwsf:
- self.skip = True
elif binding.options.language in skip.split(','):
self.skip = True
if func.attrib.get('return_type_qualifier'):
@@ -558,18 +556,10 @@ def parse_header(header_file):
def parse_headers(srcdir):
- wsf_prefixes = ['disco_', 'dst_', 'is_', 'profile_service_', 'discovery_',
- 'wsf_', 'interaction_', 'utility_', 'sa_', 'authentication_',
- 'wsse_', 'sec_', 'idwsf2_', 'wsf2_', 'wsa_', 'wsu', 'soap_binding']
-
srcdir = os.path.abspath(srcdir)
parentdir = os.path.dirname(srcdir)
- exclusion = ('xml_idff.h', 'xml_idwsf.h', 'xml_saml2.h', \
- 'xml_idwsf2.h', 'xml_soap11.h',
- 'lasso_config.h', 'saml2_xsd.h' )
- if not binding.options.idwsf:
- exclusion += ( 'idwsf_strings.h', )
+ exclusion = ('xml_idff.h', 'xml_saml2.h', 'xml_soap11.h', 'lasso_config.h', 'saml2_xsd.h' )
for base, dirnames, filenames in os.walk(srcdir):
dirnames.sort()
filenames.sort()
@@ -580,10 +570,6 @@ def parse_headers(srcdir):
if not 'Makefile.am' in filenames:
# not a source dir
continue
- if not binding.options.idwsf and (bname == 'id-wsf' or \
- bname == 'id-wsf-2.0' or bname == 'ws'):
- # ignore ID-WSF
- continue
makefile_am = open(os.path.join(base, 'Makefile.am')).read()
filenames = [x for x in filenames if x.endswith('.h') if x in makefile_am]
for filename in filenames:
@@ -591,15 +577,11 @@ def parse_headers(srcdir):
continue
if 'private' in filename:
continue
- if not binding.options.idwsf:
- if True in (filename.startswith(wsf_prefix) for wsf_prefix in wsf_prefixes):
- continue
header_path = os.path.join(base, filename)
header_relpath = os.path.relpath(header_path, parentdir)
binding.headers.append(header_relpath)
parse_header(header_path)
- binding.constants.append(('b', 'LASSO_WSF_ENABLED'))
def main():
global binding
@@ -607,7 +589,6 @@ def main():
parser = OptionParser()
parser.add_option('-l', '--language', dest = 'language')
parser.add_option('-s', '--src-dir', dest = 'srcdir', default = '../lasso/')
- parser.add_option('--enable-id-wsf', dest = 'idwsf', action = 'store_true')
parser.add_option('--enable-exception-docs', dest= 'exception_doc', action = 'store_true')
options, args = parser.parse_args()
diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am
index e136ef9e..ff5c2926 100644
--- a/bindings/java/Makefile.am
+++ b/bindings/java/Makefile.am
@@ -28,10 +28,6 @@ endif
java_extension_LTLIBRARIES = libjnilasso.la
java_extensiondir = ${libdir}/java
-if WSF_ENABLED
-EXTRA_ARGS = --enable-id-wsf
-endif
-
java_lasso_source_files := $(shell $(PYTHON) $(top_srcdir)/bindings/bindings.py -l java-list --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS) )
lasso_jardir=$(prefix)/share/java
diff --git a/bindings/overrides.xml b/bindings/overrides.xml
index 1efa75f2..9bb08e01 100644
--- a/bindings/overrides.xml
+++ b/bindings/overrides.xml
@@ -34,17 +34,6 @@
rename="lasso_profile_has_dirty_identity"/>
-
-
-
-
-
-
-
-
-
-
-
@@ -164,8 +153,6 @@
-
-
@@ -175,26 +162,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -216,9 +183,5 @@
-
-
-
-
diff --git a/bindings/perl/Makefile.am b/bindings/perl/Makefile.am
index 1cf4434a..5bfb226c 100644
--- a/bindings/perl/Makefile.am
+++ b/bindings/perl/Makefile.am
@@ -30,10 +30,6 @@ TOCOPY=gobject_handling.c glist_handling.c ghashtable_handling.c Makefile.PL \
EXTRA_DIST=$(TOCOPY) typemap-in typemap-out lang.py __init__.py test.sh
-if WSF_ENABLED
-EXTRA_ARGS = --enable-id-wsf
-endif
-
# Copy if out of a build
Makefile.perl: $(srcdir)/Makefile.PL Lasso.xs Lasso.pm
$(AM_V_GEN) if [ "$(srcdir)" != "$(builddir)" ]; then \
diff --git a/bindings/perl/lang.py b/bindings/perl/lang.py
index 42536f92..f412ff95 100644
--- a/bindings/perl/lang.py
+++ b/bindings/perl/lang.py
@@ -208,7 +208,7 @@ INCLUDE: LassoNode.xs
self.xs.pn('sv_setiv(ct, %s);' % name)
elif type == 's':
self.xs.pn('sv_setpv(ct, %s);' % name)
- elif type == 'b': # only one case LASSO_WSF_ENABLED
+ elif type == 'b':
self.xs.unindent()
self.xs.pn('''#ifdef %s
sv_setiv(ct, 1);
@@ -224,7 +224,7 @@ INCLUDE: LassoNode.xs
self.xs.pn('ct = newSViv(%s);' % name)
elif type == 's':
self.xs.pn('ct = newSVpv((char*)%s, 0);' % name)
- elif type == 'b': # only one case LASSO_WSF_ENABLED
+ elif type == 'b':
self.xs.unindent()
self.xs.pn('''#ifdef %s
ct = newSViv(1);
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am
index 653aae8d..eddd6afb 100644
--- a/bindings/php5/Makefile.am
+++ b/bindings/php5/Makefile.am
@@ -24,11 +24,6 @@ nodist_lasso_la_SOURCES = _lasso.c
BUILT_SOURCES = _lasso.c
-if WSF_ENABLED
-EXTRA_ARGS = --enable-id-wsf
-endif
-
-
lasso.php _lasso.c: lang.py wrapper_source.py wrapper_header.py wrapper_source_top.c php_code.py ../overrides.xml
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l php5 --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)
diff --git a/bindings/php5/php_code.py b/bindings/php5/php_code.py
index eab23d73..7e94d16e 100644
--- a/bindings/php5/php_code.py
+++ b/bindings/php5/php_code.py
@@ -98,9 +98,6 @@ function lassoGetRequestTypeFromSoapMsg($mesg) {
return lasso_get_request_type_from_soap_msg($mesg);
}
-function lassoRegisterIdWsf2DstService($prefix, $href) {
- lasso_register_idwsf2_dst_service($prefix, $href);
-}
''', file=self.fd)
def generate_class(self, klass):
diff --git a/bindings/php7/Makefile.am b/bindings/php7/Makefile.am
index ea1fca9c..a25d8893 100644
--- a/bindings/php7/Makefile.am
+++ b/bindings/php7/Makefile.am
@@ -24,11 +24,6 @@ nodist_lasso_la_SOURCES = _lasso.c
BUILT_SOURCES = _lasso.c
-if WSF_ENABLED
-EXTRA_ARGS = --enable-id-wsf
-endif
-
-
lasso.php _lasso.c: lang.py wrapper_source.py wrapper_header.py wrapper_source_top.c php_code.py ../overrides.xml
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l php7 --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)
diff --git a/bindings/php7/php_code.py b/bindings/php7/php_code.py
index 35bdf028..a4eaf929 100644
--- a/bindings/php7/php_code.py
+++ b/bindings/php7/php_code.py
@@ -97,10 +97,6 @@ function cptrToPhp ($cptr) {
function lassoGetRequestTypeFromSoapMsg($mesg) {
return lasso_get_request_type_from_soap_msg($mesg);
}
-
-function lassoRegisterIdWsf2DstService($prefix, $href) {
- lasso_register_idwsf2_dst_service($prefix, $href);
-}
''', file=self.fd)
def generate_class(self, klass):
diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
index f774a0a0..e44ad6d5 100644
--- a/bindings/python/Makefile.am
+++ b/bindings/python/Makefile.am
@@ -32,10 +32,6 @@ _lasso.c lasso.py: $(top_srcdir)/lasso/*.h $(top_srcdir)/lasso/*.c $(top_srcdir)
EXTRA_DIST=lang.py wrapper_bottom.c wrapper_top.c __init__.py examples
-if WSF_ENABLED
-EXTRA_ARGS = --enable-id-wsf
-endif
-
lasso.py _lasso.c: lang.py wrapper_top.c wrapper_bottom.c ../bindings.py
$(AM_V_GEN) $(PYTHON) $(top_srcdir)/bindings/bindings.py -l python --src-dir=$(top_srcdir)/lasso/ $(EXTRA_ARGS)
diff --git a/bindings/python/lang.py b/bindings/python/lang.py
index bd7ef704..1e88e7bb 100644
--- a/bindings/python/lang.py
+++ b/bindings/python/lang.py
@@ -270,8 +270,6 @@ import lasso
# backward compatibility with the SWIG binding
-WSF_SUPPORT = WSF_ENABLED
-
Profile.isIdentityDirty = property(Profile.hasDirtyIdentity)
Profile.isSessionDirty = property(Profile.hasDirtySession)
@@ -303,15 +301,6 @@ MiscTextNode.text_child = MiscTextNode.textChild
NodeList = list
StringList = list
StringDict = dict
-registerIdWsf2DstService = registerIdwsf2DstService
-
-if WSF_SUPPORT:
- DiscoDescription_newWithBriefSoapHttpDescription = DiscoDescription.newWithBriefSoapHttpDescription
- Discovery.buildRequestMsg = Discovery.buildSoapRequestMsg
- InteractionProfileService.buildRequestMsg = InteractionProfileService.buildSoapRequestMsg
- InteractionProfileService.buildResponseMsg = InteractionProfileService.buildSoapResponseMsg
- DataService.buildRequestMsg = DataService.buildSoapRequestMsg
- DiscoModifyResponse.newEntryIds = DiscoModifyResponse.newEntryIDs
''', file=fd)
def generate_constants(self, fd):
diff --git a/bindings/python/tests/Makefile.am b/bindings/python/tests/Makefile.am
index 1305f26f..c27644f4 100644
--- a/bindings/python/tests/Makefile.am
+++ b/bindings/python/tests/Makefile.am
@@ -7,12 +7,7 @@ if PYTHON_ENABLED
TESTS += profiles_tests.py binding_tests.py
endif
-if WSF_ENABLED
-TESTS += idwsf1_tests.py idwsf2_tests.py
-endif
-
TEST_EXTENSIONS = .py
PY_LOG_COMPILER = $(PYTHON)
-EXTRA_DIST = profiles_tests.py binding_tests.py idwsf1_tests.py idwsf2_tests.py \
- tests.py XmlTestRunner.py
+EXTRA_DIST = profiles_tests.py binding_tests.py tests.py XmlTestRunner.py
diff --git a/bindings/python/tests/idwsf2_tests.py b/bindings/python/tests/idwsf2_tests.py
deleted file mode 100755
index 60b114ba..00000000
--- a/bindings/python/tests/idwsf2_tests.py
+++ /dev/null
@@ -1,796 +0,0 @@
-#! /usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# $Id: idwsf2_tests.py 3254 2007-06-05 21:23:57Z dlaniel $
-#
-# Python unit tests for Lasso library
-#
-# Copyright (C) 2004-2007 Entr'ouvert
-# http://lasso.entrouvert.org
-#
-# Authors: See AUTHORS file in top-level directory.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, see .
-
-
-import os
-import unittest
-import sys
-from six import StringIO
-import logging
-
-logging.basicConfig()
-
-if not '..' in sys.path:
- sys.path.insert(0, '..')
-if not '../.libs' in sys.path:
- sys.path.insert(0, '../.libs')
-
-import lasso
-
-try:
- import lxml.etree as ET
-except ImportError:
- try:
- import elementtree.ElementTree as ET
- except ImportError:
- import xml.etree.ElementTree as ET
-
-try:
- dataDir
-except NameError:
- dataDir = os.path.join(os.environ['TOP_SRCDIR'], 'tests', 'data')
-
-idpSoapEndpoint = 'http://idp1/soapEndpoint'
-spSoapEndpoint = 'http://sp1/soapEndpoint'
-spInteractionUrl = 'http://sp1/askMeAQuestion'
-
-class IdWsf2TestCase(unittest.TestCase):
- def getWspServer(self):
- wsp_metadata = os.path.join(dataDir, 'sp5-saml2/metadata.xml')
- wsp_private_key = os.path.join(dataDir, 'sp5-saml2/private-key.pem')
- idp_metadata = os.path.join(dataDir, 'idp5-saml2/metadata.xml')
-
- server = lasso.Server(wsp_metadata, wsp_private_key, None, None)
- server.role = lasso.PROVIDER_ROLE_SP
- server.addProvider(lasso.PROVIDER_ROLE_IDP, idp_metadata, None, None)
- server.setEncryptionPrivateKey(wsp_private_key);
-
- return server;
-
- def getWscServer(self):
- wsc_metadata = os.path.join(dataDir, 'sp6-saml2/metadata.xml')
- wsc_private_key = os.path.join(dataDir, 'sp6-saml2/private-key.pem')
- idp_metadata = os.path.join(dataDir, 'idp5-saml2/metadata.xml')
-
- server = lasso.Server(wsc_metadata, wsc_private_key, None, None)
- server.role = lasso.PROVIDER_ROLE_SP
- server.addProvider(lasso.PROVIDER_ROLE_IDP, idp_metadata, None, None)
-
- return server;
-
- def getIdpServer(self):
- if hasattr(self, 'idp_server_dump') and self.idp_server_dump is not None:
- server = lasso.Server.newFromDump(self.idp_server_dump)
- server.role = lasso.PROVIDER_ROLE_IDP
- else:
- idp_metadata = os.path.join(dataDir, 'idp5-saml2/metadata.xml')
- idp_private_key = os.path.join(dataDir, 'idp5-saml2/private-key.pem')
- wsp_metadata = os.path.join(dataDir, 'sp5-saml2/metadata.xml')
- wsc_metadata = os.path.join(dataDir, 'sp6-saml2/metadata.xml')
-
- server = lasso.Server(idp_metadata, idp_private_key, None, None)
- server.role = lasso.PROVIDER_ROLE_IDP
- server.addProvider(lasso.PROVIDER_ROLE_SP, wsp_metadata, None, None)
- server.getProvider(server.providerIds[0]).setEncryptionMode(lasso.ENCRYPTION_MODE_NAMEID);
- server.addProvider(lasso.PROVIDER_ROLE_SP, wsc_metadata, None, None)
- self.idp_server_dump = server.dump()
-
- return server
-
- def query(self, wsc, idp, idp_identity_dump, wsc_session_dump, uid, federations, services_map, service_associations, provider_ids = None, service_types = None, options = None, actions = None):
- session = lasso.Session.newFromDump(wsc_session_dump)
- assertion = session.getAssertion(idp.providerId)
- self.failUnless(assertion is not None)
- epr = assertion.idwsf2GetDiscoveryBootstrapEpr()
- self.failUnless(epr is not None)
- wsc_disco = lasso.IdWsf2Discovery(wsc)
- wsc_disco.setEpr(epr)
- wsc_disco.initQuery()
- wsc_disco.addRequestedService(service_types = service_types, provider_ids = provider_ids, options = options, actions = actions)
- wsc_disco.buildRequestMsg()
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.setIdentityFromDump(idp_identity_dump)
- idp_disco.processRequestMsg(wsc_disco.msgBody)
- f = self.nid2tuple(idp_disco.getNameIdentifier())
- uid = federations[f]
- for id in service_associations[uid]:
- idp_disco.addServiceMetadata(services_map[id])
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsc_disco.processResponseMsg(idp_disco.msgBody)
- return wsc_disco.endpointReferences
-
-
-
- def metadataRegister(self, wsp, idp, session_dump, abstract = None, address = None, provider_id = None, service_types = None, services_map = None):
- session = lasso.Session.newFromDump(session_dump)
- assertion = session.getAssertion(idp.providerId)
- self.failUnless(assertion is not None)
- epr = assertion.idwsf2GetDiscoveryBootstrapEpr()
- self.failUnless(epr is not None)
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(epr)
- abstract = 'Personal Profile service'
- self.failUnless(abstract is not None)
- self.failUnless(address is not None)
- self.failUnless(service_types is not None)
- self.failUnless(isinstance(services_map, dict))
- wsp_disco.initMetadataRegister()
- if not provider_id:
- provider_id = wsp.providerId
- wsp_disco.addSimpleServiceMetadata(
- service_types = service_types,
- abstract = abstract, provider_id = provider_id,
- address = address,
- security_mechanisms = (lasso.SECURITY_MECH_BEARER,))
- wsp_disco.buildRequestMsg()
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- idp_disco.validateRequest()
- self.failUnlessEqual(len(idp_disco.metadatas), 1)
- # add metadatas to directory
- sender = idp_disco.getSoapEnvelopeRequest().sb2GetProviderId()
- self.failUnless(sender is not None)
- metadatas = services_map.get(sender, [])
- for metadata in idp_disco.metadatas:
- services_map[metadata.svcMDID] = metadata
- metadatas.append(metadata.svcMDID)
- services_map[sender] = metadatas
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
- self.failUnlessEqual(len(wsp_disco.metadatas), 1)
- self.failUnlessEqual(wsp_disco.metadatas[0].svcMDID, wsp_disco.response.svcMDID[0])
- return wsp_disco.metadatas[0].svcMDID
-
- def nid2tuple(self, nid):
- return (nid.nameQualifier, nid.format, nid.sPNameQualifier, nid.content)
-
- def addAssociation(self, wsp, idp, session_dump, svcmdid, service_maps, federations, service_associations):
- self.failUnless(isinstance(service_associations, dict))
- self.failUnless(isinstance(service_maps, dict))
- # Get the bootstrap
- session = lasso.Session.newFromDump(session_dump)
- assertion = session.getAssertion(idp.providerId)
- self.failUnless(assertion is not None)
- epr = assertion.idwsf2GetDiscoveryBootstrapEpr()
- self.failUnless(epr is not None)
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(epr)
- wsp_disco.initMetadataAssociationAdd()
- wsp_disco.svcmdids = (svcmdid,)
- wsp_disco.buildRequestMsg()
- # Handle request
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- self.failUnlessEqual(idp_disco.svcmdids, (svcmdid,))
- sender = idp_disco.getSoapEnvelopeRequest().sb2GetProviderId()
- name_identifier = idp_disco.getNameIdentifier()
- f = self.nid2tuple(name_identifier)
- uid = federations[f]
- l = service_associations.get(uid, [])
- for id in idp_disco.svcmdids:
- # check it exists
- self.failUnless(service_maps.get(id) is not None)
- # create association
- if id not in l:
- l.append(id)
- service_associations[uid] = l
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
-
- def login(self, sp, idp, user_id, federations, sp_identity_dump=None, sp_session_dump=None,
- idp_identity_dump=None, idp_session_dump=None):
- sp_login = lasso.Login(sp)
- idp_provider_id = 'http://idp5/metadata'
- sp_login.initAuthnRequest(idp_provider_id, lasso.HTTP_METHOD_REDIRECT)
- sp_login.request.nameIDPolicy.format = lasso.SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT
- sp_login.request.nameIDPolicy.allowCreate = True
- sp_login.buildAuthnRequestMsg()
-
- idp_login = lasso.Login(idp)
- query = sp_login.msgUrl.split('?')[1]
- if idp_identity_dump is not None:
- idp_login.setIdentityFromDump(idp_identity_dump)
- if idp_session_dump is not None:
- idp_login.setSessionFromDump(idp_session_dump)
- idp_login.processAuthnRequestMsg(query)
- idp_login.validateRequestMsg(True, True)
- idp_login.buildAssertion(lasso.SAML_AUTHENTICATION_METHOD_PASSWORD, None, None, None, None)
- if idp_login.assertion.subject.encryptedId:
- f = self.nid2tuple(idp_login.assertion.subject.encryptedId.originalData)
- else:
- f = self.nid2tuple(idp_login.assertion.subject.nameId)
- federations[f] = user_id
- l = federations.get(user_id, [])
- l.append(f)
- federations[user_id] = l
- idp_login.idwsf2AddDiscoveryBootstrapEpr(url = idpSoapEndpoint, abstract = 'Discovery Service', security_mechanisms = (lasso.SECURITY_MECH_BEARER,))
- idp_login.buildArtifactMsg(lasso.HTTP_METHOD_ARTIFACT_GET)
- artifact_message = idp_login.artifactMessage
-
- if idp_login.isIdentityDirty:
- idp_identity_dump = idp_login.identity.dump()
- if idp_login.isSessionDirty:
- idp_session_dump = idp_login.session.dump()
-
- sp_login = lasso.Login(sp)
- query = idp_login.msgUrl.split('?')[1]
- query = query.replace("%3D", "=")
- sp_login.initRequest(query, lasso.HTTP_METHOD_ARTIFACT_GET)
- sp_login.buildRequestMsg()
-
- idp_login = lasso.Login(idp)
- idp_login.processRequestMsg(sp_login.msgBody)
- idp_login.artifactMessage = artifact_message
- idp_login.buildResponseMsg(None)
-
- sp_login.processResponseMsg(idp_login.msgBody)
- sp_login.acceptSso()
- if sp_login.isIdentityDirty:
- sp_identity_dump = sp_login.identity.dump()
- if sp_login.isSessionDirty:
- sp_session_dump = sp_login.session.dump()
-
- return sp_identity_dump, sp_session_dump, idp_identity_dump, idp_session_dump, sp_login.idwsf2GetDiscoveryBootstrapEpr()
-
-
-class MetadataTestCase(IdWsf2TestCase):
- def test01(self):
- """Test metadata registration on the IdP"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
-
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
-
- abstract = 'Personal Profile service'
- wsp_disco.initMetadataRegister()
- self.failUnless(wsp_disco.request is not None)
- wsp_disco.addSimpleServiceMetadata(service_types =
- (lasso.PP11_HREF,), abstract = abstract,
- provider_id = wsp.providerId, address = spSoapEndpoint,
- security_mechanisms = (lasso.SECURITY_MECH_BEARER,))
- self.failUnlessEqual(len(wsp_disco.metadatas), 1)
- metadata = wsp_disco.metadatas[0]
- self.failUnlessEqual(metadata.abstract, abstract)
- self.failUnlessEqual(metadata.providerId, wsp.providerId)
- self.failUnlessEqual(len(metadata.serviceContext), 1)
- self.failUnlessEqual(len(metadata.serviceContext[0].serviceType), 1)
- self.failUnlessEqual(metadata.serviceContext[0].serviceType[0],
- lasso.PP11_HREF)
- self.failUnlessEqual(len(metadata.serviceContext[0].endpointContext), 1)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].address),
- 1)
- self.failUnlessEqual(metadata.serviceContext[0].endpointContext[0].address[0],
- spSoapEndpoint)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].securityMechId),
- 1)
- self.failUnlessEqual(
- metadata.serviceContext[0].endpointContext[0].securityMechId[0],
- lasso.SECURITY_MECH_BEARER)
- self.failUnless(metadata.svcMDID is None)
- wsp_disco.buildRequestMsg()
- self.failUnlessEqual(wsp_disco.msgUrl, idpSoapEndpoint)
- self.failUnless(wsp_disco.msgBody is not None)
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- self.failUnless(idp_disco is not None)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- self.failUnless(idp_disco.request is not None)
- self.failUnlessEqual(len(idp_disco.request.svcMD), 1)
- self.failUnless(idp_disco.request.svcMD[0].svcMDID is None)
- try:
- idp_disco.checkSecurityMechanism()
- except lasso.Error as e:
- self.fail(e)
- try:
- idp_disco.validateRequest()
- except lasso.Error as e:
- self.fail(e)
- self.failUnless(idp_disco.response is not None)
- self.failUnlessEqual(len(idp_disco.metadatas), 1)
- metadata = idp_disco.metadatas[0]
- self.failUnlessEqual(metadata.abstract, abstract)
- self.failUnlessEqual(metadata.providerId, wsp.providerId)
- self.failUnlessEqual(len(metadata.serviceContext), 1)
- self.failUnlessEqual(len(metadata.serviceContext[0].serviceType), 1)
- self.failUnlessEqual(metadata.serviceContext[0].serviceType[0],
- lasso.PP11_HREF)
- self.failUnlessEqual(len(metadata.serviceContext[0].endpointContext), 1)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].address),
- 1)
- self.failUnlessEqual(metadata.serviceContext[0].endpointContext[0].address[0],
- spSoapEndpoint)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].securityMechId),
- 1)
- self.failUnlessEqual(
- metadata.serviceContext[0].endpointContext[0].securityMechId[0],
- lasso.SECURITY_MECH_BEARER)
- idp_disco.buildResponseMsg()
- self.failUnless(metadata.svcMDID is not None)
- self.failUnless(idp_disco.msgUrl is None)
- self.failUnless(idp_disco.msgBody is not None)
-
- wsp_disco.processResponseMsg(idp_disco.msgBody)
-
- self.failUnless(len(wsp_disco.metadatas) == 1, 'missing svcMDID')
- self.failUnless(wsp_disco.metadatas[0].svcMDID, 'missing svcMDID')
-
- def test02(self):
- "Test failure by IdP for register request"
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
-
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
-
- abstract = 'Personal Profile service'
- wsp_disco.initMetadataRegister()
- self.failUnless(wsp_disco.request is not None)
- wsp_disco.addSimpleServiceMetadata(service_types =
- (lasso.PP11_HREF,), abstract = abstract,
- provider_id = wsp.providerId, address = spSoapEndpoint,
- security_mechanisms= (lasso.SECURITY_MECH_BEARER,))
- self.failUnlessEqual(len(wsp_disco.metadatas), 1)
- metadata = wsp_disco.metadatas[0]
- self.failUnlessEqual(metadata.abstract, abstract)
- self.failUnlessEqual(metadata.providerId, wsp.providerId)
- self.failUnlessEqual(len(metadata.serviceContext[0].serviceType), 1)
- self.failUnlessEqual(metadata.serviceContext[0].serviceType[0],
- lasso.PP11_HREF)
- self.failUnlessEqual(len(metadata.serviceContext[0].endpointContext), 1)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].address),
- 1)
- self.failUnlessEqual(metadata.serviceContext[0].endpointContext[0].address[0],
- spSoapEndpoint)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].securityMechId),
- 1)
- self.failUnlessEqual(
- metadata.serviceContext[0].endpointContext[0].securityMechId[0],
- lasso.SECURITY_MECH_BEARER)
- self.failUnless(metadata.svcMDID is None)
- wsp_disco.buildRequestMsg()
- self.failUnlessEqual(wsp_disco.msgUrl, idpSoapEndpoint)
- self.failUnless(wsp_disco.msgBody is not None)
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- self.failUnless(idp_disco is not None)
- try:
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- except lasso.Error as e:
- self.fail(e)
- self.failUnless(idp_disco.request is not None)
- try:
- idp_disco.checkSecurityMechanism()
- except lasso.Error as e:
- self.fail(e)
- try:
- idp_disco.failRequest(lasso.IDWSF2_DISCOVERY_STATUS_CODE_FAILED, lasso.IDWSF2_DISCOVERY_STATUS_CODE_FORBIDDEN)
- except lasso.Error as e:
- self.fail(e)
- self.failUnless(idp_disco.response is not None)
- self.failUnless(idp_disco.response.status is not None)
- self.failUnless(idp_disco.response.status.code is not lasso.IDWSF2_DISCOVERY_STATUS_CODE_FAILED)
- self.failUnlessEqual(len(idp_disco.response.status.status), 1)
- self.failUnless(idp_disco.response.status.status[0].code is not lasso.IDWSF2_DISCOVERY_STATUS_CODE_FORBIDDEN)
- idp_disco.buildResponseMsg()
- self.failUnless(idp_disco.msgUrl is None)
- self.failUnless(idp_disco.msgBody is not None)
-
- try:
- wsp_disco.processResponseMsg(idp_disco.msgBody)
- except lasso.Idwsf2DiscoveryForbiddenError:
- pass
- except lasso.Error as e:
- self.fail(e)
-
- def test03(self):
- """Test metadata register with redirection"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
-
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
-
- abstract = 'Personal Profile service'
- wsp_disco.initMetadataRegister()
- soap_envelope = wsp_disco.getSoapEnvelopeRequest()
- soap_envelope.setSb2UserInteractionHint(lasso.IDWSF2_SB2_USER_INTERACTION_HINT_INTERACT_IF_NEEDED)
- self.failUnless(isinstance(soap_envelope.header, lasso.SoapHeader))
- self.failUnless(len(soap_envelope.header.other) > 0)
- self.failUnlessEqual(soap_envelope.getSb2UserInteractionHint(), lasso.IDWSF2_SB2_USER_INTERACTION_HINT_INTERACT_IF_NEEDED)
- self.failUnless(wsp_disco.request is not None)
- wsp_disco.addSimpleServiceMetadata(service_types =
- (lasso.PP11_HREF,), abstract = abstract,
- provider_id = wsp.providerId, address = spSoapEndpoint,
- security_mechanisms = (lasso.SECURITY_MECH_BEARER,))
- self.failUnlessEqual(len(wsp_disco.metadatas), 1)
- metadata = wsp_disco.metadatas[0]
- self.failUnlessEqual(metadata.abstract, abstract)
- self.failUnlessEqual(metadata.providerId, wsp.providerId)
- self.failUnlessEqual(len(metadata.serviceContext), 1)
- self.failUnlessEqual(len(metadata.serviceContext[0].serviceType), 1)
- self.failUnlessEqual(metadata.serviceContext[0].serviceType[0],
- lasso.PP11_HREF)
- self.failUnlessEqual(len(metadata.serviceContext[0].endpointContext), 1)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].address),
- 1)
- self.failUnlessEqual(metadata.serviceContext[0].endpointContext[0].address[0],
- spSoapEndpoint)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].securityMechId),
- 1)
- self.failUnlessEqual(
- metadata.serviceContext[0].endpointContext[0].securityMechId[0],
- lasso.SECURITY_MECH_BEARER)
- self.failUnless(metadata.svcMDID is None)
- wsp_disco.buildRequestMsg()
- self.failUnlessEqual(wsp_disco.msgUrl, idpSoapEndpoint)
- self.failUnless(wsp_disco.msgBody is not None)
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- self.failUnless(idp_disco is not None)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- self.failUnless(idp_disco.request is not None)
- self.failUnlessEqual(len(idp_disco.request.svcMD), 1)
- self.failUnless(idp_disco.request.svcMD[0].svcMDID is None)
- soap_envelope = idp_disco.getSoapEnvelopeRequest()
- self.failUnless(soap_envelope is not None)
- self.failUnless(soap_envelope.getMessageId() is not None)
- try:
- idp_disco.checkSecurityMechanism()
- except lasso.Error as e:
- self.fail(e)
- # redirect
- interactionUrl = spInteractionUrl
- idp_disco.redirectUserForInteraction(interactionUrl, False)
- response = idp_disco.response
- self.failUnless(isinstance(response, lasso.SoapFault))
- self.failUnless(response.detail is not None)
- self.failUnlessEqual(len(response.detail.any), 1)
- self.failUnless(isinstance(response.detail.any[0], lasso.IdWsf2Sb2RedirectRequest))
- self.failUnless(response.detail.any[0].redirectURL.startswith(interactionUrl + '?transactionID='))
- try:
- idp_disco.buildResponseMsg()
- except lasso.Error as e:
- self.fail(e)
- self.failUnless(idp_disco.msgBody is not None)
-
-
- self.failUnless(idp_disco.msgUrl is None)
- self.failUnless(idp_disco.msgBody is not None)
-
- try:
- wsp_disco.processResponseMsg(idp_disco.msgBody)
- except lasso.WsfprofileRedirectRequestError:
- pass
- except lasso.Error as e:
- self.fail(e)
- response_envelope = wsp_disco.getSoapEnvelopeResponse()
- self.failUnless(response_envelope.sb2GetRedirectRequestUrl().startswith(interactionUrl + '?transactionID='))
- # Here keep information about the request associated to ID: response_envelope.getMessageId().content
- wsp_disco_dump = wsp_disco.dump()
- wsp_disco = lasso.Node.newFromDump(wsp_disco_dump)
- wsp_disco.server = wsp
- request_envelope = wsp_disco.getSoapEnvelopeRequest()
- self.failUnless(request_envelope is not None)
- relates_to = request_envelope.getRelatesTo(True)
- self.failUnless(relates_to is not None)
- response_message_id = response_envelope.getMessageId().content
- relates_to.content = response_message_id
- wsp_disco.buildRequestMsg()
- # now redo as for test01 after request building
- self.failUnlessEqual(wsp_disco.msgUrl, idpSoapEndpoint)
- self.failUnless(wsp_disco.msgBody is not None)
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- self.failUnless(idp_disco is not None)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- self.failUnless(idp_disco.request is not None)
- self.failUnlessEqual(len(idp_disco.request.svcMD), 1)
- self.failUnless(idp_disco.request.svcMD[0].svcMDID is None)
- try:
- idp_disco.checkSecurityMechanism()
- except lasso.Error as e:
- self.fail(e)
- try:
- idp_disco.validateRequest()
- except lasso.Error as e:
- self.fail(e)
- self.failUnless(idp_disco.response is not None)
- self.failUnlessEqual(len(idp_disco.metadatas), 1)
- metadata = idp_disco.metadatas[0]
- self.failUnlessEqual(metadata.abstract, abstract)
- self.failUnlessEqual(metadata.providerId, wsp.providerId)
- self.failUnlessEqual(len(metadata.serviceContext), 1)
- self.failUnlessEqual(len(metadata.serviceContext[0].serviceType), 1)
- self.failUnlessEqual(metadata.serviceContext[0].serviceType[0],
- lasso.PP11_HREF)
- self.failUnlessEqual(len(metadata.serviceContext[0].endpointContext), 1)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].address),
- 1)
- self.failUnlessEqual(metadata.serviceContext[0].endpointContext[0].address[0],
- spSoapEndpoint)
- self.failUnlessEqual(
- len(metadata.serviceContext[0].endpointContext[0].securityMechId),
- 1)
- self.failUnlessEqual(
- metadata.serviceContext[0].endpointContext[0].securityMechId[0],
- lasso.SECURITY_MECH_BEARER)
- idp_disco.buildResponseMsg()
- self.failUnless(metadata.svcMDID is not None)
- self.failUnless(idp_disco.msgUrl is None)
- self.failUnless(idp_disco.msgBody is not None)
-
- wsp_disco.processResponseMsg(idp_disco.msgBody)
-
- self.failUnless(len(wsp_disco.metadatas) == 1, 'missing svcMDID')
- self.failUnless(wsp_disco.metadatas[0].svcMDID, 'missing svcMDID')
-
- def test04(self):
- """Test metadata query"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- federations = {}
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, federations)
- service_map = {}
- self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint,
- abstract = 'My first PP service', services_map = service_map)
- self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint+'2',
- abstract = 'My second PP service', services_map = service_map)
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, federations)
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
- wsp_disco.initMetadataQuery()
- wsp_disco.buildRequestMsg()
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- self.failUnlessEqual(idp_disco.svcmdids, ())
- sender = idp_disco.getSoapEnvelopeRequest().sb2GetProviderId()
- for svcMDID in service_map.get(sender, []):
- idp_disco.addServiceMetadata(service_map.get(svcMDID))
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
- self.failUnless(len(wsp_disco.metadatas), 2)
-
- def test05(self):
- """Test metadata delete"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
- service_map = {}
- self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint,
- abstract = 'My first PP service', services_map = service_map)
- self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint+'2',
- abstract = 'My second PP service', services_map = service_map)
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
-
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
- wsp_disco.initMetadataDelete()
- svcmdids = tuple(service_map[wsp.providerId])
- wsp_disco.setSvcmdids(svcmdids)
- wsp_disco.buildRequestMsg()
-
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- self.failUnlessEqual(idp_disco.svcmdids, svcmdids)
- sender = idp_disco.getSoapEnvelopeRequest().sb2GetProviderId()
- self.failUnlessEqual(sender, wsp.providerId)
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
-
-class MetadataAssociationTestCase(IdWsf2TestCase):
- def test01(self):
- """Metadata association add"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, dst_epr = self.login(wsp, idp, 1, {})
- service_map = {}
- svcMDID = self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint,
- abstract = 'My first PP service', services_map = service_map)
- # Make the request
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(dst_epr)
- wsp_disco.initMetadataAssociationAdd()
- wsp_disco.svcmdids = (svcMDID,)
- wsp_disco.buildRequestMsg()
- # Receive it
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- self.failUnlessEqual(idp_disco.svcmdids, (svcMDID,))
- sender = idp_disco.getSoapEnvelopeRequest().sb2GetProviderId()
- name_identifier = idp_disco.getNameIdentifier()
- # Store the association
- self.failUnless(sender is not None)
- self.failUnless(name_identifier is not None)
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
-
- def test02(self):
- """Metadata association query"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsc = self.getWscServer()
- # Register the service, add an association
- federations = {}
- wsp_identity_dump, wsp_session_dump, \
- idp_identity_dump, idp_session_dump, \
- wsp_dst_epr = self.login(wsp, idp, 1, federations)
- service_maps = {}
- svcMDID = self.metadataRegister(wsp, idp, wsp_session_dump,
- service_types = (lasso.PP11_HREF,), address = spSoapEndpoint,
- abstract = 'My first PP service', services_map = service_maps)
- service_associations = {}
- self.addAssociation(wsp, idp, wsp_session_dump, svcMDID, service_maps,
- federations, service_associations)
- # Start a query
- wsp_disco = lasso.IdWsf2Discovery(wsp)
- wsp_disco.setEpr(wsp_dst_epr)
- wsp_disco.initMetadataAssociationQuery()
- wsp_disco.buildRequestMsg()
- #
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.processRequestMsg(wsp_disco.msgBody)
- idp_disco.checkSecurityMechanism()
- self.failUnlessEqual(idp_disco.svcmdids, ())
- f = self.nid2tuple(idp_disco.getNameIdentifier())
- uid = federations[f]
- result = []
- for svcmdid in service_associations[uid]:
- result.append(svcmdid)
- idp_disco.svcmdids = tuple(result)
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsp_disco.processResponseMsg(idp_disco.msgBody)
- self.failUnlessEqual(wsp_disco.svcmdids, (svcMDID,))
-
- def test03(self):
- """Metadata association delete"""
- pass
-
-class QueryTestCase(IdWsf2TestCase):
- def test01(self):
- """Discovery Service Query"""
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsc = self.getWscServer()
- federations = {}
- # Register the service, add an association
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, idp_session_dump, wsp_dst_epr = self.login(wsp, idp, 1, federations)
- service_maps = {}
- svcMDID = self.metadataRegister(wsp, idp, wsp_session_dump, service_types =
- (lasso.PP11_HREF,), address = spSoapEndpoint,
- abstract = 'My first PP service', services_map = service_maps)
- service_associations = {}
- self.addAssociation(wsp, idp, wsp_session_dump, svcMDID, service_maps, federations, service_associations)
- # Try to find the service
- wsc_identity_dump, wsc_session_dump, idp_identity_dump, idp_session_dump, wsc_dst_epr = self.login(wsc, idp, 1, federations, idp_identity_dump = idp_identity_dump, idp_session_dump = idp_session_dump)
- wsc_disco = lasso.IdWsf2Discovery(wsc)
- wsc_disco.setEpr(wsc_dst_epr)
- wsc_disco.initQuery()
- wsc_disco.addRequestedService(service_types = (lasso.PP11_HREF,))
- wsc_disco.buildRequestMsg()
- idp_disco = lasso.IdWsf2Discovery(idp)
- idp_disco.setIdentityFromDump(idp_identity_dump)
- idp_disco.processRequestMsg(wsc_disco.msgBody)
- f = self.nid2tuple(idp_disco.getNameIdentifier())
- uid = federations[f]
- for id in service_associations[uid]:
- idp_disco.addServiceMetadata(service_maps[id])
- idp_disco.validateRequest()
- idp_disco.buildResponseMsg()
- wsc_disco.processResponseMsg(idp_disco.msgBody)
- self.failUnlessEqual(len(wsc_disco.endpointReferences), 1)
-
-class DstTestCase(IdWsf2TestCase):
- def test01(self):
- """Data Service Template Query"""
- content = 'Coin' % lasso.PP11_HREF
- idp = self.getIdpServer()
- wsp = self.getWspServer()
- wsc = self.getWscServer()
- federations = {}
- # Register the service, add an association
- wsp_identity_dump, wsp_session_dump, idp_identity_dump, \
- idp_session_dump, wsp_dst_epr = self.login(wsp, idp, 1,
- federations)
- service_maps = {}
- svcMDID = self.metadataRegister(wsp, idp, wsp_session_dump,
- service_types = (lasso.PP11_HREF,), address =
- spSoapEndpoint, abstract = 'My first PP service',
- services_map = service_maps)
- service_associations = {}
- self.addAssociation(wsp, idp, wsp_session_dump, svcMDID,
- service_maps, federations, service_associations)
- wsc_identity_dump, wsc_session_dump, idp_identity_dump, \
- idp_session_dump, wsc_dst_epr = self.login(wsc, idp, 1, federations,
- idp_identity_dump = idp_identity_dump, idp_session_dump =
- idp_session_dump)
- eprs = self.query(wsc, idp, idp_identity_dump, wsc_session_dump, 1,
- federations, service_maps, service_associations,
- service_types = (lasso.PP11_HREF,))
- self.failUnless(len(eprs), 1)
- lasso.registerIdwsf2DstService(lasso.PP11_PREFIX, lasso.PP11_HREF)
- wsc_dst = lasso.IdWsf2DataService(wsc)
- wsc_dst.setEpr(eprs[0])
- wsc_dst.initQuery()
- wsc_dst.setServiceType(lasso.PP11_PREFIX, lasso.PP11_HREF)
- wsc_dst.addQueryItem('/%s:PP' % lasso.PP11_PREFIX, 'xxx')
- wsc_dst.buildRequestMsg()
- wsp_dst = lasso.IdWsf2DataService(wsp)
- wsp_dst.processRequestMsg(wsc_dst.msgBody)
- self.failUnlessEqual(wsp_dst.requestType, lasso.IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY)
- wsp_dst.checkSecurityMechanism()
- data = ET.parse(StringIO(content))
- for item in wsp_dst.items:
- result = data.xpath(item.select, namespaces = { lasso.PP11_PREFIX: lasso.PP11_HREF })
- for found in result:
- wsp_dst.setQueryItemResult(item.itemId, ET.tostring(found), True)
- wsp_dst.setServiceType(lasso.PP11_PREFIX, lasso.PP11_HREF)
- wsp_dst.validateRequest()
- wsp_dst.buildResponseMsg()
- wsc_dst.processResponseMsg(wsp_dst.msgBody)
-
-
-metadataSuite = unittest.makeSuite(MetadataTestCase, 'test')
-metadataAssociationSuite = unittest.makeSuite(MetadataAssociationTestCase, 'test')
-querySuite = unittest.makeSuite(QueryTestCase, 'test')
-dstSuite = unittest.makeSuite(DstTestCase, 'test')
-
-
-allTests = unittest.TestSuite((metadataSuite,
- metadataAssociationSuite,querySuite,dstSuite))
-
-if __name__ == '__main__':
- sys.exit(not unittest.TextTestRunner(verbosity = 2).run(allTests).wasSuccessful())
-
diff --git a/bindings/python/tests/tests.py b/bindings/python/tests/tests.py
index f62b3303..efed53d1 100755
--- a/bindings/python/tests/tests.py
+++ b/bindings/python/tests/tests.py
@@ -47,9 +47,6 @@ testSuites = [
]
import lasso
-if lasso.WSF_SUPPORT:
- testSuites.append('idwsf1_tests')
- testSuites.append('idwsf2_tests')
# Parse command line options.
diff --git a/bindings/utils.py b/bindings/utils.py
index c7a01773..02432160 100644
--- a/bindings/utils.py
+++ b/bindings/utils.py
@@ -86,9 +86,6 @@ def format_as_camelcase(var):
def format_as_underscored(var):
'''Format an identifier name into underscored_name'''
var = '_'.join(camelcase_to_list(var))
- var = var.replace('id_wsf2_', 'idwsf2_')
- var = var.replace('_saslresponse', '_sasl_response')
- var = var.replace('ws_addr_', 'wsa_')
return var
def format_underscore_as_camelcase(var):
diff --git a/configure.ac b/configure.ac
index 2cdfbb14..36d7d255 100644
--- a/configure.ac
+++ b/configure.ac
@@ -679,18 +679,6 @@ AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
-dnl Check if wsf is explicitly disabled.
-AC_ARG_ENABLE(wsf, [ --enable-wsf enable experimental ID-WSF],
- enable_wsf="yes", enable_wsf="no")
-
-AM_CONDITIONAL([WSF_ENABLED],[test "x$enable_wsf" = "xyes"])
-LASSO_WSF_SUPPORT=0
-if test "x$enable_wsf" = "xyes"; then
- AC_DEFINE(LASSO_WSF_ENABLED, [], [Define if ID-WSF support is enabled])
- LASSO_WSF_SUPPORT=1
-fi
-AC_SUBST(LASSO_WSF_SUPPORT)
-
dnl API Reference documentation support
# gtkdocize greps for ^GTK_DOC_CHECK and parses it, so you need to have
@@ -746,21 +734,6 @@ fi
AM_CONDITIONAL(WITH_TESTS, [test "x$enable_tests" = "xyes"])
-AC_ARG_WITH(sasl2, [ --with-sasl2[=PFX] Use Cyrus SASL library version 2 for WSF-Auth])
-if test "x$enable_wsf" = "xyes"; then
- if test "$with_sasl2" != "no" && test "$with_sasl2" != "yes"
- then
- CPPFLAGS="$CPPFLAGS -I$with_sasl2/include"
- LDFLAGS="$LDFLAGS -L$with_sasl2/lib"
- fi
-
- saved_LIBS="$LIBS"
- AC_CHECK_LIB(sasl2, sasl_server_init,,
- AC_MSG_ERROR([libsasl must be installed for WSF support]),)
- LIBS="$saved_LIBS"
- LASSO_LIBS="$LASSO_LIBS -lsasl2"
-fi
-
AC_CHECK_PROGS(REST2HTML, rest2html rst2html)
AM_CONDITIONAL(HAVE_REST2HTML, test -n "$ac_cv_prog_REST2HTML")
@@ -907,15 +880,11 @@ docs/reference/lasso/version.xml
docs/reference/lasso/Makefile
lasso/Makefile
lasso/id-ff/Makefile
-lasso/id-wsf/Makefile
lasso/saml-2.0/Makefile
-lasso/id-wsf-2.0/Makefile
lasso/xml/Makefile
lasso/xml/ecp/Makefile
lasso/xml/saml-2.0/Makefile
lasso/xml/soap-1.1/Makefile
-lasso/xml/id-wsf-2.0/Makefile
-lasso/xml/ws/Makefile
lasso/xml/dsig/Makefile
tests/Makefile
tests/data/Makefile
@@ -961,7 +930,6 @@ Compiler: ${CC}
CFLAGS: ${AM_CFLAGS} ${CFLAGS}
Install prefix: ${prefix}
Debugging: $enable_debugging
-Experimental ID-WSF: $enable_wsf
Optionals builds
----------------
diff --git a/docs/reference/lasso/Makefile.am b/docs/reference/lasso/Makefile.am
index da55df6d..646f8030 100644
--- a/docs/reference/lasso/Makefile.am
+++ b/docs/reference/lasso/Makefile.am
@@ -81,12 +81,12 @@ EXTRA_HFILES=
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
IGNORE_HFILES= sessionprivate.h logoutprivate.h loginprivate.h profileprivate.h \
identityprivate.h serverprivate.h providerprivate.h id_ff_extensions_private.h \
-wsf_profile_private.h private.h saml_2_0_loginprivate.h \
+private.h saml_2_0_loginprivate.h \
saml_2_0_profileprivate.h saml_2_0_logoutprivate.h ecpprivate.h \
saml_2_0_serverprivate.h saml_2_0_providerprivate.h federationprivate.h \
-registry-private.h id_wsf_2_0_sessionprivate.h id_wsf_2_0_serverprivate.h \
-saml2_login_private.h id_wsf_2_0_private.h \
-backward_comp.h id_wsf_2.h id_wsf.h lasso_config.h utils.h debug.h
+registry-private.h \
+saml2_login_private.h \
+backward_comp.h lasso_config.h utils.h debug.h
# Images to copy into HTML directory.
# e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
HTML_IMAGES=
@@ -115,23 +115,13 @@ include $(top_srcdir)/gtk-doc.make
# Other files to distribute
# e.g. EXTRA_DIST += version.xml.in
-EXTRA_DIST += lasso-sections.txt lasso-docs.xml version.xml.in lasso.types.in style.css
+EXTRA_DIST += lasso-sections.txt lasso-docs.xml version.xml.in lasso.types style.css
# Files not to distribute
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
# DISTCLEANFILES =
-# Generate lasso.types depending on the WSF_ENABLED flag
-if WSF_ENABLED
-lasso.types: lasso.types.in
- sed -e 's/#WSF# //g' < $(srcdir)/lasso.types.in > lasso.types
-else
-lasso.types: lasso.types.in
- grep -v '#WSF#' $(srcdir)/lasso.types.in > lasso.types
-endif
-
-
# Comment this out if you want your docs-status tested during 'make check'
if ENABLE_GTK_DOC
TESTS_ENVIRONMENT = cd $(srcdir)
diff --git a/docs/reference/lasso/lasso-docs.xml b/docs/reference/lasso/lasso-docs.xml
index 028e03a2..7d6e9e9c 100644
--- a/docs/reference/lasso/lasso-docs.xml
+++ b/docs/reference/lasso/lasso-docs.xml
@@ -295,213 +295,6 @@ the GNU General Public License<
-
- Identity Web Services Framework 1.0
-
-
-
-
-
-
-
-
-
-
- Objects from ID-WSF 1.0 schemas
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ID-WSF 2.0
-
-
-
-
-
-
-
- Objects from ID-WSF 2.0 schemas
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Object from the SOAP 1.1 schemas
@@ -520,26 +313,6 @@ the GNU General Public License<
-
- Object from the WS-* schemas
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/reference/lasso/lasso-sections.txt b/docs/reference/lasso/lasso-sections.txt
index 1d54a4e9..90b269fa 100644
--- a/docs/reference/lasso/lasso-sections.txt
+++ b/docs/reference/lasso/lasso-sections.txt
@@ -331,50 +331,6 @@ LASSO_IS_NAME_IDENTIFIER_MAPPING_CLASS
LASSO_NAME_IDENTIFIER_MAPPING_GET_CLASS
-
-wsf_profile
-LassoWsfProfile
-LassoWsfProfile
-lasso_wsf_profile_get_identity
-lasso_wsf_profile_get_session
-lasso_wsf_profile_is_identity_dirty
-lasso_wsf_profile_is_session_dirty
-lasso_wsf_profile_set_identity_from_dump
-lasso_wsf_profile_set_session_from_dump
-lasso_wsf_profile_build_soap_request_msg
-lasso_wsf_profile_build_soap_response_msg
-lasso_wsf_profile_init_soap_request
-lasso_wsf_profile_init_soap_response
-lasso_wsf_profile_process_soap_request_msg
-lasso_wsf_profile_process_soap_response_msg
-lasso_wsf_profile_new
-lasso_wsf_profile_new_full
-lasso_wsf_profile_set_description_from_offering
-lasso_wsf_profile_set_description
-lasso_wsf_profile_get_description
-lasso_wsf_profile_get_resource_offering
-lasso_wsf_profile_set_security_mech_id
-lasso_wsf_profile_get_security_mech_id
-lasso_wsf_profile_init
-lasso_wsf_profile_get_remote_provider
-lasso_wsf_profile_get_remote_provider_id
-lasso_wsf_profile_get_soap_fault
-lasso_wsf_profile_set_soap_fault
-lasso_wsf_profile_set_status_code
-lasso_wsf_profile_get_status_code
-lasso_wsf_profile_set_msg_url_from_description
-lasso_wsf_profile_set_resource_offering
-lasso_wsf_profile_init_interaction_service_redirect
-
-LASSO_WSF_PROFILE
-LASSO_IS_WSF_PROFILE
-LASSO_TYPE_WSF_PROFILE
-lasso_wsf_profile_get_type
-LASSO_WSF_PROFILE_CLASS
-LASSO_IS_WSF_PROFILE_CLASS
-LASSO_WSF_PROFILE_GET_CLASS
-
-
authentication
LassoUserAccount
@@ -500,51 +456,6 @@ LASSO_IS_DISCOVERY_CLASS
LASSO_DISCOVERY_GET_CLASS
-
-sa_sasl_request
-LassoSaSASLRequest
-LassoSaSASLRequest
-lasso_sa_sasl_request_new
-
-LASSO_SA_SASL_REQUEST
-LASSO_IS_SA_SASL_REQUEST
-LASSO_TYPE_SA_SASL_REQUEST
-lasso_sa_sasl_request_get_type
-LASSO_SA_SASL_REQUEST_CLASS
-LASSO_IS_SA_SASL_REQUEST_CLASS
-LASSO_SA_SASL_REQUEST_GET_CLASS
-
-
-
-dst_modify
-LassoDstModify
-LassoDstModify
-lasso_dst_modify_new
-
-LASSO_DST_MODIFY
-LASSO_IS_DST_MODIFY
-LASSO_TYPE_DST_MODIFY
-lasso_dst_modify_get_type
-LASSO_DST_MODIFY_CLASS
-LASSO_IS_DST_MODIFY_CLASS
-LASSO_DST_MODIFY_GET_CLASS
-
-
-
-dst_query
-LassoDstQuery
-LassoDstQuery
-lasso_dst_query_new
-
-LASSO_DST_QUERY
-LASSO_IS_DST_QUERY
-LASSO_TYPE_DST_QUERY
-lasso_dst_query_get_type
-LASSO_DST_QUERY_CLASS
-LASSO_IS_DST_QUERY_CLASS
-LASSO_DST_QUERY_GET_CLASS
-
-
lib_federation_termination_notification
LassoLibFederationTerminationNotification
@@ -833,121 +744,6 @@ LASSO_SAML2_FIELD_SIGNATURE
LASSO_SAML2_FIELD_SIGALG
-
-id_wsf_strings
-ID-WSF 1.0 Strings
-
-LASSO_DISCO_HREF
-LASSO_DISCO_PREFIX
-LASSO_EP_HREF
-LASSO_EP_PREFIX
-LASSO_IS_HREF
-LASSO_IS_PREFIX
-LASSO_PP10_HREF
-LASSO_PP10_PREFIX
-LASSO_SA_HREF
-LASSO_SA_PREFIX
-LASSO_SEC_HREF
-LASSO_SEC_PREFIX
-LASSO_SOAP_BINDING_EXT_HREF
-LASSO_SOAP_BINDING_EXT_PREFIX
-LASSO_SOAP_BINDING_HREF
-LASSO_SOAP_BINDING_PREFIX
-
-LASSO_SECURITY_MECH_NULL
-LASSO_SECURITY_MECH_X509
-LASSO_SECURITY_MECH_SAML
-LASSO_SECURITY_MECH_BEARER
-LASSO_SECURITY_MECH_TLS
-LASSO_SECURITY_MECH_TLS_X509
-LASSO_SECURITY_MECH_TLS_SAML
-LASSO_SECURITY_MECH_TLS_BEARER
-LASSO_SECURITY_MECH_CLIENT_TLS
-LASSO_SECURITY_MECH_CLIENT_TLS_X509
-LASSO_SECURITY_MECH_CLIENT_TLS_SAML
-LASSO_SECURITY_MECH_CLIENT_TLS_BEARER
-LASSO_SECURITY11_MECH_X509
-LASSO_SECURITY11_MECH_SAML
-LASSO_SECURITY11_MECH_BEARER
-LASSO_SECURITY11_MECH_TLS_X509
-LASSO_SECURITY11_MECH_TLS_SAML
-LASSO_SECURITY11_MECH_TLS_BEARER
-LASSO_SA_SASL_SERVICE_NAME
-
-LASSO_IS_INTERACT_ATTR_INTERACT_IF_NEEDED
-LASSO_IS_INTERACT_ATTR_DO_NOT_INTERACT
-LASSO_IS_INTERACT_ATTR_DO_NOT_INTERACT_FOR_DATA
-
-LASSO_DISCO_STATUS_CODE_OK
-LASSO_DISCO_STATUS_CODE_DISCO_OK
-LASSO_DISCO_STATUS_CODE_FAILED
-LASSO_DISCO_STATUS_CODE_REMOVE_ENTRY
-LASSO_DISCO_STATUS_CODE_FORBIDDEN
-LASSO_DISCO_STATUS_CODE_NO_RESULTS
-LASSO_DISCO_STATUS_CODE_DIRECTIVES
-
-LASSO_DST_STATUS_CODE_OK
-LASSO_DST_STATUS_CODE_FAILED
-LASSO_DST_STATUS_CODE_PARTIAL
-LASSO_DST_STATUS_CODE_ACTION_NOT_AUTHORIZED
-LASSO_DST_STATUS_CODE_ACTION_NOT_SUPPORTED
-LASSO_DST_STATUS_CODE_ALL_RETURNED
-LASSO_DST_STATUS_CODE_CHANGE_HISTORY_NOT_SUPPORTED
-LASSO_DST_STATUS_CODE_CHANGED_SINCE_RETURNS_ALL
-LASSO_DST_STATUS_CODE_DATA_TOO_LONG
-LASSO_DST_STATUS_CODE_EXISTS_ALREADY
-LASSO_DST_STATUS_CODE_EXTENSION_NOT_SUPPORTED
-LASSO_DST_STATUS_CODE_INVALID_DATA
-LASSO_DST_STATUS_CODE_INVALID_RESOURCE_ID
-LASSO_DST_STATUS_CODE_INVALID_SELECT
-LASSO_DST_STATUS_CODE_MISSING_NEW_DATA_ELEMENT
-LASSO_DST_STATUS_CODE_MISSING_RESOURCE_ID_ELEMENT
-LASSO_DST_STATUS_CODE_MISSING_SELECT
-LASSO_DST_STATUS_CODE_MODIFIED_SINCE
-LASSO_DST_STATUS_CODE_NO_MORE_ELEMENTS
-LASSO_DST_STATUS_CODE_NO_MULTIPLE_ALLOWED
-LASSO_DST_STATUS_CODE_NO_MULTIPLE_RESOURCES
-LASSO_DST_STATUS_CODE_TIME_OUT
-LASSO_DST_STATUS_CODE_UNEXPECTED_ERROR
-
-LASSO_SA_STATUS_CODE_OK
-LASSO_SA_STATUS_CODE_CONTINUE
-LASSO_SA_STATUS_CODE_ABORT
-
-LASSO_SOAP_BINDING_PROCESS_CONTEXT_PRINCIPAL_OFFLINE
-LASSO_SOAP_BINDING_PROCESS_CONTEXT_PRINCIPAL_ONLINE
-LASSO_SOAP_BINDING_PROCESS_CONTEXT_SIMULATE
-
-
-
-id_wsf2_strings
-Strings for ID-WSF 2.0
-
-LASSO_IDWSF2_SB2_HREF
-LASSO_IDWSF2_SB2_PREFIX
-LASSO_IDWSF2_SBF_HREF
-LASSO_IDWSF2_SBF_PREFIX
-LASSO_IDWSF2_DISCOVERY_HREF
-LASSO_IDWSF2_DISCOVERY_PREFIX
-LASSO_IDWSF2_DST_HREF
-LASSO_IDWSF2_DST_PREFIX
-LASSO_IDWSF2_DSTREF_HREF
-LASSO_IDWSF2_DSTREF_PREFIX
-LASSO_IDWSF2_IMS_HREF
-LASSO_IDWSF2_IMS_PREFIX
-LASSO_IDWSF2_IS_HREF
-LASSO_IDWSF2_IS_PREFIX
-LASSO_IDWSF2_PS_HREF
-LASSO_IDWSF2_PS_PREFIX
-LASSO_IDWSF2_SUBS_HREF
-LASSO_IDWSF2_SUBS_PREFIX
-LASSO_IDWSF2_SUBSREF_HREF
-LASSO_IDWSF2_SUBSREF_PREFIX
-LASSO_IDWSF2_UTIL_HREF
-LASSO_IDWSF2_UTIL_PREFIX
-LASSO_IDWSF2_SEC_HREF
-LASSO_IDWSF2_SEC_PREFIX
-
soap_strings
@@ -966,21 +762,6 @@ LASSO_DS_HREF
LASSO_DS_PREFIX
-
-disco_modify
-LassoDiscoModify
-LassoDiscoModify
-lasso_disco_modify_new
-
-LASSO_DISCO_MODIFY
-LASSO_IS_DISCO_MODIFY
-LASSO_TYPE_DISCO_MODIFY
-lasso_disco_modify_get_type
-LASSO_DISCO_MODIFY_CLASS
-LASSO_IS_DISCO_MODIFY_CLASS
-LASSO_DISCO_MODIFY_GET_CLASS
-
-
ds_key_info
LassoDsKeyInfo
@@ -996,36 +777,6 @@ LASSO_IS_DS_KEY_INFO_CLASS
LASSO_DS_KEY_INFO_GET_CLASS
-
-disco_remove_entry
-LassoDiscoRemoveEntry
-LassoDiscoRemoveEntry
-lasso_disco_remove_entry_new
-
-LASSO_DISCO_REMOVE_ENTRY
-LASSO_IS_DISCO_REMOVE_ENTRY
-LASSO_TYPE_DISCO_REMOVE_ENTRY
-lasso_disco_remove_entry_get_type
-LASSO_DISCO_REMOVE_ENTRY_CLASS
-LASSO_IS_DISCO_REMOVE_ENTRY_CLASS
-LASSO_DISCO_REMOVE_ENTRY_GET_CLASS
-
-
-
-sec_resource_access_statement
-LassoSecResourceAccessStatement
-LassoSecResourceAccessStatement
-lasso_sec_resource_access_statement_new
-
-LASSO_SEC_RESOURCE_ACCESS_STATEMENT
-LASSO_IS_SEC_RESOURCE_ACCESS_STATEMENT
-LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT
-lasso_sec_resource_access_statement_get_type
-LASSO_SEC_RESOURCE_ACCESS_STATEMENT_CLASS
-LASSO_IS_SEC_RESOURCE_ACCESS_STATEMENT_CLASS
-LASSO_SEC_RESOURCE_ACCESS_STATEMENT_GET_CLASS
-
-
saml_subject_locality
LassoSamlSubjectLocality
@@ -1101,41 +852,6 @@ LASSO_IS_SAMLP_REQUEST_ABSTRACT_CLASS
LASSO_SAMLP_REQUEST_ABSTRACT_GET_CLASS
-
-disco_description
-LassoDiscoDescription
-LassoDiscoDescription
-lasso_disco_description_copy
-lasso_disco_description_new
-lasso_disco_description_new_with_WsdlRef
-lasso_disco_description_new_with_BriefSoapHttpDescription
-lasso_disco_description_has_saml_authentication
-lasso_disco_description_has_x509_authentication
-
-LASSO_DISCO_DESCRIPTION
-LASSO_IS_DISCO_DESCRIPTION
-LASSO_TYPE_DISCO_DESCRIPTION
-lasso_disco_description_get_type
-LASSO_DISCO_DESCRIPTION_CLASS
-LASSO_IS_DISCO_DESCRIPTION_CLASS
-LASSO_DISCO_DESCRIPTION_GET_CLASS
-
-
-
-sa_sasl_response
-LassoSaSASLResponse
-LassoSaSASLResponse
-lasso_sa_sasl_response_new
-
-LASSO_SA_SASL_RESPONSE
-LASSO_IS_SA_SASL_RESPONSE
-LASSO_TYPE_SA_SASL_RESPONSE
-lasso_sa_sasl_response_get_type
-LASSO_SA_SASL_RESPONSE_CLASS
-LASSO_IS_SA_SASL_RESPONSE_CLASS
-LASSO_SA_SASL_RESPONSE_GET_CLASS
-
-
saml_name_identifier
LassoSamlNameIdentifier
@@ -1152,21 +868,6 @@ LASSO_IS_SAML_NAME_IDENTIFIER_CLASS
LASSO_SAML_NAME_IDENTIFIER_GET_CLASS
-
-dst_modification
-LassoDstModification
-LassoDstModification
-lasso_dst_modification_new
-
-LASSO_DST_MODIFICATION
-LASSO_IS_DST_MODIFICATION
-LASSO_TYPE_DST_MODIFICATION
-lasso_dst_modification_get_type
-LASSO_DST_MODIFICATION_CLASS
-LASSO_IS_DST_MODIFICATION_CLASS
-LASSO_DST_MODIFICATION_GET_CLASS
-
-
lib_idp_list
LassoLibIDPList
@@ -1197,21 +898,6 @@ LASSO_IS_LIB_AUTHN_CONTEXT_CLASS
LASSO_LIB_AUTHN_CONTEXT_GET_CLASS
-
-dst_new_data
-LassoDstNewData
-LassoDstNewData
-lasso_dst_new_data_new
-
-LASSO_DST_NEW_DATA
-LASSO_IS_DST_NEW_DATA
-LASSO_TYPE_DST_NEW_DATA
-lasso_dst_new_data_get_type
-LASSO_DST_NEW_DATA_CLASS
-LASSO_IS_DST_NEW_DATA_CLASS
-LASSO_DST_NEW_DATA_GET_CLASS
-
-
lib_idp_entries
LassoLibIDPEntries
@@ -1227,21 +913,6 @@ LASSO_IS_LIB_IDP_ENTRIES_CLASS
LASSO_LIB_IDP_ENTRIES_GET_CLASS
-
-is_help
-LASSO_IS_IS_HELP
-LassoIsHelp
-LassoIsHelp
-lasso_is_help_new
-
-LASSO_IS_HELP
-LASSO_TYPE_IS_HELP
-lasso_is_help_get_type
-LASSO_IS_HELP_CLASS
-LASSO_IS_IS_HELP_CLASS
-LASSO_IS_HELP_GET_CLASS
-
-
samlp_request
LassoSamlpRequest
@@ -1385,21 +1056,6 @@ LASSO_IS_SOAP_FAULT_CLASS
LASSO_SOAP_FAULT_GET_CLASS
-
-disco_options
-LassoDiscoOptions
-LassoDiscoOptions
-lasso_disco_options_new
-
-LASSO_DISCO_OPTIONS
-LASSO_IS_DISCO_OPTIONS
-LASSO_TYPE_DISCO_OPTIONS
-lasso_disco_options_get_type
-LASSO_DISCO_OPTIONS_CLASS
-LASSO_IS_DISCO_OPTIONS_CLASS
-LASSO_DISCO_OPTIONS_GET_CLASS
-
-
ds_key_value
LassoDsKeyValue
@@ -1430,21 +1086,6 @@ LASSO_IS_LIB_SUBJECT_CLASS
LASSO_LIB_SUBJECT_GET_CLASS
-
-disco_authorize_requester
-LassoDiscoAuthorizeRequester
-LassoDiscoAuthorizeRequester
-lasso_disco_authorize_requester_new
-
-LASSO_DISCO_AUTHORIZE_REQUESTER
-LASSO_IS_DISCO_AUTHORIZE_REQUESTER
-LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER
-lasso_disco_authorize_requester_get_type
-LASSO_DISCO_AUTHORIZE_REQUESTER_CLASS
-LASSO_IS_DISCO_AUTHORIZE_REQUESTER_CLASS
-LASSO_DISCO_AUTHORIZE_REQUESTER_GET_CLASS
-
-
samlp_response
LassoSamlpResponse
@@ -1475,21 +1116,6 @@ LASSO_IS_SAML_ATTRIBUTE_DESIGNATOR_CLASS
LASSO_SAML_ATTRIBUTE_DESIGNATOR_GET_CLASS
-
-disco_requested_service_type
-LassoDiscoRequestedServiceType
-LassoDiscoRequestedServiceType
-lasso_disco_requested_service_type_new
-
-LASSO_DISCO_REQUESTED_SERVICE_TYPE
-LASSO_IS_DISCO_REQUESTED_SERVICE_TYPE
-LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE
-lasso_disco_requested_service_type_get_type
-LASSO_DISCO_REQUESTED_SERVICE_TYPE_CLASS
-LASSO_IS_DISCO_REQUESTED_SERVICE_TYPE_CLASS
-LASSO_DISCO_REQUESTED_SERVICE_TYPE_GET_CLASS
-
-
saml_authority_binding
LassoSamlAuthorityBinding
@@ -1505,21 +1131,6 @@ LASSO_IS_SAML_AUTHORITY_BINDING_CLASS
LASSO_SAML_AUTHORITY_BINDING_GET_CLASS
-
-disco_send_single_logout
-LassoDiscoSendSingleLogout
-LassoDiscoSendSingleLogout
-lasso_disco_send_single_logout_new
-
-LASSO_DISCO_SEND_SINGLE_LOGOUT
-LASSO_IS_DISCO_SEND_SINGLE_LOGOUT
-LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT
-lasso_disco_send_single_logout_get_type
-LASSO_DISCO_SEND_SINGLE_LOGOUT_CLASS
-LASSO_IS_DISCO_SEND_SINGLE_LOGOUT_CLASS
-LASSO_DISCO_SEND_SINGLE_LOGOUT_GET_CLASS
-
-
lib_register_name_identifier_request
LassoLibRegisterNameIdentifierRequest
@@ -1550,66 +1161,6 @@ LASSO_IS_SAML_SUBJECT_STATEMENT_ABSTRACT_CLASS
LASSO_SAML_SUBJECT_STATEMENT_ABSTRACT_GET_CLASS
-
-dst_query_response
-LassoDstQueryResponse
-LassoDstQueryResponse
-lasso_dst_query_response_new
-
-LASSO_DST_QUERY_RESPONSE
-LASSO_IS_DST_QUERY_RESPONSE
-LASSO_TYPE_DST_QUERY_RESPONSE
-lasso_dst_query_response_get_type
-LASSO_DST_QUERY_RESPONSE_CLASS
-LASSO_IS_DST_QUERY_RESPONSE_CLASS
-LASSO_DST_QUERY_RESPONSE_GET_CLASS
-
-
-
-is_interaction_response
-LASSO_IS_IS_INTERACTION_RESPONSE
-LassoIsInteractionResponse
-LassoIsInteractionResponse
-lasso_is_interaction_response_new
-
-LASSO_IS_INTERACTION_RESPONSE
-LASSO_TYPE_IS_INTERACTION_RESPONSE
-lasso_is_interaction_response_get_type
-LASSO_IS_INTERACTION_RESPONSE_CLASS
-LASSO_IS_IS_INTERACTION_RESPONSE_CLASS
-LASSO_IS_INTERACTION_RESPONSE_GET_CLASS
-
-
-
-dst_query_item
-LassoDstQueryItem
-LassoDstQueryItem
-lasso_dst_query_item_new
-
-LASSO_DST_QUERY_ITEM
-LASSO_IS_DST_QUERY_ITEM
-LASSO_TYPE_DST_QUERY_ITEM
-lasso_dst_query_item_get_type
-LASSO_DST_QUERY_ITEM_CLASS
-LASSO_IS_DST_QUERY_ITEM_CLASS
-LASSO_DST_QUERY_ITEM_GET_CLASS
-
-
-
-disco_query
-LassoDiscoQuery
-LassoDiscoQuery
-lasso_disco_query_new
-
-LASSO_DISCO_QUERY
-LASSO_IS_DISCO_QUERY
-LASSO_TYPE_DISCO_QUERY
-lasso_disco_query_get_type
-LASSO_DISCO_QUERY_CLASS
-LASSO_IS_DISCO_QUERY_CLASS
-LASSO_DISCO_QUERY_GET_CLASS
-
-
lib_register_name_identifier_response
LassoLibRegisterNameIdentifierResponse
@@ -1626,36 +1177,6 @@ LASSO_IS_LIB_REGISTER_NAME_IDENTIFIER_RESPONSE_CLASS
LASSO_LIB_REGISTER_NAME_IDENTIFIER_RESPONSE_GET_CLASS
-
-soap_binding_usage_directive
-LassoSoapBindingUsageDirective
-LassoSoapBindingUsageDirective
-lasso_soap_binding_usage_directive_new
-
-LASSO_SOAP_BINDING_USAGE_DIRECTIVE
-LASSO_IS_SOAP_BINDING_USAGE_DIRECTIVE
-LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE
-lasso_soap_binding_usage_directive_get_type
-LASSO_SOAP_BINDING_USAGE_DIRECTIVE_CLASS
-LASSO_IS_SOAP_BINDING_USAGE_DIRECTIVE_CLASS
-LASSO_SOAP_BINDING_USAGE_DIRECTIVE_GET_CLASS
-
-
-
-sa_transform
-LassoSaTransform
-LassoSaTransform
-lasso_sa_transform_new
-
-LASSO_SA_TRANSFORM
-LASSO_IS_SA_TRANSFORM
-LASSO_TYPE_SA_TRANSFORM
-lasso_sa_transform_get_type
-LASSO_SA_TRANSFORM_CLASS
-LASSO_IS_SA_TRANSFORM_CLASS
-LASSO_SA_TRANSFORM_GET_CLASS
-
-
lib_name_identifier_mapping_request
LassoLibNameIdentifierMappingRequest
@@ -1717,21 +1238,6 @@ LASSO_IS_LIB_AUTHN_RESPONSE_ENVELOPE_CLASS
LASSO_LIB_AUTHN_RESPONSE_ENVELOPE_GET_CLASS
-
-is_parameter
-LASSO_IS_IS_PARAMETER
-LassoIsParameter
-LassoIsParameter
-lasso_is_parameter_new
-
-LASSO_IS_PARAMETER
-LASSO_TYPE_IS_PARAMETER
-lasso_is_parameter_get_type
-LASSO_IS_PARAMETER_CLASS
-LASSO_IS_IS_PARAMETER_CLASS
-LASSO_IS_PARAMETER_GET_CLASS
-
-
saml_statement_abstract
LassoSamlStatementAbstract
@@ -1746,82 +1252,6 @@ LASSO_IS_SAML_STATEMENT_ABSTRACT_CLASS
LASSO_SAML_STATEMENT_ABSTRACT_GET_CLASS
-
-disco_resource_offering
-LassoDiscoResourceOffering
-LassoDiscoResourceOffering
-lasso_disco_resource_offering_new
-
-LASSO_DISCO_RESOURCE_OFFERING
-LASSO_IS_DISCO_RESOURCE_OFFERING
-LASSO_TYPE_DISCO_RESOURCE_OFFERING
-lasso_disco_resource_offering_get_type
-LASSO_DISCO_RESOURCE_OFFERING_CLASS
-LASSO_IS_DISCO_RESOURCE_OFFERING_CLASS
-LASSO_DISCO_RESOURCE_OFFERING_GET_CLASS
-
-
-
-soap_binding_correlation
-LassoSoapBindingCorrelation
-LassoSoapBindingCorrelation
-lasso_soap_binding_correlation_new
-
-LASSO_SOAP_BINDING_CORRELATION
-LASSO_IS_SOAP_BINDING_CORRELATION
-LASSO_TYPE_SOAP_BINDING_CORRELATION
-lasso_soap_binding_correlation_get_type
-LASSO_SOAP_BINDING_CORRELATION_CLASS
-LASSO_IS_SOAP_BINDING_CORRELATION_CLASS
-LASSO_SOAP_BINDING_CORRELATION_GET_CLASS
-
-
-
-disco_service_instance
-LassoDiscoServiceInstance
-LassoDiscoServiceInstance
-lasso_disco_service_instance_copy
-lasso_disco_service_instance_new
-
-LASSO_DISCO_SERVICE_INSTANCE
-LASSO_IS_DISCO_SERVICE_INSTANCE
-LASSO_TYPE_DISCO_SERVICE_INSTANCE
-lasso_disco_service_instance_get_type
-LASSO_DISCO_SERVICE_INSTANCE_CLASS
-LASSO_IS_DISCO_SERVICE_INSTANCE_CLASS
-LASSO_DISCO_SERVICE_INSTANCE_GET_CLASS
-
-
-
-sa_parameter
-LassoSaParameter
-LassoSaParameter
-lasso_sa_parameter_new
-
-LASSO_SA_PARAMETER
-LASSO_IS_SA_PARAMETER
-LASSO_TYPE_SA_PARAMETER
-lasso_sa_parameter_get_type
-LASSO_SA_PARAMETER_CLASS
-LASSO_IS_SA_PARAMETER_CLASS
-LASSO_SA_PARAMETER_GET_CLASS
-
-
-
-disco_resource_id
-LassoDiscoResourceID
-LassoDiscoResourceID
-lasso_disco_resource_id_new
-
-LASSO_DISCO_RESOURCE_ID
-LASSO_IS_DISCO_RESOURCE_ID
-LASSO_TYPE_DISCO_RESOURCE_ID
-lasso_disco_resource_id_get_type
-LASSO_DISCO_RESOURCE_ID_CLASS
-LASSO_IS_DISCO_RESOURCE_ID_CLASS
-LASSO_DISCO_RESOURCE_ID_GET_CLASS
-
-
soap_header
LassoSoapHeader
@@ -1838,51 +1268,6 @@ LASSO_IS_SOAP_HEADER_CLASS
LASSO_SOAP_HEADER_GET_CLASS
-
-is_user_interaction
-LASSO_IS_IS_USER_INTERACTION
-LassoIsUserInteraction
-LassoIsUserInteraction
-lasso_is_user_interaction_new
-
-LASSO_IS_USER_INTERACTION
-LASSO_TYPE_IS_USER_INTERACTION
-lasso_is_user_interaction_get_type
-LASSO_IS_USER_INTERACTION_CLASS
-LASSO_IS_IS_USER_INTERACTION_CLASS
-LASSO_IS_USER_INTERACTION_GET_CLASS
-
-
-
-disco_query_response
-LassoDiscoQueryResponse
-LassoDiscoQueryResponse
-lasso_disco_query_response_new
-
-LASSO_DISCO_QUERY_RESPONSE
-LASSO_IS_DISCO_QUERY_RESPONSE
-LASSO_TYPE_DISCO_QUERY_RESPONSE
-lasso_disco_query_response_get_type
-LASSO_DISCO_QUERY_RESPONSE_CLASS
-LASSO_IS_DISCO_QUERY_RESPONSE_CLASS
-LASSO_DISCO_QUERY_RESPONSE_GET_CLASS
-
-
-
-disco_encrypted_resource_id
-LassoDiscoEncryptedResourceID
-LassoDiscoEncryptedResourceID
-lasso_disco_encrypted_resource_id_new
-
-LASSO_DISCO_ENCRYPTED_RESOURCE_ID
-LASSO_IS_DISCO_ENCRYPTED_RESOURCE_ID
-LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID
-lasso_disco_encrypted_resource_id_get_type
-LASSO_DISCO_ENCRYPTED_RESOURCE_ID_CLASS
-LASSO_IS_DISCO_ENCRYPTED_RESOURCE_ID_CLASS
-LASSO_DISCO_ENCRYPTED_RESOURCE_ID_GET_CLASS
-
-
lib_logout_request
LassoLibLogoutRequest
@@ -1899,21 +1284,6 @@ LASSO_IS_LIB_LOGOUT_REQUEST_CLASS
LASSO_LIB_LOGOUT_REQUEST_GET_CLASS
-
-soap_binding_ext_credentials_context
-LassoSoapBindingExtCredentialsContext
-LassoSoapBindingExtCredentialsContext
-lasso_soap_binding_ext_credentials_context_new
-
-LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT
-LASSO_IS_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT
-LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT
-lasso_soap_binding_ext_credentials_context_get_type
-LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_CLASS
-LASSO_IS_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_CLASS
-LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_GET_CLASS
-
-
misc_text_node
LassoMiscTextNode
@@ -1933,21 +1303,6 @@ LASSO_IS_MISC_TEXT_NODE_CLASS
LASSO_MISC_TEXT_NODE_GET_CLASS
-
-disco_generate_bearer_token
-LassoDiscoGenerateBearerToken
-LassoDiscoGenerateBearerToken
-lasso_disco_generate_bearer_token_new
-
-LASSO_DISCO_GENERATE_BEARER_TOKEN
-LASSO_IS_DISCO_GENERATE_BEARER_TOKEN
-LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN
-lasso_disco_generate_bearer_token_get_type
-LASSO_DISCO_GENERATE_BEARER_TOKEN_CLASS
-LASSO_IS_DISCO_GENERATE_BEARER_TOKEN_CLASS
-LASSO_DISCO_GENERATE_BEARER_TOKEN_GET_CLASS
-
-
saml_subject_confirmation
LassoSamlSubjectConfirmation
@@ -1978,36 +1333,6 @@ LASSO_IS_SAMLP_STATUS_CLASS
LASSO_SAMLP_STATUS_GET_CLASS
-
-disco_modify_response
-LassoDiscoModifyResponse
-LassoDiscoModifyResponse
-lasso_disco_modify_response_new
-
-LASSO_DISCO_MODIFY_RESPONSE
-LASSO_IS_DISCO_MODIFY_RESPONSE
-LASSO_TYPE_DISCO_MODIFY_RESPONSE
-lasso_disco_modify_response_get_type
-LASSO_DISCO_MODIFY_RESPONSE_CLASS
-LASSO_IS_DISCO_MODIFY_RESPONSE_CLASS
-LASSO_DISCO_MODIFY_RESPONSE_GET_CLASS
-
-
-
-soap_binding_provider
-LassoSoapBindingProvider
-LassoSoapBindingProvider
-lasso_soap_binding_provider_new
-
-LASSO_SOAP_BINDING_PROVIDER
-LASSO_IS_SOAP_BINDING_PROVIDER
-LASSO_TYPE_SOAP_BINDING_PROVIDER
-lasso_soap_binding_provider_get_type
-LASSO_SOAP_BINDING_PROVIDER_CLASS
-LASSO_IS_SOAP_BINDING_PROVIDER_CLASS
-LASSO_SOAP_BINDING_PROVIDER_GET_CLASS
-
-
saml_condition_abstract
LassoSamlConditionAbstract
@@ -2022,21 +1347,6 @@ LASSO_IS_SAML_CONDITION_ABSTRACT_CLASS
LASSO_SAML_CONDITION_ABSTRACT_GET_CLASS
-
-soap_binding_consent
-LassoSoapBindingConsent
-LassoSoapBindingConsent
-lasso_soap_binding_consent_new
-
-LASSO_SOAP_BINDING_CONSENT
-LASSO_IS_SOAP_BINDING_CONSENT
-LASSO_TYPE_SOAP_BINDING_CONSENT
-lasso_soap_binding_consent_get_type
-LASSO_SOAP_BINDING_CONSENT_CLASS
-LASSO_IS_SOAP_BINDING_CONSENT_CLASS
-LASSO_SOAP_BINDING_CONSENT_GET_CLASS
-
-
soap_body
LassoSoapBody
@@ -2053,21 +1363,6 @@ LASSO_IS_SOAP_BODY_CLASS
LASSO_SOAP_BODY_GET_CLASS
-
-is_text
-LASSO_IS_IS_TEXT
-LassoIsText
-LassoIsText
-lasso_is_text_new
-
-LASSO_IS_TEXT
-LASSO_TYPE_IS_TEXT
-lasso_is_text_get_type
-LASSO_IS_TEXT_CLASS
-LASSO_IS_IS_TEXT_CLASS
-LASSO_IS_TEXT_GET_CLASS
-
-
saml_subject
LassoSamlSubject
@@ -2083,36 +1378,6 @@ LASSO_IS_SAML_SUBJECT_CLASS
LASSO_SAML_SUBJECT_GET_CLASS
-
-is_interaction_statement
-LASSO_IS_IS_INTERACTION_STATEMENT
-LassoIsInteractionStatement
-LassoIsInteractionStatement
-lasso_is_interaction_statement_new
-
-LASSO_IS_INTERACTION_STATEMENT
-LASSO_TYPE_IS_INTERACTION_STATEMENT
-lasso_is_interaction_statement_get_type
-LASSO_IS_INTERACTION_STATEMENT_CLASS
-LASSO_IS_IS_INTERACTION_STATEMENT_CLASS
-LASSO_IS_INTERACTION_STATEMENT_GET_CLASS
-
-
-
-sa_password_transforms
-LassoSaPasswordTransforms
-LassoSaPasswordTransforms
-lasso_sa_password_transforms_new
-
-LASSO_SA_PASSWORD_TRANSFORMS
-LASSO_IS_SA_PASSWORD_TRANSFORMS
-LASSO_TYPE_SA_PASSWORD_TRANSFORMS
-lasso_sa_password_transforms_get_type
-LASSO_SA_PASSWORD_TRANSFORMS_CLASS
-LASSO_IS_SA_PASSWORD_TRANSFORMS_CLASS
-LASSO_SA_PASSWORD_TRANSFORMS_GET_CLASS
-
-
lib_scoping
LassoLibScoping
@@ -2128,51 +1393,6 @@ LASSO_IS_LIB_SCOPING_CLASS
LASSO_LIB_SCOPING_GET_CLASS
-
-disco_insert_entry
-LassoDiscoInsertEntry
-LassoDiscoInsertEntry
-lasso_disco_insert_entry_new
-
-LASSO_DISCO_INSERT_ENTRY
-LASSO_IS_DISCO_INSERT_ENTRY
-LASSO_TYPE_DISCO_INSERT_ENTRY
-lasso_disco_insert_entry_get_type
-LASSO_DISCO_INSERT_ENTRY_CLASS
-LASSO_IS_DISCO_INSERT_ENTRY_CLASS
-LASSO_DISCO_INSERT_ENTRY_GET_CLASS
-
-
-
-sa_credentials
-LassoSaCredentials
-LassoSaCredentials
-lasso_sa_credentials_new
-
-LASSO_SA_CREDENTIALS
-LASSO_IS_SA_CREDENTIALS
-LASSO_TYPE_SA_CREDENTIALS
-lasso_sa_credentials_get_type
-LASSO_SA_CREDENTIALS_CLASS
-LASSO_IS_SA_CREDENTIALS_CLASS
-LASSO_SA_CREDENTIALS_GET_CLASS
-
-
-
-is_select
-LASSO_IS_IS_SELECT
-LassoIsSelect
-LassoIsSelect
-lasso_is_select_new
-
-LASSO_IS_SELECT
-LASSO_TYPE_IS_SELECT
-lasso_is_select_get_type
-LASSO_IS_SELECT_CLASS
-LASSO_IS_IS_SELECT_CLASS
-LASSO_IS_SELECT_GET_CLASS
-
-
lib_authn_request
LassoLibAuthnRequest
@@ -2188,36 +1408,6 @@ LASSO_IS_LIB_AUTHN_REQUEST_CLASS
LASSO_LIB_AUTHN_REQUEST_GET_CLASS
-
-disco_authenticate_session_context
-LassoDiscoAuthenticateSessionContext
-LassoDiscoAuthenticateSessionContext
-lasso_disco_authenticate_session_context_new
-
-LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT
-LASSO_IS_DISCO_AUTHENTICATE_SESSION_CONTEXT
-LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT
-lasso_disco_authenticate_session_context_get_type
-LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_CLASS
-LASSO_IS_DISCO_AUTHENTICATE_SESSION_CONTEXT_CLASS
-LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_GET_CLASS
-
-
-
-disco_encrypt_resource_id
-LassoDiscoEncryptResourceID
-LassoDiscoEncryptResourceID
-lasso_disco_encrypt_resource_id_new
-
-LASSO_DISCO_ENCRYPT_RESOURCE_ID
-LASSO_IS_DISCO_ENCRYPT_RESOURCE_ID
-LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID
-lasso_disco_encrypt_resource_id_get_type
-LASSO_DISCO_ENCRYPT_RESOURCE_ID_CLASS
-LASSO_IS_DISCO_ENCRYPT_RESOURCE_ID_CLASS
-LASSO_DISCO_ENCRYPT_RESOURCE_ID_GET_CLASS
-
-
saml_attribute
LassoSamlAttribute
@@ -2233,36 +1423,6 @@ LASSO_IS_SAML_ATTRIBUTE_CLASS
LASSO_SAML_ATTRIBUTE_GET_CLASS
-
-is_redirect_request
-LASSO_IS_IS_REDIRECT_REQUEST
-LassoIsRedirectRequest
-LassoIsRedirectRequest
-lasso_is_redirect_request_new
-
-LASSO_IS_REDIRECT_REQUEST
-LASSO_TYPE_IS_REDIRECT_REQUEST
-lasso_is_redirect_request_get_type
-LASSO_IS_REDIRECT_REQUEST_CLASS
-LASSO_IS_IS_REDIRECT_REQUEST_CLASS
-LASSO_IS_REDIRECT_REQUEST_GET_CLASS
-
-
-
-soap_binding_ext_credential
-LassoSoapBindingExtCredential
-LassoSoapBindingExtCredential
-lasso_soap_binding_ext_credential_new
-
-LASSO_SOAP_BINDING_EXT_CREDENTIAL
-LASSO_IS_SOAP_BINDING_EXT_CREDENTIAL
-LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL
-lasso_soap_binding_ext_credential_get_type
-LASSO_SOAP_BINDING_EXT_CREDENTIAL_CLASS
-LASSO_IS_SOAP_BINDING_EXT_CREDENTIAL_CLASS
-LASSO_SOAP_BINDING_EXT_CREDENTIAL_GET_CLASS
-
-
saml_advice
LassoSamlAdvice
@@ -2293,36 +1453,6 @@ LASSO_IS_SAML_AUTHENTICATION_STATEMENT_CLASS
LASSO_SAML_AUTHENTICATION_STATEMENT_GET_CLASS
-
-is_inquiry_element
-LASSO_IS_IS_INQUIRY_ELEMENT
-LassoIsInquiryElement
-LassoIsInquiryElement
-lasso_is_inquiry_element_new
-
-LASSO_IS_INQUIRY_ELEMENT
-LASSO_TYPE_IS_INQUIRY_ELEMENT
-lasso_is_inquiry_element_get_type
-LASSO_IS_INQUIRY_ELEMENT_CLASS
-LASSO_IS_IS_INQUIRY_ELEMENT_CLASS
-LASSO_IS_INQUIRY_ELEMENT_GET_CLASS
-
-
-
-dst_data
-LassoDstData
-LassoDstData
-lasso_dst_data_new
-
-LASSO_DST_DATA
-LASSO_IS_DST_DATA
-LASSO_TYPE_DST_DATA
-lasso_dst_data_get_type
-LASSO_DST_DATA_CLASS
-LASSO_IS_DST_DATA_CLASS
-LASSO_DST_DATA_GET_CLASS
-
-
saml_audience_restriction_condition
LassoSamlAudienceRestrictionCondition
@@ -2355,21 +1485,6 @@ LASSO_IS_LIB_AUTHENTICATION_STATEMENT_CLASS
LASSO_LIB_AUTHENTICATION_STATEMENT_GET_CLASS
-
-is_inquiry
-LASSO_IS_IS_INQUIRY
-LassoIsInquiry
-LassoIsInquiry
-lasso_is_inquiry_new
-
-LASSO_IS_INQUIRY
-LASSO_TYPE_IS_INQUIRY
-lasso_is_inquiry_get_type
-LASSO_IS_INQUIRY_CLASS
-LASSO_IS_IS_INQUIRY_CLASS
-LASSO_IS_INQUIRY_GET_CLASS
-
-
lib_authn_request_envelope
LassoLibAuthnRequestEnvelope
@@ -2386,36 +1501,6 @@ LASSO_IS_LIB_AUTHN_REQUEST_ENVELOPE_CLASS
LASSO_LIB_AUTHN_REQUEST_ENVELOPE_GET_CLASS
-
-disco_credentials
-LassoDiscoCredentials
-LassoDiscoCredentials
-lasso_disco_credentials_new
-
-LASSO_DISCO_CREDENTIALS
-LASSO_IS_DISCO_CREDENTIALS
-LASSO_TYPE_DISCO_CREDENTIALS
-lasso_disco_credentials_get_type
-LASSO_DISCO_CREDENTIALS_CLASS
-LASSO_IS_DISCO_CREDENTIALS_CLASS
-LASSO_DISCO_CREDENTIALS_GET_CLASS
-
-
-
-disco_authenticate_requester
-LassoDiscoAuthenticateRequester
-LassoDiscoAuthenticateRequester
-lasso_disco_authenticate_requester_new
-
-LASSO_DISCO_AUTHENTICATE_REQUESTER
-LASSO_IS_DISCO_AUTHENTICATE_REQUESTER
-LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER
-lasso_disco_authenticate_requester_get_type
-LASSO_DISCO_AUTHENTICATE_REQUESTER_CLASS
-LASSO_IS_DISCO_AUTHENTICATE_REQUESTER_CLASS
-LASSO_DISCO_AUTHENTICATE_REQUESTER_GET_CLASS
-
-
saml_attribute_statement
LassoSamlAttributeStatement
@@ -2446,21 +1531,6 @@ LASSO_IS_SAMLP_STATUS_CODE_CLASS
LASSO_SAMLP_STATUS_CODE_GET_CLASS
-
-utility_status
-LassoUtilityStatus
-LassoUtilityStatus
-lasso_utility_status_new
-
-LASSO_UTILITY_STATUS
-LASSO_IS_UTILITY_STATUS
-LASSO_TYPE_UTILITY_STATUS
-lasso_utility_status_get_type
-LASSO_UTILITY_STATUS_CLASS
-LASSO_IS_UTILITY_STATUS_CLASS
-LASSO_UTILITY_STATUS_GET_CLASS
-
-
soap_detail
LassoSoapDetail
@@ -2484,23 +1554,6 @@ LassoSoapEnvelope
lasso_soap_envelope_new
lasso_soap_envelope_new_full
lasso_soap_envelope_new_from_message
-
-lasso_soap_envelope_add_action
-lasso_soap_envelope_add_security_token
-lasso_soap_envelope_add_to_body
-lasso_soap_envelope_get_action
-lasso_soap_envelope_get_body_content
-lasso_soap_envelope_get_message_id
-lasso_soap_envelope_get_relates_to
-lasso_soap_envelope_get_saml2_security_token
-lasso_soap_envelope_get_sb2_user_interaction_hint
-lasso_soap_envelope_sb2_get_provider_id
-lasso_soap_envelope_sb2_get_redirect_request_url
-lasso_soap_envelope_sb2_get_target_identity_header
-lasso_soap_envelope_set_sb2_user_interaction_hint
-lasso_soap_envelope_wssec_get_security_header
-lasso_soap_envelope_get_soap_fault
-lasso_soap_envelope_set_relates_to
LASSO_SOAP_ENVELOPE
LASSO_IS_SOAP_ENVELOPE
@@ -2541,81 +1594,6 @@ LASSO_IS_SAMLP_RESPONSE_ABSTRACT_CLASS
LASSO_SAMLP_RESPONSE_ABSTRACT_GET_CLASS
-
-is_item
-LASSO_IS_IS_ITEM
-LassoIsItem
-LassoIsItem
-lasso_is_item_new
-
-LASSO_IS_ITEM
-LASSO_TYPE_IS_ITEM
-lasso_is_item_get_type
-LASSO_IS_ITEM_CLASS
-LASSO_IS_IS_ITEM_CLASS
-LASSO_IS_ITEM_GET_CLASS
-
-
-
-is_interaction_request
-LASSO_IS_IS_INTERACTION_REQUEST
-LassoIsInteractionRequest
-LassoIsInteractionRequest
-lasso_is_interaction_request_new
-
-LASSO_IS_INTERACTION_REQUEST
-LASSO_TYPE_IS_INTERACTION_REQUEST
-lasso_is_interaction_request_get_type
-LASSO_IS_INTERACTION_REQUEST_CLASS
-LASSO_IS_IS_INTERACTION_REQUEST_CLASS
-LASSO_IS_INTERACTION_REQUEST_GET_CLASS
-
-
-
-soap_binding_ext_service_instance_update
-LassoSoapBindingExtServiceInstanceUpdate
-LassoSoapBindingExtServiceInstanceUpdate
-lasso_soap_binding_ext_service_instance_update_new
-
-LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE
-LASSO_IS_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE
-LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE
-lasso_soap_binding_ext_service_instance_update_get_type
-LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_CLASS
-LASSO_IS_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_CLASS
-LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_GET_CLASS
-
-
-
-soap_binding_processing_context
-LassoSoapBindingProcessingContext
-LassoSoapBindingProcessingContext
-lasso_soap_binding_processing_context_new
-
-LASSO_SOAP_BINDING_PROCESSING_CONTEXT
-LASSO_IS_SOAP_BINDING_PROCESSING_CONTEXT
-LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT
-lasso_soap_binding_processing_context_get_type
-LASSO_SOAP_BINDING_PROCESSING_CONTEXT_CLASS
-LASSO_IS_SOAP_BINDING_PROCESSING_CONTEXT_CLASS
-LASSO_SOAP_BINDING_PROCESSING_CONTEXT_GET_CLASS
-
-
-
-soap_binding_ext_timeout
-LassoSoapBindingExtTimeout
-LassoSoapBindingExtTimeout
-lasso_soap_binding_ext_timeout_new
-
-LASSO_SOAP_BINDING_EXT_TIMEOUT
-LASSO_IS_SOAP_BINDING_EXT_TIMEOUT
-LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT
-lasso_soap_binding_ext_timeout_get_type
-LASSO_SOAP_BINDING_EXT_TIMEOUT_CLASS
-LASSO_IS_SOAP_BINDING_EXT_TIMEOUT_CLASS
-LASSO_SOAP_BINDING_EXT_TIMEOUT_GET_CLASS
-
-
lib_authn_response
LassoLibAuthnResponse
@@ -2646,21 +1624,6 @@ LASSO_IS_SAML_ASSERTION_CLASS
LASSO_SAML_ASSERTION_GET_CLASS
-
-dst_modify_response
-LassoDstModifyResponse
-LassoDstModifyResponse
-lasso_dst_modify_response_new
-
-LASSO_DST_MODIFY_RESPONSE
-LASSO_IS_DST_MODIFY_RESPONSE
-LASSO_TYPE_DST_MODIFY_RESPONSE
-lasso_dst_modify_response_get_type
-LASSO_DST_MODIFY_RESPONSE_CLASS
-LASSO_IS_DST_MODIFY_RESPONSE_CLASS
-LASSO_DST_MODIFY_RESPONSE_GET_CLASS
-
-
samlp2_artifact_response
LassoSamlp2ArtifactResponse
@@ -3461,2299 +2424,6 @@ LASSO_IS_SAML2_AUTHN_CONTEXT_CLASS
LASSO_SAML2_AUTHN_CONTEXT_GET_CLASS
-
-wsse_security_header
-LassoWsSec1SecurityHeader
-LassoWsSec1SecurityHeader
-lasso_wsse_security_header_new
-
-LASSO_WSSE_SECURITY_HEADER
-LASSO_IS_WSSE_SECURITY_HEADER
-LASSO_TYPE_WSSE_SECURITY_HEADER
-lasso_wsse_security_header_get_type
-LASSO_WSSE_SECURITY_HEADER_CLASS
-LASSO_IS_WSSE_SECURITY_HEADER_CLASS
-LASSO_WSSE_SECURITY_HEADER_GET_CLASS
-
-
-
-wsse_transformation_parameters
-LassoWsSec1TransformationParameters
-LassoWsSec1TransformationParameters
-lasso_wsse_transformation_parameters_new
-
-LASSO_WSSE_TRANSFORMATION_PARAMETERS
-LASSO_IS_WSSE_TRANSFORMATION_PARAMETERS
-LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS
-lasso_wsse_transformation_parameters_get_type
-LASSO_WSSE_TRANSFORMATION_PARAMETERS_CLASS
-LASSO_IS_WSSE_TRANSFORMATION_PARAMETERS_CLASS
-LASSO_WSSE_TRANSFORMATION_PARAMETERS_GET_CLASS
-
-
-
-wsa_problem_action
-LassoWsAddrProblemAction
-LassoWsAddrProblemAction
-lasso_wsa_problem_action_new
-
-LASSO_WSA_PROBLEM_ACTION
-LASSO_IS_WSA_PROBLEM_ACTION
-LASSO_TYPE_WSA_PROBLEM_ACTION
-lasso_wsa_problem_action_get_type
-LASSO_WSA_PROBLEM_ACTION_CLASS
-LASSO_IS_WSA_PROBLEM_ACTION_CLASS
-LASSO_WSA_PROBLEM_ACTION_GET_CLASS
-
-
-
-wsa_attributed_any
-LassoWsAddrAttributedAny
-LassoWsAddrAttributedAny
-lasso_wsa_attributed_any_new
-
-LASSO_WSA_ATTRIBUTED_ANY
-LASSO_IS_WSA_ATTRIBUTED_ANY
-LASSO_TYPE_WSA_ATTRIBUTED_ANY
-lasso_wsa_attributed_any_get_type
-LASSO_WSA_ATTRIBUTED_ANY_CLASS
-LASSO_IS_WSA_ATTRIBUTED_ANY_CLASS
-LASSO_WSA_ATTRIBUTED_ANY_GET_CLASS
-
-
-
-wsa_relates_to
-LassoWsAddrRelatesTo
-LassoWsAddrRelatesTo
-lasso_wsa_relates_to_new
-lasso_wsa_relates_to_new_with_string
-
-LASSO_WSA_RELATES_TO
-LASSO_IS_WSA_RELATES_TO
-LASSO_TYPE_WSA_RELATES_TO
-lasso_wsa_relates_to_get_type
-LASSO_WSA_RELATES_TO_CLASS
-LASSO_IS_WSA_RELATES_TO_CLASS
-LASSO_WSA_RELATES_TO_GET_CLASS
-
-
-
-wsse_username_token
-LassoWsseUsernameTokenPasswordType
-LassoWsseUsernameToken
-LassoWsseUsernameToken
-lasso_wsse_username_token_new
-lasso_wsse_username_token_reset_nonce
-lasso_wsse_username_token_set_password_kind
-lasso_wsse_username_token_set_password
-lasso_wsse_username_token_check_password
-lasso_wsse_username_token_derive_key
-
-LASSO_WSSE_USERNAME_TOKEN
-LASSO_IS_WSSE_USERNAME_TOKEN
-LASSO_TYPE_WSSE_USERNAME_TOKEN
-lasso_wsse_username_token_get_type
-LASSO_WSSE_USERNAME_TOKEN_CLASS
-LASSO_IS_WSSE_USERNAME_TOKEN_CLASS
-LASSO_WSSE_USERNAME_TOKEN_GET_CLASS
-
-
-
-wsa_reference_parameters
-LassoWsAddrReferenceParameters
-LassoWsAddrReferenceParameters
-lasso_wsa_reference_parameters_new
-
-LASSO_WSA_REFERENCE_PARAMETERS
-LASSO_IS_WSA_REFERENCE_PARAMETERS
-LASSO_TYPE_WSA_REFERENCE_PARAMETERS
-lasso_wsa_reference_parameters_get_type
-LASSO_WSA_REFERENCE_PARAMETERS_CLASS
-LASSO_IS_WSA_REFERENCE_PARAMETERS_CLASS
-LASSO_WSA_REFERENCE_PARAMETERS_GET_CLASS
-
-
-
-wsa_attributed_qname
-LassoWsAddrAttributedQName
-LassoWsAddrAttributedQName
-lasso_wsa_attributed_qname_new
-lasso_wsa_attributed_qname_new_with_string
-
-LASSO_WSA_ATTRIBUTED_QNAME
-LASSO_IS_WSA_ATTRIBUTED_QNAME
-LASSO_TYPE_WSA_ATTRIBUTED_QNAME
-lasso_wsa_attributed_qname_get_type
-LASSO_WSA_ATTRIBUTED_QNAME_CLASS
-LASSO_IS_WSA_ATTRIBUTED_QNAME_CLASS
-LASSO_WSA_ATTRIBUTED_QNAME_GET_CLASS
-
-
-
-wsa_metadata
-LassoWsAddrMetadata
-LassoWsAddrMetadata
-lasso_wsa_metadata_new
-
-LASSO_WSA_METADATA
-LASSO_IS_WSA_METADATA
-LASSO_TYPE_WSA_METADATA
-lasso_wsa_metadata_get_type
-LASSO_WSA_METADATA_CLASS
-LASSO_IS_WSA_METADATA_CLASS
-LASSO_WSA_METADATA_GET_CLASS
-
-
-
-wsa_attributed_unsigned_long
-LassoWsAddrAttributedUnsignedLong
-LassoWsAddrAttributedUnsignedLong
-lasso_wsa_attributed_unsigned_long_new
-
-LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG
-LASSO_IS_WSA_ATTRIBUTED_UNSIGNED_LONG
-LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG
-lasso_wsa_attributed_unsigned_long_get_type
-LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_CLASS
-LASSO_IS_WSA_ATTRIBUTED_UNSIGNED_LONG_CLASS
-LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_GET_CLASS
-
-
-
-wsa_attributed_uri
-LassoWsAddrAttributedURI
-LassoWsAddrAttributedURI
-lasso_wsa_attributed_uri_new
-lasso_wsa_attributed_uri_new_with_string
-
-LASSO_WSA_ATTRIBUTED_URI
-LASSO_IS_WSA_ATTRIBUTED_URI
-LASSO_TYPE_WSA_ATTRIBUTED_URI
-lasso_wsa_attributed_uri_get_type
-LASSO_WSA_ATTRIBUTED_URI_CLASS
-LASSO_IS_WSA_ATTRIBUTED_URI_CLASS
-LASSO_WSA_ATTRIBUTED_URI_GET_CLASS
-
-
-
-wsa_endpoint_reference
-LassoWsAddrEndpointReference
-LassoWsAddrEndpointReference
-lasso_wsa_endpoint_reference_new
-lasso_wsa_endpoint_reference_get_target_identity_token
-lasso_wsa_endpoint_reference_new_for_idwsf2_service
-lasso_wsa_endpoint_reference_add_security_token
-lasso_wsa_endpoint_reference_associate_service_to_type
-lasso_wsa_endpoint_reference_get_service
-
-LASSO_WSA_ENDPOINT_REFERENCE
-LASSO_IS_WSA_ENDPOINT_REFERENCE
-LASSO_TYPE_WSA_ENDPOINT_REFERENCE
-lasso_wsa_endpoint_reference_get_type
-LASSO_WSA_ENDPOINT_REFERENCE_CLASS
-LASSO_IS_WSA_ENDPOINT_REFERENCE_CLASS
-LASSO_WSA_ENDPOINT_REFERENCE_GET_CLASS
-
-
-
-wsse_reference
-LassoWsSec1Reference
-LassoWsSec1Reference
-lasso_wsse_reference_new
-
-LASSO_WSSE_REFERENCE
-LASSO_IS_WSSE_REFERENCE
-LASSO_TYPE_WSSE_REFERENCE
-lasso_wsse_reference_get_type
-LASSO_WSSE_REFERENCE_CLASS
-LASSO_IS_WSSE_REFERENCE_CLASS
-LASSO_WSSE_REFERENCE_GET_CLASS
-
-
-
-wsse_embedded
-LassoWsSec1Embedded
-LassoWsSec1Embedded
-lasso_wsse_embedded_new
-
-LASSO_WSSE_EMBEDDED
-LASSO_IS_WSSE_EMBEDDED
-LASSO_TYPE_WSSE_EMBEDDED
-lasso_wsse_embedded_get_type
-LASSO_WSSE_EMBEDDED_CLASS
-LASSO_IS_WSSE_EMBEDDED_CLASS
-LASSO_WSSE_EMBEDDED_GET_CLASS
-
-
-
-wsu_timestamp
-LassoWsUtil1Timestamp
-LassoWsUtil1Timestamp
-lasso_wsu_timestamp_new
-
-LASSO_WSU_TIMESTAMP
-LASSO_IS_WSU_TIMESTAMP
-LASSO_TYPE_WSU_TIMESTAMP
-lasso_wsu_timestamp_get_type
-LASSO_WSU_TIMESTAMP_CLASS
-LASSO_IS_WSU_TIMESTAMP_CLASS
-LASSO_WSU_TIMESTAMP_GET_CLASS
-
-
-
-wsse_security_token_reference
-LassoWsSec1SecurityTokenReference
-LassoWsSec1SecurityTokenReference
-lasso_wsse_security_token_reference_new
-
-LASSO_WSSE_SECURITY_TOKEN_REFERENCE
-LASSO_IS_WSSE_SECURITY_TOKEN_REFERENCE
-LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE
-lasso_wsse_security_token_reference_get_type
-LASSO_WSSE_SECURITY_TOKEN_REFERENCE_CLASS
-LASSO_IS_WSSE_SECURITY_TOKEN_REFERENCE_CLASS
-LASSO_WSSE_SECURITY_TOKEN_REFERENCE_GET_CLASS
-
-
-
-dst_delete_response
-LassoIdWsf2DstDeleteResponse
-LassoIdWsf2DstDeleteResponse
-lasso_idwsf2_dst_delete_response_new
-
-LASSO_IDWSF2_DST_DELETE_RESPONSE
-LASSO_IS_IDWSF2_DST_DELETE_RESPONSE
-LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE
-lasso_idwsf2_dst_delete_response_get_type
-LASSO_IDWSF2_DST_DELETE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DST_DELETE_RESPONSE_CLASS
-LASSO_IDWSF2_DST_DELETE_RESPONSE_GET_CLASS
-
-
-
-subsref_create_item
-LassoIdWsf2SubsRefCreateItem
-LassoIdWsf2SubsRefCreateItem
-lasso_idwsf2_subsref_create_item_new
-
-LASSO_IDWSF2_SUBSREF_CREATE_ITEM
-LASSO_IS_IDWSF2_SUBSREF_CREATE_ITEM
-LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM
-lasso_idwsf2_subsref_create_item_get_type
-LASSO_IDWSF2_SUBSREF_CREATE_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBSREF_CREATE_ITEM_CLASS
-LASSO_IDWSF2_SUBSREF_CREATE_ITEM_GET_CLASS
-
-
-
-disco_svc_md_query_response
-LassoIdWsf2DiscoSvcMDQueryResponse
-LassoIdWsf2DiscoSvcMDQueryResponse
-lasso_idwsf2_disco_svc_md_query_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE
-lasso_idwsf2_disco_svc_md_query_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_GET_CLASS
-
-
-
-disco_endpoint_context
-LassoIdWsf2DiscoEndpointContext
-LassoIdWsf2DiscoEndpointContext
-lasso_idwsf2_disco_endpoint_context_new
-lasso_idwsf2_disco_endpoint_context_new_full
-
-LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT
-LASSO_IS_IDWSF2_DISCO_ENDPOINT_CONTEXT
-LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT
-lasso_idwsf2_disco_endpoint_context_get_type
-LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_CLASS
-LASSO_IS_IDWSF2_DISCO_ENDPOINT_CONTEXT_CLASS
-LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_GET_CLASS
-
-
-
-disco_provider_id
-LassoIdWsf2DiscoProviderID
-LassoIdWsf2DiscoProviderID
-lasso_idwsf2_disco_provider_id_new
-lasso_idwsf2_disco_provider_id_new_with_string
-
-LASSO_IDWSF2_DISCO_PROVIDER_ID
-LASSO_IS_IDWSF2_DISCO_PROVIDER_ID
-LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID
-lasso_idwsf2_disco_provider_id_get_type
-LASSO_IDWSF2_DISCO_PROVIDER_ID_CLASS
-LASSO_IS_IDWSF2_DISCO_PROVIDER_ID_CLASS
-LASSO_IDWSF2_DISCO_PROVIDER_ID_GET_CLASS
-
-
-
-ps_remove_collection_request
-LassoIdWsf2PsRemoveCollectionRequest
-LassoIdWsf2PsRemoveCollectionRequest
-lasso_idwsf2_ps_remove_collection_request_new
-
-LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST
-LASSO_IS_IDWSF2_PS_REMOVE_COLLECTION_REQUEST
-LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST
-lasso_idwsf2_ps_remove_collection_request_get_type
-LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_CLASS
-LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_GET_CLASS
-
-
-
-id_wsf_2_0_is_interaction_statement
-LASSO_IS_IDWSF2_IS_INTERACTION_STATEMENT
-LassoIdWsf2IsInteractionStatement
-LassoIdWsf2IsInteractionStatement
-lasso_idwsf2_is_interaction_statement_new
-
-LASSO_IDWSF2_IS_INTERACTION_STATEMENT
-LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT
-lasso_idwsf2_is_interaction_statement_get_type
-LASSO_IDWSF2_IS_INTERACTION_STATEMENT_CLASS
-LASSO_IS_IDWSF2_IS_INTERACTION_STATEMENT_CLASS
-LASSO_IDWSF2_IS_INTERACTION_STATEMENT_GET_CLASS
-
-
-
-util_status
-LassoIdWsf2UtilStatus
-LassoIdWsf2UtilStatus
-lasso_idwsf2_util_status_new
-lasso_idwsf2_util_status_new_with_code
-
-LASSO_IDWSF2_UTIL_STATUS
-LASSO_IS_IDWSF2_UTIL_STATUS
-LASSO_TYPE_IDWSF2_UTIL_STATUS
-lasso_idwsf2_util_status_get_type
-LASSO_IDWSF2_UTIL_STATUS_CLASS
-LASSO_IS_IDWSF2_UTIL_STATUS_CLASS
-LASSO_IDWSF2_UTIL_STATUS_GET_CLASS
-
-
-
-dstref_modify
-LassoIdWsf2DstRefModify
-LassoIdWsf2DstRefModify
-lasso_idwsf2_dstref_modify_new
-
-LASSO_IDWSF2_DSTREF_MODIFY
-LASSO_IS_IDWSF2_DSTREF_MODIFY
-LASSO_TYPE_IDWSF2_DSTREF_MODIFY
-lasso_idwsf2_dstref_modify_get_type
-LASSO_IDWSF2_DSTREF_MODIFY_CLASS
-LASSO_IS_IDWSF2_DSTREF_MODIFY_CLASS
-LASSO_IDWSF2_DSTREF_MODIFY_GET_CLASS
-
-
-
-subsref_delete_item
-LassoIdWsf2SubsRefDeleteItem
-LassoIdWsf2SubsRefDeleteItem
-lasso_idwsf2_subsref_delete_item_new
-
-LASSO_IDWSF2_SUBSREF_DELETE_ITEM
-LASSO_IS_IDWSF2_SUBSREF_DELETE_ITEM
-LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM
-lasso_idwsf2_subsref_delete_item_get_type
-LASSO_IDWSF2_SUBSREF_DELETE_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBSREF_DELETE_ITEM_CLASS
-LASSO_IDWSF2_SUBSREF_DELETE_ITEM_GET_CLASS
-
-
-
-subsref_data_response
-LassoIdWsf2SubsRefDataResponse
-LassoIdWsf2SubsRefDataResponse
-lasso_idwsf2_subsref_data_response_new
-
-LASSO_IDWSF2_SUBSREF_DATA_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_DATA_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE
-lasso_idwsf2_subsref_data_response_get_type
-LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_DATA_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_GET_CLASS
-
-
-
-id_wsf_2_0_is_parameter
-LASSO_IS_IDWSF2_IS_PARAMETER
-LassoIdWsf2IsParameter
-LassoIdWsf2IsParameter
-lasso_idwsf2_is_parameter_new
-
-LASSO_IDWSF2_IS_PARAMETER
-LASSO_TYPE_IDWSF2_IS_PARAMETER
-lasso_idwsf2_is_parameter_get_type
-LASSO_IDWSF2_IS_PARAMETER_CLASS
-LASSO_IS_IDWSF2_IS_PARAMETER_CLASS
-LASSO_IDWSF2_IS_PARAMETER_GET_CLASS
-
-
-
-ps_resolve_identifier_response
-LassoIdWsf2PsResolveIdentifierResponse
-LassoIdWsf2PsResolveIdentifierResponse
-lasso_idwsf2_ps_resolve_identifier_response_new
-
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE
-LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE
-LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE
-lasso_idwsf2_ps_resolve_identifier_response_get_type
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_CLASS
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_GET_CLASS
-
-
-
-subsref_test_item
-LassoIdWsf2SubsRefTestItem
-LassoIdWsf2SubsRefTestItem
-lasso_idwsf2_subsref_test_item_new
-
-LASSO_IDWSF2_SUBSREF_TEST_ITEM
-LASSO_IS_IDWSF2_SUBSREF_TEST_ITEM
-LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM
-lasso_idwsf2_subsref_test_item_get_type
-LASSO_IDWSF2_SUBSREF_TEST_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBSREF_TEST_ITEM_CLASS
-LASSO_IDWSF2_SUBSREF_TEST_ITEM_GET_CLASS
-
-
-
-id_wsf_2_0_is_inquiry
-LASSO_IS_IDWSF2_IS_INQUIRY
-LassoIdWsf2IsInquiry
-LassoIdWsf2IsInquiry
-lasso_idwsf2_is_inquiry_new
-
-LASSO_IDWSF2_IS_INQUIRY
-LASSO_TYPE_IDWSF2_IS_INQUIRY
-lasso_idwsf2_is_inquiry_get_type
-LASSO_IDWSF2_IS_INQUIRY_CLASS
-LASSO_IS_IDWSF2_IS_INQUIRY_CLASS
-LASSO_IDWSF2_IS_INQUIRY_GET_CLASS
-
-
-
-util_empty
-LassoIdWsf2UtilEmpty
-LassoIdWsf2UtilEmpty
-lasso_idwsf2_util_empty_new
-
-LASSO_IDWSF2_UTIL_EMPTY
-LASSO_IS_IDWSF2_UTIL_EMPTY
-LASSO_TYPE_IDWSF2_UTIL_EMPTY
-lasso_idwsf2_util_empty_get_type
-LASSO_IDWSF2_UTIL_EMPTY_CLASS
-LASSO_IS_IDWSF2_UTIL_EMPTY_CLASS
-LASSO_IDWSF2_UTIL_EMPTY_GET_CLASS
-
-
-
-sb2_redirect_request
-LassoIdWsf2Sb2RedirectRequest
-LassoIdWsf2Sb2RedirectRequest
-lasso_idwsf2_sb2_redirect_request_new
-lasso_idwsf2_sb2_redirect_request_new_full
-
-LASSO_IDWSF2_SB2_REDIRECT_REQUEST
-LASSO_IS_IDWSF2_SB2_REDIRECT_REQUEST
-LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST
-lasso_idwsf2_sb2_redirect_request_get_type
-LASSO_IDWSF2_SB2_REDIRECT_REQUEST_CLASS
-LASSO_IS_IDWSF2_SB2_REDIRECT_REQUEST_CLASS
-LASSO_IDWSF2_SB2_REDIRECT_REQUEST_GET_CLASS
-
-
-
-ps_add_known_entity_request
-LassoIdWsf2PsAddKnownEntityRequest
-LassoIdWsf2PsAddKnownEntityRequest
-lasso_idwsf2_ps_add_known_entity_request_new
-
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST
-LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST
-LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST
-lasso_idwsf2_ps_add_known_entity_request_get_type
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_CLASS
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_GET_CLASS
-
-
-
-id_wsf_2_0_is_text
-LASSO_IS_IDWSF2_IS_TEXT
-LassoIdWsf2IsText
-LassoIdWsf2IsText
-lasso_idwsf2_is_text_new
-
-LASSO_IDWSF2_IS_TEXT
-LASSO_TYPE_IDWSF2_IS_TEXT
-lasso_idwsf2_is_text_get_type
-LASSO_IDWSF2_IS_TEXT_CLASS
-LASSO_IS_IDWSF2_IS_TEXT_CLASS
-LASSO_IDWSF2_IS_TEXT_GET_CLASS
-
-
-
-ims_identity_mapping_request
-LassoIdWsf2ImsIdentityMappingRequest
-LassoIdWsf2ImsIdentityMappingRequest
-lasso_idwsf2_ims_identity_mapping_request_new
-
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST
-LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST
-LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST
-lasso_idwsf2_ims_identity_mapping_request_get_type
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_CLASS
-LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_CLASS
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_GET_CLASS
-
-
-
-dstref_create_item
-LassoIdWsf2DstRefCreateItem
-LassoIdWsf2DstRefCreateItem
-lasso_idwsf2_dstref_create_item_new
-
-LASSO_IDWSF2_DSTREF_CREATE_ITEM
-LASSO_IS_IDWSF2_DSTREF_CREATE_ITEM
-LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM
-lasso_idwsf2_dstref_create_item_get_type
-LASSO_IDWSF2_DSTREF_CREATE_ITEM_CLASS
-LASSO_IS_IDWSF2_DSTREF_CREATE_ITEM_CLASS
-LASSO_IDWSF2_DSTREF_CREATE_ITEM_GET_CLASS
-
-
-
-ps_response_abstract
-LassoIdWsf2PsResponseAbstract
-LassoIdWsf2PsResponseAbstract
-lasso_idwsf2_ps_response_abstract_new
-
-LASSO_IDWSF2_PS_RESPONSE_ABSTRACT
-LASSO_IS_IDWSF2_PS_RESPONSE_ABSTRACT
-LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT
-lasso_idwsf2_ps_response_abstract_get_type
-LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_CLASS
-LASSO_IS_IDWSF2_PS_RESPONSE_ABSTRACT_CLASS
-LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_GET_CLASS
-
-
-
-disco_svc_md_replace_response
-LassoIdWsf2DiscoSvcMDReplaceResponse
-LassoIdWsf2DiscoSvcMDReplaceResponse
-lasso_idwsf2_disco_svc_md_replace_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE
-lasso_idwsf2_disco_svc_md_replace_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_GET_CLASS
-
-
-
-disco_svc_md_association_delete_response
-LassoIdWsf2DiscoSvcMDAssociationDeleteResponse
-LassoIdWsf2DiscoSvcMDAssociationDeleteResponse
-lasso_idwsf2_disco_svc_md_association_delete_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE
-lasso_idwsf2_disco_svc_md_association_delete_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_GET_CLASS
-
-
-
-id_wsf_2_0_disco_query
-LassoIdWsf2DiscoQuery
-LassoIdWsf2DiscoQuery
-lasso_idwsf2_disco_query_new
-
-LASSO_IDWSF2_DISCO_QUERY
-LASSO_IS_IDWSF2_DISCO_QUERY
-LASSO_TYPE_IDWSF2_DISCO_QUERY
-lasso_idwsf2_disco_query_get_type
-LASSO_IDWSF2_DISCO_QUERY_CLASS
-LASSO_IS_IDWSF2_DISCO_QUERY_CLASS
-LASSO_IDWSF2_DISCO_QUERY_GET_CLASS
-
-
-
-disco_svc_md_association_query_response
-LassoIdWsf2DiscoSvcMDAssociationQueryResponse
-LassoIdWsf2DiscoSvcMDAssociationQueryResponse
-lasso_idwsf2_disco_svc_md_association_query_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE
-lasso_idwsf2_disco_svc_md_association_query_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_GET_CLASS
-
-
-
-sec_token_policy
-LassoIdWsf2SecTokenPolicy
-LassoIdWsf2SecTokenPolicy
-lasso_idwsf2_sec_token_policy_new
-
-LASSO_IDWSF2_SEC_TOKEN_POLICY
-LASSO_IS_IDWSF2_SEC_TOKEN_POLICY
-LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY
-lasso_idwsf2_sec_token_policy_get_type
-LASSO_IDWSF2_SEC_TOKEN_POLICY_CLASS
-LASSO_IS_IDWSF2_SEC_TOKEN_POLICY_CLASS
-LASSO_IDWSF2_SEC_TOKEN_POLICY_GET_CLASS
-
-
-
-subs_notify_response
-LassoIdWsf2SubsNotifyResponse
-LassoIdWsf2SubsNotifyResponse
-lasso_idwsf2_subs_notify_response_new
-
-LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE
-LASSO_IS_IDWSF2_SUBS_NOTIFY_RESPONSE
-LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE
-lasso_idwsf2_subs_notify_response_get_type
-LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBS_NOTIFY_RESPONSE_CLASS
-LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_GET_CLASS
-
-
-
-dstref_data
-LassoIdWsf2DstRefData
-LassoIdWsf2DstRefData
-lasso_idwsf2_dstref_data_new
-
-LASSO_IDWSF2_DSTREF_DATA
-LASSO_IS_IDWSF2_DSTREF_DATA
-LASSO_TYPE_IDWSF2_DSTREF_DATA
-lasso_idwsf2_dstref_data_get_type
-LASSO_IDWSF2_DSTREF_DATA_CLASS
-LASSO_IS_IDWSF2_DSTREF_DATA_CLASS
-LASSO_IDWSF2_DSTREF_DATA_GET_CLASS
-
-
-
-subsref_query_response
-LassoIdWsf2SubsRefQueryResponse
-LassoIdWsf2SubsRefQueryResponse
-lasso_idwsf2_subsref_query_response_new
-
-LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_QUERY_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE
-lasso_idwsf2_subsref_query_response_get_type
-LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_QUERY_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_GET_CLASS
-
-
-
-dst_delete_item_base
-LassoIdWsf2DstDeleteItemBase
-LassoIdWsf2DstDeleteItemBase
-lasso_idwsf2_dst_delete_item_base_new
-
-LASSO_IDWSF2_DST_DELETE_ITEM_BASE
-LASSO_IS_IDWSF2_DST_DELETE_ITEM_BASE
-LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE
-lasso_idwsf2_dst_delete_item_base_get_type
-LASSO_IDWSF2_DST_DELETE_ITEM_BASE_CLASS
-LASSO_IS_IDWSF2_DST_DELETE_ITEM_BASE_CLASS
-LASSO_IDWSF2_DST_DELETE_ITEM_BASE_GET_CLASS
-
-
-
-disco_svc_md_association_query
-LassoIdWsf2DiscoSvcMDAssociationQuery
-LassoIdWsf2DiscoSvcMDAssociationQuery
-lasso_idwsf2_disco_svc_md_association_query_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY
-lasso_idwsf2_disco_svc_md_association_query_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_GET_CLASS
-
-
-
-subsref_app_data
-LassoIdWsf2SubsRefAppData
-LassoIdWsf2SubsRefAppData
-lasso_idwsf2_subsref_app_data_new
-
-LASSO_IDWSF2_SUBSREF_APP_DATA
-LASSO_IS_IDWSF2_SUBSREF_APP_DATA
-LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA
-lasso_idwsf2_subsref_app_data_get_type
-LASSO_IDWSF2_SUBSREF_APP_DATA_CLASS
-LASSO_IS_IDWSF2_SUBSREF_APP_DATA_CLASS
-LASSO_IDWSF2_SUBSREF_APP_DATA_GET_CLASS
-
-
-
-ps_query_objects_request
-LassoIdWsf2PsQueryObjectsRequest
-LassoIdWsf2PsQueryObjectsRequest
-lasso_idwsf2_ps_query_objects_request_new
-
-LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST
-LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_REQUEST
-LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST
-lasso_idwsf2_ps_query_objects_request_get_type
-LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_REQUEST_CLASS
-LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_GET_CLASS
-
-
-
-id_wsf_2_0_is_select
-LASSO_IS_IDWSF2_IS_SELECT
-LassoIdWsf2IsSelect
-LassoIdWsf2IsSelect
-lasso_idwsf2_is_select_new
-
-LASSO_IDWSF2_IS_SELECT
-LASSO_TYPE_IDWSF2_IS_SELECT
-lasso_idwsf2_is_select_get_type
-LASSO_IDWSF2_IS_SELECT_CLASS
-LASSO_IS_IDWSF2_IS_SELECT_CLASS
-LASSO_IDWSF2_IS_SELECT_GET_CLASS
-
-
-
-subsref_notify
-LassoIdWsf2SubsRefNotify
-LassoIdWsf2SubsRefNotify
-lasso_idwsf2_subsref_notify_new
-
-LASSO_IDWSF2_SUBSREF_NOTIFY
-LASSO_IS_IDWSF2_SUBSREF_NOTIFY
-LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY
-lasso_idwsf2_subsref_notify_get_type
-LASSO_IDWSF2_SUBSREF_NOTIFY_CLASS
-LASSO_IS_IDWSF2_SUBSREF_NOTIFY_CLASS
-LASSO_IDWSF2_SUBSREF_NOTIFY_GET_CLASS
-
-
-
-dstref_delete_item
-LassoIdWsf2DstRefDeleteItem
-LassoIdWsf2DstRefDeleteItem
-lasso_idwsf2_dstref_delete_item_new
-
-LASSO_IDWSF2_DSTREF_DELETE_ITEM
-LASSO_IS_IDWSF2_DSTREF_DELETE_ITEM
-LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM
-lasso_idwsf2_dstref_delete_item_get_type
-LASSO_IDWSF2_DSTREF_DELETE_ITEM_CLASS
-LASSO_IS_IDWSF2_DSTREF_DELETE_ITEM_CLASS
-LASSO_IDWSF2_DSTREF_DELETE_ITEM_GET_CLASS
-
-
-
-subsref_query
-LassoIdWsf2SubsRefQuery
-LassoIdWsf2SubsRefQuery
-lasso_idwsf2_subsref_query_new
-
-LASSO_IDWSF2_SUBSREF_QUERY
-LASSO_IS_IDWSF2_SUBSREF_QUERY
-LASSO_TYPE_IDWSF2_SUBSREF_QUERY
-lasso_idwsf2_subsref_query_get_type
-LASSO_IDWSF2_SUBSREF_QUERY_CLASS
-LASSO_IS_IDWSF2_SUBSREF_QUERY_CLASS
-LASSO_IDWSF2_SUBSREF_QUERY_GET_CLASS
-
-
-
-ps_test_membership_request
-LassoIdWsf2PsTestMembershipRequest
-LassoIdWsf2PsTestMembershipRequest
-lasso_idwsf2_ps_test_membership_request_new
-
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST
-LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST
-LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST
-lasso_idwsf2_ps_test_membership_request_get_type
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_CLASS
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_GET_CLASS
-
-
-
-disco_svc_md_delete_response
-LassoIdWsf2DiscoSvcMDDeleteResponse
-LassoIdWsf2DiscoSvcMDDeleteResponse
-lasso_idwsf2_disco_svc_md_delete_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE
-lasso_idwsf2_disco_svc_md_delete_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_GET_CLASS
-
-
-
-dstref_delete_response
-LassoIdWsf2DstRefDeleteResponse
-LassoIdWsf2DstRefDeleteResponse
-lasso_idwsf2_dstref_delete_response_new
-
-LASSO_IDWSF2_DSTREF_DELETE_RESPONSE
-LASSO_IS_IDWSF2_DSTREF_DELETE_RESPONSE
-LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE
-lasso_idwsf2_dstref_delete_response_get_type
-LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DSTREF_DELETE_RESPONSE_CLASS
-LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_GET_CLASS
-
-
-
-ps_request_abstract
-LassoIdWsf2PsRequestAbstract
-LassoIdWsf2PsRequestAbstract
-lasso_idwsf2_ps_request_abstract_new
-
-LASSO_IDWSF2_PS_REQUEST_ABSTRACT
-LASSO_IS_IDWSF2_PS_REQUEST_ABSTRACT
-LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT
-lasso_idwsf2_ps_request_abstract_get_type
-LASSO_IDWSF2_PS_REQUEST_ABSTRACT_CLASS
-LASSO_IS_IDWSF2_PS_REQUEST_ABSTRACT_CLASS
-LASSO_IDWSF2_PS_REQUEST_ABSTRACT_GET_CLASS
-
-
-
-subsref_item_data
-LassoIdWsf2SubsRefItemData
-LassoIdWsf2SubsRefItemData
-lasso_idwsf2_subsref_item_data_new
-
-LASSO_IDWSF2_SUBSREF_ITEM_DATA
-LASSO_IS_IDWSF2_SUBSREF_ITEM_DATA
-LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA
-lasso_idwsf2_subsref_item_data_get_type
-LASSO_IDWSF2_SUBSREF_ITEM_DATA_CLASS
-LASSO_IS_IDWSF2_SUBSREF_ITEM_DATA_CLASS
-LASSO_IDWSF2_SUBSREF_ITEM_DATA_GET_CLASS
-
-
-
-sb2_user_interaction_header
-LassoIdWsf2Sb2UserInteractionHeader
-LassoIdWsf2Sb2UserInteractionHeader
-lasso_idwsf2_sb2_user_interaction_header_new
-
-LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER
-LASSO_IS_IDWSF2_SB2_USER_INTERACTION_HEADER
-LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER
-lasso_idwsf2_sb2_user_interaction_header_get_type
-LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_CLASS
-LASSO_IS_IDWSF2_SB2_USER_INTERACTION_HEADER_CLASS
-LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_GET_CLASS
-
-
-
-dst_result_query_base
-LassoIdWsf2DstResultQueryBase
-LassoIdWsf2DstResultQueryBase
-lasso_idwsf2_dst_result_query_base_new
-
-LASSO_IDWSF2_DST_RESULT_QUERY_BASE
-LASSO_IS_IDWSF2_DST_RESULT_QUERY_BASE
-LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE
-lasso_idwsf2_dst_result_query_base_get_type
-LASSO_IDWSF2_DST_RESULT_QUERY_BASE_CLASS
-LASSO_IS_IDWSF2_DST_RESULT_QUERY_BASE_CLASS
-LASSO_IDWSF2_DST_RESULT_QUERY_BASE_GET_CLASS
-
-
-
-ims_mapping_output
-LassoIdWsf2ImsMappingOutput
-LassoIdWsf2ImsMappingOutput
-lasso_idwsf2_ims_mapping_output_new
-
-LASSO_IDWSF2_IMS_MAPPING_OUTPUT
-LASSO_IS_IDWSF2_IMS_MAPPING_OUTPUT
-LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT
-lasso_idwsf2_ims_mapping_output_get_type
-LASSO_IDWSF2_IMS_MAPPING_OUTPUT_CLASS
-LASSO_IS_IDWSF2_IMS_MAPPING_OUTPUT_CLASS
-LASSO_IDWSF2_IMS_MAPPING_OUTPUT_GET_CLASS
-
-
-
-ps_get_object_info_request
-LassoIdWsf2PsGetObjectInfoRequest
-LassoIdWsf2PsGetObjectInfoRequest
-lasso_idwsf2_ps_get_object_info_request_new
-
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST
-LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_REQUEST
-LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST
-lasso_idwsf2_ps_get_object_info_request_get_type
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_CLASS
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_GET_CLASS
-
-
-
-ps_add_known_entity_response
-LassoIdWsf2PsAddKnownEntityResponse
-LassoIdWsf2PsAddKnownEntityResponse
-lasso_idwsf2_ps_add_known_entity_response_new
-
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE
-LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE
-LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE
-lasso_idwsf2_ps_add_known_entity_response_get_type
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_CLASS
-LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_GET_CLASS
-
-
-
-sb2_timeout
-LassoIdWsf2Sb2Timeout
-LassoIdWsf2Sb2Timeout
-lasso_idwsf2_sb2_timeout_new
-
-LASSO_IDWSF2_SB2_TIMEOUT
-LASSO_IS_IDWSF2_SB2_TIMEOUT
-LASSO_TYPE_IDWSF2_SB2_TIMEOUT
-lasso_idwsf2_sb2_timeout_get_type
-LASSO_IDWSF2_SB2_TIMEOUT_CLASS
-LASSO_IS_IDWSF2_SB2_TIMEOUT_CLASS
-LASSO_IDWSF2_SB2_TIMEOUT_GET_CLASS
-
-
-
-disco_service_context
-LassoIdWsf2DiscoServiceContext
-LassoIdWsf2DiscoServiceContext
-lasso_idwsf2_disco_service_context_new
-lasso_idwsf2_disco_service_context_new_full
-
-LASSO_IDWSF2_DISCO_SERVICE_CONTEXT
-LASSO_IS_IDWSF2_DISCO_SERVICE_CONTEXT
-LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT
-lasso_idwsf2_disco_service_context_get_type
-LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_CLASS
-LASSO_IS_IDWSF2_DISCO_SERVICE_CONTEXT_CLASS
-LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_GET_CLASS
-
-
-
-subsref_result_query
-LassoIdWsf2SubsRefResultQuery
-LassoIdWsf2SubsRefResultQuery
-lasso_idwsf2_subsref_result_query_new
-
-LASSO_IDWSF2_SUBSREF_RESULT_QUERY
-LASSO_IS_IDWSF2_SUBSREF_RESULT_QUERY
-LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY
-lasso_idwsf2_subsref_result_query_get_type
-LASSO_IDWSF2_SUBSREF_RESULT_QUERY_CLASS
-LASSO_IS_IDWSF2_SUBSREF_RESULT_QUERY_CLASS
-LASSO_IDWSF2_SUBSREF_RESULT_QUERY_GET_CLASS
-
-
-
-ps_add_collection_response
-LassoIdWsf2PsAddCollectionResponse
-LassoIdWsf2PsAddCollectionResponse
-lasso_idwsf2_ps_add_collection_response_new
-
-LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE
-LASSO_IS_IDWSF2_PS_ADD_COLLECTION_RESPONSE
-LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE
-lasso_idwsf2_ps_add_collection_response_get_type
-LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_ADD_COLLECTION_RESPONSE_CLASS
-LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_GET_CLASS
-
-
-
-dstref_result_query
-LassoIdWsf2DstRefResultQuery
-LassoIdWsf2DstRefResultQuery
-lasso_idwsf2_dstref_result_query_new
-
-LASSO_IDWSF2_DSTREF_RESULT_QUERY
-LASSO_IS_IDWSF2_DSTREF_RESULT_QUERY
-LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY
-lasso_idwsf2_dstref_result_query_get_type
-LASSO_IDWSF2_DSTREF_RESULT_QUERY_CLASS
-LASSO_IS_IDWSF2_DSTREF_RESULT_QUERY_CLASS
-LASSO_IDWSF2_DSTREF_RESULT_QUERY_GET_CLASS
-
-
-
-sb2_consent
-LassoIdWsf2Sb2Consent
-LassoIdWsf2Sb2Consent
-lasso_idwsf2_sb2_consent_new
-
-LASSO_IDWSF2_SB2_CONSENT
-LASSO_IS_IDWSF2_SB2_CONSENT
-LASSO_TYPE_IDWSF2_SB2_CONSENT
-lasso_idwsf2_sb2_consent_get_type
-LASSO_IDWSF2_SB2_CONSENT_CLASS
-LASSO_IS_IDWSF2_SB2_CONSENT_CLASS
-LASSO_IDWSF2_SB2_CONSENT_GET_CLASS
-
-
-
-ps_item_data
-LassoIdWsf2PsItemData
-LassoIdWsf2PsItemData
-lasso_idwsf2_ps_item_data_new
-
-LASSO_IDWSF2_PS_ITEM_DATA
-LASSO_IS_IDWSF2_PS_ITEM_DATA
-LASSO_TYPE_IDWSF2_PS_ITEM_DATA
-lasso_idwsf2_ps_item_data_get_type
-LASSO_IDWSF2_PS_ITEM_DATA_CLASS
-LASSO_IS_IDWSF2_PS_ITEM_DATA_CLASS
-LASSO_IDWSF2_PS_ITEM_DATA_GET_CLASS
-
-
-
-subsref_data
-LassoIdWsf2SubsRefData
-LassoIdWsf2SubsRefData
-lasso_idwsf2_subsref_data_new
-
-LASSO_IDWSF2_SUBSREF_DATA
-LASSO_IS_IDWSF2_SUBSREF_DATA
-LASSO_TYPE_IDWSF2_SUBSREF_DATA
-lasso_idwsf2_subsref_data_get_type
-LASSO_IDWSF2_SUBSREF_DATA_CLASS
-LASSO_IS_IDWSF2_SUBSREF_DATA_CLASS
-LASSO_IDWSF2_SUBSREF_DATA_GET_CLASS
-
-
-
-ims_mapping_input
-LassoIdWsf2ImsMappingInput
-LassoIdWsf2ImsMappingInput
-lasso_idwsf2_ims_mapping_input_new
-
-LASSO_IDWSF2_IMS_MAPPING_INPUT
-LASSO_IS_IDWSF2_IMS_MAPPING_INPUT
-LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT
-lasso_idwsf2_ims_mapping_input_get_type
-LASSO_IDWSF2_IMS_MAPPING_INPUT_CLASS
-LASSO_IS_IDWSF2_IMS_MAPPING_INPUT_CLASS
-LASSO_IDWSF2_IMS_MAPPING_INPUT_GET_CLASS
-
-
-
-sb2_usage_directive
-LassoIdWsf2Sb2UsageDirective
-LassoIdWsf2Sb2UsageDirective
-lasso_idwsf2_sb2_usage_directive_new
-
-LASSO_IDWSF2_SB2_USAGE_DIRECTIVE
-LASSO_IS_IDWSF2_SB2_USAGE_DIRECTIVE
-LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE
-lasso_idwsf2_sb2_usage_directive_get_type
-LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_CLASS
-LASSO_IS_IDWSF2_SB2_USAGE_DIRECTIVE_CLASS
-LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_GET_CLASS
-
-
-
-subsref_modify_item
-LassoIdWsf2SubsRefModifyItem
-LassoIdWsf2SubsRefModifyItem
-lasso_idwsf2_subsref_modify_item_new
-
-LASSO_IDWSF2_SUBSREF_MODIFY_ITEM
-LASSO_IS_IDWSF2_SUBSREF_MODIFY_ITEM
-LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM
-lasso_idwsf2_subsref_modify_item_get_type
-LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBSREF_MODIFY_ITEM_CLASS
-LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_GET_CLASS
-
-
-
-dstref_delete
-LassoIdWsf2DstRefDelete
-LassoIdWsf2DstRefDelete
-lasso_idwsf2_dstref_delete_new
-
-LASSO_IDWSF2_DSTREF_DELETE
-LASSO_IS_IDWSF2_DSTREF_DELETE
-LASSO_TYPE_IDWSF2_DSTREF_DELETE
-lasso_idwsf2_dstref_delete_get_type
-LASSO_IDWSF2_DSTREF_DELETE_CLASS
-LASSO_IS_IDWSF2_DSTREF_DELETE_CLASS
-LASSO_IDWSF2_DSTREF_DELETE_GET_CLASS
-
-
-
-id_wsf_2_0_is_interaction_request
-LASSO_IS_IDWSF2_IS_INTERACTION_REQUEST
-LassoIdWsf2IsInteractionRequest
-LassoIdWsf2IsInteractionRequest
-lasso_idwsf2_is_interaction_request_new
-
-LASSO_IDWSF2_IS_INTERACTION_REQUEST
-LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST
-lasso_idwsf2_is_interaction_request_get_type
-LASSO_IDWSF2_IS_INTERACTION_REQUEST_CLASS
-LASSO_IS_IDWSF2_IS_INTERACTION_REQUEST_CLASS
-LASSO_IDWSF2_IS_INTERACTION_REQUEST_GET_CLASS
-
-
-
-ps_object
-LassoIdWsf2PsObject
-LassoIdWsf2PsObject
-lasso_idwsf2_ps_object_new
-
-LASSO_IDWSF2_PS_OBJECT
-LASSO_IS_IDWSF2_PS_OBJECT
-LASSO_TYPE_IDWSF2_PS_OBJECT
-lasso_idwsf2_ps_object_get_type
-LASSO_IDWSF2_PS_OBJECT_CLASS
-LASSO_IS_IDWSF2_PS_OBJECT_CLASS
-LASSO_IDWSF2_PS_OBJECT_GET_CLASS
-
-
-
-dstref_create
-LassoIdWsf2DstRefCreate
-LassoIdWsf2DstRefCreate
-lasso_idwsf2_dstref_create_new
-
-LASSO_IDWSF2_DSTREF_CREATE
-LASSO_IS_IDWSF2_DSTREF_CREATE
-LASSO_TYPE_IDWSF2_DSTREF_CREATE
-lasso_idwsf2_dstref_create_get_type
-LASSO_IDWSF2_DSTREF_CREATE_CLASS
-LASSO_IS_IDWSF2_DSTREF_CREATE_CLASS
-LASSO_IDWSF2_DSTREF_CREATE_GET_CLASS
-
-
-
-sb2_credentials_context
-LassoIdWsf2Sb2CredentialsContext
-LassoIdWsf2Sb2CredentialsContext
-lasso_idwsf2_sb2_credentials_context_new
-
-LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT
-LASSO_IS_IDWSF2_SB2_CREDENTIALS_CONTEXT
-LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT
-lasso_idwsf2_sb2_credentials_context_get_type
-LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_CLASS
-LASSO_IS_IDWSF2_SB2_CREDENTIALS_CONTEXT_CLASS
-LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_GET_CLASS
-
-
-
-dstref_modify_response
-LassoIdWsf2DstRefModifyResponse
-LassoIdWsf2DstRefModifyResponse
-lasso_idwsf2_dstref_modify_response_new
-
-LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE
-LASSO_IS_IDWSF2_DSTREF_MODIFY_RESPONSE
-LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE
-lasso_idwsf2_dstref_modify_response_get_type
-LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DSTREF_MODIFY_RESPONSE_CLASS
-LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_GET_CLASS
-
-
-
-disco_svc_metadata
-LassoIdWsf2DiscoSvcMetadata
-LassoIdWsf2DiscoSvcMetadata
-lasso_idwsf2_disco_svc_metadata_new
-lasso_idwsf2_disco_svc_metadata_new_full
-
-LASSO_IDWSF2_DISCO_SVC_METADATA
-LASSO_IS_IDWSF2_DISCO_SVC_METADATA
-LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA
-lasso_idwsf2_disco_svc_metadata_get_type
-LASSO_IDWSF2_DISCO_SVC_METADATA_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_METADATA_CLASS
-LASSO_IDWSF2_DISCO_SVC_METADATA_GET_CLASS
-
-
-
-util_response
-LassoIdWsf2UtilResponse
-LassoIdWsf2UtilResponse
-lasso_idwsf2_util_response_new
-lasso_idwsf2_util_response_set_status
-lasso_idwsf2_util_response_set_status2
-
-LASSO_IDWSF2_UTIL_RESPONSE
-LASSO_IS_IDWSF2_UTIL_RESPONSE
-LASSO_TYPE_IDWSF2_UTIL_RESPONSE
-lasso_idwsf2_util_response_get_type
-LASSO_IDWSF2_UTIL_RESPONSE_CLASS
-LASSO_IS_IDWSF2_UTIL_RESPONSE_CLASS
-LASSO_IDWSF2_UTIL_RESPONSE_GET_CLASS
-
-
-
-sbf_framework
-LassoIdWsf2SbfFramework
-LassoIdWsf2SbfFramework
-lasso_idwsf2_sbf_framework_new
-lasso_idwsf2_sbf_framework_new_full
-
-LASSO_IDWSF2_SBF_FRAMEWORK
-LASSO_IS_IDWSF2_SBF_FRAMEWORK
-LASSO_TYPE_IDWSF2_SBF_FRAMEWORK
-lasso_idwsf2_sbf_framework_get_type
-LASSO_IDWSF2_SBF_FRAMEWORK_CLASS
-LASSO_IS_IDWSF2_SBF_FRAMEWORK_CLASS
-LASSO_IDWSF2_SBF_FRAMEWORK_GET_CLASS
-
-
-
-disco_requested_service
-LassoIdWsf2DiscoRequestedService
-LassoIdWsf2DiscoRequestedService
-lasso_idwsf2_disco_requested_service_new
-
-LASSO_IDWSF2_DISCO_REQUESTED_SERVICE
-LASSO_IS_IDWSF2_DISCO_REQUESTED_SERVICE
-LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE
-lasso_idwsf2_disco_requested_service_get_type
-LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_CLASS
-LASSO_IS_IDWSF2_DISCO_REQUESTED_SERVICE_CLASS
-LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_GET_CLASS
-
-
-
-ps_list_members_request
-LassoIdWsf2PsListMembersRequest
-LassoIdWsf2PsListMembersRequest
-lasso_idwsf2_ps_list_members_request_new
-
-LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST
-LASSO_IS_IDWSF2_PS_LIST_MEMBERS_REQUEST
-LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST
-lasso_idwsf2_ps_list_members_request_get_type
-LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_LIST_MEMBERS_REQUEST_CLASS
-LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_GET_CLASS
-
-
-
-subsref_query_item
-LassoIdWsf2SubsRefQueryItem
-LassoIdWsf2SubsRefQueryItem
-lasso_idwsf2_subsref_query_item_new
-
-LASSO_IDWSF2_SUBSREF_QUERY_ITEM
-LASSO_IS_IDWSF2_SUBSREF_QUERY_ITEM
-LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM
-lasso_idwsf2_subsref_query_item_get_type
-LASSO_IDWSF2_SUBSREF_QUERY_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBSREF_QUERY_ITEM_CLASS
-LASSO_IDWSF2_SUBSREF_QUERY_ITEM_GET_CLASS
-
-
-
-ps_resolve_identifier_request
-LassoIdWsf2PsResolveIdentifierRequest
-LassoIdWsf2PsResolveIdentifierRequest
-lasso_idwsf2_ps_resolve_identifier_request_new
-
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST
-LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST
-LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST
-lasso_idwsf2_ps_resolve_identifier_request_get_type
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_CLASS
-LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_GET_CLASS
-
-
-
-disco_svc_md_replace
-LassoIdWsf2DiscoSvcMDReplace
-LassoIdWsf2DiscoSvcMDReplace
-lasso_idwsf2_disco_svc_md_replace_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE
-lasso_idwsf2_disco_svc_md_replace_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_GET_CLASS
-
-
-
-sb2_sender
-LassoIdWsf2Sb2Sender
-LassoIdWsf2Sb2Sender
-lasso_idwsf2_sb2_sender_new
-
-LASSO_IDWSF2_SB2_SENDER
-LASSO_IS_IDWSF2_SB2_SENDER
-LASSO_TYPE_IDWSF2_SB2_SENDER
-lasso_idwsf2_sb2_sender_get_type
-LASSO_IDWSF2_SB2_SENDER_CLASS
-LASSO_IS_IDWSF2_SB2_SENDER_CLASS
-LASSO_IDWSF2_SB2_SENDER_GET_CLASS
-
-
-
-dstref_query_response
-LassoIdWsf2DstRefQueryResponse
-LassoIdWsf2DstRefQueryResponse
-lasso_idwsf2_dstref_query_response_new
-
-LASSO_IDWSF2_DSTREF_QUERY_RESPONSE
-LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE
-LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE
-lasso_idwsf2_dstref_query_response_get_type
-LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS
-LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_GET_CLASS
-
-
-
-ps_notify
-LassoIdWsf2PsNotify
-LassoIdWsf2PsNotify
-lasso_idwsf2_ps_notify_new
-
-LASSO_IDWSF2_PS_NOTIFY
-LASSO_IS_IDWSF2_PS_NOTIFY
-LASSO_TYPE_IDWSF2_PS_NOTIFY
-lasso_idwsf2_ps_notify_get_type
-LASSO_IDWSF2_PS_NOTIFY_CLASS
-LASSO_IS_IDWSF2_PS_NOTIFY_CLASS
-LASSO_IDWSF2_PS_NOTIFY_GET_CLASS
-
-
-
-ps_get_object_info_response
-LassoIdWsf2PsGetObjectInfoResponse
-LassoIdWsf2PsGetObjectInfoResponse
-lasso_idwsf2_ps_get_object_info_response_new
-
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE
-LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE
-LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE
-lasso_idwsf2_ps_get_object_info_response_get_type
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_CLASS
-LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_GET_CLASS
-
-
-
-dstref_test_item
-LassoIdWsf2DstRefTestItem
-LassoIdWsf2DstRefTestItem
-lasso_idwsf2_dstref_test_item_new
-
-LASSO_IDWSF2_DSTREF_TEST_ITEM
-LASSO_IS_IDWSF2_DSTREF_TEST_ITEM
-LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM
-lasso_idwsf2_dstref_test_item_get_type
-LASSO_IDWSF2_DSTREF_TEST_ITEM_CLASS
-LASSO_IS_IDWSF2_DSTREF_TEST_ITEM_CLASS
-LASSO_IDWSF2_DSTREF_TEST_ITEM_GET_CLASS
-
-
-
-id_wsf_2_0_is_item
-LASSO_IS_IDWSF2_IS_ITEM
-LassoIdWsf2IsItem
-LassoIdWsf2IsItem
-lasso_idwsf2_is_item_new
-
-LASSO_IDWSF2_IS_ITEM
-LASSO_TYPE_IDWSF2_IS_ITEM
-lasso_idwsf2_is_item_get_type
-LASSO_IDWSF2_IS_ITEM_CLASS
-LASSO_IS_IDWSF2_IS_ITEM_CLASS
-LASSO_IDWSF2_IS_ITEM_GET_CLASS
-
-
-
-subsref_create
-LassoIdWsf2SubsRefCreate
-LassoIdWsf2SubsRefCreate
-lasso_idwsf2_subsref_create_new
-
-LASSO_IDWSF2_SUBSREF_CREATE
-LASSO_IS_IDWSF2_SUBSREF_CREATE
-LASSO_TYPE_IDWSF2_SUBSREF_CREATE
-lasso_idwsf2_subsref_create_get_type
-LASSO_IDWSF2_SUBSREF_CREATE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_CREATE_CLASS
-LASSO_IDWSF2_SUBSREF_CREATE_GET_CLASS
-
-
-
-subs_ref_item
-LassoIdWsf2SubsRefItem
-LassoIdWsf2SubsRefItem
-lasso_idwsf2_subs_ref_item_new
-
-LASSO_IDWSF2_SUBS_REF_ITEM
-LASSO_IS_IDWSF2_SUBS_REF_ITEM
-LASSO_TYPE_IDWSF2_SUBS_REF_ITEM
-lasso_idwsf2_subs_ref_item_get_type
-LASSO_IDWSF2_SUBS_REF_ITEM_CLASS
-LASSO_IS_IDWSF2_SUBS_REF_ITEM_CLASS
-LASSO_IDWSF2_SUBS_REF_ITEM_GET_CLASS
-
-
-
-sec_token
-LassoIdWsf2SecToken
-LassoIdWsf2SecToken
-lasso_idwsf2_sec_token_new
-
-LASSO_IDWSF2_SEC_TOKEN
-LASSO_IS_IDWSF2_SEC_TOKEN
-LASSO_TYPE_IDWSF2_SEC_TOKEN
-lasso_idwsf2_sec_token_get_type
-LASSO_IDWSF2_SEC_TOKEN_CLASS
-LASSO_IS_IDWSF2_SEC_TOKEN_CLASS
-LASSO_IDWSF2_SEC_TOKEN_GET_CLASS
-
-
-
-dst_test_item_base
-LassoIdWsf2DstTestItemBase
-LassoIdWsf2DstTestItemBase
-lasso_idwsf2_dst_test_item_base_new
-
-LASSO_IDWSF2_DST_TEST_ITEM_BASE
-LASSO_IS_IDWSF2_DST_TEST_ITEM_BASE
-LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE
-lasso_idwsf2_dst_test_item_base_get_type
-LASSO_IDWSF2_DST_TEST_ITEM_BASE_CLASS
-LASSO_IS_IDWSF2_DST_TEST_ITEM_BASE_CLASS
-LASSO_IDWSF2_DST_TEST_ITEM_BASE_GET_CLASS
-
-
-
-ps_add_entity_request
-LassoIdWsf2PsAddEntityRequest
-LassoIdWsf2PsAddEntityRequest
-lasso_idwsf2_ps_add_entity_request_new
-
-LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST
-LASSO_IS_IDWSF2_PS_ADD_ENTITY_REQUEST
-LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST
-lasso_idwsf2_ps_add_entity_request_get_type
-LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_ADD_ENTITY_REQUEST_CLASS
-LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_GET_CLASS
-
-
-
-dst_request
-LassoIdWsf2DstRequest
-LassoIdWsf2DstRequest
-lasso_idwsf2_dst_request_new
-
-LASSO_IDWSF2_DST_REQUEST
-LASSO_IS_IDWSF2_DST_REQUEST
-LASSO_TYPE_IDWSF2_DST_REQUEST
-lasso_idwsf2_dst_request_get_type
-LASSO_IDWSF2_DST_REQUEST_CLASS
-LASSO_IS_IDWSF2_DST_REQUEST_CLASS
-LASSO_IDWSF2_DST_REQUEST_GET_CLASS
-
-
-
-subsref_delete
-LassoIdWsf2SubsRefDelete
-LassoIdWsf2SubsRefDelete
-lasso_idwsf2_subsref_delete_new
-
-LASSO_IDWSF2_SUBSREF_DELETE
-LASSO_IS_IDWSF2_SUBSREF_DELETE
-LASSO_TYPE_IDWSF2_SUBSREF_DELETE
-lasso_idwsf2_subsref_delete_get_type
-LASSO_IDWSF2_SUBSREF_DELETE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_DELETE_CLASS
-LASSO_IDWSF2_SUBSREF_DELETE_GET_CLASS
-
-
-
-subsref_delete_response
-LassoIdWsf2SubsRefDeleteResponse
-LassoIdWsf2SubsRefDeleteResponse
-lasso_idwsf2_subsref_delete_response_new
-
-LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_DELETE_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE
-lasso_idwsf2_subsref_delete_response_get_type
-LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_DELETE_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_GET_CLASS
-
-
-
-sb2_target_identity
-LassoIdWsf2Sb2TargetIdentity
-LassoIdWsf2Sb2TargetIdentity
-lasso_idwsf2_sb2_target_identity_new
-
-LASSO_IDWSF2_SB2_TARGET_IDENTITY
-LASSO_IS_IDWSF2_SB2_TARGET_IDENTITY
-LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY
-lasso_idwsf2_sb2_target_identity_get_type
-LASSO_IDWSF2_SB2_TARGET_IDENTITY_CLASS
-LASSO_IS_IDWSF2_SB2_TARGET_IDENTITY_CLASS
-LASSO_IDWSF2_SB2_TARGET_IDENTITY_GET_CLASS
-
-
-
-subsref_notification
-LassoIdWsf2SubsRefNotification
-LassoIdWsf2SubsRefNotification
-lasso_idwsf2_subsref_notification_new
-
-LASSO_IDWSF2_SUBSREF_NOTIFICATION
-LASSO_IS_IDWSF2_SUBSREF_NOTIFICATION
-LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION
-lasso_idwsf2_subsref_notification_get_type
-LASSO_IDWSF2_SUBSREF_NOTIFICATION_CLASS
-LASSO_IS_IDWSF2_SUBSREF_NOTIFICATION_CLASS
-LASSO_IDWSF2_SUBSREF_NOTIFICATION_GET_CLASS
-
-
-
-ps_test_membership_response
-LassoIdWsf2PsTestMembershipResponse
-LassoIdWsf2PsTestMembershipResponse
-lasso_idwsf2_ps_test_membership_response_new
-
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE
-LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE
-LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE
-lasso_idwsf2_ps_test_membership_response_get_type
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_CLASS
-LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_GET_CLASS
-
-
-
-dstref_modify_item
-LassoIdWsf2DstRefModifyItem
-LassoIdWsf2DstRefModifyItem
-lasso_idwsf2_dstref_modify_item_new
-lasso_idwsf2_dstref_modify_item_new_full
-
-LASSO_IDWSF2_DSTREF_MODIFY_ITEM
-LASSO_IS_IDWSF2_DSTREF_MODIFY_ITEM
-LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM
-lasso_idwsf2_dstref_modify_item_get_type
-LASSO_IDWSF2_DSTREF_MODIFY_ITEM_CLASS
-LASSO_IS_IDWSF2_DSTREF_MODIFY_ITEM_CLASS
-LASSO_IDWSF2_DSTREF_MODIFY_ITEM_GET_CLASS
-
-
-
-dstref_app_data
-LassoIdWsf2DstRefAppData
-LassoIdWsf2DstRefAppData
-lasso_idwsf2_dstref_app_data_new
-
-LASSO_IDWSF2_DSTREF_APP_DATA
-LASSO_IS_IDWSF2_DSTREF_APP_DATA
-LASSO_TYPE_IDWSF2_DSTREF_APP_DATA
-lasso_idwsf2_dstref_app_data_get_type
-LASSO_IDWSF2_DSTREF_APP_DATA_CLASS
-LASSO_IS_IDWSF2_DSTREF_APP_DATA_CLASS
-LASSO_IDWSF2_DSTREF_APP_DATA_GET_CLASS
-
-
-
-ps_list_members_response
-LassoIdWsf2PsListMembersResponse
-LassoIdWsf2PsListMembersResponse
-lasso_idwsf2_ps_list_members_response_new
-
-LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE
-LASSO_IS_IDWSF2_PS_LIST_MEMBERS_RESPONSE
-LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE
-lasso_idwsf2_ps_list_members_response_get_type
-LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_LIST_MEMBERS_RESPONSE_CLASS
-LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_GET_CLASS
-
-
-
-sec_transited_provider_path
-LassoIdWsf2SecTransitedProviderPath
-LassoIdWsf2SecTransitedProviderPath
-lasso_idwsf2_sec_transited_provider_path_new
-
-LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH
-LASSO_IS_IDWSF2_SEC_TRANSITED_PROVIDER_PATH
-LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH
-lasso_idwsf2_sec_transited_provider_path_get_type
-LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_CLASS
-LASSO_IS_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_CLASS
-LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_GET_CLASS
-
-
-
-ps_add_collection_request
-LassoIdWsf2PsAddCollectionRequest
-LassoIdWsf2PsAddCollectionRequest
-lasso_idwsf2_ps_add_collection_request_new
-
-LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST
-LASSO_IS_IDWSF2_PS_ADD_COLLECTION_REQUEST
-LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST
-lasso_idwsf2_ps_add_collection_request_get_type
-LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_ADD_COLLECTION_REQUEST_CLASS
-LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_GET_CLASS
-
-
-
-disco_svc_md_register
-LassoIdWsf2DiscoSvcMDRegister
-LassoIdWsf2DiscoSvcMDRegister
-lasso_idwsf2_disco_svc_md_register_new
-lasso_idwsf2_disco_svc_md_register_new_full
-
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER
-lasso_idwsf2_disco_svc_md_register_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_GET_CLASS
-
-
-
-ps_query_objects_response
-LassoIdWsf2PsQueryObjectsResponse
-LassoIdWsf2PsQueryObjectsResponse
-lasso_idwsf2_ps_query_objects_response_new
-
-LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE
-LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_RESPONSE
-LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE
-lasso_idwsf2_ps_query_objects_response_get_type
-LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_CLASS
-LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_GET_CLASS
-
-
-
-subs_notification
-LassoIdWsf2SubsNotification
-LassoIdWsf2SubsNotification
-lasso_idwsf2_subs_notification_new
-
-LASSO_IDWSF2_SUBS_NOTIFICATION
-LASSO_IS_IDWSF2_SUBS_NOTIFICATION
-LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION
-lasso_idwsf2_subs_notification_get_type
-LASSO_IDWSF2_SUBS_NOTIFICATION_CLASS
-LASSO_IS_IDWSF2_SUBS_NOTIFICATION_CLASS
-LASSO_IDWSF2_SUBS_NOTIFICATION_GET_CLASS
-
-
-
-disco_security_context
-LassoIdWsf2DiscoSecurityContext
-LassoIdWsf2DiscoSecurityContext
-lasso_idwsf2_disco_security_context_new
-
-LASSO_IDWSF2_DISCO_SECURITY_CONTEXT
-LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT
-LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT
-lasso_idwsf2_disco_security_context_get_type
-LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_CLASS
-LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT_CLASS
-LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_GET_CLASS
-
-
-
-ps_set_object_info_request
-LassoIdWsf2PsSetObjectInfoRequest
-LassoIdWsf2PsSetObjectInfoRequest
-lasso_idwsf2_ps_set_object_info_request_new
-
-LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST
-LASSO_IS_IDWSF2_PS_SET_OBJECT_INFO_REQUEST
-LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST
-lasso_idwsf2_ps_set_object_info_request_get_type
-LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_CLASS
-LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_GET_CLASS
-
-
-
-disco_svc_md_association_add_response
-LassoIdWsf2DiscoSvcMDAssociationAddResponse
-LassoIdWsf2DiscoSvcMDAssociationAddResponse
-lasso_idwsf2_disco_svc_md_association_add_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE
-lasso_idwsf2_disco_svc_md_association_add_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_GET_CLASS
-
-
-
-dstref_query
-LassoIdWsf2DstRefQuery
-LassoIdWsf2DstRefQuery
-lasso_idwsf2_dstref_query_new
-
-LASSO_IDWSF2_DSTREF_QUERY
-LASSO_IS_IDWSF2_DSTREF_QUERY
-LASSO_TYPE_IDWSF2_DSTREF_QUERY
-lasso_idwsf2_dstref_query_get_type
-LASSO_IDWSF2_DSTREF_QUERY_CLASS
-LASSO_IS_IDWSF2_DSTREF_QUERY_CLASS
-LASSO_IDWSF2_DSTREF_QUERY_GET_CLASS
-
-
-
-ps_remove_from_collection_request
-LassoIdWsf2PsRemoveFromCollectionRequest
-LassoIdWsf2PsRemoveFromCollectionRequest
-lasso_idwsf2_ps_remove_from_collection_request_new
-
-LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST
-LASSO_IS_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST
-LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST
-lasso_idwsf2_ps_remove_from_collection_request_get_type
-LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_CLASS
-LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_GET_CLASS
-
-
-
-dstref_item_data
-LassoIdWsf2DstRefItemData
-LassoIdWsf2DstRefItemData
-lasso_idwsf2_dstref_item_data_new
-
-LASSO_IDWSF2_DSTREF_ITEM_DATA
-LASSO_IS_IDWSF2_DSTREF_ITEM_DATA
-LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA
-lasso_idwsf2_dstref_item_data_get_type
-LASSO_IDWSF2_DSTREF_ITEM_DATA_CLASS
-LASSO_IS_IDWSF2_DSTREF_ITEM_DATA_CLASS
-LASSO_IDWSF2_DSTREF_ITEM_DATA_GET_CLASS
-
-
-
-dstref_create_response
-LassoIdWsf2DstRefCreateResponse
-LassoIdWsf2DstRefCreateResponse
-lasso_idwsf2_dstref_create_response_new
-
-LASSO_IDWSF2_DSTREF_CREATE_RESPONSE
-LASSO_IS_IDWSF2_DSTREF_CREATE_RESPONSE
-LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE
-lasso_idwsf2_dstref_create_response_get_type
-LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DSTREF_CREATE_RESPONSE_CLASS
-LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_GET_CLASS
-
-
-
-subsref_create_response
-LassoIdWsf2SubsRefCreateResponse
-LassoIdWsf2SubsRefCreateResponse
-lasso_idwsf2_subsref_create_response_new
-
-LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_CREATE_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE
-lasso_idwsf2_subsref_create_response_get_type
-LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_CREATE_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_GET_CLASS
-
-
-
-id_wsf_2_0_is_inquiry_element
-LASSO_IS_IDWSF2_IS_INQUIRY_ELEMENT
-LassoIdWsf2IsInquiryElement
-LassoIdWsf2IsInquiryElement
-lasso_idwsf2_is_inquiry_element_new
-
-LASSO_IDWSF2_IS_INQUIRY_ELEMENT
-LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT
-lasso_idwsf2_is_inquiry_element_get_type
-LASSO_IDWSF2_IS_INQUIRY_ELEMENT_CLASS
-LASSO_IS_IDWSF2_IS_INQUIRY_ELEMENT_CLASS
-LASSO_IDWSF2_IS_INQUIRY_ELEMENT_GET_CLASS
-
-
-
-ps_notification
-LassoIdWsf2PsNotification
-LassoIdWsf2PsNotification
-lasso_idwsf2_ps_notification_new
-
-LASSO_IDWSF2_PS_NOTIFICATION
-LASSO_IS_IDWSF2_PS_NOTIFICATION
-LASSO_TYPE_IDWSF2_PS_NOTIFICATION
-lasso_idwsf2_ps_notification_get_type
-LASSO_IDWSF2_PS_NOTIFICATION_CLASS
-LASSO_IS_IDWSF2_PS_NOTIFICATION_CLASS
-LASSO_IDWSF2_PS_NOTIFICATION_GET_CLASS
-
-
-
-id_wsf_2_0_disco_query_response
-LassoIdWsf2DiscoQueryResponse
-LassoIdWsf2DiscoQueryResponse
-lasso_idwsf2_disco_query_response_new
-
-LASSO_IDWSF2_DISCO_QUERY_RESPONSE
-LASSO_IS_IDWSF2_DISCO_QUERY_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE
-lasso_idwsf2_disco_query_response_get_type
-LASSO_IDWSF2_DISCO_QUERY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_QUERY_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_QUERY_RESPONSE_GET_CLASS
-
-
-
-subsref_modify_response
-LassoIdWsf2SubsRefModifyResponse
-LassoIdWsf2SubsRefModifyResponse
-lasso_idwsf2_subsref_modify_response_new
-
-LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_MODIFY_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE
-lasso_idwsf2_subsref_modify_response_get_type
-LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_MODIFY_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_GET_CLASS
-
-
-
-subsref_notify_response
-LassoIdWsf2SubsRefNotifyResponse
-LassoIdWsf2SubsRefNotifyResponse
-lasso_idwsf2_subsref_notify_response_new
-
-LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE
-LASSO_IS_IDWSF2_SUBSREF_NOTIFY_RESPONSE
-LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE
-lasso_idwsf2_subsref_notify_response_get_type
-LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_SUBSREF_NOTIFY_RESPONSE_CLASS
-LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_GET_CLASS
-
-
-
-ims_identity_mapping_response
-LassoIdWsf2ImsIdentityMappingResponse
-LassoIdWsf2ImsIdentityMappingResponse
-lasso_idwsf2_ims_identity_mapping_response_new
-
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE
-LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE
-LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE
-lasso_idwsf2_ims_identity_mapping_response_get_type
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_CLASS
-LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_CLASS
-LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_GET_CLASS
-
-
-
-subsref_modify
-LassoIdWsf2SubsRefModify
-LassoIdWsf2SubsRefModify
-lasso_idwsf2_subsref_modify_new
-
-LASSO_IDWSF2_SUBSREF_MODIFY
-LASSO_IS_IDWSF2_SUBSREF_MODIFY
-LASSO_TYPE_IDWSF2_SUBSREF_MODIFY
-lasso_idwsf2_subsref_modify_get_type
-LASSO_IDWSF2_SUBSREF_MODIFY_CLASS
-LASSO_IS_IDWSF2_SUBSREF_MODIFY_CLASS
-LASSO_IDWSF2_SUBSREF_MODIFY_GET_CLASS
-
-
-
-ps_add_to_collection_request
-LassoIdWsf2PsAddToCollectionRequest
-LassoIdWsf2PsAddToCollectionRequest
-lasso_idwsf2_ps_add_to_collection_request_new
-
-LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST
-LASSO_IS_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST
-LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST
-lasso_idwsf2_ps_add_to_collection_request_get_type
-LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_CLASS
-LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_GET_CLASS
-
-
-
-subs_subscription
-LassoIdWsf2SubsSubscription
-LassoIdWsf2SubsSubscription
-lasso_idwsf2_subs_subscription_new
-
-LASSO_IDWSF2_SUBS_SUBSCRIPTION
-LASSO_IS_IDWSF2_SUBS_SUBSCRIPTION
-LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION
-lasso_idwsf2_subs_subscription_get_type
-LASSO_IDWSF2_SUBS_SUBSCRIPTION_CLASS
-LASSO_IS_IDWSF2_SUBS_SUBSCRIPTION_CLASS
-LASSO_IDWSF2_SUBS_SUBSCRIPTION_GET_CLASS
-
-
-
-dstref_query_item
-LassoIdWsf2DstRefQueryItem
-LassoIdWsf2DstRefQueryItem
-lasso_idwsf2_dstref_query_item_new
-lasso_idwsf2_dstref_query_item_new_full
-
-LASSO_IDWSF2_DSTREF_QUERY_ITEM
-LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM
-LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM
-lasso_idwsf2_dstref_query_item_get_type
-LASSO_IDWSF2_DSTREF_QUERY_ITEM_CLASS
-LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM_CLASS
-LASSO_IDWSF2_DSTREF_QUERY_ITEM_GET_CLASS
-
-
-
-ps_add_entity_response
-LassoIdWsf2PsAddEntityResponse
-LassoIdWsf2PsAddEntityResponse
-lasso_idwsf2_ps_add_entity_response_new
-
-LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE
-LASSO_IS_IDWSF2_PS_ADD_ENTITY_RESPONSE
-LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE
-lasso_idwsf2_ps_add_entity_response_get_type
-LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_CLASS
-LASSO_IS_IDWSF2_PS_ADD_ENTITY_RESPONSE_CLASS
-LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_GET_CLASS
-
-
-
-id_wsf_2_0_is_interaction_response
-LASSO_IS_IDWSF2_IS_INTERACTION_RESPONSE
-LassoIdWsf2IsInteractionResponse
-LassoIdWsf2IsInteractionResponse
-lasso_idwsf2_is_interaction_response_new
-
-LASSO_IDWSF2_IS_INTERACTION_RESPONSE
-LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE
-lasso_idwsf2_is_interaction_response_get_type
-LASSO_IDWSF2_IS_INTERACTION_RESPONSE_CLASS
-LASSO_IS_IDWSF2_IS_INTERACTION_RESPONSE_CLASS
-LASSO_IDWSF2_IS_INTERACTION_RESPONSE_GET_CLASS
-
-
-
-disco_svc_md_association_delete
-LassoIdWsf2DiscoSvcMDAssociationDelete
-LassoIdWsf2DiscoSvcMDAssociationDelete
-lasso_idwsf2_disco_svc_md_association_delete_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE
-lasso_idwsf2_disco_svc_md_association_delete_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_GET_CLASS
-
-
-
-sb2_endpoint_update
-LassoIdWsf2Sb2EndpointUpdate
-LassoIdWsf2Sb2EndpointUpdate
-lasso_idwsf2_sb2_endpoint_update_new
-
-LASSO_IDWSF2_SB2_ENDPOINT_UPDATE
-LASSO_IS_IDWSF2_SB2_ENDPOINT_UPDATE
-LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE
-lasso_idwsf2_sb2_endpoint_update_get_type
-LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_CLASS
-LASSO_IS_IDWSF2_SB2_ENDPOINT_UPDATE_CLASS
-LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_GET_CLASS
-
-
-
-util_extension
-LassoIdWsf2Utilextension
-LassoIdWsf2Utilextension
-lasso_idwsf2_util_extension_new
-
-LASSO_IDWSF2_UTIL_EXTENSION
-LASSO_IS_IDWSF2_UTIL_EXTENSION
-LASSO_TYPE_IDWSF2_UTIL_EXTENSION
-lasso_idwsf2_util_extension_get_type
-LASSO_IDWSF2_UTIL_EXTENSION_CLASS
-LASSO_IS_IDWSF2_UTIL_EXTENSION_CLASS
-LASSO_IDWSF2_UTIL_EXTENSION_GET_CLASS
-
-
-
-disco_svc_md_delete
-LassoIdWsf2DiscoSvcMDDelete
-LassoIdWsf2DiscoSvcMDDelete
-lasso_idwsf2_disco_svc_md_delete_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE
-lasso_idwsf2_disco_svc_md_delete_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_DELETE_GET_CLASS
-
-
-
-disco_svc_md_query
-LassoIdWsf2DiscoSvcMDQuery
-LassoIdWsf2DiscoSvcMDQuery
-lasso_idwsf2_disco_svc_md_query_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY
-LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY
-lasso_idwsf2_disco_svc_md_query_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_QUERY_GET_CLASS
-
-
-
-id_wsf_2_0_disco_options
-LassoIdWsf2DiscoOptions
-LassoIdWsf2DiscoOptions
-lasso_idwsf2_disco_options_new
-
-LASSO_IDWSF2_DISCO_OPTIONS
-LASSO_IS_IDWSF2_DISCO_OPTIONS
-LASSO_TYPE_IDWSF2_DISCO_OPTIONS
-lasso_idwsf2_disco_options_get_type
-LASSO_IDWSF2_DISCO_OPTIONS_CLASS
-LASSO_IS_IDWSF2_DISCO_OPTIONS_CLASS
-LASSO_IDWSF2_DISCO_OPTIONS_GET_CLASS
-
-
-
-disco_svc_md_register_response
-LassoIdWsf2DiscoSvcMDRegisterResponse
-LassoIdWsf2DiscoSvcMDRegisterResponse
-lasso_idwsf2_disco_svc_md_register_response_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE
-lasso_idwsf2_disco_svc_md_register_response_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_GET_CLASS
-
-
-
-disco_svc_md_association_add
-LassoIdWsf2DiscoSvcMDAssociationAdd
-LassoIdWsf2DiscoSvcMDAssociationAdd
-lasso_idwsf2_disco_svc_md_association_add_new
-
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD
-LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD
-lasso_idwsf2_disco_svc_md_association_add_get_type
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_CLASS
-LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_CLASS
-LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_GET_CLASS
-
-
-
-disco_abstract
-LassoIdWsf2DiscoAbstract
-LassoIdWsf2DiscoAbstract
-lasso_idwsf2_disco_abstract_new
-lasso_idwsf2_disco_abstract_new_with_string
-
-LASSO_IDWSF2_DISCO_ABSTRACT
-LASSO_IS_IDWSF2_DISCO_ABSTRACT
-LASSO_TYPE_IDWSF2_DISCO_ABSTRACT
-lasso_idwsf2_disco_abstract_get_type
-LASSO_IDWSF2_DISCO_ABSTRACT_CLASS
-LASSO_IS_IDWSF2_DISCO_ABSTRACT_CLASS
-LASSO_IDWSF2_DISCO_ABSTRACT_GET_CLASS
-
-
-
-ps_remove_entity_request
-LassoIdWsf2PsRemoveEntityRequest
-LassoIdWsf2PsRemoveEntityRequest
-lasso_idwsf2_ps_remove_entity_request_new
-
-LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST
-LASSO_IS_IDWSF2_PS_REMOVE_ENTITY_REQUEST
-LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST
-lasso_idwsf2_ps_remove_entity_request_get_type
-LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_CLASS
-LASSO_IS_IDWSF2_PS_REMOVE_ENTITY_REQUEST_CLASS
-LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_GET_CLASS
-
-
-
-disco_service_type
-LassoIdWsf2DiscoServiceType
-LassoIdWsf2DiscoServiceType
-lasso_idwsf2_disco_service_type_new
-lasso_idwsf2_disco_service_type_new_with_string
-
-LASSO_IDWSF2_DISCO_SERVICE_TYPE
-LASSO_IS_IDWSF2_DISCO_SERVICE_TYPE
-LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE
-lasso_idwsf2_disco_service_type_get_type
-LASSO_IDWSF2_DISCO_SERVICE_TYPE_CLASS
-LASSO_IS_IDWSF2_DISCO_SERVICE_TYPE_CLASS
-LASSO_IDWSF2_DISCO_SERVICE_TYPE_GET_CLASS
-
-
-
-subsref_subscription
-LassoIdWsf2SubsRefSubscription
-LassoIdWsf2SubsRefSubscription
-lasso_idwsf2_subsref_subscription_new
-
-LASSO_IDWSF2_SUBSREF_SUBSCRIPTION
-LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION
-LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION
-lasso_idwsf2_subsref_subscription_get_type
-LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS
-LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS
-LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_GET_CLASS
-
-
-
-dst_data_response_base
-LassoIdWsf2DstDataResponseBase
-LassoIdWsf2DstDataResponseBase
-lasso_idwsf2_dst_data_response_base_new
-
-LASSO_IDWSF2_DST_DATA_RESPONSE_BASE
-LASSO_IS_IDWSF2_DST_DATA_RESPONSE_BASE
-LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE
-lasso_idwsf2_dst_data_response_base_get_type
-LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_CLASS
-LASSO_IS_IDWSF2_DST_DATA_RESPONSE_BASE_CLASS
-LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_GET_CLASS
-
-
-
-ps_resolve_input
-LassoIdWsf2PsResolveInput
-LassoIdWsf2PsResolveInput
-lasso_idwsf2_ps_resolve_input_new
-
-LASSO_IDWSF2_PS_RESOLVE_INPUT
-LASSO_IS_IDWSF2_PS_RESOLVE_INPUT
-LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT
-lasso_idwsf2_ps_resolve_input_get_type
-LASSO_IDWSF2_PS_RESOLVE_INPUT_CLASS
-LASSO_IS_IDWSF2_PS_RESOLVE_INPUT_CLASS
-LASSO_IDWSF2_PS_RESOLVE_INPUT_GET_CLASS
-
-
-
-id_wsf_2_0_is_help
-LASSO_IS_IDWSF2_IS_HELP
-LassoIdWsf2IsHelp
-LassoIdWsf2IsHelp
-lasso_idwsf2_is_help_new
-
-LASSO_IDWSF2_IS_HELP
-LASSO_TYPE_IDWSF2_IS_HELP
-lasso_idwsf2_is_help_get_type
-LASSO_IDWSF2_IS_HELP_CLASS
-LASSO_IS_IDWSF2_IS_HELP_CLASS
-LASSO_IDWSF2_IS_HELP_GET_CLASS
-
-
-
-disco_keys
-LassoIdWsf2DiscoKeys
-LassoIdWsf2DiscoKeys
-lasso_idwsf2_disco_keys_new
-
-LASSO_IDWSF2_DISCO_KEYS
-LASSO_IS_IDWSF2_DISCO_KEYS
-LASSO_TYPE_IDWSF2_DISCO_KEYS
-lasso_idwsf2_disco_keys_get_type
-LASSO_IDWSF2_DISCO_KEYS_CLASS
-LASSO_IS_IDWSF2_DISCO_KEYS_CLASS
-LASSO_IDWSF2_DISCO_KEYS_GET_CLASS
-
-
-
-dstref_data_response
-LassoIdWsf2DstRefDataResponse
-LassoIdWsf2DstRefDataResponse
-lasso_idwsf2_dstref_data_response_new
-
-LASSO_IDWSF2_DSTREF_DATA_RESPONSE
-LASSO_IS_IDWSF2_DSTREF_DATA_RESPONSE
-LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE
-lasso_idwsf2_dstref_data_response_get_type
-LASSO_IDWSF2_DSTREF_DATA_RESPONSE_CLASS
-LASSO_IS_IDWSF2_DSTREF_DATA_RESPONSE_CLASS
-LASSO_IDWSF2_DSTREF_DATA_RESPONSE_GET_CLASS
-
-
ecp
LassoEcp
@@ -5827,118 +2497,6 @@ LASSO_IS_ASSERTION_QUERY_CLASS
LASSO_ASSERTION_QUERY_GET_CLASS
-
-id_wsf_2_0_data_service
-LassoIdWsf2DataService
-LassoIdWsf2DataService
-lasso_idwsf2_data_service_new
-lasso_idwsf2_data_service_init_create
-lasso_idwsf2_data_service_init_delete
-lasso_idwsf2_data_service_init_modify
-lasso_idwsf2_data_service_init_query
-lasso_idwsf2_data_service_add_modify_item
-lasso_idwsf2_data_service_add_namespace
-lasso_idwsf2_data_service_add_query_item
-lasso_idwsf2_data_service_build_request_msg
-lasso_idwsf2_data_service_build_response_msg
-lasso_idwsf2_data_service_get_item
-lasso_idwsf2_data_service_get_query_item_result
-lasso_idwsf2_data_service_get_query_item_results
-lasso_idwsf2_data_service_get_request_type
-lasso_idwsf2_data_service_get_service_type
-lasso_idwsf2_data_service_get_service_type_prefix
-lasso_idwsf2_data_service_process_request_msg
-lasso_idwsf2_data_service_process_response_msg
-lasso_idwsf2_data_service_set_query_item_result
-lasso_idwsf2_data_service_get_query_item_result_content
-lasso_idwsf2_data_service_set_service_type
-lasso_idwsf2_data_service_set_status_code
-lasso_idwsf2_data_service_get_item_ids
-lasso_idwsf2_data_service_get_items
-lasso_idwsf2_data_service_get_response_status
-lasso_idwsf2_data_service_validate_request
-
-LASSO_IDWSF2_DATA_SERVICE
-LASSO_IS_IDWSF2_DATA_SERVICE
-LASSO_TYPE_IDWSF2_DATA_SERVICE
-lasso_idwsf2_data_service_get_type
-LASSO_IDWSF2_DATA_SERVICE_CLASS
-LASSO_IS_IDWSF2_DATA_SERVICE_CLASS
-LASSO_IDWSF2_DATA_SERVICE_GET_CLASS
-
-
-
-id_wsf_2_0_profile
-LassoIdWsf2Profile
-LassoIdWsf2Profile
-lasso_idwsf2_profile_set_epr
-lasso_idwsf2_profile_get_epr
-lasso_idwsf2_profile_get_soap_envelope_request
-lasso_idwsf2_profile_get_soap_envelope_response
-lasso_idwsf2_profile_init_request
-lasso_idwsf2_profile_build_request_msg
-lasso_idwsf2_profile_process_request_msg
-lasso_idwsf2_profile_check_security_mechanism
-lasso_idwsf2_profile_get_name_identifier
-lasso_idwsf2_profile_init_response
-lasso_idwsf2_profile_init_soap_fault_response
-lasso_idwsf2_profile_redirect_user_for_interaction
-lasso_idwsf2_profile_build_response_msg
-lasso_idwsf2_profile_process_response_msg
-
-LASSO_IDWSF2_PROFILE
-LASSO_IS_IDWSF2_PROFILE
-LASSO_TYPE_IDWSF2_PROFILE
-lasso_idwsf2_profile_get_type
-LASSO_IDWSF2_PROFILE_CLASS
-LASSO_IS_IDWSF2_PROFILE_CLASS
-LASSO_IDWSF2_PROFILE_GET_CLASS
-
-
-
-id_wsf_2_0_discovery
-LassoIdWsf2Discovery
-LassoIdWsf2Discovery
-lasso_idwsf2_discovery_new
-lasso_idwsf2_discovery_init_metadata_register
-lasso_idwsf2_discovery_init_metadata_association_add
-lasso_idwsf2_discovery_init_query
-lasso_idwsf2_discovery_init_metadata_query
-lasso_idwsf2_discovery_init_metadata_replace
-lasso_idwsf2_discovery_init_metadata_delete
-lasso_idwsf2_discovery_init_metadata_association_delete
-lasso_idwsf2_discovery_init_metadata_association_query
-lasso_idwsf2_discovery_add_service_metadata
-lasso_idwsf2_discovery_add_simple_service_metadata
-lasso_idwsf2_discovery_get_metadatas
-lasso_idwsf2_discovery_add_requested_service
-lasso_idwsf2_discovery_build_request_msg
-lasso_idwsf2_discovery_process_request_msg
-lasso_idwsf2_discovery_get_request_type
-lasso_idwsf2_discovery_validate_request
-lasso_idwsf2_discovery_fail_request
-lasso_idwsf2_discovery_process_response_msg
-lasso_idwsf2_discovery_get_endpoint_references
-lasso_idwsf2_discovery_get_svcmdids
-lasso_idwsf2_discovery_set_svcmdids
-
-LASSO_IDWSF2_DISCOVERY
-LASSO_IS_IDWSF2_DISCOVERY
-LASSO_TYPE_IDWSF2_DISCOVERY
-lasso_idwsf2_discovery_get_type
-LASSO_IDWSF2_DISCOVERY_CLASS
-LASSO_IS_IDWSF2_DISCOVERY_CLASS
-LASSO_IDWSF2_DISCOVERY_GET_CLASS
-
-
-
-id_wsf_2_0_login
-Addon to SAML 2.0 profile for ID-WSF 2.0 bootsraping
-lasso_login_idwsf2_add_discovery_bootstrap_epr
-lasso_login_idwsf2_get_discovery_bootstrap_epr
-lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr
-
-
errors
Error Codes
@@ -6046,33 +2604,6 @@ LASSO_SOAP_ERROR_MISSING_ENVELOPE
LASSO_SOAP_ERROR_MISSING_HEADER
LASSO_SOAP_ERROR_MISSING_BODY
LASSO_SOAP_ERROR_MISSING_SOAP_FAULT_DETAIL
-LASSO_NAME_IDENTIFIER_MAPPING_ERROR_MISSING_TARGET_NAMESPACE
-LASSO_NAME_IDENTIFIER_MAPPING_ERROR_FORBIDDEN_CALL_ON_THIS_SIDE
-LASSO_NAME_IDENTIFIER_MAPPING_ERROR_MISSING_TARGET_IDENTIFIER
-LASSO_DATA_SERVICE_ERROR_UNREGISTERED_DST
-LASSO_WSF_PROFILE_ERROR_MISSING_CORRELATION
-LASSO_WSF_PROFILE_ERROR_MISSING_SECURITY
-LASSO_WSF_PROFILE_ERROR_MISSING_ASSERTION_ID
-LASSO_WSF_PROFILE_ERROR_MISSING_ENDPOINT
-LASSO_WSF_PROFILE_ERROR_SOAP_FAULT
-LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM
-LASSO_WSF_PROFILE_ERROR_MISSING_DESCRIPTION
-LASSO_WSF_PROFILE_ERROR_MISSING_RESOURCE_ID
-LASSO_WSF_PROFILE_ERROR_MISSING_CREDENTIAL_REF
-LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID
-LASSO_DISCOVERY_ERROR_SVC_METADATA_REGISTER_FAILED
-LASSO_DISCOVERY_ERROR_SVC_METADATA_ASSOCIATION_ADD_FAILED
-LASSO_DISCOVERY_ERROR_MISSING_REQUESTED_SERVICE
-LASSO_DISCOVERY_ERROR_FAILED_TO_BUILD_ENDPOINT_REFERENCE
-LASSO_DST_ERROR_MISSING_SERVICE_DATA
-LASSO_DST_ERROR_QUERY_FAILED
-LASSO_DST_ERROR_QUERY_PARTIALLY_FAILED
-LASSO_DST_ERROR_MODIFY_FAILED
-LASSO_DST_ERROR_MODIFY_PARTIALLY_FAILED
-LASSO_DST_ERROR_NEW_DATA_MISSING
-LASSO_DST_ERROR_QUERY_NOT_FOUND
-LASSO_DST_ERROR_NO_DATA
-LASSO_DST_ERROR_MALFORMED_QUERY
LASSO_REGISTRY_ERROR_KEY_EXISTS
LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY
@@ -6097,54 +2628,6 @@ lasso_registry_default_add_functional_mapping
lasso_registry_default_get_mapping
-
-id_wsf2_utils
-Utility functions for ID-WSF 2.0
-
-lasso_identity_add_svc_md_id
-lasso_identity_get_svc_md_ids
-
-lasso_server_add_svc_metadata
-lasso_server_get_svc_metadatas
-lasso_server_get_svc_metadatas_with_id_and_type
-lasso_server_create_assertion_as_idwsf2_security_token
-
-lasso_session_add_endpoint_reference
-lasso_session_get_endpoint_reference
-lasso_session_get_assertion_identity_token
-
-lasso_register_idwsf2_dst_service
-lasso_get_prefix_for_idwsf2_dst_service_href
-
-
-
-id_wsf_utils
-Utility functions for ID-WSF 1.0
-
-lasso_security_mech_id_is_null_authentication
-lasso_security_mech_id_is_x509_authentication
-lasso_security_mech_id_is_saml_authentication
-lasso_security_mech_id_is_bearer_authentication
-
-lasso_login_set_encryptedResourceId
-lasso_login_set_resourceId
-
-lasso_server_get_service
-lasso_server_add_service
-lasso_server_add_service_from_dump
-
-lasso_identity_add_resource_offering
-lasso_identity_remove_resource_offering
-lasso_identity_get_offerings
-lasso_identity_get_resource_offering
-
-lasso_soap_binding_get_provider
-lasso_soap_binding_get_correlation
-
-lasso_register_dst_service
-lasso_get_prefix_for_dst_service_href
-
-
saml2_utils
Utility functions for SAML 2.0
@@ -6153,15 +2636,6 @@ lasso_profile_is_saml_query
lasso_provider_saml2_node_encrypt
-
-soap_binding2
-SOAP Binding utility function for ID-WSF 2.0
-lasso_soap_envelope_sb2_get_provider_id
-lasso_soap_envelope_sb2_get_redirect_request_url
-lasso_soap_envelope_sb2_get_target_identity_header
-lasso_soap_envelope_get_sb2_user_interaction_header
-
-
logging
Logging
diff --git a/docs/reference/lasso/lasso.types b/docs/reference/lasso/lasso.types
new file mode 100644
index 00000000..7d61ac48
--- /dev/null
+++ b/docs/reference/lasso/lasso.types
@@ -0,0 +1,126 @@
+#include
+#include
+#include
+#include
+
+lasso_assertion_query_get_type
+lasso_defederation_get_type
+lasso_ds_key_info_get_type
+lasso_ds_key_value_get_type
+lasso_ds_rsa_key_value_get_type
+lasso_ecp_get_type
+lasso_federation_get_type
+lasso_identity_get_type
+lasso_lecp_get_type
+lasso_lib_assertion_get_type
+lasso_lib_authentication_statement_get_type
+lasso_lib_authn_context_get_type
+lasso_lib_authn_request_envelope_get_type
+lasso_lib_authn_request_get_type
+lasso_lib_authn_response_envelope_get_type
+lasso_lib_authn_response_get_type
+lasso_lib_federation_termination_notification_get_type
+lasso_lib_idp_entries_get_type
+lasso_lib_idp_entry_get_type
+lasso_lib_idp_list_get_type
+lasso_lib_logout_request_get_type
+lasso_lib_logout_response_get_type
+lasso_lib_name_identifier_mapping_request_get_type
+lasso_lib_name_identifier_mapping_response_get_type
+lasso_lib_register_name_identifier_request_get_type
+lasso_lib_register_name_identifier_response_get_type
+lasso_lib_request_authn_context_get_type
+lasso_lib_scoping_get_type
+lasso_lib_status_response_get_type
+lasso_lib_subject_get_type
+lasso_login_get_type
+lasso_logout_get_type
+lasso_misc_text_node_get_type
+lasso_name_identifier_mapping_get_type
+lasso_name_id_management_get_type
+lasso_name_registration_get_type
+lasso_node_get_type
+lasso_profile_get_type
+lasso_provider_get_type
+lasso_saml2_action_get_type
+lasso_saml2_advice_get_type
+lasso_saml2_assertion_get_type
+lasso_saml2_attribute_get_type
+lasso_saml2_attribute_statement_get_type
+lasso_saml2_attribute_value_get_type
+lasso_saml2_audience_restriction_get_type
+lasso_saml2_authn_context_get_type
+lasso_saml2_authn_statement_get_type
+lasso_saml2_authz_decision_statement_get_type
+lasso_saml2_base_idabstract_get_type
+lasso_saml2_condition_abstract_get_type
+lasso_saml2_conditions_get_type
+lasso_saml2_encrypted_element_get_type
+lasso_saml2_evidence_get_type
+lasso_saml2_key_info_confirmation_data_get_type
+lasso_saml2_name_id_get_type
+lasso_saml2_one_time_use_get_type
+lasso_saml2_proxy_restriction_get_type
+lasso_saml2_statement_abstract_get_type
+lasso_saml2_subject_confirmation_data_get_type
+lasso_saml2_subject_confirmation_get_type
+lasso_saml2_subject_get_type
+lasso_saml2_subject_locality_get_type
+lasso_saml_advice_get_type
+lasso_saml_assertion_get_type
+lasso_saml_attribute_designator_get_type
+lasso_saml_attribute_get_type
+lasso_saml_attribute_statement_get_type
+lasso_saml_attribute_value_get_type
+lasso_saml_audience_restriction_condition_get_type
+lasso_saml_authentication_statement_get_type
+lasso_saml_authority_binding_get_type
+lasso_saml_condition_abstract_get_type
+lasso_saml_conditions_get_type
+lasso_saml_name_identifier_get_type
+lasso_samlp2_artifact_resolve_get_type
+lasso_samlp2_artifact_response_get_type
+lasso_samlp2_assertion_id_request_get_type
+lasso_samlp2_attribute_query_get_type
+lasso_samlp2_authn_query_get_type
+lasso_samlp2_authn_request_get_type
+lasso_samlp2_authz_decision_query_get_type
+lasso_samlp2_extensions_get_type
+lasso_samlp2_idp_entry_get_type
+lasso_samlp2_idp_list_get_type
+lasso_samlp2_logout_request_get_type
+lasso_samlp2_logout_response_get_type
+lasso_samlp2_manage_name_id_request_get_type
+lasso_samlp2_manage_name_id_response_get_type
+lasso_samlp2_name_id_mapping_request_get_type
+lasso_samlp2_name_id_mapping_response_get_type
+lasso_samlp2_name_id_policy_get_type
+lasso_samlp2_request_abstract_get_type
+lasso_samlp2_requested_authn_context_get_type
+lasso_samlp2_response_get_type
+lasso_samlp2_scoping_get_type
+lasso_samlp2_status_code_get_type
+lasso_samlp2_status_detail_get_type
+lasso_samlp2_status_get_type
+lasso_samlp2_status_response_get_type
+lasso_samlp2_subject_query_abstract_get_type
+lasso_samlp2_terminate_get_type
+lasso_samlp_request_abstract_get_type
+lasso_samlp_request_get_type
+lasso_samlp_response_abstract_get_type
+lasso_samlp_response_get_type
+lasso_samlp_status_code_get_type
+lasso_samlp_status_get_type
+lasso_saml_statement_abstract_get_type
+lasso_saml_subject_confirmation_get_type
+lasso_saml_subject_get_type
+lasso_saml_subject_locality_get_type
+lasso_saml_subject_statement_abstract_get_type
+lasso_saml_subject_statement_get_type
+lasso_server_get_type
+lasso_session_get_type
+lasso_soap_body_get_type
+lasso_soap_detail_get_type
+lasso_soap_envelope_get_type
+lasso_soap_fault_get_type
+lasso_soap_header_get_type
diff --git a/docs/reference/lasso/lasso.types.in b/docs/reference/lasso/lasso.types.in
deleted file mode 100644
index 12598602..00000000
--- a/docs/reference/lasso/lasso.types.in
+++ /dev/null
@@ -1,346 +0,0 @@
-#include
-#include
-#include
-#WSF##include
-#WSF##include
-#WSF##include
-
-lasso_assertion_query_get_type
-lasso_defederation_get_type
-lasso_ds_key_info_get_type
-lasso_ds_key_value_get_type
-lasso_ds_rsa_key_value_get_type
-lasso_ecp_get_type
-lasso_federation_get_type
-lasso_identity_get_type
-lasso_lecp_get_type
-lasso_lib_assertion_get_type
-lasso_lib_authentication_statement_get_type
-lasso_lib_authn_context_get_type
-lasso_lib_authn_request_envelope_get_type
-lasso_lib_authn_request_get_type
-lasso_lib_authn_response_envelope_get_type
-lasso_lib_authn_response_get_type
-lasso_lib_federation_termination_notification_get_type
-lasso_lib_idp_entries_get_type
-lasso_lib_idp_entry_get_type
-lasso_lib_idp_list_get_type
-lasso_lib_logout_request_get_type
-lasso_lib_logout_response_get_type
-lasso_lib_name_identifier_mapping_request_get_type
-lasso_lib_name_identifier_mapping_response_get_type
-lasso_lib_register_name_identifier_request_get_type
-lasso_lib_register_name_identifier_response_get_type
-lasso_lib_request_authn_context_get_type
-lasso_lib_scoping_get_type
-lasso_lib_status_response_get_type
-lasso_lib_subject_get_type
-lasso_login_get_type
-lasso_logout_get_type
-lasso_misc_text_node_get_type
-lasso_name_identifier_mapping_get_type
-lasso_name_id_management_get_type
-lasso_name_registration_get_type
-lasso_node_get_type
-lasso_profile_get_type
-lasso_provider_get_type
-lasso_saml2_action_get_type
-lasso_saml2_advice_get_type
-lasso_saml2_assertion_get_type
-lasso_saml2_attribute_get_type
-lasso_saml2_attribute_statement_get_type
-lasso_saml2_attribute_value_get_type
-lasso_saml2_audience_restriction_get_type
-lasso_saml2_authn_context_get_type
-lasso_saml2_authn_statement_get_type
-lasso_saml2_authz_decision_statement_get_type
-lasso_saml2_base_idabstract_get_type
-lasso_saml2_condition_abstract_get_type
-lasso_saml2_conditions_get_type
-lasso_saml2_encrypted_element_get_type
-lasso_saml2_evidence_get_type
-lasso_saml2_key_info_confirmation_data_get_type
-lasso_saml2_name_id_get_type
-lasso_saml2_one_time_use_get_type
-lasso_saml2_proxy_restriction_get_type
-lasso_saml2_statement_abstract_get_type
-lasso_saml2_subject_confirmation_data_get_type
-lasso_saml2_subject_confirmation_get_type
-lasso_saml2_subject_get_type
-lasso_saml2_subject_locality_get_type
-lasso_saml_advice_get_type
-lasso_saml_assertion_get_type
-lasso_saml_attribute_designator_get_type
-lasso_saml_attribute_get_type
-lasso_saml_attribute_statement_get_type
-lasso_saml_attribute_value_get_type
-lasso_saml_audience_restriction_condition_get_type
-lasso_saml_authentication_statement_get_type
-lasso_saml_authority_binding_get_type
-lasso_saml_condition_abstract_get_type
-lasso_saml_conditions_get_type
-lasso_saml_name_identifier_get_type
-lasso_samlp2_artifact_resolve_get_type
-lasso_samlp2_artifact_response_get_type
-lasso_samlp2_assertion_id_request_get_type
-lasso_samlp2_attribute_query_get_type
-lasso_samlp2_authn_query_get_type
-lasso_samlp2_authn_request_get_type
-lasso_samlp2_authz_decision_query_get_type
-lasso_samlp2_extensions_get_type
-lasso_samlp2_idp_entry_get_type
-lasso_samlp2_idp_list_get_type
-lasso_samlp2_logout_request_get_type
-lasso_samlp2_logout_response_get_type
-lasso_samlp2_manage_name_id_request_get_type
-lasso_samlp2_manage_name_id_response_get_type
-lasso_samlp2_name_id_mapping_request_get_type
-lasso_samlp2_name_id_mapping_response_get_type
-lasso_samlp2_name_id_policy_get_type
-lasso_samlp2_request_abstract_get_type
-lasso_samlp2_requested_authn_context_get_type
-lasso_samlp2_response_get_type
-lasso_samlp2_scoping_get_type
-lasso_samlp2_status_code_get_type
-lasso_samlp2_status_detail_get_type
-lasso_samlp2_status_get_type
-lasso_samlp2_status_response_get_type
-lasso_samlp2_subject_query_abstract_get_type
-lasso_samlp2_terminate_get_type
-lasso_samlp_request_abstract_get_type
-lasso_samlp_request_get_type
-lasso_samlp_response_abstract_get_type
-lasso_samlp_response_get_type
-lasso_samlp_status_code_get_type
-lasso_samlp_status_get_type
-lasso_saml_statement_abstract_get_type
-lasso_saml_subject_confirmation_get_type
-lasso_saml_subject_get_type
-lasso_saml_subject_locality_get_type
-lasso_saml_subject_statement_abstract_get_type
-lasso_saml_subject_statement_get_type
-lasso_server_get_type
-lasso_session_get_type
-lasso_soap_body_get_type
-lasso_soap_detail_get_type
-lasso_soap_envelope_get_type
-lasso_soap_fault_get_type
-lasso_soap_header_get_type
-#WSF#lasso_authentication_get_type
-#WSF#lasso_data_service_get_type
-#WSF#lasso_disco_authenticate_requester_get_type
-#WSF#lasso_disco_authenticate_session_context_get_type
-#WSF#lasso_disco_authorize_requester_get_type
-#WSF#lasso_disco_credentials_get_type
-#WSF#lasso_disco_description_get_type
-#WSF#lasso_disco_encrypted_resource_id_get_type
-#WSF#lasso_disco_encrypt_resource_id_get_type
-#WSF#lasso_disco_generate_bearer_token_get_type
-#WSF#lasso_disco_insert_entry_get_type
-#WSF#lasso_disco_modify_get_type
-#WSF#lasso_disco_modify_response_get_type
-#WSF#lasso_disco_options_get_type
-#WSF#lasso_disco_query_get_type
-#WSF#lasso_disco_query_response_get_type
-#WSF#lasso_disco_remove_entry_get_type
-#WSF#lasso_disco_requested_service_type_get_type
-#WSF#lasso_disco_resource_id_get_type
-#WSF#lasso_disco_resource_offering_get_type
-#WSF#lasso_disco_send_single_logout_get_type
-#WSF#lasso_disco_service_instance_get_type
-#WSF#lasso_discovery_get_type
-#WSF#lasso_dst_data_get_type
-#WSF#lasso_dst_modification_get_type
-#WSF#lasso_dst_modify_get_type
-#WSF#lasso_dst_modify_response_get_type
-#WSF#lasso_dst_new_data_get_type
-#WSF#lasso_dst_query_get_type
-#WSF#lasso_dst_query_item_get_type
-#WSF#lasso_dst_query_response_get_type
-#WSF#lasso_idwsf2_data_service_get_type
-#WSF#lasso_idwsf2_disco_abstract_get_type
-#WSF#lasso_idwsf2_disco_endpoint_context_get_type
-#WSF#lasso_idwsf2_disco_keys_get_type
-#WSF#lasso_idwsf2_disco_options_get_type
-#WSF#lasso_idwsf2_disco_provider_id_get_type
-#WSF#lasso_idwsf2_disco_query_get_type
-#WSF#lasso_idwsf2_disco_query_response_get_type
-#WSF#lasso_idwsf2_disco_requested_service_get_type
-#WSF#lasso_idwsf2_disco_security_context_get_type
-#WSF#lasso_idwsf2_disco_service_context_get_type
-#WSF#lasso_idwsf2_disco_service_type_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_add_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_add_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_delete_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_delete_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_query_get_type
-#WSF#lasso_idwsf2_disco_svc_md_association_query_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_delete_get_type
-#WSF#lasso_idwsf2_disco_svc_md_delete_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_query_get_type
-#WSF#lasso_idwsf2_disco_svc_md_query_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_register_get_type
-#WSF#lasso_idwsf2_disco_svc_md_register_response_get_type
-#WSF#lasso_idwsf2_disco_svc_md_replace_get_type
-#WSF#lasso_idwsf2_disco_svc_md_replace_response_get_type
-#WSF#lasso_idwsf2_disco_svc_metadata_get_type
-#WSF#lasso_idwsf2_discovery_get_type
-#WSF#lasso_idwsf2_dst_data_response_base_get_type
-#WSF#lasso_idwsf2_dst_delete_item_base_get_type
-#WSF#lasso_idwsf2_dst_delete_response_get_type
-#WSF#lasso_idwsf2_dstref_app_data_get_type
-#WSF#lasso_idwsf2_dstref_create_get_type
-#WSF#lasso_idwsf2_dstref_create_item_get_type
-#WSF#lasso_idwsf2_dstref_create_response_get_type
-#WSF#lasso_idwsf2_dstref_data_get_type
-#WSF#lasso_idwsf2_dstref_data_response_get_type
-#WSF#lasso_idwsf2_dstref_delete_get_type
-#WSF#lasso_idwsf2_dstref_delete_item_get_type
-#WSF#lasso_idwsf2_dstref_delete_response_get_type
-#WSF#lasso_idwsf2_dstref_item_data_get_type
-#WSF#lasso_idwsf2_dstref_modify_get_type
-#WSF#lasso_idwsf2_dstref_modify_item_get_type
-#WSF#lasso_idwsf2_dstref_modify_response_get_type
-#WSF#lasso_idwsf2_dstref_query_get_type
-#WSF#lasso_idwsf2_dstref_query_item_get_type
-#WSF#lasso_idwsf2_dstref_query_response_get_type
-#WSF#lasso_idwsf2_dstref_result_query_get_type
-#WSF#lasso_idwsf2_dstref_test_item_get_type
-#WSF#lasso_idwsf2_dst_request_get_type
-#WSF#lasso_idwsf2_dst_result_query_base_get_type
-#WSF#lasso_idwsf2_dst_test_item_base_get_type
-#WSF#lasso_idwsf2_ims_identity_mapping_request_get_type
-#WSF#lasso_idwsf2_ims_identity_mapping_response_get_type
-#WSF#lasso_idwsf2_ims_mapping_input_get_type
-#WSF#lasso_idwsf2_ims_mapping_output_get_type
-#WSF#lasso_idwsf2_is_help_get_type
-#WSF#lasso_idwsf2_is_inquiry_element_get_type
-#WSF#lasso_idwsf2_is_inquiry_get_type
-#WSF#lasso_idwsf2_is_interaction_request_get_type
-#WSF#lasso_idwsf2_is_interaction_response_get_type
-#WSF#lasso_idwsf2_is_interaction_statement_get_type
-#WSF#lasso_idwsf2_is_item_get_type
-#WSF#lasso_idwsf2_is_parameter_get_type
-#WSF#lasso_idwsf2_is_select_get_type
-#WSF#lasso_idwsf2_is_text_get_type
-#WSF#lasso_idwsf2_profile_get_type
-#WSF#lasso_idwsf2_ps_add_collection_request_get_type
-#WSF#lasso_idwsf2_ps_add_collection_response_get_type
-#WSF#lasso_idwsf2_ps_add_entity_request_get_type
-#WSF#lasso_idwsf2_ps_add_entity_response_get_type
-#WSF#lasso_idwsf2_ps_add_known_entity_request_get_type
-#WSF#lasso_idwsf2_ps_add_known_entity_response_get_type
-#WSF#lasso_idwsf2_ps_add_to_collection_request_get_type
-#WSF#lasso_idwsf2_ps_get_object_info_request_get_type
-#WSF#lasso_idwsf2_ps_get_object_info_response_get_type
-#WSF#lasso_idwsf2_ps_item_data_get_type
-#WSF#lasso_idwsf2_ps_list_members_request_get_type
-#WSF#lasso_idwsf2_ps_list_members_response_get_type
-#WSF#lasso_idwsf2_ps_notification_get_type
-#WSF#lasso_idwsf2_ps_notify_get_type
-#WSF#lasso_idwsf2_ps_object_get_type
-#WSF#lasso_idwsf2_ps_query_objects_request_get_type
-#WSF#lasso_idwsf2_ps_query_objects_response_get_type
-#WSF#lasso_idwsf2_ps_remove_collection_request_get_type
-#WSF#lasso_idwsf2_ps_remove_entity_request_get_type
-#WSF#lasso_idwsf2_ps_remove_from_collection_request_get_type
-#WSF#lasso_idwsf2_ps_request_abstract_get_type
-#WSF#lasso_idwsf2_ps_resolve_identifier_request_get_type
-#WSF#lasso_idwsf2_ps_resolve_identifier_response_get_type
-#WSF#lasso_idwsf2_ps_resolve_input_get_type
-#WSF#lasso_idwsf2_ps_response_abstract_get_type
-#WSF#lasso_idwsf2_ps_set_object_info_request_get_type
-#WSF#lasso_idwsf2_ps_test_membership_request_get_type
-#WSF#lasso_idwsf2_ps_test_membership_response_get_type
-#WSF#lasso_idwsf2_sb2_consent_get_type
-#WSF#lasso_idwsf2_sb2_credentials_context_get_type
-#WSF#lasso_idwsf2_sb2_endpoint_update_get_type
-#WSF#lasso_idwsf2_sb2_redirect_request_get_type
-#WSF#lasso_idwsf2_sb2_sender_get_type
-#WSF#lasso_idwsf2_sb2_target_identity_get_type
-#WSF#lasso_idwsf2_sb2_timeout_get_type
-#WSF#lasso_idwsf2_sb2_usage_directive_get_type
-#WSF#lasso_idwsf2_sb2_user_interaction_header_get_type
-#WSF#lasso_idwsf2_sbf_framework_get_type
-#WSF#lasso_idwsf2_sec_token_get_type
-#WSF#lasso_idwsf2_sec_token_policy_get_type
-#WSF#lasso_idwsf2_sec_transited_provider_path_get_type
-#WSF#lasso_idwsf2_subs_notification_get_type
-#WSF#lasso_idwsf2_subs_notify_response_get_type
-#WSF#lasso_idwsf2_subsref_app_data_get_type
-#WSF#lasso_idwsf2_subsref_create_get_type
-#WSF#lasso_idwsf2_subsref_create_item_get_type
-#WSF#lasso_idwsf2_subsref_create_response_get_type
-#WSF#lasso_idwsf2_subsref_data_get_type
-#WSF#lasso_idwsf2_subsref_data_response_get_type
-#WSF#lasso_idwsf2_subsref_delete_get_type
-#WSF#lasso_idwsf2_subsref_delete_item_get_type
-#WSF#lasso_idwsf2_subsref_delete_response_get_type
-#WSF#lasso_idwsf2_subsref_item_data_get_type
-#WSF#lasso_idwsf2_subs_ref_item_get_type
-#WSF#lasso_idwsf2_subsref_modify_get_type
-#WSF#lasso_idwsf2_subsref_modify_item_get_type
-#WSF#lasso_idwsf2_subsref_modify_response_get_type
-#WSF#lasso_idwsf2_subsref_notification_get_type
-#WSF#lasso_idwsf2_subsref_notify_get_type
-#WSF#lasso_idwsf2_subsref_notify_response_get_type
-#WSF#lasso_idwsf2_subsref_query_get_type
-#WSF#lasso_idwsf2_subsref_query_item_get_type
-#WSF#lasso_idwsf2_subsref_query_response_get_type
-#WSF#lasso_idwsf2_subsref_result_query_get_type
-#WSF#lasso_idwsf2_subsref_subscription_get_type
-#WSF#lasso_idwsf2_subsref_test_item_get_type
-#WSF#lasso_idwsf2_subs_subscription_get_type
-#WSF#lasso_idwsf2_util_empty_get_type
-#WSF#lasso_idwsf2_util_extension_get_type
-#WSF#lasso_idwsf2_util_response_get_type
-#WSF#lasso_idwsf2_util_status_get_type
-#WSF#lasso_interaction_profile_service_get_type
-#WSF#lasso_is_help_get_type
-#WSF#lasso_is_inquiry_element_get_type
-#WSF#lasso_is_inquiry_get_type
-#WSF#lasso_is_interaction_request_get_type
-#WSF#lasso_is_interaction_response_get_type
-#WSF#lasso_is_interaction_statement_get_type
-#WSF#lasso_is_item_get_type
-#WSF#lasso_is_parameter_get_type
-#WSF#lasso_is_redirect_request_get_type
-#WSF#lasso_is_select_get_type
-#WSF#lasso_is_text_get_type
-#WSF#lasso_is_user_interaction_get_type
-#WSF#lasso_personal_profile_service_get_type
-#WSF#lasso_sa_credentials_get_type
-#WSF#lasso_sa_parameter_get_type
-#WSF#lasso_sa_password_transforms_get_type
-#WSF#lasso_sa_sasl_request_get_type
-#WSF#lasso_sa_sasl_response_get_type
-#WSF#lasso_sa_transform_get_type
-#WSF#lasso_sec_resource_access_statement_get_type
-#WSF#lasso_soap_binding_consent_get_type
-#WSF#lasso_soap_binding_correlation_get_type
-#WSF#lasso_soap_binding_ext_credential_get_type
-#WSF#lasso_soap_binding_ext_credentials_context_get_type
-#WSF#lasso_soap_binding_ext_service_instance_update_get_type
-#WSF#lasso_soap_binding_ext_timeout_get_type
-#WSF#lasso_soap_binding_processing_context_get_type
-#WSF#lasso_soap_binding_provider_get_type
-#WSF#lasso_soap_binding_usage_directive_get_type
-#WSF#lasso_utility_status_get_type
-#WSF#lasso_wsa_attributed_any_get_type
-#WSF#lasso_wsa_attributed_qname_get_type
-#WSF#lasso_wsa_attributed_unsigned_long_get_type
-#WSF#lasso_wsa_attributed_uri_get_type
-#WSF#lasso_wsa_endpoint_reference_get_type
-#WSF#lasso_wsa_metadata_get_type
-#WSF#lasso_wsa_problem_action_get_type
-#WSF#lasso_wsa_reference_parameters_get_type
-#WSF#lasso_wsa_relates_to_get_type
-#WSF#lasso_wsf_profile_get_type
-#WSF#lasso_wsse_embedded_get_type
-#WSF#lasso_wsse_reference_get_type
-#WSF#lasso_wsse_security_get_type
-#WSF#lasso_wsse_security_header_get_type
-#WSF#lasso_wsse_security_token_reference_get_type
-#WSF#lasso_wsse_transformation_parameters_get_type
-#WSF#lasso_wsse_username_token_get_type
-#WSF#lasso_wsu_timestamp_get_type
diff --git a/lasso.doap b/lasso.doap
index a613896c..da3c3d22 100644
--- a/lasso.doap
+++ b/lasso.doap
@@ -13,7 +13,7 @@
Lasso (Liberty Alliance Single Sign On) is a free (GNU GPL) implementation
of the Liberty Alliance specifications. Those define protocols for
federated identities, single sign-on, etc. Lasso supports ID-FF 1.2,
- SAML 2.0 and parts of ID-WSF; it provides both a C library and bindings
+ SAML 2.0; it provides both a C library and bindings
for several languages (Python, Java, Perl, PHP 4 and PHP 5).
Free Software implementation of Liberty Alliance specifications
diff --git a/lasso/Makefile.am b/lasso/Makefile.am
index 49ae88a7..47e697f4 100644
--- a/lasso/Makefile.am
+++ b/lasso/Makefile.am
@@ -1,7 +1,4 @@
SUBDIRS = xml id-ff saml-2.0
-if WSF_ENABLED
-SUBDIRS += id-wsf-2.0 id-wsf
-endif
liblassoincludedir = $(includedir)/lasso
@@ -25,10 +22,6 @@ BUILT_SOURCES = types.c errors.c symbols.sym
liblasso_la_SOURCES = lasso.c errors.c registry.c utils.c logging.c key.c
-if WSF_ENABLED
-SYMBOLS_ARGS = -wsf
-endif
-
types.c: $(srcdir)/*.h $(srcdir)/*/*.h $(srcdir)/*/*/*.h
$(PYTHON) $(srcdir)/extract_types.py $(srcdir) $(SYMBOLS_ARGS)
@@ -45,14 +38,6 @@ clean-local:
EXTRA_DIST = $(nodist_liblassoinclude_HEADERS) extract_types.py extract_symbols.py build_strerror.py \
errors.c.in extract_sections.py errors.c
-if WSF_ENABLED
-WSF_LIB_FILE = $(top_builddir)/lasso/id-wsf/liblasso-id-wsf.la
-
-WSF2_LIB_FILES = $(top_builddir)/lasso/id-wsf-2.0/liblasso-id-wsf2.la \
- $(top_builddir)/lasso/xml/id-wsf-2.0/liblasso-xml-id-wsf-2.la \
- $(top_builddir)/lasso/xml/ws/liblasso-xml-ws.la
-endif
-
if MINGW
liblasso_la_LIBADD = \
$(top_builddir)/lasso/xml/liblasso-xml.la \
@@ -62,8 +47,6 @@ liblasso_la_LIBADD = \
$(top_builddir)/lasso/xml/dsig/liblasso-xml-dsig.la \
$(top_builddir)/lasso/id-ff/liblasso-id-ff.la \
$(top_builddir)/lasso/saml-2.0/liblasso-saml-20.la \
- $(WSF_LIB_FILE) \
- $(WSF2_LIB_FILES) \
$(LASSO_LIBS) \
lasso.rc.lo
# Just make damn sure the ABI stays the same between
@@ -80,8 +63,6 @@ liblasso_la_LIBADD = \
$(top_builddir)/lasso/xml/dsig/liblasso-xml-dsig.la \
$(top_builddir)/lasso/id-ff/liblasso-id-ff.la \
$(top_builddir)/lasso/saml-2.0/liblasso-saml-20.la \
- $(WSF_LIB_FILE) \
- $(WSF2_LIB_FILES) \
$(LASSO_LIBS)
# Just make damn sure the ABI stays the same between
# upgrades.
diff --git a/lasso/errors.h b/lasso/errors.h
index e6d21919..7d57c1f7 100644
--- a/lasso/errors.h
+++ b/lasso/errors.h
@@ -783,206 +783,6 @@ LASSO_EXPORT const char* lasso_strerror(int error_code);
#define LASSO_NAME_IDENTIFIER_MAPPING_ERROR_FORBIDDEN_CALL_ON_THIS_SIDE -901
#define LASSO_NAME_IDENTIFIER_MAPPING_ERROR_MISSING_TARGET_IDENTIFIER -902
-/* Data Service */
-#define LASSO_DATA_SERVICE_ERROR_UNREGISTERED_DST -1000
-#define LASSO_DATA_SERVICE_ERROR_CANNOT_ADD_ITEM -1001
-
-/* WSF Profile */
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_CORRELATION:
- *
- * Correlation SOAP Header is missing
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_CORRELATION -1100
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_SECURITY:
- *
- * Security SOAP Header is missing
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_SECURITY -1101
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_ASSERTION_ID:
- *
- * AssertionID attribute is missing
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_ASSERTION_ID -1102
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_ENDPOINT:
- *
- * Cannot find an WSP endpoint for the ID-WSF service
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_ENDPOINT -1103
-/**
- * LASSO_WSF_PROFILE_ERROR_SOAP_FAULT:
- *
- * SOAP ID-WSF binding returned a SOAP fault
- */
-#define LASSO_WSF_PROFILE_ERROR_SOAP_FAULT 1104
-/**
- * LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM:
- *
- * The specified security mechanism is not supported by lasso ID-WSF library
- */
-#define LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM 1105
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_DESCRIPTION:
- *
- * No ID-WSF web Service description could be found for the current security mechanism
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_DESCRIPTION -1106
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_RESOURCE_ID:
- *
- * The necessary ResourceID or EncryptedResourceID for calling an ID-WSF service is missing.
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_RESOURCE_ID -1107
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_CREDENTIAL_REF:
- *
- * WS-Security SAML Token secmech needs a CredentialRef
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_CREDENTIAL_REF -1108
-/**
- * LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID:
- *
- * refToMessageID attribute of the Corrrelation header does not match the SOAP request
- */
-#define LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID -1109
-/**
- * LASSO_WSF_PROFILE_ERROR_SECURITY_MECHANISM_CHECK_FAILED:
- *
- * Check for a security mechanism upon a received request failed.
- */
-#define LASSO_WSF_PROFILE_ERROR_SECURITY_MECHANISM_CHECK_FAILED 1110
-
-/**
- * LASSO_WSF_PROFILE_ERROR_UNKNOWN_STATUS_CODE:
- *
- * A response contained an unknown status code.
- */
-#define LASSO_WSF_PROFILE_ERROR_UNKNOWN_STATUS_CODE 1112
-/**
- * LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED:
- *
- * A interaction is required but the sender did not allow use to make interact redirect requests.
- */
-#define LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED 1113
-/**
- * LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED_FOR_DATA:
- *
- * A interaction is required to get fresh datas but the sender did not allow use to make interact
- * redirect requests.
- */
-#define LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED_FOR_DATA 1114
-/**
- * LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST:
- *
- * The last parsed response contained a SOAP fault with a RedirectRequest element.
- */
-#define LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST 1115
-/**
- * LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER:
- *
- * The requester does not support SOAP Fault containing RedirectRequest elements. So it is not
- * possible to use lasso_idwsf2_profile_redirect_user_for_interaction().
- */
-#define LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER 1116
-/**
- * LASSO_WSF_PROFILE_ERROR_MISSING_SENDER_ID:
- *
- * The received ID-WSF request miss a Sender id.
- */
-#define LASSO_WSF_PROFILE_ERROR_MISSING_SENDER_ID 1117
-
-
-/* ID-WSF 2 Discovery */
-/**
- * LASSO_DISCOVERY_ERROR_SVC_METADATA_REGISTER_FAILED:
- *
- * Service metadata registration failed
- */
-#define LASSO_DISCOVERY_ERROR_SVC_METADATA_REGISTER_FAILED -1200
-/**
- * LASSO_DISCOVERY_ERROR_SVC_METADATA_ASSOCIATION_ADD_FAILED:
- *
- * Service metadata association failed
- */
-#define LASSO_DISCOVERY_ERROR_SVC_METADATA_ASSOCIATION_ADD_FAILED -1201
-/**
- * LASSO_DISCOVERY_ERROR_MISSING_REQUESTED_SERVICE:
- *
- * Missing requested service
- */
-#define LASSO_DISCOVERY_ERROR_MISSING_REQUESTED_SERVICE -1202
-/**
- * LASSO_DISCOVERY_ERROR_FAILED_TO_BUILD_ENDPOINT_REFERENCE:
- *
- * Failed to build Endpoint Reference
- */
-#define LASSO_DISCOVERY_ERROR_FAILED_TO_BUILD_ENDPOINT_REFERENCE -1203
-
-/* ID-WSF 2 Data Service */
-/**
- * LASSO_DST_ERROR_MISSING_SERVICE_DATA:
- *
- * Missing service data
- */
-#define LASSO_DST_ERROR_MISSING_SERVICE_DATA -1300
-/**
- * LASSO_DST_ERROR_QUERY_FAILED:
- *
- * Query failed
- */
-#define LASSO_DST_ERROR_QUERY_FAILED -1301
-/**
- * LASSO_DST_ERROR_QUERY_PARTIALLY_FAILED:
- *
- * Query partially failed : some items were correctly processed
- */
-#define LASSO_DST_ERROR_QUERY_PARTIALLY_FAILED -1302
-/**
- * LASSO_DST_ERROR_MODIFY_FAILED:
- *
- * Modify failed
- */
-#define LASSO_DST_ERROR_MODIFY_FAILED -1303
-/**
- * LASSO_DST_ERROR_MODIFY_PARTIALLY_FAILED:
- *
- * Modify partially failed : some items were correctly processed
- */
-#define LASSO_DST_ERROR_MODIFY_PARTIALLY_FAILED -1304
-/**
- * LASSO_DST_ERROR_NEW_DATA_MISSING:
- *
- * Missing new data
- */
-#define LASSO_DST_ERROR_NEW_DATA_MISSING -1305
-/**
- * LASSO_DST_ERROR_QUERY_NOT_FOUND:
- *
- * Looked query is not found
- */
-#define LASSO_DST_ERROR_QUERY_NOT_FOUND -1306
-/**
- * LASSO_DST_ERROR_NO_DATA:
- *
- * No data or no data for the designated query item in the query response
- */
-#define LASSO_DST_ERROR_NO_DATA -1307
-/**
- * LASSO_DST_ERROR_MALFORMED_QUERY:
- *
- * QueryObject is malformed
- */
-#define LASSO_DST_ERROR_MALFORMED_QUERY -1308
-/**
- * LASSO_DST_ERROR_EMPTY_REQUEST
- *
- * Request is empty.
- */
-#define LASSO_DST_ERROR_EMPTY_REQUEST -1309
-
/* Lasso registry */
/**
* LASSO_REGISTRY_ERROR_KEY_EXISTS:
@@ -999,88 +799,6 @@ LASSO_EXPORT const char* lasso_strerror(int error_code);
*/
#define LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY -1500
-/* WS-Security */
-/**
- * LASSO_WSSEC_ERROR_MISSING_SECURITY_TOKEN:
- *
- * The request miss a WS-Security token.
- */
-#define LASSO_WSSEC_ERROR_MISSING_SECURITY_TOKEN 1600
-
-/**
- * LASSO_WSSEC_ERROR_BAD_PASSWORD:
- *
- * The known password does not match the UsernameToken
- */
-#define LASSO_WSSEC_ERROR_BAD_PASSWORD 1601
-
-/* ID-WSF 2.0 Discovery Service */
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_FAILED:
- *
- * Last discovery request failed.
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_FAILED 1700
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_FORBIDDEN:
- *
- * Last discovery request is forbidden by policy.
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_FORBIDDEN 1701
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_DUPLICATE:
- *
- * Last discovery request was denied because it would result in duplicate data in the service
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_DUPLICATE 1702
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_LOGICAL_DUPLICATE:
- *
- * Last discovery request was denied because it would result in logically duplicate data in the service
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_LOGICAL_DUPLICATE 1703
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_NO_RESULTS:
- *
- * The discovery query had no matching results.
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_NO_RESULTS 1704
-/**
- * LASSO_IDWSF2_DISCOVERY_ERROR_NOT_FOUND:
- *
- * The specified item(s) were not found.
- */
-#define LASSO_IDWSF2_DISCOVERY_ERROR_NOT_FOUND 1705
-
-/* ID-WSF 2.0 Data Service Template */
-
-/**
- * LASSO_IDWSF2_DST_ERROR_DUPLICATE_ITEM:
- *
- * A call to add a new item would result in duplicate items.
- */
-#define LASSO_IDWSF2_DST_ERROR_DUPLICATE_ITEM -1801
-
-/**
- * LASSO_IDWSF2_DST_ERROR_PARTIAL_FAILURE:
- *
- * Server responded with a partial failure status code.
- */
-#define LASSO_IDWSF2_DST_ERROR_PARTIAL_FAILURE 1802
-
-/**
- * LASSO_IDWSF2_DST_ERROR_UNKNOWN_STATUS_CODE:
- *
- * Server response with an unknown status code.
- */
-#define LASSO_IDWSF2_DST_ERROR_UNKNOWN_STATUS_CODE 1803
-/**
- * LASSO_IDWSF2_DST_ERROR_ITEM_NOT_FOUND:
- *
- * The item_id was not found in the current query request.
- */
-#define LASSO_IDWSF2_DST_ERROR_ITEM_NOT_FOUND 1804
-
/**
* LASSO_ASSERTION_QUERY_ERROR_ATTRIBUTE_REQUEST_ALREADY_EXIST:
*
diff --git a/lasso/extract_sections.py b/lasso/extract_sections.py
index ac9a4ae9..a03d8551 100644
--- a/lasso/extract_sections.py
+++ b/lasso/extract_sections.py
@@ -7,12 +7,7 @@ import os
import os.path
from six import print_
-enable_wsf = False
-
-if '-wsf' in sys.argv:
- enable_wsf = True
-
-if len(sys.argv) == 2+enable_wsf:
+if len(sys.argv) == 2:
srcdir = sys.argv[1]
else:
srcdir = '.'
diff --git a/lasso/extract_symbols.py b/lasso/extract_symbols.py
index b06b7a57..fc34e405 100644
--- a/lasso/extract_symbols.py
+++ b/lasso/extract_symbols.py
@@ -6,12 +6,7 @@ import re
import sys
import six
-enable_wsf = False
-
-if '-wsf' in sys.argv:
- enable_wsf = True
-
-if len(sys.argv) == 2+enable_wsf:
+if len(sys.argv) == 2:
srcdir = sys.argv[1]
else:
srcdir = '.'
@@ -21,22 +16,9 @@ regex = re.compile('LASSO_EXPORT[^;(]*(lasso_[a-zA-Z0-9_]+)', re.MULTILINE)
symbols = []
for header_file in glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*.h' % srcdir) + \
glob.glob('%s/*/*/*.h' % srcdir):
- if ('/id-wsf/' in header_file or '/id-wsf-2.0' in header_file) and not enable_wsf:
- continue
+ assert not ('/id-wsf/' in header_file or '/id-wsf-2.0' in header_file)
symbols.extend(regex.findall(io.open(header_file, encoding='utf-8').read().replace('\\\n', '')))
-wsf = ['lasso_disco_', 'lasso_dst_', 'lasso_is_', 'lasso_profile_service_',
- 'lasso_discovery', 'lasso_wsf', 'lasso_interaction_', 'lasso_utility_',
- 'lasso_sa_', 'lasso_soap_binding', 'lasso_authentication', 'lasso_wsse_',
- 'lasso_sec_', 'lasso_idwsf2', 'lasso_wsf2', 'lasso_wsa_',
- 'lasso_wsu_']
-if enable_wsf:
- wsf = []
-
for s in symbols:
- for t in wsf:
- if s.startswith(t):
- break
- else:
- six.print_(s)
+ six.print_(s)
diff --git a/lasso/extract_types.py b/lasso/extract_types.py
index 64c7f3c5..f1ac26e2 100644
--- a/lasso/extract_types.py
+++ b/lasso/extract_types.py
@@ -6,23 +6,11 @@ import re
import sys
import six
-enable_wsf = 0
-
-if '-wsf' in sys.argv:
- enable_wsf = 1
-
-if len(sys.argv) == 2+enable_wsf:
+if len(sys.argv) == 2:
srcdir = sys.argv[1]
else:
srcdir = '.'
-wsf = ['lasso_disco_', 'lasso_dst_', 'lasso_is_', 'lasso_profile_service_',
- 'lasso_discovery', 'lasso_wsf', 'lasso_interaction_', 'lasso_utility_',
- 'lasso_sa_', 'lasso_soap_binding', 'lasso_authentication', 'lasso_wsse_',
- 'lasso_sec_', 'lasso_idwsf2', 'lasso_wsf2', 'lasso_wsa_',
- 'lasso_wsu_']
-if enable_wsf:
- wsf = []
fd = io.StringIO()
@@ -33,18 +21,13 @@ six.print_(u"", file=fd)
header_files = []
for header_file in sorted(glob.glob('%s/*/*.h' % srcdir) + glob.glob('%s/*/*/*.h' % srcdir)):
- if ('/id-wsf/' in header_file or '/id-wsf-2.0' in header_file) and not enable_wsf:
- continue
+ assert not ('/id-wsf/' in header_file or '/id-wsf-2.0' in header_file)
header_files.append(header_file)
try:
type = re.findall('lasso_.*get_type', io.open(header_file, encoding='utf-8').read())[0]
except IndexError:
continue
- for t in wsf:
- if type.startswith(t):
- break
- else:
- six.print_("extern GType %s();" % type, file=fd)
+ six.print_("extern GType %s();" % type, file=fd)
six.print_(u"", file=fd)
six.print_(u"type_function functions[] = {", file=fd)
@@ -53,11 +36,7 @@ for header_file in header_files:
type = re.findall('lasso_.*get_type', io.open(header_file, encoding='utf-8').read())[0]
except IndexError:
continue
- for t in wsf:
- if type.startswith(t):
- break
- else:
- six.print_(u"\t%s," % type, file=fd)
+ six.print_(u"\t%s," % type, file=fd)
six.print_(u"\tNULL", file=fd)
six.print_(u"};", file=fd)
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c
index 688deedf..7c37e6f7 100644
--- a/lasso/id-ff/identity.c
+++ b/lasso/id-ff/identity.c
@@ -35,10 +35,6 @@
#include "../utils.h"
#include "identity.h"
-#ifdef LASSO_WSF_ENABLED
-#include "../id-wsf/id_ff_extensions.h"
-#endif
-
#include "identityprivate.h"
#include "../lasso_config.h"
@@ -144,22 +140,11 @@ add_childnode_from_hashtable(G_GNUC_UNUSED gchar *key, LassoNode *value, xmlNode
xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(value), TRUE));
}
-#ifdef LASSO_WSF_ENABLED
-static void
-add_text_childnode_from_list(gchar *value, xmlNode *xmlnode)
-{
- xmlNewTextChild(xmlnode, NULL, (xmlChar*)"SvcMDID", (xmlChar*)value);
-}
-#endif
-
static xmlNode*
get_xmlNode(LassoNode *node, G_GNUC_UNUSED gboolean lasso_dump)
{
xmlNode *xmlnode;
LassoIdentity *identity = LASSO_IDENTITY(node);
-#ifdef LASSO_WSF_ENABLED
- xmlNode *t;
-#endif
xmlnode = xmlNewNode(NULL, (xmlChar*)"Identity");
xmlSetNs(xmlnode, xmlNewNs(xmlnode, (xmlChar*)LASSO_LASSO_HREF, NULL));
@@ -169,19 +154,6 @@ get_xmlNode(LassoNode *node, G_GNUC_UNUSED gboolean lasso_dump)
if (g_hash_table_size(identity->federations))
g_hash_table_foreach(identity->federations,
(GHFunc)add_childnode_from_hashtable, xmlnode);
-#ifdef LASSO_WSF_ENABLED
- /* Resource Offerings */
- g_hash_table_foreach(identity->private_data->resource_offerings_map,
- (GHFunc)add_childnode_from_hashtable, xmlnode);
-
- /* Service Metadatas IDs (svcMDID) */
- if (identity->private_data->svcMDID != NULL) {
- t = xmlNewTextChild(xmlnode, NULL, (xmlChar*)"SvcMDIDs", NULL);
- g_list_foreach(identity->private_data->svcMDID,
- (GFunc)add_text_childnode_from_list, t);
- }
-#endif
-
return xmlnode;
}
@@ -190,11 +162,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
{
LassoIdentity *identity = LASSO_IDENTITY(node);
xmlNode *t;
-#ifdef LASSO_WSF_ENABLED
- xmlNode *t2;
- xmlChar *xml_content;
- gchar *content;
-#endif
t = xmlnode->children;
while (t) {
@@ -212,34 +179,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
g_strdup(federation->remote_providerID), federation);
}
-#ifdef LASSO_WSF_ENABLED
- /* Resource Offerings */
- if (strcmp((char*)t->name, "ResourceOffering") == 0) {
- LassoDiscoResourceOffering *offering;
- offering = LASSO_DISCO_RESOURCE_OFFERING(lasso_node_new_from_xmlNode(t));
- g_hash_table_insert(identity->private_data->resource_offerings_map,
- g_strdup(offering->entryID),
- g_object_ref(offering));
- }
-
- /* Service Metadatas IDs (SvcMDID) */
- if (strcmp((char*)t->name, "SvcMDIDs") == 0) {
- t2 = t->children;
- while (t2) {
- if (t2->type != XML_ELEMENT_NODE) {
- t2 = t2->next;
- continue;
- }
- xml_content = xmlNodeGetContent(t2);
- content = g_strdup((gchar *)xml_content);
- identity->private_data->svcMDID = g_list_append(
- identity->private_data->svcMDID, content);
- xmlFree(xml_content);
- t2 = t2->next;
- }
- }
-#endif
-
t = t->next;
}
@@ -256,16 +195,9 @@ dispose(GObject *object)
{
LassoIdentity *identity = LASSO_IDENTITY(object);
-
if (identity->private_data->dispose_has_run == FALSE) {
identity->private_data->dispose_has_run = TRUE;
-#ifdef LASSO_WSF_ENABLED
- lasso_release_list_of_strings(identity->private_data->svcMDID);
- lasso_release_ghashtable(identity->private_data->resource_offerings_map);
-#endif
-
lasso_release_ghashtable(identity->federations);
-
G_OBJECT_CLASS(parent_class)->dispose(object);
}
}
@@ -288,12 +220,6 @@ instance_init(LassoIdentity *identity)
{
identity->private_data = g_new0(LassoIdentityPrivate, 1);
identity->private_data->dispose_has_run = FALSE;
-#ifdef LASSO_WSF_ENABLED
- identity->private_data->svcMDID = NULL;
- identity->private_data->last_entry_id = 0;
- identity->private_data->resource_offerings_map = g_hash_table_new_full(g_str_hash,
- g_str_equal, (GDestroyNotify)g_free, (GDestroyNotify)g_object_unref);
-#endif
identity->federations = g_hash_table_new_full(g_str_hash, g_str_equal,
(GDestroyNotify)g_free,
(GDestroyNotify)lasso_federation_destroy);
diff --git a/lasso/id-ff/identityprivate.h b/lasso/id-ff/identityprivate.h
index 0cd7187c..6f9c4cf1 100644
--- a/lasso/id-ff/identityprivate.h
+++ b/lasso/id-ff/identityprivate.h
@@ -33,11 +33,6 @@ extern "C" {
struct _LassoIdentityPrivate
{
gboolean dispose_has_run;
-#ifdef LASSO_WSF_ENABLED
- guint last_entry_id;
- GHashTable *resource_offerings_map; /* of LassoDiscoResourceOffering */
- GList *svcMDID; /* of char* */
-#endif
};
gint lasso_identity_add_federation(LassoIdentity *identity, LassoFederation *federation);
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c
index 68693ffe..ce7cf259 100644
--- a/lasso/id-ff/login.c
+++ b/lasso/id-ff/login.c
@@ -270,10 +270,6 @@
#include "../saml-2.0/loginprivate.h"
#include "../lasso_config.h"
-#ifdef LASSO_WSF_ENABLED
-#include "../id-wsf/id_ff_extensions_private.h"
-#endif
-
#define LASSO_LOGIN_GET_PRIVATE(o) \
(G_TYPE_INSTANCE_GET_PRIVATE ((o), LASSO_TYPE_LOGIN, LassoLoginPrivate))
@@ -416,10 +412,6 @@ lasso_login_build_assertion(LassoLogin *login,
lasso_list_add_gobject(LASSO_SAMLP_RESPONSE(profile->response)->Assertion,
assertion);
-#ifdef LASSO_WSF_ENABLED
- lasso_login_assertion_add_discovery(login, assertion);
-#endif
-
/* store assertion in session object */
if (profile->session == NULL) {
profile->session = lasso_session_new();
@@ -2445,11 +2437,6 @@ dispose(GObject *object)
lasso_release_string(login->private_data->soap_request_msg);
lasso_release_gobject(login->private_data->saml2_assertion);
-
-#ifdef LASSO_WSF_ENABLED
- lasso_release_gobject(login->private_data->resourceId);
- lasso_release_gobject(login->private_data->encryptedResourceId);
-#endif
lasso_release_string(login->private_data->request_id);
G_OBJECT_CLASS(parent_class)->dispose(object);
}
diff --git a/lasso/id-ff/loginprivate.h b/lasso/id-ff/loginprivate.h
index 5575fce0..b88ecb95 100644
--- a/lasso/id-ff/loginprivate.h
+++ b/lasso/id-ff/loginprivate.h
@@ -32,20 +32,11 @@ extern "C" {
#include "config.h"
#include "../xml/saml-2.0/saml2_assertion.h"
-#ifdef LASSO_WSF_ENABLED
-#include "../xml/disco_resource_id.h"
-#include "../xml/disco_encrypted_resource_id.h"
-#endif
-
struct _LassoLoginPrivate
{
char *soap_request_msg;
LassoSaml2Assertion *saml2_assertion;
char *request_id;
-#ifdef LASSO_WSF_ENABLED
- LassoDiscoResourceID *resourceId;
- LassoDiscoEncryptedResourceID *encryptedResourceId;
-#endif
};
#ifdef __cplusplus
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index 30d8d62f..8d7b34c6 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -48,10 +48,6 @@
#include "../xml/soap-1.1/soap_fault.h"
#include "../utils.h"
#include "../debug.h"
-#ifdef LASSO_WSF_ENABLED
-#include "../xml/idwsf_strings.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#endif
#include "../lasso_config.h"
#include
@@ -209,28 +205,6 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap)
type = LASSO_REQUEST_TYPE_LECP;
} else if (strcmp(name, "ManageNameIDRequest") == 0) {
type = LASSO_REQUEST_TYPE_NAME_ID_MANAGEMENT;
-#ifdef LASSO_WSF_ENABLED
- } else if (strcmp(name, "Query") == 0) {
- if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) {
- type = LASSO_REQUEST_TYPE_DISCO_QUERY;
- } else if (strcmp((char*)ns->href, LASSO_IDWSF2_DISCOVERY_HREF) == 0) {
- type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_QUERY;
- } else {
- type = LASSO_REQUEST_TYPE_DST_QUERY;
- }
- } else if (strcmp(name, "Modify") == 0) {
- if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) {
- type = LASSO_REQUEST_TYPE_DISCO_MODIFY;
- } else {
- type = LASSO_REQUEST_TYPE_DST_MODIFY;
- }
- } else if (strcmp(name, "SASLRequest") == 0) {
- type = LASSO_REQUEST_TYPE_SASL_REQUEST;
- } else if (strcmp(name, "SvcMDRegister") == 0) {
- type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_REGISTER;
- } else if (strcmp(name, "SvcMDAssociationAdd") == 0) {
- type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_ASSOCIATION_ADD;
-#endif
} else {
message(G_LOG_LEVEL_WARNING, "Unknown node name : %s", name);
}
diff --git a/lasso/id-ff/profile.h b/lasso/id-ff/profile.h
index a0cc31b0..681ae455 100644
--- a/lasso/id-ff/profile.h
+++ b/lasso/id-ff/profile.h
@@ -58,17 +58,7 @@ typedef struct _LassoProfilePrivate LassoProfilePrivate;
* @LASSO_REQUEST_TYPE_NAME_REGISTRATION: Name Registration
* @LASSO_REQUEST_TYPE_NAME_IDENTIFIER_MAPPING: Name Identifier Mapping
* @LASSO_REQUEST_TYPE_LECP: Liberty-Enabled Client / Proxy
- * @LASSO_REQUEST_TYPE_DISCO_QUERY: ID-WSF 1.0 Discovery Query request
- * @LASSO_REQUEST_TYPE_DISCO_MODIFY: ID-WSF 1.0 Discovery Modify Request
- * @LASSO_REQUEST_TYPE_DST_QUERY: ID-WSF 1.0 Data Service Template Query request
- * @LASSO_REQUEST_TYPE_DST_MODIFY: ID-WSF 1.0 Data Service Temaplte Modify request
- * @LASSO_REQUEST_TYPE_SASL_REQUEST: ID-WSF 1.0 Authentication request
* @LASSO_REQUEST_TYPE_NAME_ID_MANAGEMENT: SAML 2.0 NameID Management request
- * @LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_REGISTER: ID-WSF 2.0 Discovery Service Metadata Register
- * request
- * @LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_ASSOCIATION_ADD: ID-WSF 2.0 Discovery Service Metadata
- * Add Association request
- * @LASSO_REQUEST_TYPE_IDWSF2_DISCO_QUERY: ID-WSF 2.0 Discovery Query request
*
* Request types (known for SOAP endpoints)
*/
@@ -80,15 +70,7 @@ typedef enum {
LASSO_REQUEST_TYPE_NAME_REGISTRATION = 4,
LASSO_REQUEST_TYPE_NAME_IDENTIFIER_MAPPING = 5,
LASSO_REQUEST_TYPE_LECP = 6,
- LASSO_REQUEST_TYPE_DISCO_QUERY = 7,
- LASSO_REQUEST_TYPE_DISCO_MODIFY = 8,
- LASSO_REQUEST_TYPE_DST_QUERY = 9,
- LASSO_REQUEST_TYPE_DST_MODIFY = 10,
- LASSO_REQUEST_TYPE_SASL_REQUEST = 11,
LASSO_REQUEST_TYPE_NAME_ID_MANAGEMENT = 12,
- LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_REGISTER = 13,
- LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_ASSOCIATION_ADD = 14,
- LASSO_REQUEST_TYPE_IDWSF2_DISCO_QUERY = 15
} LassoRequestType;
/**
diff --git a/lasso/id-ff/provider.h b/lasso/id-ff/provider.h
index 5421f3c7..1b3dd95f 100644
--- a/lasso/id-ff/provider.h
+++ b/lasso/id-ff/provider.h
@@ -143,7 +143,7 @@ typedef enum {
* LassoProtocolConformance:
* @LASSO_PROTOCOL_LIBERTY_1_0: Liberty ID-FF 1.0
* @LASSO_PROTOCOL_LIBERTY_1_1: Liberty ID-FF 1.1
- * @LASSO_PROTOCOL_LIBERTY_1_2: Liberty ID-FF 1.2 / ID-WSF 1.0
+ * @LASSO_PROTOCOL_LIBERTY_1_2: Liberty ID-FF 1.2
* @LASSO_PROTOCOL_SAML_2_0: SAML 2.0
*
* Provider protocol conformance.
diff --git a/lasso/id-ff/server.c b/lasso/id-ff/server.c
index 98a6c021..352d7737 100644
--- a/lasso/id-ff/server.c
+++ b/lasso/id-ff/server.c
@@ -41,10 +41,6 @@
#include "../utils.h"
#include "../debug.h"
#include "../lasso_config.h"
-#ifdef LASSO_WSF_ENABLED
-#include "../id-wsf/id_ff_extensions_private.h"
-#include "../id-wsf-2.0/serverprivate.h"
-#endif
#define RSA_SHA1 "RSA_SHA1"
#define DSA_SHA1 "DSA_SHA1"
@@ -297,11 +293,6 @@ static struct XmlSnippet schema_snippets[] = {
{ "SignatureMethod", SNIPPET_ATTRIBUTE, 0, NULL, NULL, NULL },
{ "Providers", SNIPPET_LIST_NODES, 0, NULL, NULL, NULL },
{ "ServerDumpVersion", SNIPPET_ATTRIBUTE, 0, NULL, NULL, NULL },
-#ifdef LASSO_WSF_ENABLED
- { "Services", SNIPPET_LIST_NODES, 0, NULL, NULL, NULL },
- { "SvcMDs", SNIPPET_LIST_NODES, 0, NULL, NULL, NULL },
-#endif
-
{NULL, 0, 0, NULL, NULL, NULL}
};
@@ -341,11 +332,6 @@ get_xmlNode(LassoNode *node, gboolean lasso_dump)
(GHFunc)add_provider_childnode, t);
}
-#ifdef LASSO_WSF_ENABLED
- lasso_server_dump_id_wsf_services(server, xmlnode);
- lasso_server_dump_id_wsf20_svcmds(server, xmlnode);
-#endif
-
xmlCleanNs(xmlnode);
lasso_transfer_xml_node(ret_xmlnode, xmlnode);
@@ -422,12 +408,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
t2 = xmlSecGetNextElementNode(t2->next);
}
}
-
-#ifdef LASSO_WSF_ENABLED
- lasso_server_init_id_wsf_services(server, t);
- lasso_server_init_id_wsf20_svcmds(server, t);
-#endif
-
t = xmlSecGetNextElementNode(t->next);
}
diff --git a/lasso/id-ff/session.c b/lasso/id-ff/session.c
index ea51109d..e22a5e80 100644
--- a/lasso/id-ff/session.c
+++ b/lasso/id-ff/session.c
@@ -43,10 +43,6 @@
#include
#include
-#ifdef LASSO_WSF_ENABLED
-#include "../id-wsf-2.0/sessionprivate.h"
-#endif
-
static gboolean lasso_match_name_id(LassoNode *a, LassoNode *b);
struct _NidAndSessionIndex {
@@ -355,23 +351,6 @@ lasso_session_add_assertion(LassoSession *session, const char *providerID, Lasso
if (ret != 0) {
return ret;
}
- /* ID-WSF specific need */
- if (LASSO_IS_SAML_ASSERTION(assertion)) {
- LassoSamlAssertion *saml_assertion = LASSO_SAML_ASSERTION(assertion);
- if (saml_assertion->Advice) {
- LassoSamlAdvice *advice = saml_assertion->Advice;
- LassoSamlAssertion *advice_assertion = (LassoSamlAssertion*)advice->Assertion;
- if (LASSO_IS_SAML_ASSERTION(advice_assertion)) {
- xmlNode *node = lasso_node_get_original_xmlnode(&advice_assertion->parent);
- if (xmlSecCheckNodeName(node, (xmlChar*)"Assertion", (xmlChar*)LASSO_SAML_ASSERTION_HREF)) {
- xmlChar *id = xmlGetProp(node, (xmlChar*)"AssertionID");
- ret = lasso_session_add_assertion_with_id(session, (char*)id, node);
- xmlFree(id);
- }
- }
- }
- }
-
session->is_dirty = TRUE;
return ret;
@@ -606,11 +585,6 @@ lasso_session_is_empty(LassoSession *session)
{
return FALSE;
}
-#ifdef LASSO_WSF_ENABLED
- if (g_hash_table_size(session->eprs)) {
- return FALSE;
- }
-#endif
return TRUE;
}
@@ -818,10 +792,6 @@ get_xmlNode(LassoNode *node, G_GNUC_UNUSED gboolean lasso_dump)
(GHFunc)xmlnode_add_assertion_nid_and_session_indexes, &context);
}
-#ifdef LASSO_WSF_ENABLED
- lasso_session_id_wsf2_dump_eprs(session, xmlnode);
-#endif
-
return xmlnode;
}
@@ -950,10 +920,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
init_from_xml_nid_and_session_index(node, t);
}
-#ifdef LASSO_WSF_ENABLED
- lasso_session_id_wsf2_init_eprs(session, t);
-#endif
-
t = t->next;
}
return 0;
@@ -981,10 +947,6 @@ dispose(GObject *object)
lasso_release_ghashtable(session->private_data->assertions_by_id);
lasso_release_ghashtable(session->private_data->nid_and_session_indexes);
-#ifdef LASSO_WSF_ENABLED
- lasso_release_ghashtable(session->private_data->eprs);
-#endif
-
G_OBJECT_CLASS(parent_class)->dispose(object);
}
@@ -1011,11 +973,6 @@ instance_init(LassoSession *session)
session->private_data->nid_and_session_indexes = g_hash_table_new_full(g_str_hash,
g_str_equal, (GDestroyNotify)g_free,
(GDestroyNotify)lasso_release_list_of_nid_an_session_index);
-#ifdef LASSO_WSF_ENABLED
- session->private_data->eprs = g_hash_table_new_full(g_str_hash, g_str_equal,
- (GDestroyNotify)g_free,
- (GDestroyNotify)g_object_unref);
-#endif
}
static void
diff --git a/lasso/id-ff/sessionprivate.h b/lasso/id-ff/sessionprivate.h
index cfe8969b..faaf922b 100644
--- a/lasso/id-ff/sessionprivate.h
+++ b/lasso/id-ff/sessionprivate.h
@@ -41,9 +41,6 @@ struct _LassoSessionPrivate
GHashTable *status; /* hold temporary response status for sso-art */
GHashTable *assertions_by_id;
GHashTable *nid_and_session_indexes;
-#ifdef LASSO_WSF_ENABLED
- GHashTable *eprs;
-#endif
};
#define LASSO_SESSION_GET_PRIVATE(o) \
diff --git a/lasso/id-wsf-2.0/Makefile.am b/lasso/id-wsf-2.0/Makefile.am
deleted file mode 100644
index 89b6bdd3..00000000
--- a/lasso/id-wsf-2.0/Makefile.am
+++ /dev/null
@@ -1,40 +0,0 @@
-MAINTAINERCLEANFILES = Makefile.in
-liblassoincludedir = $(includedir)/lasso/id-wsf-2.0
-
-AM_CPPFLAGS = \
- -I$(top_builddir) \
- -I$(top_srcdir) \
- $(LASSO_CORE_CFLAGS) \
- -DG_LOG_DOMAIN=\"lasso\"
-
-noinst_LTLIBRARIES = liblasso-id-wsf2.la
-
-lasso_private_h_sources = \
- private.h \
- serverprivate.h \
- sessionprivate.h \
- idwsf2_helper.h
-
-liblasso_id_wsf2_la_SOURCES = \
- server.c \
- session.c \
- identity.c \
- discovery.c \
- data_service.c \
- profile.c \
- saml2_login.c \
- soap_binding.c \
- idwsf2_helper.c
-
-liblassoinclude_HEADERS = \
- id_wsf_2.h \
- discovery.h \
- data_service.h \
- profile.h \
- identity.h \
- server.h \
- session.h \
- soap_binding.h \
- saml2_login.h
-
-EXTRA_DIST = $(lasso_private_h_sources)
diff --git a/lasso/id-wsf-2.0/data_service.c b/lasso/id-wsf-2.0/data_service.c
deleted file mode 100644
index 7093078f..00000000
--- a/lasso/id-wsf-2.0/data_service.c
+++ /dev/null
@@ -1,1062 +0,0 @@
-/* $Id: idwsf2_data_service.c 3101 2007-05-30 11:40:10Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:idwsf2_data_service
- * @short_description: ID-WSF 2.0 Data Service profile
- *
- * DataService allows Attribute Consumers (WSC) to request an Attribute Provider (WSP) to get
- * or modify data about users with their consent.
- */
-
-#include "../xml/private.h"
-#include
-#include
-
-#include "data_service.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-
-#include "../xml/id-wsf-2.0/disco_service_type.h"
-#include "../xml/id-wsf-2.0/dstref_query.h"
-#include "../xml/id-wsf-2.0/dstref_query_response.h"
-#include "../xml/id-wsf-2.0/dstref_data.h"
-#include "../xml/id-wsf-2.0/util_status.h"
-#include "../xml/id-wsf-2.0/util_response.h"
-#include "../xml/id-wsf-2.0/sb2_redirect_request.h"
-#include "../xml/id-wsf-2.0/dstref_modify.h"
-#include "../xml/id-wsf-2.0/dstref_modify_item.h"
-#include "../xml/id-wsf-2.0/dstref_modify_response.h"
-#include "../xml/id-wsf-2.0/dstref_create.h"
-#include "../xml/id-wsf-2.0/dstref_delete.h"
-
-#include "../xml/soap-1.1/soap_envelope.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/private.h"
-#include "../utils.h"
-#include "private.h"
-#include "idwsf2_helper.h"
-#include "soap_binding.h"
-
-struct _LassoIdWsf2DataServicePrivate
-{
- gboolean dispose_has_run;
- GList *query_items; /* of LassoIdWsf2DstRefQueryItem */
- GList *query_datas; /* of LassoIdWsf2DstRefData */
- GList *modify_items; /* of LassoIdWsf2DstRefModifyItem */
- gchar *service_type;
- gchar *service_type_prefix;
- GHashTable *namespaces;
-};
-
-extern GHashTable *idwsf2_dst_services_by_prefix; /* cf xml/xml.c */
-
-#define lasso_idwsf2_data_service_set_dst_service_type(dst_node, service_type, prefix) \
- lasso_assign_string(dst_node->hrefServiceType, service_type); \
- lasso_assign_string(dst_node->prefixServiceType, prefix); \
-
-static void
-lasso_idwsf2_data_service_clean_private_data(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2DataServicePrivate *pdata = service->private_data;
-
- lasso_release_string(pdata->service_type);
- lasso_release_string(pdata->service_type_prefix);
- lasso_release_list_of_gobjects(pdata->query_items);
- lasso_release_list_of_gobjects(pdata->modify_items);
- lasso_release_ghashtable(pdata->namespaces);
-}
-
-
-/**
- * lasso_idwsf2_data_service_set_service_type:
- * @service: a #LassoIdWsf2DataService object
- * @prefix: a prefix to use in producing XML documents
- * @service_type: the service type URI
- *
- * Fix a service type for this @service.
- */
-gint
-lasso_idwsf2_data_service_set_service_type(LassoIdWsf2DataService *service, const char *prefix,
- const char *service_type)
-{
- if (!LASSO_IS_IDWSF2_DATA_SERVICE(service) || lasso_strisempty(prefix)
- || lasso_strisempty(service_type))
- return LASSO_PARAM_ERROR_INVALID_VALUE;
- lasso_assign_string(service->private_data->service_type_prefix, prefix);
- lasso_assign_string(service->private_data->service_type, service_type);
- return 0;
-}
-
-/**
- * lasso_idwsf2_data_service_get_service_type:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return the service type of the received request
- *
- * Return value:(allow-none)(transfer none): the URI of the service type or NULL.
- */
-const char*
-lasso_idwsf2_data_service_get_service_type(LassoIdWsf2DataService *service)
-{
- if (! LASSO_IS_IDWSF2_DATA_SERVICE(service))
- return NULL;
- return service->private_data->service_type;
-}
-
-/**
- * lasso_idwsf2_data_service_get_service_type_prefix:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return the service type prefix of the received request
- *
- * Return value:(allow-none)(transfer none): the URI of the service type prefix or NULL.
- */
-const char*
-lasso_idwsf2_data_service_get_service_type_prefix(LassoIdWsf2DataService *service)
-{
- if (! LASSO_IS_IDWSF2_DATA_SERVICE(service))
- return NULL;
- return service->private_data->service_type_prefix;
-}
-
-static gint
-lasso_idwsf2_data_service_init_request(LassoIdWsf2DataService *service,
- LassoNode *(*constructor)())
-{
- int rc = 0;
- LassoNode *request;
- LassoSoapEnvelope *envelope;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
- lasso_release_list_of_gobjects(service->private_data->query_items);
- lasso_release_list_of_gobjects(service->private_data->modify_items);
- lasso_check_good_rc(lasso_idwsf2_profile_init_request(&service->parent));
- request = (LassoNode*)constructor();
- envelope = lasso_idwsf2_profile_get_soap_envelope_request(&service->parent);
- lasso_assign_new_gobject(service->parent.parent.request, request);
- lasso_soap_envelope_add_to_body(envelope, request);
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_init_query:
- * @service: a #LassoIdWsf2DataService
- *
- * Initialise an ID-WSF 2.0 DataService query request.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_idwsf2_data_service_init_query(LassoIdWsf2DataService *service)
-{
- return lasso_idwsf2_data_service_init_request(service,
- (LassoNode *(*)())lasso_idwsf2_dstref_query_new);
-}
-
-/**
- * lasso_idwsf2_data_service_init_modify:
- * @service: a #LassoIdWsf2DataService
- *
- * Initialise an ID-WSF 2.0 DataService modify request.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_idwsf2_data_service_init_modify(LassoIdWsf2DataService *service)
-{
- return lasso_idwsf2_data_service_init_request(service,
- (LassoNode *(*)())lasso_idwsf2_dstref_modify_new);
-}
-
-gint
-lasso_idwsf2_data_service_init_create(LassoIdWsf2DataService *service)
-{
- return lasso_idwsf2_data_service_init_request(service,
- (LassoNode *(*)())lasso_idwsf2_dstref_create_new);
-}
-
-gint
-lasso_idwsf2_data_service_init_delete(LassoIdWsf2DataService *service)
-{
- return lasso_idwsf2_data_service_init_request(service,
- (LassoNode *(*)())lasso_idwsf2_dstref_delete_new);
-}
-
-/**
- * lasso_idwsf2_data_service_get_request_type:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return the type of the currently handled request.
- */
-LassoIdWsf2DataServiceRequestType
-lasso_idwsf2_data_service_get_request_type(LassoIdWsf2DataService *service)
-{
- GType request_type = 0;
-
-#define check_request_type(a, b) \
- if (request_type == a) { \
- return b ;\
- }
- if (! LASSO_IS_IDWSF2_DATA_SERVICE(service))
- return LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_UNKNOWN;
- request_type = G_TYPE_FROM_INSTANCE(service->parent.parent.request);
- check_request_type(LASSO_TYPE_IDWSF2_DSTREF_QUERY,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY);
- check_request_type(LASSO_TYPE_IDWSF2_DSTREF_MODIFY,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY);
-#undef check_request_type
- return LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_UNKNOWN;
-}
-
-/**
- * lasso_idwsf2_data_service_add_query_item:
- * @service: a #LassoIdWsf2DataService
- * @item_query: a query string
- * @item_id:(allow-none): identifier of the queried item, which will allow to retrieve it in the
- * response
- *
- * Add an item in the query request.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_idwsf2_data_service_add_query_item(LassoIdWsf2DataService *service, const gchar *item_query,
- const gchar *item_id)
-{
- LassoIdWsf2DstRefQueryItem *item;
- GList *i;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
- lasso_check_non_empty_string(item_query);
-
- if (item_id == NULL) {
- item_id = lasso_build_unique_id(32);
- }
- /* Check duplicates */
- lasso_foreach(i, service->private_data->query_items) {
- LassoIdWsf2DstRefQueryItem *old_item = (LassoIdWsf2DstRefQueryItem *)i->data;
- if (lasso_strisequal(old_item->parent.parent.itemID,item_id)) {
- return LASSO_IDWSF2_DST_ERROR_DUPLICATE_ITEM;
- }
- }
- item = lasso_idwsf2_dstref_query_item_new_full(item_query, item_id);
- lasso_list_add_gobject(service->private_data->query_items, item);
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_add_modify_item:
- * @service: a #LassoIdWsf2DataService
- * @item_query: XPATH of the item to modify
- * @new_data:(allow-none):new value for the selected item
- * @overrideAllowed:(allow-none)(default FALSE): FALSE means only allowing to create a new item, but
- * not modify existing one, TRUE means allowing to modify existing item
- * @item_id:(allow-none): identifier of the item to modify
- *
- * Add an item in the modification request.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_idwsf2_data_service_add_modify_item(LassoIdWsf2DataService *service, const gchar *item_query,
- xmlNode *new_data, gboolean overrideAllowed, const gchar *item_id)
-{
- LassoIdWsf2DstRefModifyItem *item;
- int rc = 0;
- GList *i;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
- lasso_check_non_empty_string(item_query);
-
- if (item_id == NULL) {
- item_id = lasso_build_unique_id(10);
- }
- lasso_foreach(i, service->private_data->modify_items) {
- LassoIdWsf2DstRefModifyItem *old_item = (LassoIdWsf2DstRefModifyItem *)i->data;
- if (lasso_strisequal(old_item->id,item_id)) {
- return LASSO_IDWSF2_DST_ERROR_DUPLICATE_ITEM;
- }
- }
- item = lasso_idwsf2_dstref_modify_item_new_full(
- item_query, item_id, new_data, overrideAllowed);
- lasso_list_add_gobject(service->private_data->modify_items, item);
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_get_item_ids:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return the list of items ids for the currently handled request.
- *
- * Return value:(element-type utf8)(transfer full): a list of string ids, or NULL if none is found.
- * The caller must free the return value.
- */
-GList*
-lasso_idwsf2_data_service_get_item_ids(LassoIdWsf2DataService *service)
-{
- GList *i, *result = NULL;
-
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- lasso_foreach(i, service->private_data->query_items) {
- LassoIdWsf2DstRefQueryItem *old_item = (LassoIdWsf2DstRefQueryItem *)i->data;
- lasso_list_add_string(result, old_item->parent.parent.itemID);
- }
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- lasso_foreach(i, service->private_data->modify_items) {
- LassoIdWsf2DstRefModifyItem *old_item = (LassoIdWsf2DstRefModifyItem *)i->data;
- lasso_list_add_string(result, old_item->id);
- }
- break;
- default:
- break;
- }
- return result;
-}
-
-/**
- * lasso_idwsf2_data_service_get_items:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return value:(element-type LassoNode)(transfer none): a list of Query or Modify items, or NULL if
- * none is found.
- */
-GList*
-lasso_idwsf2_data_service_get_items(LassoIdWsf2DataService *service)
-{
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- return service->private_data->query_items;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- return service->private_data->modify_items;
- default:
- break;
- }
- return NULL;
-}
-
-/**
- * lasso_idwsf2_data_service_get_item:
- * @service: a #LassoIdWsf2DataService object
- * @item_id: the itemID of the item to return, if NULL try to get the only one item (if there is
- * more than one, it returns NULL).
- *
- * Retrieve a specific item from a request.
- *
- * Return value:(transfer none)(allow-none): a #LassoIdWsf2DstRefQueryItem or a #LassoIdWsf2DstRefModifyItem object, or NULL if
- * no item for the given item_id exists.
- */
-LassoNode*
-lasso_idwsf2_data_service_get_item(LassoIdWsf2DataService *service,
- const char *item_id)
-{
- GList *i;
-
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- if (item_id == NULL) {
- if (g_list_length(service->private_data->query_items) == 1)
- return (LassoNode*)service->private_data->query_items->data;
- else
- return NULL;
- }
- lasso_foreach(i, service->private_data->query_items) {
- LassoIdWsf2DstRefQueryItem *old_item = (LassoIdWsf2DstRefQueryItem *)i->data;
- if (lasso_strisequal(old_item->parent.parent.itemID,item_id)) {
- return (LassoNode*)old_item;
- }
- }
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- if (item_id == NULL) {
- if (g_list_length(service->private_data->modify_items) == 1)
- return (LassoNode*)service->private_data->modify_items->data;
- else
- return NULL;
- }
- lasso_foreach(i, service->private_data->modify_items) {
- LassoIdWsf2DstRefModifyItem *old_item = (LassoIdWsf2DstRefModifyItem *)i->data;
- if (lasso_strisequal(old_item->id,item_id)) {
- return (LassoNode*)old_item;
- }
- }
- break;
- default:
- break;
- }
- return NULL;
-}
-
-/**
- * lasso_idwsf2_data_service_add_namespace:
- * @service: a #LassoIdWsf2DataService object
- *
- * Add a new namespace to use for example in XPath elements or in Data or NewData objects.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_data_service_add_namespace(LassoIdWsf2DataService *service, const char *prefix,
- const char *href)
-{
- if (xmlValidateNCName(BAD_CAST prefix, 0) && ! lasso_strisempty(href))
- return LASSO_PARAM_ERROR_INVALID_VALUE;
-
- if (g_hash_table_lookup(service->private_data->namespaces, prefix) != NULL ||
- lasso_strisequal(service->private_data->service_type_prefix,prefix) ||
- lasso_strisequal(prefix,LASSO_IDWSF2_DSTREF_PREFIX)) {
- return LASSO_PARAM_ERROR_INVALID_VALUE;
- }
-
- g_hash_table_insert(service->private_data->namespaces, g_strdup(prefix), g_strdup(href));
- return 0;
-}
-
-static void
-add_custom_namespace(const char *prefix, const char *href, LassoNode *node)
-{
- lasso_node_add_custom_namespace(node, prefix, href);
-}
-
-/**
- * lasso_idwsf2_data_service_build_request_msg:
- * @service: a #LassoIdWsf2DataService object
- * @security_mech_id:(allow-none): the security mechanism to employ, default is Bearer mechanism.
- *
- * Build the request message.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_data_service_build_request_msg(LassoIdWsf2DataService *service,
- const char *security_mech_id)
-{
- int rc = 0;
- LassoSoapEnvelope *envelope;
- LassoIdWsf2DstRefQuery *query = (LassoIdWsf2DstRefQuery*)service->parent.parent.request;
- LassoIdWsf2DstRefModify *modify = (LassoIdWsf2DstRefModify*)service->parent.parent.request;
- const char *service_type = NULL;
- const char *prefix = NULL;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
-
- envelope = lasso_idwsf2_profile_get_soap_envelope_request(&service->parent);
- service_type = lasso_wsa_endpoint_reference_get_idwsf2_service_type(
- lasso_idwsf2_profile_get_epr(&service->parent));
- if (service_type) {
- const char *prefix = lasso_get_prefix_for_idwsf2_dst_service_href(service_type);
- if (! prefix)
- prefix = "dstref";
- } else {
- service_type = service->private_data->service_type;
- prefix = service->private_data->service_type_prefix;
- }
-
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- if (service_type) {
- lasso_idwsf2_data_service_set_dst_service_type(query, service_type, prefix);
- }
- lasso_assign_list_of_gobjects(query->QueryItem, service->private_data->query_items);
- g_hash_table_foreach(service->private_data->namespaces,
- (GHFunc)add_custom_namespace,
- query);
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- if (service_type) {
- lasso_idwsf2_data_service_set_dst_service_type(modify, service_type, prefix);
- }
- lasso_assign_list_of_gobjects(modify->ModifyItem, service->private_data->modify_items);
- break;
- default:
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_REQUEST);
- break;
- }
- rc = lasso_idwsf2_profile_build_request_msg(&service->parent, security_mech_id);
-cleanup:
- return rc;
-}
-
-static gint
-lasso_idwsf2_data_service_process_query(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2DstRefQuery *query;
- GList *i;
- int rc = 0;
-
- query = (LassoIdWsf2DstRefQuery*)service->parent.parent.request;
- lasso_check_good_rc(lasso_idwsf2_data_service_set_service_type(
- service,
- query->prefixServiceType,
- query->hrefServiceType));
-
- /* Parse QueryItems to get a list of Query strings */
- /* FIXME: extract TestItems */
- lasso_foreach(i, query->QueryItem)
- {
- LassoIdWsf2DstRefQueryItem *item = (LassoIdWsf2DstRefQueryItem *)i->data;
- /* FIXME: check more query items invariants. */
- if (! LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM(item)) {
- lasso_release_list_of_gobjects(service->private_data->query_items);
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_REQUEST);
- }
- lasso_list_add_gobject(service->private_data->query_items,
- item);
- }
-cleanup:
- return rc;
-}
-
-static gint
-lasso_idwsf2_data_service_process_modify(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2DstRefModify *modify;
- GList *i;
- int rc = 0;
-
- modify = (LassoIdWsf2DstRefModify*)service->parent.parent.request;
- lasso_foreach(i, modify->ModifyItem)
- {
- LassoIdWsf2DstRefModifyItem *item = (LassoIdWsf2DstRefModifyItem*)i->data;
- /* FIXME: check more Modify Item invariants */
- if (! LASSO_IS_IDWSF2_DSTREF_MODIFY_ITEM(item)) {
- lasso_release_list_of_gobjects(service->private_data->modify_items);
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_REQUEST);
- }
- lasso_list_add_gobject(service->private_data->modify_items, item);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_process_request_msg:
- * @service: a #LassoIdWsf2DataService object
- * @msg: the message string
- *
- * Process a newly received requests.
- */
-gint
-lasso_idwsf2_data_service_process_request_msg(LassoIdWsf2DataService *service, const char *msg)
-{
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
-
- lasso_check_good_rc(lasso_idwsf2_profile_process_request_msg(&service->parent, msg));
- lasso_idwsf2_data_service_clean_private_data(service);
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- rc = lasso_idwsf2_data_service_process_query(service);
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- rc = lasso_idwsf2_data_service_process_modify(service);
- break;
- default:
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- break;
- }
- if (rc == LASSO_PROFILE_ERROR_INVALID_REQUEST) {
- lasso_idwsf2_data_service_set_status_code(service,
- LASSO_DST2_STATUS_CODE1_FAILED,
- "InvalidRequest");
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_validate_request:
- * @service: a #LassoIdWsf2DataService object
- *
- * Initialize a new response object corresponding to the current request. If not request if found or
- * the request is invalid, a failure response is created.
- *
- * Return value: 0 if successful, or LASSO_PROFILE_ERROR_INVALID_REQUEST.
- */
-gint
-lasso_idwsf2_data_service_validate_request(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2DstRefQueryResponse *query_response;
- LassoIdWsf2DstRefModifyResponse *modify_response;
- LassoNode *response = NULL;
- int rc = 0;
- const char *service_type = NULL;
- const char *prefix = NULL;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
-
- lasso_check_good_rc(lasso_idwsf2_profile_init_response(&service->parent));
- if (service_type) {
- const char *prefix = lasso_get_prefix_for_idwsf2_dst_service_href(service_type);
- if (! prefix)
- prefix = "dstref";
- } else {
- service_type = service->private_data->service_type;
- prefix = service->private_data->service_type_prefix;
- }
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- query_response = lasso_idwsf2_dstref_query_response_new();
- if (service_type) {
- lasso_idwsf2_data_service_set_dst_service_type(query_response,
- service_type, prefix);
- }
- response = (LassoNode*)query_response;
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- modify_response = lasso_idwsf2_dstref_modify_response_new();
- if (service_type) {
- lasso_idwsf2_data_service_set_dst_service_type(modify_response,
- service_type, prefix);
- }
- response = (LassoNode*)modify_response;
- break;
- default:
- lasso_idwsf2_data_service_set_status_code(service,
- LASSO_DST2_STATUS_CODE1_FAILED, "InvalidRequest");
- return LASSO_PROFILE_ERROR_INVALID_REQUEST;
- }
- if (response) {
- LassoSoapEnvelope *envelope =
- lasso_idwsf2_profile_get_soap_envelope_response(&service->parent);
- lasso_assign_new_gobject(service->parent.parent.response, response);
- lasso_soap_envelope_add_to_body(envelope, response);
- lasso_idwsf2_data_service_set_status_code(service, LASSO_DST2_STATUS_CODE1_OK, NULL);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_set_status_code:
- * @service: a #LassoIdWsf2DataService
- * @status_code: a first level status code
- * @status_code2: a second level status code
- *
- * Set the status code for the current response, if no response exists, it starts one using
- * lasso_idwsf2_data_service_validate_request(), if it fails, report a SOAP Fault.
- */
-gint
-lasso_idwsf2_data_service_set_status_code(LassoIdWsf2DataService *service,
- const char *status_code, const char *status_code2)
-{
- LassoNode *response;
- LassoIdWsf2UtilStatus **status = NULL;
- LassoIdWsf2UtilStatus *new_status = NULL;
- int rc = 0;
-
-
- response = service->parent.parent.response;
- if (LASSO_IS_IDWSF2_UTIL_RESPONSE(response)) {
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- status = &LASSO_IDWSF2_UTIL_RESPONSE(response)->Status;
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- status = &LASSO_IDWSF2_UTIL_RESPONSE(response)->Status;
- break;
- default:
- break;
- }
- }
-
- new_status = lasso_idwsf2_util_status_new_with_code(status_code, status_code2);
-
- if (! LASSO_IS_IDWSF2_UTIL_RESPONSE(response) || ! status) {
- GList details = { .data = new_status, .next = NULL, .prev = NULL };
-
- lasso_check_good_rc(lasso_idwsf2_profile_init_soap_fault_response(&service->parent,
- LASSO_SOAP_FAULT_CODE_CLIENT, "Unknown Request Type",
- &details));
- } else {
- lasso_assign_gobject(*status, new_status);
- }
-cleanup:
- lasso_release_gobject(new_status);
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_set_query_item_result:
- * @service: a #LassoIdWsf2DataService object
- * @item_id:(allow-none): target a certain QueryItem if NULL, means there is only one query item
- * @xml_data:(allow-none): the data to add
- * @add:(allow-none)(default FALSE): add data to existing datas
- *
- * Set result data for a certain query-item.
- */
-gint
-lasso_idwsf2_data_service_set_query_item_result(LassoIdWsf2DataService *service,
- const char *item_id, xmlNode *xml_data, gboolean add)
-{
- LassoIdWsf2DstRefQueryItem *item;
- LassoIdWsf2DstRefData *data;
- int rc = 0;
-
- if (lasso_idwsf2_data_service_get_request_type(service)
- != LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY) {
- goto_cleanup_with_rc(LASSO_IDWSF2_DST_ERROR_ITEM_NOT_FOUND);
- }
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
- item = (LassoIdWsf2DstRefQueryItem*)lasso_idwsf2_data_service_get_item(service, item_id);
- if (! LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM(item)) {
- goto_cleanup_with_rc(LASSO_IDWSF2_DST_ERROR_ITEM_NOT_FOUND);
- }
- data = lasso_idwsf2_data_service_get_query_item_result(service, item_id);
- if (data == NULL) {
- data = lasso_idwsf2_dstref_data_new();
- }
- if (xml_data) {
- if (! add) {
- lasso_release_list_of_xml_node(data->parent.parent.any);
- }
- lasso_list_add_xml_node(data->parent.parent.any, xml_data);
- }
- if (item_id) {
- lasso_assign_string(data->parent.itemIDRef, item_id);
- }
- if (g_list_find(service->private_data->query_datas, data) == NULL) {
- lasso_list_add_gobject(service->private_data->query_datas, data);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_build_response_msg:
- * @service: a #LassoIdWsf2DataService object
- *
- * Build the response message corresponding to the current request.
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-gint
-lasso_idwsf2_data_service_build_response_msg(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2DstRefQueryResponse *query_response;
- GList *datas;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
- if (! LASSO_IS_SOAP_FAULT(service->parent.parent.response)) {
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- goto_cleanup_if_fail_with_rc(
- LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE(
- service->parent.parent.response),
- LASSO_PROFILE_ERROR_INVALID_RESPONSE);
- query_response = (LassoIdWsf2DstRefQueryResponse*)service->parent.parent.response;
- datas = lasso_idwsf2_data_service_get_query_item_results(service);
- lasso_assign_list_of_gobjects(query_response->Data, datas);
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- goto_cleanup_with_rc(LASSO_ERROR_UNIMPLEMENTED);
- break;
- default:
- break;
- }
- }
- rc = lasso_idwsf2_profile_build_response_msg(&service->parent);
-cleanup:
- return rc;
-}
-
-static gint
-_lasso_idwsf2_data_service_process_query_response(LassoIdWsf2DataService * service,
- LassoIdWsf2DstRefQueryResponse *response)
-{
- int rc = 0;
-
- goto_cleanup_if_fail_with_rc(LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE(response),
- LASSO_PROFILE_ERROR_INVALID_RESPONSE);
-
- if (service->private_data) {
- lasso_assign_list_of_gobjects(service->private_data->query_datas, response->Data);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_process_response_msg:
- * @service: a #LassoIdWsf2DataService object
- * @msg: (allow-none): the message content
- *
- * Process a received SOAP message response.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_data_service_process_response_msg(
- LassoIdWsf2DataService *service, const char *msg)
-{
- LassoIdWsf2DstRefQueryResponse *query_response;
- LassoIdWsf2UtilStatus *status;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DATA_SERVICE, service);
-
- lasso_check_good_rc(lasso_idwsf2_profile_process_response_msg(&service->parent, msg));
-
- status = lasso_idwsf2_data_service_get_response_status(service);
-
- if (! status || ! status->code) {
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_MISSING_STATUS_CODE);
- }
- if (lasso_strisequal(status->code,LASSO_DST2_STATUS_CODE1_FAILED)) {
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS);
- }
- if (lasso_strisequal(status->code,LASSO_DST2_STATUS_CODE1_PARTIAL)) {
- rc = LASSO_IDWSF2_DST_ERROR_PARTIAL_FAILURE;
- }
- if (lasso_strisnotequal(status->code,LASSO_DST2_STATUS_CODE1_OK)) {
- rc = LASSO_IDWSF2_DST_ERROR_UNKNOWN_STATUS_CODE;
- }
-
- switch (lasso_idwsf2_data_service_get_request_type(service)) {
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY:
- query_response = (LassoIdWsf2DstRefQueryResponse*)service->parent.parent.response;
- lasso_check_good_rc(_lasso_idwsf2_data_service_process_query_response(service, query_response));
- break;
- case LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY:
- rc = LASSO_ERROR_UNIMPLEMENTED;
- break;
- default:
- rc = LASSO_ERROR_UNDEFINED;
- break;
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_data_service_get_response_status:
- * @service: a #LassoIdWsf2UtilStatus object
- *
- * Return the status from the current response.
- *
- * Return value:(transfer none)(allow-none): a #LassoIdWsf2UtilStatus object, or NULL.
- */
-LassoIdWsf2UtilStatus*
-lasso_idwsf2_data_service_get_response_status(LassoIdWsf2DataService *service)
-{
- LassoIdWsf2UtilResponse *response;
- LassoSoapFault *fault;
-
- response = (void*)(fault = (void*)service->parent.parent.response);
- if (LASSO_IS_IDWSF2_UTIL_RESPONSE(response)) {
- return response->Status;
- }
- if (LASSO_IS_SOAP_FAULT(fault)) {
- if (LASSO_IS_SOAP_DETAIL(fault->Detail) && fault->Detail->any
- && LASSO_IS_IDWSF2_UTIL_STATUS(fault->Detail->any->data)) {
- return (LassoIdWsf2UtilStatus*)fault->Detail->any->data;
- }
- }
- return NULL;
-}
-
-/**
- * lasso_idwsf2_data_service_get_query_item_result:
- * @service: a #LassoIdWsf2DataService object
- * @item_id:(allow-none): an item_id or NULL if only one data is present
- *
- * Return value:(allow-none)(transfer none): a #LassoIdWsf2DstRefData or NULL if none is found.
- */
-LassoIdWsf2DstRefData*
-lasso_idwsf2_data_service_get_query_item_result(LassoIdWsf2DataService *service,
- const char *item_id)
-{
- GList *i;
-
- if (! LASSO_IS_IDWSF2_DATA_SERVICE(service))
- return NULL;
- if (! item_id) {
- if (g_list_length(service->private_data->query_datas) == 1) {
- return (LassoIdWsf2DstRefData*)service->private_data->query_datas->data;
- }
- return NULL;
- }
- lasso_foreach(i, service->private_data->query_datas) {
- LassoIdWsf2DstRefData *data = (LassoIdWsf2DstRefData*)i->data;
- if (lasso_strisequal(data->parent.itemIDRef,item_id)) {
- return data;
- }
- }
- return NULL;
-}
-
-/**
- * lasso_idwsf2_data_service_get_query_item_result_content:
- * @service: a #LassoIdWsf2DataService object
- * @item_id:(allow-none): the identifier of the result asked, if NULL and there is only one respone,
- * returns it.
- *
- * Returns the text content of the query item result identified by @item_id or the only query item
- * result if @item_id is NULL.
- * If @item_id is NULL and there is multiple results, returns NULL.
- *
- * Return value:(transfer full): the text content of the query item result.
- */
-char*
-lasso_idwsf2_data_service_get_query_item_result_content(LassoIdWsf2DataService *service,
- const char *item_id)
-{
- LassoIdWsf2DstRefData *data = NULL;
- LassoIdWsf2DstRefAppData *app_data = NULL;
- GList *i = NULL;
- GString *gstr = NULL;
- char *result = NULL;
-
- data = lasso_idwsf2_data_service_get_query_item_result(service, item_id);
- if (! data)
- return NULL;
- app_data = (LassoIdWsf2DstRefAppData*)data;
- gstr = g_string_sized_new(128);
- lasso_foreach(i, app_data->any) {
- xmlNode *node = (xmlNode*)i->data;
- xmlChar *content;
- content = xmlNodeGetContent(node);
- g_string_append(gstr, (char*)content);
- xmlFree(content);
- }
- result = gstr->str;
- lasso_release_gstring(gstr, FALSE);
- return result;
-}
-
-/**
- * lasso_idwsf2_data_service_get_query_item_results:
- * @service: a #LassoIdWsf2DataService object
- *
- * Return value:(allow-none)(transfer none)(element-type LassoIdWsf2DstRefData): the list of
- * #LassoIdWsf2DstRefData or NULL if none is found.
- */
-GList*
-lasso_idwsf2_data_service_get_query_item_results(LassoIdWsf2DataService *service)
-{
-
- if (LASSO_IS_IDWSF2_DATA_SERVICE(service) && service->private_data) {
- return service->private_data->query_datas;
- }
- return NULL;
-}
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-dispose(GObject *object)
-{
- LassoIdWsf2DataService *service = LASSO_IDWSF2_DATA_SERVICE(object);
- LassoIdWsf2DataServicePrivate *pdata = service->private_data;
-
- if (!pdata || pdata->dispose_has_run == TRUE)
- return;
- pdata->dispose_has_run = TRUE;
-
- lasso_idwsf2_data_service_clean_private_data(service);
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- LassoIdWsf2DataService *service = LASSO_IDWSF2_DATA_SERVICE(object);
- lasso_release(service->private_data);
- service->private_data = NULL;
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-static void
-instance_init(LassoIdWsf2DataService *service)
-{
- service->private_data = g_new0(LassoIdWsf2DataServicePrivate, 1);
- service->private_data->namespaces = g_hash_table_new_full(g_str_hash, g_str_equal,
- (GDestroyNotify)g_free, (GDestroyNotify)g_free);
-}
-
-static void
-class_init(LassoIdWsf2DataServiceClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
- lasso_node_class_set_nodename(LASSO_NODE_CLASS(klass), "IdWsf2DataService");
- lasso_node_class_set_ns(LASSO_NODE_CLASS(klass), LASSO_LASSO_HREF, LASSO_LASSO_PREFIX);
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
-}
-
-GType
-lasso_idwsf2_data_service_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoIdWsf2DataServiceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DataService),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PROFILE,
- "LassoIdWsf2DataService", &this_info, 0);
- }
- return this_type;
-}
-
-
-/**
- * lasso_idwsf2_data_service_new:
- * @server:(allow-none): a #LassoServer object, for resolving ProviderIDs
- *
- * Create a new #LassoIdWsf2DataService.
- *
- * Return value: a newly created #LassoIdWsf2DataService object
- **/
-LassoIdWsf2DataService*
-lasso_idwsf2_data_service_new(LassoServer *server)
-{
- LassoIdWsf2DataService *service;
-
- service = g_object_new(LASSO_TYPE_IDWSF2_DATA_SERVICE, NULL);
- service->parent.parent.server = lasso_ref(server);
-
- return service;
-}
diff --git a/lasso/id-wsf-2.0/data_service.h b/lasso/id-wsf-2.0/data_service.h
deleted file mode 100644
index f806d356..00000000
--- a/lasso/id-wsf-2.0/data_service.h
+++ /dev/null
@@ -1,145 +0,0 @@
-/* $Id: idwsf2_data_service.h 2736 2007-05-30 17:59:38Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DATA_SERVICE_H__
-#define __LASSO_IDWSF2_DATA_SERVICE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "profile.h"
-#include "../xml/xml.h"
-#include "../xml/id-wsf-2.0/dstref_query_item.h"
-#include "../xml/id-wsf-2.0/util_status.h"
-#include "../xml/id-wsf-2.0/dstref_data.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-
-
-#define LASSO_TYPE_IDWSF2_DATA_SERVICE (lasso_idwsf2_data_service_get_type())
-#define LASSO_IDWSF2_DATA_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DATA_SERVICE, LassoIdWsf2DataService))
-#define LASSO_IDWSF2_DATA_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DATA_SERVICE, LassoIdWsf2DataServiceClass))
-#define LASSO_IS_IDWSF2_DATA_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DATA_SERVICE))
-#define LASSO_IS_IDWSF2_DATA_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DATA_SERVICE))
-#define LASSO_IDWSF2_DATA_SERVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DATA_SERVICE, LassoIdWsf2DataServiceClass))
-
-typedef struct _LassoIdWsf2DataService LassoIdWsf2DataService;
-typedef struct _LassoIdWsf2DataServiceClass LassoIdWsf2DataServiceClass;
-typedef struct _LassoIdWsf2DataServicePrivate LassoIdWsf2DataServicePrivate;
-
-struct _LassoIdWsf2DataService {
- LassoIdWsf2Profile parent;
-
- /*< private >*/
- LassoIdWsf2DataServicePrivate *private_data;
-};
-
-struct _LassoIdWsf2DataServiceClass {
- LassoIdWsf2ProfileClass parent;
-};
-
-typedef enum {
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_UNKNOWN,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_QUERY,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_MODIFY,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_CREATE,
- LASSO_IDWSF2_DATA_SERVICE_REQUEST_TYPE_DELETE
-} LassoIdWsf2DataServiceRequestType;
-
-LASSO_EXPORT GType lasso_idwsf2_data_service_get_type(void);
-
-/* Service initialization */
-LASSO_EXPORT LassoIdWsf2DataService* lasso_idwsf2_data_service_new(LassoServer *server);
-
-/* Request initialization */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_init_query(LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_init_modify(LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_init_create(LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_init_delete(LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_set_service_type(LassoIdWsf2DataService *service,
- const char *prefix, const char *service_type);
-LASSO_EXPORT const char* lasso_idwsf2_data_service_get_service_type(
- LassoIdWsf2DataService *service);
-LASSO_EXPORT const char* lasso_idwsf2_data_service_get_service_type_prefix(
- LassoIdWsf2DataService *service);
-
-/* Manipulate request */
-LASSO_EXPORT LassoIdWsf2DataServiceRequestType lasso_idwsf2_data_service_get_request_type(
- LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_add_query_item(
- LassoIdWsf2DataService *service, const gchar *item_query, const gchar *item_id);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_add_modify_item(LassoIdWsf2DataService *service,
- const gchar *item_query, xmlNode *new_data, gboolean overrideAllowed,
- const gchar *item_id);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_add_namespace(LassoIdWsf2DataService *data_service,
- const char *prefix, const char *href);
-
-/* Produce request */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_build_request_msg(LassoIdWsf2DataService *service,
- const char *security_mech_id);
-
-/* Handle request */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_process_request_msg(LassoIdWsf2DataService *service,
- const char *msg);
-LASSO_EXPORT GList *lasso_idwsf2_data_service_get_item_ids(LassoIdWsf2DataService *data_service);
-LASSO_EXPORT GList *lasso_idwsf2_data_service_get_items(LassoIdWsf2DataService *data_service);
-LASSO_EXPORT LassoNode* lasso_idwsf2_data_service_get_item(LassoIdWsf2DataService *data_service,
- const char *item_id);
-
-/* Reponse initialization */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_validate_request(LassoIdWsf2DataService *service);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_set_status_code(LassoIdWsf2DataService *service,
- const char *status_code, const char *status_code2);
-
-/* Manipulate response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_set_query_item_result(
- LassoIdWsf2DataService *data_service, const char *item_id, xmlNode *xml_data,
- gboolean add);
-
-/* Produce response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_build_response_msg(LassoIdWsf2DataService *service);
-
-/* Handle response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_data_service_process_response_msg(
- LassoIdWsf2DataService *service, const char *msg);
-LASSO_EXPORT LassoIdWsf2UtilStatus *lasso_idwsf2_data_service_get_response_status(
- LassoIdWsf2DataService *service);
-LASSO_EXPORT LassoIdWsf2DstRefData* lasso_idwsf2_data_service_get_query_item_result(
- LassoIdWsf2DataService *service, const char *item_id);
-LASSO_EXPORT char* lasso_idwsf2_data_service_get_query_item_result_content(
- LassoIdWsf2DataService *service, const char *item_id);
-LASSO_EXPORT GList* lasso_idwsf2_data_service_get_query_item_results(
- LassoIdWsf2DataService *service);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DATA_SERVICE_H__ */
-
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c
deleted file mode 100644
index fd2b109c..00000000
--- a/lasso/id-wsf-2.0/discovery.c
+++ /dev/null
@@ -1,1538 +0,0 @@
-/* $Id: discovery.c,v 1.75 2007/01/03 23:35:17 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:idwsf2_discovery
- * @short_description: ID-WSF 2.0 Discovery Service profile
- *
- * The Discovery service usually runs on the principal identity provider and
- * knowns about resources and services related to the principal. Attribute
- * providers can register themselves as offering resources for an user while
- * other services can ask where to find a given resource.
- */
-
-#include "../xml/private.h"
-#include
-#include
-
-#include
-
-#include "../saml-2.0/saml2_helper.h"
-
-#include "../xml/saml_attribute_value.h"
-#include "../xml/xml_enc.h"
-
-#include "../xml/soap-1.1/soap_fault.h"
-
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/saml-2.0/samlp2_name_id_policy.h"
-
-#include "../xml/id-wsf-2.0/disco_query.h"
-#include "../xml/id-wsf-2.0/disco_query_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_query.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_query_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_register.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_register_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_replace.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_replace_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_delete.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_delete_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_query.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_query_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_add.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_add_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_delete.h"
-#include "../xml/id-wsf-2.0/disco_svc_md_association_delete_response.h"
-#include "../xml/id-wsf-2.0/disco_requested_service.h"
-#include "../xml/id-wsf-2.0/disco_abstract.h"
-#include "../xml/id-wsf-2.0/disco_provider_id.h"
-#include "../xml/id-wsf-2.0/disco_service_type.h"
-#include "../xml/id-wsf-2.0/disco_security_context.h"
-#include "../xml/id-wsf-2.0/disco_service_context.h"
-#include "../xml/id-wsf-2.0/disco_endpoint_context.h"
-#include "../xml/id-wsf-2.0/disco_options.h"
-#include "../xml/id-wsf-2.0/sec_token.h"
-#include "../xml/id-wsf-2.0/util_status.h"
-#include "../xml/id-wsf-2.0/sbf_framework.h"
-
-#include "../xml/ws/wsa_endpoint_reference.h"
-
-#include "../id-ff/server.h"
-#include "../id-ff/provider.h"
-#include "../id-ff/providerprivate.h"
-
-#include "discovery.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "soap_binding.h"
-#include "idwsf2_helper.h"
-#include "saml2_login.h"
-#include "../utils.h"
-
-struct _LassoIdWsf2DiscoveryPrivate
-{
- gboolean dispose_has_run;
- GList *metadatas; /* of LassoIdWsf2DiscoSvcMetadata* */
- GList *requested_services; /* of LassoIdWsf2DiscoRequestedService */
- GList *svcmdids; /* of utf8 */
-};
-
-#define LASSO_IDWSF2_DISCOVERY_ELEMENT_METADATAS "Metadatas"
-#define LASSO_IDWSF2_DISCOVERY_ELEMENT_REQUESTED_SERVICES "RequestedServices"
-#define LASSO_IDWSF2_DISCOVERY_ELEMENT_REQUESTED_SERVICES "RequestedServices"
-
-
-static int
-lasso_idwsf2_discovery_add_identity_to_epr(LassoIdWsf2Discovery *discovery,
- LassoWsAddrEndpointReference *epr,
- const char *provider_id,
- const char *security_mechanism)
-{
- LassoIdentity *identity = discovery->parent.parent.identity;
- LassoFederation *federation = NULL;
- LassoSaml2Assertion *assertion;
- LassoProvider *provider = NULL;
- GList security_mechanisms = { .data = (char*)security_mechanism, .next = NULL, .prev = NULL };
-
- if (! LASSO_IS_IDENTITY(identity))
- return LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND;
-
- federation = lasso_identity_get_federation(identity, provider_id);
- if (federation == NULL || ! LASSO_IS_SAML2_NAME_ID(federation->local_nameIdentifier))
- return LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND;
- provider = lasso_server_get_provider(discovery->parent.parent.server, provider_id);
- if (! provider) {
- return LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND;
- }
-
- assertion =
- lasso_server_create_assertion_as_idwsf2_security_token(discovery->parent.parent.server,
- LASSO_SAML2_NAME_ID(federation->local_nameIdentifier),
- LASSO_DURATION_HOUR, 2 * LASSO_DURATION_DAY, provider ? TRUE :
- FALSE, provider);
-
- if (assertion == NULL ) {
- return LASSO_ERROR_UNDEFINED;
- }
-
- return lasso_wsa_endpoint_reference_add_security_token(epr,
- (LassoNode*)assertion, &security_mechanisms);
-}
-
-
-
-static LassoWsAddrEndpointReference*
-lasso_idwsf2_discovery_build_epr(LassoIdWsf2Discovery *discovery,
- LassoIdWsf2DiscoSvcMetadata *svc_metadata,
- LassoIdWsf2DiscoServiceContext *service_context,
- LassoIdWsf2DiscoEndpointContext *endpoint_context)
-{
- LassoIdentity *identity;
- LassoWsAddrEndpointReference *epr = NULL;
- LassoWsAddrMetadata *metadata = NULL;
- LassoIdWsf2DiscoAbstract *abstract;
- LassoIdWsf2DiscoProviderID *provider_id;
- LassoIdWsf2DiscoServiceType *service_type;
- LassoProvider *provider = NULL;
- GList *i;
-
-
- if (LASSO_IS_IDENTITY(discovery->parent.parent.identity)) {
- identity = discovery->parent.parent.identity;
- }
- epr = lasso_wsa_endpoint_reference_new();
- epr->Address = lasso_wsa_attributed_uri_new_with_string(
- (gchar*)endpoint_context->Address->data);
- metadata = lasso_wsa_metadata_new();
- epr->Metadata = metadata;
- /* Abstract */
- if (svc_metadata->Abstract) {
- abstract = lasso_idwsf2_disco_abstract_new_with_string(svc_metadata->Abstract);
- lasso_list_add_new_gobject(metadata->any, abstract);
- }
- /* ProviderID */
- if (svc_metadata->ProviderID) {
- provider_id = lasso_idwsf2_disco_provider_id_new_with_string(svc_metadata->ProviderID);
- provider = lasso_server_get_provider(discovery->parent.parent.server, svc_metadata->ProviderID);
- lasso_list_add_new_gobject(metadata->any, provider_id);
- }
- /* ServiceType */
- lasso_foreach(i, service_context->ServiceType)
- {
- service_type = lasso_idwsf2_disco_service_type_new_with_string(i->data);
- lasso_list_add_new_gobject(metadata->any, service_type);
- }
- /* Framework */
- lasso_foreach(i, endpoint_context->Framework)
- {
- lasso_list_add_gobject(metadata->any, i->data);
- }
- /* Identity token */
- lasso_foreach(i, endpoint_context->SecurityMechID)
- {
- int rc = lasso_idwsf2_discovery_add_identity_to_epr(discovery,
- epr,
- svc_metadata->ProviderID,
- (char*)i->data);
- if (rc != 0) {
- message(G_LOG_LEVEL_WARNING,
- "%s cannot add identity token to epr: %s", __func__, lasso_strerror(rc));
- lasso_release_gobject(epr);
- return NULL;
- }
- }
- return epr;
-}
-
-static gint
-lasso_idwsf2_discovery_status2rc(LassoIdWsf2UtilStatus *status)
-{
- size_t i = 0;
- static struct {
- const char *code;
- int rc;
- } code2rc[] = {
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK, 0},
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FAILED, LASSO_IDWSF2_DISCOVERY_ERROR_FAILED },
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FORBIDDEN, LASSO_IDWSF2_DISCOVERY_ERROR_FORBIDDEN },
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_DUPLICATE, LASSO_IDWSF2_DISCOVERY_ERROR_DUPLICATE },
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_LOGICAL_DUPLICATE,
- LASSO_IDWSF2_DISCOVERY_ERROR_LOGICAL_DUPLICATE },
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NO_RESULTS, LASSO_IDWSF2_DISCOVERY_ERROR_NO_RESULTS },
- { LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NOT_FOUND, LASSO_IDWSF2_DISCOVERY_ERROR_NOT_FOUND }
- };
- int rc = LASSO_WSF_PROFILE_ERROR_UNKNOWN_STATUS_CODE;
-
- if (! LASSO_IS_IDWSF2_UTIL_STATUS(status) || ! status->code)
- return LASSO_PROFILE_ERROR_MISSING_STATUS_CODE;
-
- for (i = 0; i < G_N_ELEMENTS(code2rc); ++i) {
- if (lasso_strisequal(status->code,code2rc[i].code)) {
- rc = code2rc[i].rc;
- }
- }
- /* check second level if necessary */
- if (status->Status && rc == LASSO_IDWSF2_DISCOVERY_ERROR_FAILED) {
- int rc2 = lasso_idwsf2_discovery_status2rc(status->Status->data);
- if (rc2 != LASSO_WSF_PROFILE_ERROR_UNKNOWN_STATUS_CODE &&
- rc2 != LASSO_PROFILE_ERROR_MISSING_STATUS_CODE)
- rc = rc2;
- }
- return rc;
-}
-
-#define declare_init_request(name, request_element_type, constructor) \
-gint \
-lasso_idwsf2_discovery_init_##name(LassoIdWsf2Discovery *discovery) \
-{ \
- LassoIdWsf2Profile *idwsf2_profile = NULL; \
- LassoProfile *profile = NULL; \
- request_element_type *request_element = NULL; \
- LassoSoapEnvelope *envelope = NULL; \
- int rc = 0; \
- \
- lasso_bad_param(IDWSF2_DISCOVERY, discovery); \
- \
- lasso_release_list_of_gobjects(discovery->private_data->metadatas) \
- lasso_release_list_of_gobjects(discovery->private_data->requested_services) \
- idwsf2_profile = &discovery->parent; \
- profile = &idwsf2_profile->parent; \
- lasso_check_good_rc(lasso_idwsf2_profile_init_request(idwsf2_profile)); \
- request_element = constructor(); \
- envelope = lasso_idwsf2_profile_get_soap_envelope_request(idwsf2_profile); \
- lasso_assign_new_gobject(profile->request, request_element); \
- lasso_soap_envelope_add_to_body(envelope, (LassoNode*)request_element); \
- \
-cleanup: \
- return rc; \
-}
-
-/* Metadata requests */
-
-/**
- * lasso_idwsf2_discovery_init_query
- * @discovery: a #LassoIdWsf2Discovery
- *
- * Initialise a request for ID-WSF discovery Query to a discovery service.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-declare_init_request(query, LassoIdWsf2DiscoQuery, lasso_idwsf2_disco_query_new)
-
-/**
- * lasso_idwsf2_discovery_init_metadata_register:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Initialise a ID-WSF service metadata registration request to a Discovery service.
- *
- * Return value: 0 on success; an error code otherwise.
- **/
-declare_init_request(metadata_register, LassoIdWsf2DiscoSvcMDRegister,
- lasso_idwsf2_disco_svc_md_register_new);
-
-/**
- * lasso_idwsf2_discovery_init_metadata_replace:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Initialise a ID-WSF service metadata replace request to a Discovery service.
- *
- * Return value: 0 on success; an error code otherwise.
- **/
-declare_init_request(metadata_replace, LassoIdWsf2DiscoSvcMDReplace,
- lasso_idwsf2_disco_svc_md_replace_new);
-
-/**
- * lasso_idwsf2_discovery_init_metadata_query:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Initialise a ID-WSF service metadata query request to a Discovery service
- *
- * Return value: 0 on success; an error code otherwise.
- **/
-declare_init_request(metadata_query, LassoIdWsf2DiscoSvcMDQuery,
- lasso_idwsf2_disco_svc_md_query_new);
-
-/**
- * lasso_idwsf2_discovery_init_metadata_delete:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Initialise a ID-WSF service metadata query request to a Discovery service
- *
- * Return value: 0 on success; an error code otherwise.
- **/
-declare_init_request(metadata_delete, LassoIdWsf2DiscoSvcMDDelete,
- lasso_idwsf2_disco_svc_md_delete_new);
-
-/**
- * lasso_idwsf2_discovery_init_metadata_association_add:
- * @discovery: a #LassoIdWsf2Discovery
- * @svcMDID: identifier of the service metadata the user wants to associate with
- *
- * Initialise a request to associate a user account to a service metadata, allowing
- * a WSC to request this service for data related to this user account.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-declare_init_request(metadata_association_add, LassoIdWsf2DiscoSvcMDAssociationAdd,
- lasso_idwsf2_disco_svc_md_association_add_new)
-
-declare_init_request(metadata_association_delete, LassoIdWsf2DiscoSvcMDAssociationDelete,
- lasso_idwsf2_disco_svc_md_association_delete_new)
-declare_init_request(metadata_association_query, LassoIdWsf2DiscoSvcMDAssociationQuery,
- lasso_idwsf2_disco_svc_md_association_query_new)
-
-
-/**
- * lasso_idwsf2_discovery_add_service_metadata:
- * @idwsf2_discovery: a #LassoIdWsf2Discovery object
- * @service_metadata: a #LassoIdWsf2DiscoSvcMetadata object to add to the register request.
- *
- * Add a new metadata object to a request.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-int
-lasso_idwsf2_discovery_add_service_metadata(LassoIdWsf2Discovery *discovery,
- LassoIdWsf2DiscoSvcMetadata *service_metadata)
-{
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- lasso_bad_param(IDWSF2_DISCO_SVC_METADATA, service_metadata);
- lasso_list_add_gobject(discovery->private_data->metadatas,
- service_metadata);
- return 0;
-}
-
-/**
- * lasso_idwsf2_discovery_add_simple_service_metadata:
- * @idwsf2_discovery: a #LassoIdWsf2Discovery object
- * @abstract:(allow-none): a human description of the service
- * @provider_id:(allow-none): the provider id of the service to register, if none is given,
- * providerId of the current #LassoServer object is used
- * @service_types:(element-type utf8)(allow-none): an array of service type URIs
- * @options:(element-type LassoIdWsf2DiscoOptions)(allow-none): an array of option string
- * @address:(allow-none): the URI of the service endpoint for the default EndpointContext
- * @security_mechanisms:(allow-none)(element-type utf8): the security mechanisms supported by the
- * service
- *
- * Add new metadata to the current Metadata Register request.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-int
-lasso_idwsf2_discovery_add_simple_service_metadata(LassoIdWsf2Discovery *idwsf2_discovery,
- const char *abstract, const char *provider_id, GList *service_types, GList *options,
- const char *address, GList *security_mechanisms)
-{
- LassoIdWsf2DiscoSvcMetadata *service_metadata;
- LassoIdWsf2DiscoServiceContext *service_context;
- LassoIdWsf2DiscoEndpointContext *endpoint_context;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DISCOVERY, idwsf2_discovery);
- lasso_check_non_empty_string(address);
- service_metadata = lasso_idwsf2_disco_svc_metadata_new();
- if (abstract) {
- lasso_assign_string(service_metadata->Abstract, abstract);
- }
- if (provider_id) {
- lasso_assign_string(service_metadata->ProviderID, provider_id);
- }
- service_context = lasso_idwsf2_disco_service_context_new();
- if (service_types) {
- lasso_assign_list_of_strings(service_context->ServiceType, service_types);
- }
- if (options) {
- lasso_assign_list_of_strings(service_context->Options, options);
- }
- endpoint_context = lasso_idwsf2_disco_endpoint_context_new();
- if (address) {
- lasso_list_add_string(endpoint_context->Address, address);
- }
- lasso_list_add_new_gobject(endpoint_context->Framework,
- lasso_idwsf2_sbf_framework_new_full("2.0"));
- if (security_mechanisms) {
- lasso_assign_list_of_strings(endpoint_context->SecurityMechID, security_mechanisms);
- }
-
- lasso_list_add_new_gobject(service_context->EndpointContext, endpoint_context);
- lasso_list_add_new_gobject(service_metadata->ServiceContext, service_context);
-
- rc = lasso_idwsf2_discovery_add_service_metadata(idwsf2_discovery, service_metadata);
- lasso_release_gobject(service_metadata);
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_discovery_get_metadatas:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Return the current list of metadatas in the @discovery object. They can be metadatas just
- * received through a #LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER request or added through
- * lasso_idwsf2_discovery_add_service_metadata() or
- * lasso_idwsf2_discovery_add_simple_service_metadata().
- *
- * Return value:(transfer none)(element-type LassoIdWsf2DiscoSvcMetadata): the list of metadatas.
- */
-GList*
-lasso_idwsf2_discovery_get_metadatas(LassoIdWsf2Discovery *discovery)
-{
- if (! LASSO_IS_IDWSF2_DISCOVERY(discovery) || ! discovery->private_data)
- return NULL;
- return discovery->private_data->metadatas;
-}
-
-/**
- * lasso_idwsf2_discovery_get_endpoint_references:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Return the list of wsa:EndpointReference returned by the last discovery query.
- *
- * Return value:(transfer none)(element-type LassoWsAddrEndpointReference): a #GList of
- * LassoWsAddrEndpointReference objects, or NULL if none is found.
- */
-GList*
-lasso_idwsf2_discovery_get_endpoint_references(LassoIdWsf2Discovery *discovery)
-{
- LassoProfile *profile;
- LassoIdWsf2DiscoQueryResponse *response;
- GList *rc = NULL;
-
- g_return_val_if_fail (LASSO_IS_IDWSF2_DISCOVERY (discovery), NULL);
- profile = &discovery->parent.parent;
-
- lasso_extract_node_or_fail (response, profile->response, IDWSF2_DISCO_QUERY_RESPONSE, NULL);
- rc = response->EndpointReference;
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_discovery_get_svcmdids:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Return the list of SvcMDID, or service metadata ids, returned by the last discovery query.
- *
- * Return value:(transfer none)(element-type utf8)(allow-none): a list of SvcMDID's.
- */
-GList*
-lasso_idwsf2_discovery_get_svcmdids(LassoIdWsf2Discovery *discovery)
-{
- if (! LASSO_IS_IDWSF2_DISCOVERY(discovery) || ! discovery->private_data)
- return NULL;
- return discovery->private_data->svcmdids;
-}
-
-/**
- * lasso_idwsf2_discovery_set_svcmdids:
- * @discovery: a #LassoIdWsf2Discovery object
- * @svcmdids:(element-type utf8)(allow-none): a list of service metadata IDs
- *
- * Set the list of SvcMDID, or service metadata ids.
- *
- */
-void
-lasso_idwsf2_discovery_set_svcmdids(LassoIdWsf2Discovery *discovery, GList *svcmdids)
-{
- if (! LASSO_IS_IDWSF2_DISCOVERY(discovery) || ! discovery->private_data)
- return;
- lasso_assign_list_of_strings(discovery->private_data->svcmdids, svcmdids);
-}
-
-/**
- * lasso_idwsf2_discovery_build_request_msg:
- * @discovery: a #LassoIdWsf2Discovery object
- * @security_mechanism:(allow-none):the security mech id to use, if NULL a Bearer mechanism is used.
- *
- * Build the request message using a security mechanism to authenticate the requester and the target
- * identity. If none is given Bearer mechanism is used.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_discovery_build_request_msg(LassoIdWsf2Discovery *discovery,
- const char *security_mechanism)
-{
- GList *content = NULL;
- LassoIdWsf2DiscoQuery *query = NULL;
- GList **svc_md_ids = NULL;
- GList **metadatas = NULL;
- gboolean check_svcMDID = FALSE;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- content =
- lasso_soap_envelope_get_body_content(
- lasso_idwsf2_profile_get_soap_envelope_request(
- &discovery->parent));
- switch (lasso_idwsf2_discovery_get_request_type(discovery)) {
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY:
- query = (LassoIdWsf2DiscoQuery*)lasso_list_get_first_child(content);
- lasso_assign_list_of_gobjects(query->RequestedService,
- discovery->private_data->requested_services);
-
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER:
- metadatas = &((LassoIdWsf2DiscoSvcMDRegister*)lasso_list_get_first_child(content))->SvcMD;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDQuery*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE:
- check_svcMDID = TRUE;
- metadatas = &((LassoIdWsf2DiscoSvcMDReplace*)
- lasso_list_get_first_child(content))->SvcMD;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDDelete*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationAdd*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationDelete*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationQuery*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN:
- default:
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_REQUEST);
- break;
- }
- if (metadatas) {
- if (! check_svcMDID) {
- lasso_assign_list_of_gobjects(*metadatas, discovery->private_data->metadatas);
- } else {
- GList *i;
- lasso_foreach(i, discovery->private_data->metadatas) {
- LassoIdWsf2DiscoSvcMetadata *metadata = (LassoIdWsf2DiscoSvcMetadata *)i->data;
- if (lasso_strisempty(metadata->svcMDID)) {
- message(G_LOG_LEVEL_WARNING, "disco:MetadataReplace method called with " \
- "non registered metadatas " \
- "(svcMDID attribute is missing)");
- } else {
- lasso_list_add_gobject(*metadatas, metadata);
- }
- }
- }
- }
- if (svc_md_ids) {
- lasso_assign_list_of_strings(*svc_md_ids, discovery->private_data->svcmdids);
- }
- rc = lasso_idwsf2_profile_build_request_msg(&discovery->parent, security_mechanism);
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_discovery_process_request_msg:
- * @discovery: a #LassoIdWsf2Discovery object
- * @message: a received SOAP message
- *
- * Parse a Discovery service request.
- *
- * Return value: 0 if sucessful, an error code otherwise among:
- *
- * LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if @profile is not a #LassoIdWsf2Profile
- * object,
- * LASSO_PARAM_ERROR_INVALID_VALUE if message is NULL,
- * LASSO_PROFILE_ERROR_INVALID_MSG if we cannot parse the message,
- * LASSO_SOAP_ERROR_MISSING_BODY if the message has no body
- * content.
- *
- */
-int
-lasso_idwsf2_discovery_process_request_msg(LassoIdWsf2Discovery *discovery, const char *message)
-{
- LassoProfile *profile;
- LassoIdWsf2Profile *idwsf2_profile;
- GList *content;
- GList **svc_md_ids = NULL, **metadatas = NULL, **service_types = NULL;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- idwsf2_profile = &discovery->parent;
- profile = &idwsf2_profile->parent;
-
- lasso_check_good_rc(lasso_idwsf2_profile_process_request_msg(idwsf2_profile, message));
-
- content =
- lasso_soap_envelope_get_body_content(
- lasso_idwsf2_profile_get_soap_envelope_request(
- &discovery->parent));
- switch (lasso_idwsf2_discovery_get_request_type(discovery)) {
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER:
- metadatas = &((LassoIdWsf2DiscoSvcMDRegister*)
- lasso_list_get_first_child(content))->SvcMD;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY:
- service_types = &((LassoIdWsf2DiscoQuery*)
- lasso_list_get_first_child(content))->RequestedService;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDQuery*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDDelete*)
- lasso_list_get_first_child(content))->SvcMDID;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationAdd*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationDelete*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY:
- svc_md_ids = &((LassoIdWsf2DiscoSvcMDAssociationQuery*)
- lasso_list_get_first_child(content))->SvcMDID;
- break;
- default:
- lasso_check_good_rc(
- lasso_idwsf2_profile_init_soap_fault_response(
- idwsf2_profile,
- LASSO_SOAP_FAULT_CODE_CLIENT,
- "Unknown Request Type", NULL));
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- break;
- }
- if (discovery->private_data && svc_md_ids) {
- lasso_assign_list_of_strings(discovery->private_data->svcmdids, *svc_md_ids);
- }
- if (metadatas) {
- lasso_assign_list_of_gobjects(discovery->private_data->metadatas, *metadatas);
- }
- if (service_types) {
- lasso_assign_list_of_gobjects(discovery->private_data->requested_services, *service_types);
- }
-
-cleanup:
- return rc;
-}
-
-
-/**
- * lasso_idwsf2_discovery_get_request_type:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Return the type of the last parsed request.
- *
- * Return value: the type of the last parsed request.
- */
-LassoIdWsf2DiscoveryRequestType
-lasso_idwsf2_discovery_get_request_type(LassoIdWsf2Discovery *discovery)
-{
- if (LASSO_IS_IDWSF2_DISCOVERY(discovery))
- {
- GType request_type = 0;
-
- request_type = G_TYPE_FROM_INSTANCE(discovery->parent.parent.request);
-
-#define check_request_type(a, b) \
- if (request_type == a) { \
- return b ;\
- }
-
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_QUERY,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE);
- check_request_type(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY);
- }
-#undef check_request_type
- return LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN;
-
-}
-
-/**
- * lasso_idwsf2_discovery_fail_request:
- * @discovery: a #LassoIdWsf2Discovery
- * @status_code: a status code string
- * @status_code2:(allow-none): a second-level status code
- *
- * Fail the last request with the given status code.
- *
- * Return value: 0 on success; or a negative value otherwise.
- */
-gint
-lasso_idwsf2_discovery_fail_request(LassoIdWsf2Discovery *discovery, const char *status_code,
- const char *status_code2)
-{
- LassoIdWsf2DiscoSvcMDAssociationAddResponse *md_association_add_response;
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *md_association_delete_response;
- LassoIdWsf2DiscoSvcMDAssociationQueryResponse *md_association_query_response;
- LassoIdWsf2DiscoSvcMDRegisterResponse *md_register_response;
- LassoIdWsf2DiscoSvcMDQueryResponse *md_query_response;
- LassoIdWsf2DiscoSvcMDDeleteResponse *md_delete_response;
- LassoIdWsf2DiscoSvcMDReplaceResponse *md_replace_response;
- LassoIdWsf2DiscoQueryResponse *query_response;
- int rc = 0;
- LassoIdWsf2UtilStatus **status = NULL;
- LassoNode *response = NULL;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
-
- lasso_check_good_rc(lasso_idwsf2_profile_init_response(&discovery->parent));
- switch (lasso_idwsf2_discovery_get_request_type(discovery)) {
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY:
- query_response = lasso_idwsf2_disco_query_response_new();
- response = (LassoNode*)query_response;
- status = &query_response->Status;
- break;
-
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER:
- md_register_response = lasso_idwsf2_disco_svc_md_register_response_new();
- response = (LassoNode*)md_register_response;
- status = &md_register_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY:
- md_query_response = lasso_idwsf2_disco_svc_md_query_response_new();
- response = (LassoNode*)md_query_response;
- status = &md_query_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE:
- md_replace_response = lasso_idwsf2_disco_svc_md_replace_response_new();
- response = (LassoNode*)md_replace_response;
- status = &md_replace_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE:
- md_delete_response = lasso_idwsf2_disco_svc_md_delete_response_new();
- response = (LassoNode*)md_delete_response;
- status = &md_delete_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD:
- md_association_add_response =
- lasso_idwsf2_disco_svc_md_association_add_response_new();
- response = (LassoNode*)md_association_add_response;
- status = &md_association_add_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE:
- md_association_delete_response =
- lasso_idwsf2_disco_svc_md_association_delete_response_new();
- response = (LassoNode*)md_association_delete_response;
- status = &md_association_delete_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY:
- md_association_query_response =
- lasso_idwsf2_disco_svc_md_association_query_response_new();
- response = (LassoNode*)md_association_query_response;
- status = &md_association_query_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN:
- default:
- response = (LassoNode*)lasso_soap_fault_new_full(
- LASSO_SOAP_FAULT_CODE_CLIENT, "Invalid request");
- break;
- }
- if (response) {
- LassoSoapEnvelope *envelope =
- lasso_idwsf2_profile_get_soap_envelope_response(&discovery->parent);
- lasso_assign_new_gobject(discovery->parent.parent.response, response);
- lasso_soap_envelope_add_to_body(envelope, response);
- }
- if (status) {
- lasso_assign_new_gobject(*status,
- lasso_idwsf2_util_status_new_with_code(status_code, status_code2));
- }
-
-cleanup:
- return rc;
-}
-
-static gboolean
-_string_list_intersect(GList *a, GList *b)
-{
- GList *i, *j;
-
- if (a == NULL) {
- return TRUE;
- }
- lasso_foreach(i, a)
- {
- lasso_foreach(j, b)
- if (lasso_strisequal(i->data,j->data)) {
- return TRUE;
- }
- }
- return FALSE;
-}
-
-static gboolean
-_string_list_contains(GList *a, const char *str)
-{
- GList *i;
-
- if (a == NULL)
- return TRUE;
- lasso_foreach(i, a)
- if (lasso_strisequal(i->data,str)) {
- return TRUE;
- }
- return FALSE;
-}
-
-static gboolean
-_string_list_contains_list(GList *a, GList *b)
-{
- GList *i;
- /* empty = all */
- if (a == NULL)
- return TRUE;
- lasso_foreach(i, b)
- if (! _string_list_contains(a, i->data))
- return FALSE;
- return TRUE;
-}
-
-void
-lasso_idwsf2_discovery_match_request_service_and_metadata2(
- LassoIdWsf2Discovery *discovery,
- LassoIdWsf2DiscoRequestedService *requested_service,
- LassoIdWsf2DiscoSvcMetadata *metadata,
- LassoIdWsf2DiscoServiceContext *service_context,
- LassoIdWsf2DiscoEndpointContext *endpoint_context,
- GList **eprs)
-{
- GList *i;
- gboolean result = TRUE;
- gboolean option_result = TRUE;
- LassoIdWsf2DiscoOptions *options = NULL;
- GList *service_options = NULL;
-
-
- result = result &&
- _string_list_intersect(requested_service->ServiceType, service_context->ServiceType);
- if (result) {
- result = result && _string_list_contains(requested_service->ProviderID, metadata->ProviderID);
- }
- /* Accumulate options */
- if (result) {
- lasso_foreach(i, service_context->Options)
- {
- options = (LassoIdWsf2DiscoOptions*)i->data;
- service_options = g_list_concat(service_options,
- g_list_copy(options->Option));
- }
- lasso_foreach(i, requested_service->Options)
- {
- option_result = FALSE;
- if (_string_list_contains_list(service_options,
- ((LassoIdWsf2DiscoOptions*)i->data)->Option))
- {
- option_result = TRUE;
- break;
- }
- }
- lasso_release_list(service_options);
- result = result && option_result;
- }
- if (result) {
- result = result &&
- _string_list_intersect(requested_service->SecurityMechID, endpoint_context->SecurityMechID);
- }
- if (result) {
- if (requested_service->Framework) {
- result = result &&
- _string_list_intersect(requested_service->Framework, endpoint_context->Framework);
- } else {
- /* FIXME: should be the value of the query SOAP header sbf:Framework */
- GList *k;
- gboolean has20 = FALSE;
- lasso_foreach (k, endpoint_context->Framework) {
- LassoIdWsf2SbfFramework *framework = k->data;
- if (LASSO_IS_IDWSF2_SBF_FRAMEWORK(framework) && lasso_strisequal(framework->version,"2.0"))
- has20 = TRUE;
- }
- result = result && has20;
- }
- }
- if (result) {
- result = result && _string_list_intersect(endpoint_context->Action, requested_service->Action);
- }
-
- if (result) {
- lasso_list_add_new_gobject(*eprs,
- lasso_idwsf2_discovery_build_epr(
- discovery,
- metadata,
- service_context,
- endpoint_context));
- }
-
-}
-
-void
-lasso_idwsf2_discovery_match_request_service_and_metadata(
- LassoIdWsf2Discovery *discovery,
- LassoIdWsf2DiscoRequestedService *requested_service,
- LassoIdWsf2DiscoSvcMetadata *metadata,
- GList **eprs)
-{
- GList *i, *j;
-
- lasso_foreach(i, metadata->ServiceContext)
- lasso_foreach(j, ((LassoIdWsf2DiscoServiceContext*)i->data)->EndpointContext)
-
- lasso_idwsf2_discovery_match_request_service_and_metadata2(
- discovery,
- requested_service,
- metadata,
- (LassoIdWsf2DiscoServiceContext*)i->data,
- (LassoIdWsf2DiscoEndpointContext*)j->data, eprs);
-
-}
-
-static gint
-lasso_idwsf2_discovery_validate_request_query(LassoIdWsf2Discovery *discovery)
-{
- LassoIdWsf2DiscoQuery *query;
- LassoIdWsf2DiscoQueryResponse *query_response;
- GList *eprs = NULL;
- int rc = 0;
-
- /* Build EPRs */
- query = (LassoIdWsf2DiscoQuery*)discovery->parent.parent.request;
- lasso_foreach_full_begin(LassoIdWsf2DiscoRequestedService*, requested_service, i,
- query->RequestedService)
- lasso_foreach_full_begin(LassoIdWsf2DiscoSvcMetadata*, metadata, j,
- discovery->private_data->metadatas)
- lasso_idwsf2_discovery_match_request_service_and_metadata(discovery, requested_service,
- metadata, &eprs);
- lasso_foreach_full_end()
- lasso_foreach_full_end()
-
- if (eprs) {
- query_response = lasso_idwsf2_disco_query_response_new();
- query_response->Status = lasso_idwsf2_util_status_new_with_code(
- LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK, NULL);
- query_response->EndpointReference = eprs;
- lasso_check_good_rc(lasso_idwsf2_profile_init_response(&discovery->parent));
- lasso_soap_envelope_add_to_body(
- lasso_idwsf2_profile_get_soap_envelope_response(&discovery->parent),
- (LassoNode*)query_response);
- discovery->parent.parent.response = &query_response->parent;
- } else {
- return lasso_idwsf2_discovery_fail_request(discovery,
- LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NO_RESULTS, NULL);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_discovery_validate_md_register:
- * @discovery: a #LassoIdWsf2Discovery
- *
- * Process received metadata register request.
- * If successful, register the service metadata into the discovery service.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_idwsf2_discovery_validate_md_register(LassoIdWsf2Discovery *discovery)
-{
- LassoIdWsf2Profile *profile = NULL;
- LassoIdWsf2DiscoSvcMDRegisterResponse *response = NULL;
- LassoSoapEnvelope *envelope = NULL;
- LassoIdWsf2DiscoSvcMDRegister *request = NULL;
- GList *SvcMD = NULL;
- GList *SvcMDs = NULL;
- int rc = 0;
-
- profile = LASSO_IDWSF2_PROFILE(discovery);
- lasso_release_list_of_gobjects(discovery->private_data->metadatas);
- request = (LassoIdWsf2DiscoSvcMDRegister*)profile->parent.request;
-
- lasso_release_list_of_gobjects(discovery->private_data->metadatas);
- /* Allocate SvcMDIDs and add the metadatas */
- for (SvcMD = request->SvcMD; SvcMD != NULL; SvcMD = g_list_next(SvcMD)) {
- if (LASSO_IS_IDWSF2_DISCO_SVC_METADATA(SvcMD->data)) {
- lasso_list_add_gobject(discovery->private_data->metadatas, SvcMD->data);
- lasso_assign_new_string(
- LASSO_IDWSF2_DISCO_SVC_METADATA(
- SvcMD->data)->svcMDID,
- lasso_build_unique_id(32));
- }
- }
-
- response = lasso_idwsf2_disco_svc_md_register_response_new();
- response->Status =
- lasso_idwsf2_util_status_new_with_code(LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK, NULL);
- for (SvcMDs = discovery->private_data->metadatas; SvcMDs != NULL; SvcMDs = g_list_next(SvcMDs)) {
- lasso_list_add_string(response->SvcMDID,
- LASSO_IDWSF2_DISCO_SVC_METADATA(SvcMDs->data)->svcMDID);
- }
-
- lasso_check_good_rc(lasso_idwsf2_profile_init_response(&discovery->parent));
- envelope = lasso_idwsf2_profile_get_soap_envelope_response(profile);
- lasso_soap_envelope_add_to_body(envelope, &response->parent);
- lasso_assign_gobject(profile->parent.response, response);
-cleanup:
- lasso_release_gobject(response);
- return rc;
-}
-
-/**
- * lasso_idwsf2_discovery_validate_request:
- * @discovery: a #LassoIdWsf2Discovery object
- *
- * Accept the discovery request, and produce the response.
- *
- * Return value: 0 on success; or a negative value otherwise.
- */
-gint
-lasso_idwsf2_discovery_validate_request(LassoIdWsf2Discovery *discovery)
-{
- LassoIdWsf2DiscoSvcMDAssociationAddResponse *md_association_add_response;
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *md_association_delete_response;
- LassoIdWsf2DiscoSvcMDAssociationQueryResponse *md_association_query_response;
- LassoIdWsf2DiscoSvcMDQueryResponse *md_query_response;
- LassoIdWsf2DiscoSvcMDQuery *md_query;
- LassoIdWsf2DiscoSvcMDDeleteResponse *md_delete_response;
- LassoIdWsf2DiscoSvcMDReplaceResponse *md_replace_response;
- LassoNode *response = NULL;
- int rc = 0;
- GList *i;
- LassoIdWsf2UtilStatus **status = NULL;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- switch (lasso_idwsf2_discovery_get_request_type(discovery)) {
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY:
- lasso_check_good_rc(lasso_idwsf2_discovery_validate_request_query(discovery));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER:
- lasso_check_good_rc(lasso_idwsf2_discovery_validate_md_register(discovery));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY:
- md_query_response = lasso_idwsf2_disco_svc_md_query_response_new();
- md_query = (LassoIdWsf2DiscoSvcMDQuery*)discovery->parent.parent.request;
- response = (LassoNode*)md_query_response;
- if (md_query->SvcMDID) {
- lasso_foreach(i, discovery->private_data->metadatas) {
- LassoIdWsf2DiscoSvcMetadata *metadata = i->data;
- if (LASSO_IS_IDWSF2_DISCO_SVC_METADATA(metadata)
- && _string_list_contains(md_query->SvcMDID, metadata->svcMDID)) {
- lasso_list_add_gobject(md_query_response->SvcMD, i->data);
- }
- }
- } else {
- lasso_assign_list_of_gobjects(md_query_response->SvcMD,
- discovery->private_data->metadatas);
- }
- status = &md_query_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE:
- md_replace_response = lasso_idwsf2_disco_svc_md_replace_response_new();
- response = (LassoNode*)md_replace_response;
- status = &md_replace_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE:
- md_delete_response = lasso_idwsf2_disco_svc_md_delete_response_new();
- response = (LassoNode*)md_delete_response;
- status = &md_delete_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD:
- md_association_add_response =
- lasso_idwsf2_disco_svc_md_association_add_response_new();
- response = (LassoNode*)md_association_add_response;
- status = &md_association_add_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE:
- md_association_delete_response =
- lasso_idwsf2_disco_svc_md_association_delete_response_new();
- response = (LassoNode*)md_association_delete_response;
- status = &md_association_delete_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY:
- md_association_query_response =
- lasso_idwsf2_disco_svc_md_association_query_response_new();
- response = (LassoNode*)md_association_query_response;
- lasso_foreach(i, discovery->private_data->svcmdids) {
- lasso_list_add_string(md_association_query_response->SvcMDID,
- i->data);
- }
- status = &md_association_query_response->Status;
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN:
- default:
- lasso_idwsf2_discovery_fail_request(discovery, NULL, NULL);
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- break;
- }
- if (response) {
- LassoSoapEnvelope *envelope =
- lasso_idwsf2_profile_get_soap_envelope_response(&discovery->parent);
- lasso_assign_new_gobject(discovery->parent.parent.response, response);
- lasso_soap_envelope_add_to_body(envelope, response);
- }
-
- if (status) {
- lasso_assign_new_gobject(*status,
- lasso_idwsf2_util_status_new_with_code(
- LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK, NULL));
- }
-
-cleanup:
- return rc;
-}
-
-static gint
-lasso_idwsf2_discovery_process_metadata_register_response_msg(LassoIdWsf2Discovery *discovery)
-{
- LassoIdWsf2Profile *profile;
- LassoIdWsf2DiscoSvcMDRegisterResponse *response;
- LassoIdWsf2DiscoSvcMDRegister *request;
- GList *i, *j;
- int rc = 0;
-
- profile = &discovery->parent;
- lasso_extract_node_or_fail(request, profile->parent.request, IDWSF2_DISCO_SVC_MD_REGISTER,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
-
- response = (LassoIdWsf2DiscoSvcMDRegisterResponse*)profile->parent.response;
-
- goto_cleanup_if_fail_with_rc(
- LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE(response),
- LASSO_PROFILE_ERROR_INVALID_RESPONSE);
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(response->Status));
- goto_cleanup_if_fail_with_rc(g_list_length(response->SvcMDID) ==
- g_list_length(request->SvcMD), LASSO_PROFILE_ERROR_INVALID_RESPONSE);
- /* Check IDs */
- i = response->SvcMDID;
- lasso_foreach(i, response->SvcMDID) {
- if (i->data == NULL || ((char*)i->data)[0] == '\0') {
- rc = LASSO_PROFILE_ERROR_INVALID_RESPONSE;
- goto cleanup;
- }
- }
-
- /* Assign IDs to metadatas */
- i = response->SvcMDID;
- j = request->SvcMD;
- while (i && j) {
- lasso_assign_string(((LassoIdWsf2DiscoSvcMetadata*)j->data)->svcMDID,
- i->data);
- i = i->next;
- j = j->next;
- }
- if (discovery->private_data && discovery->private_data->metadatas != request->SvcMD) {
- lasso_assign_list_of_gobjects(discovery->private_data->metadatas, request->SvcMD);
- }
-cleanup:
- return rc;
-}
-
-
-/**
- * lasso_idwsf2_discovery_add_requested_service:
- * @discovery: a #LassoIdWsf2Discovery
- * @service_types:(element-type utf8)(allow-none): the service type (or data profile) requested
- * @provider_ids:(element-type utf8)(allow-none): the providers ids to select
- * @options:(element-type utf8)(allow-none): the options to select
- * @security_mechanisms:(element-type utf8)(allow-none): the security mechanisms to select
- * @frameworks:(element-type utf8)(allow-none): the ID-WSF framework version to select
- * @actions:(element-type utf8)(allow-none): the actions to select
- * @result_type:(allow-none)(default LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_NONE): how to filter
- * the generated EPRs
- * @req_id:(allow-none): an eventual ID to put on the request, that can be matched with the
- * generated EndpointReferences
- *
- * Add a new request to find some specific services associated to the current principal at the
- * discovery service.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_idwsf2_discovery_add_requested_service(LassoIdWsf2Discovery *discovery,
- GList *service_types, GList *provider_ids, GList *options, GList *security_mechanisms,
- GList *frameworks, GList *actions, LassoIdWsf2DiscoveryQueryResultType result_type,
- const char *req_id)
-{
- LassoIdWsf2DiscoRequestedService *service;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- const char *result_type_s = NULL;
-
-
- service = lasso_idwsf2_disco_requested_service_new();
- lasso_assign_list_of_strings(service->ServiceType, service_types);
- lasso_assign_list_of_strings(service->ProviderID, provider_ids);
- lasso_assign_list_of_strings(service->Framework, frameworks);
- lasso_assign_list_of_strings(service->Action, actions);
- lasso_assign_list_of_strings(service->SecurityMechID, security_mechanisms);
- lasso_assign_list_of_gobjects(service->Options, options);
- switch (result_type) {
- case LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_BEST:
- result_type_s = LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_BEST;
- break;
- case LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ALL:
- result_type_s = LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_ALL;
- break;
- case LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ONLY_ONE:
- result_type_s = LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_ONLY_ONE;
- break;
- default:
- break;
- }
- lasso_assign_string(service->resultsType, result_type_s);
- lasso_assign_string(service->reqID, req_id);
-
- lasso_list_add_new_gobject(discovery->private_data->requested_services, service);
- return 0;
-}
-
-/**
- * lasso_idwsf2_discovery_process_response_msg:
- * @discovery: a #LassoIdWsf2Discovery object
- * @msg: a string containing the response messages
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_discovery_process_response_msg(LassoIdWsf2Discovery *discovery,
- const char *msg)
-{
- LassoIdWsf2DiscoSvcMDAssociationAddResponse *md_association_add_response;
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *md_association_delete_response;
- LassoIdWsf2DiscoSvcMDAssociationQueryResponse *md_association_query_response;
- LassoIdWsf2DiscoSvcMDQueryResponse *md_query_response;
- LassoIdWsf2DiscoSvcMDDeleteResponse *md_delete_response;
- LassoIdWsf2DiscoSvcMDReplaceResponse *md_replace_response;
- LassoIdWsf2DiscoQueryResponse *query_response;
- LassoProfile *profile;
- LassoNode *response;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_DISCOVERY, discovery);
- profile = &discovery->parent.parent;
-
- lasso_check_good_rc(lasso_idwsf2_profile_process_response_msg(&discovery->parent, msg));
- response = profile->response;
-
- switch (lasso_idwsf2_discovery_get_request_type(discovery)) {
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY:
- if (! LASSO_IS_IDWSF2_DISCO_QUERY_RESPONSE(response))
- goto bad_response;
- query_response = (LassoIdWsf2DiscoQueryResponse*)response;
- rc = lasso_idwsf2_discovery_status2rc(query_response->Status);
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER:
- rc = lasso_idwsf2_discovery_process_metadata_register_response_msg(
- discovery);
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE(response))
- goto bad_response;
- md_query_response = (LassoIdWsf2DiscoSvcMDQueryResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_query_response->Status));
- lasso_assign_list_of_gobjects(discovery->private_data->metadatas,
- md_query_response->SvcMD);
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE(response))
- goto bad_response;
- md_replace_response = (LassoIdWsf2DiscoSvcMDReplaceResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_replace_response->Status));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE(response))
- goto bad_response;
- md_delete_response = (LassoIdWsf2DiscoSvcMDDeleteResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_delete_response->Status));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE(response))
- goto bad_response;
- md_association_add_response =
- (LassoIdWsf2DiscoSvcMDAssociationAddResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_association_add_response->Status));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE(response))
- goto bad_response;
- md_association_delete_response =
- (LassoIdWsf2DiscoSvcMDAssociationDeleteResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_association_delete_response->Status));
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY:
- if (! LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE(response))
- goto bad_response;
- md_association_query_response =
- (LassoIdWsf2DiscoSvcMDAssociationQueryResponse*)response;
- lasso_check_good_rc(lasso_idwsf2_discovery_status2rc(
- md_association_query_response->Status));
- lasso_assign_list_of_strings(discovery->private_data->svcmdids,
- md_association_query_response->SvcMDID);
- break;
- case LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN:
- default:
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- break;
- }
-cleanup:
- return rc;
-bad_response:
- return LASSO_PROFILE_ERROR_INVALID_RESPONSE;
-}
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-dispose(GObject *object)
-{
- LassoIdWsf2Discovery *discovery = LASSO_IDWSF2_DISCOVERY(object);
- if (discovery->private_data->dispose_has_run == TRUE)
- return;
- discovery->private_data->dispose_has_run = TRUE;
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- LassoIdWsf2Discovery *discovery = LASSO_IDWSF2_DISCOVERY(object);
- lasso_release(discovery->private_data);
- discovery->private_data = NULL;
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-static void
-instance_init(LassoIdWsf2Discovery *discovery)
-{
- discovery->private_data = g_new0(LassoIdWsf2DiscoveryPrivate, 1);
- discovery->private_data->dispose_has_run = FALSE;
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- LassoIdWsf2Discovery *discovery = (LassoIdWsf2Discovery*)node;
-
- if (! LASSO_IS_IDWSF2_PROFILE(node))
- return NULL;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
-
- if (xmlnode && discovery->private_data) {
- LassoIdWsf2DiscoveryPrivate *pdata = discovery->private_data;
- if (pdata->metadatas) {
- xmlNode *metadatas;
- GList *i;
- metadatas = xmlNewChild(xmlnode, NULL, BAD_CAST LASSO_IDWSF2_DISCOVERY_ELEMENT_METADATAS, NULL);
- lasso_foreach(i, pdata->metadatas) {
- xmlAddChild(metadatas, lasso_node_get_xmlNode(i->data, lasso_dump));
- }
- }
- if (pdata->requested_services) {
- xmlNode *requested_services;
- GList *i;
- requested_services = xmlNewChild(xmlnode, NULL, BAD_CAST
- LASSO_IDWSF2_DISCOVERY_ELEMENT_REQUESTED_SERVICES, NULL);
- lasso_foreach(i, pdata->requested_services) {
- xmlAddChild(requested_services, lasso_node_get_xmlNode(i->data, lasso_dump));
- }
- }
- }
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2Discovery *discovery = (LassoIdWsf2Discovery*)node;
- xmlNode *metadatas_node, *requested_services_node;
- LassoIdWsf2DiscoveryPrivate *pdata;
-
- if (! LASSO_IS_IDWSF2_DISCOVERY(discovery))
- return LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ;
-
- parent_class->init_from_xml(node, xmlnode);
-
- if (xmlnode == NULL)
- return LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED;
-
- metadatas_node = xmlSecFindChild(xmlnode,
- BAD_CAST LASSO_IDWSF2_DISCOVERY_ELEMENT_METADATAS,
- BAD_CAST LASSO_LASSO_HREF);
- requested_services_node = xmlSecFindChild(xmlnode,
- BAD_CAST LASSO_IDWSF2_DISCOVERY_ELEMENT_REQUESTED_SERVICES,
- BAD_CAST LASSO_LASSO_HREF);
-
- if (! discovery->private_data) {
- discovery->private_data = g_new0(LassoIdWsf2DiscoveryPrivate, 1);
- }
- pdata = discovery->private_data;
-
- if (metadatas_node) {
- xmlNode *it;
- for (it = xmlSecGetNextElementNode(metadatas_node->children);
- it != NULL;
- it = xmlSecGetNextElementNode(it->next)) {
- LassoIdWsf2DiscoSvcMetadata *metadata;
- metadata = (LassoIdWsf2DiscoSvcMetadata*)lasso_node_new_from_xmlNode(it);
- if (! LASSO_IS_IDWSF2_DISCO_SVC_METADATA(metadata)) {
- lasso_release_gobject(metadata);
- goto error;
- }
- lasso_list_add_new_gobject(pdata->metadatas, metadata);
- }
- }
- if (requested_services_node) {
- xmlNode *it;
- for (it = xmlSecGetNextElementNode(requested_services_node->children);
- it != NULL;
- it = xmlSecGetNextElementNode(it->next)) {
- LassoIdWsf2DiscoRequestedService *metadata;
- metadata = (LassoIdWsf2DiscoRequestedService*)lasso_node_new_from_xmlNode(it);
- if (! LASSO_IS_IDWSF2_DISCO_REQUESTED_SERVICE(metadata)) {
- lasso_release_gobject(metadata);
- goto error;
- }
- lasso_list_add_new_gobject(pdata->requested_services, metadata);
- }
- }
-
- return 0;
-error:
- return LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED;
-}
-
-static void
-class_init(LassoIdWsf2DiscoveryClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
- lasso_node_class_set_nodename(LASSO_NODE_CLASS(klass), "IdWsf2Discovery");
- lasso_node_class_set_ns(LASSO_NODE_CLASS(klass), LASSO_LASSO_HREF, LASSO_LASSO_PREFIX);
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
- klass->parent.parent.parent.get_xmlNode = get_xmlNode;
- klass->parent.parent.parent.init_from_xml = init_from_xml;
-
-}
-
-GType
-lasso_idwsf2_discovery_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoIdWsf2DiscoveryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Discovery),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PROFILE,
- "LassoIdWsf2Discovery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_discovery_new:
- * @server:(allow-none):a #LassoServer object, for resolving ProviderID names
- *
- * Create a new #LassoIdWsf2Discovery.
- *
- * Return value: a newly created #LassoIdWsf2Discovery object; or NULL if an error occured.
- **/
-LassoIdWsf2Discovery*
-lasso_idwsf2_discovery_new(LassoServer *server)
-{
- LassoIdWsf2Discovery *discovery = NULL;
-
- discovery = g_object_new(LASSO_TYPE_IDWSF2_DISCOVERY, NULL);
- discovery->parent.parent.server = lasso_ref(server);
-
- return discovery;
-}
diff --git a/lasso/id-wsf-2.0/discovery.h b/lasso/id-wsf-2.0/discovery.h
deleted file mode 100644
index e4bf85e2..00000000
--- a/lasso/id-wsf-2.0/discovery.h
+++ /dev/null
@@ -1,153 +0,0 @@
-/* $Id: discovery.h,v 1.30 2006/02/21 09:51:49 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCOVERY_H__
-#define __LASSO_IDWSF2_DISCOVERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "profile.h"
-#include "data_service.h"
-
-#include "../xml/id-wsf-2.0/disco_query.h"
-#include "../xml/id-wsf-2.0/disco_query_response.h"
-#include "../xml/id-wsf-2.0/disco_svc_metadata.h"
-
-#define LASSO_TYPE_IDWSF2_DISCOVERY (lasso_idwsf2_discovery_get_type())
-#define LASSO_IDWSF2_DISCOVERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IDWSF2_DISCOVERY, LassoIdWsf2Discovery))
-#define LASSO_IDWSF2_DISCOVERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IDWSF2_DISCOVERY, LassoIdWsf2DiscoveryClass))
-#define LASSO_IS_IDWSF2_DISCOVERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IDWSF2_DISCOVERY))
-#define LASSO_IS_IDWSF2_DISCOVERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_IDWSF2_DISCOVERY))
-#define LASSO_IDWSF2_DISCOVERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IDWSF2_DISCOVERY, LassoIdWsf2DiscoveryClass))
-
-typedef struct _LassoIdWsf2Discovery LassoIdWsf2Discovery;
-typedef struct _LassoIdWsf2DiscoveryClass LassoIdWsf2DiscoveryClass;
-typedef struct _LassoIdWsf2DiscoveryPrivate LassoIdWsf2DiscoveryPrivate;
-
-struct _LassoIdWsf2Discovery {
- LassoIdWsf2Profile parent;
-
- /*< private >*/
- LassoIdWsf2DiscoveryPrivate *private_data;
-};
-
-struct _LassoIdWsf2DiscoveryClass {
- LassoIdWsf2ProfileClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_discovery_get_type(void);
-
-LASSO_EXPORT LassoIdWsf2Discovery* lasso_idwsf2_discovery_new(LassoServer *server);
-
-/**
- * LassoIdWsf2DiscoveryRequestType:
- * @LASSO_IDWSF2_DISCOVERY_METADATA_REGISTER_REQUEST:
- * @LASSO_IDWSF2_DISCOVERY_METADATA_ASSOCIATION_REQUEST:
- * @LASSO_IDWSF2_DISCOVERY_METADATA_DISSOCIATION_REQUEST:
- * @LASSO_IDWSF2_DISCOVERY_QUERY:
- */
-typedef enum {
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_UNKNOWN,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_QUERY,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_QUERY,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REGISTER,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_REPLACE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_DELETE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_ADD,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_DELETE,
- LASSO_IDWSF2_DISCOVERY_REQUEST_TYPE_MD_ASSOCIATION_QUERY,
-} LassoIdWsf2DiscoveryRequestType;
-
-/**
- * LassoIdWsf2DiscoveryQueryResultType:
- * @LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_BEST:
- * @LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ALL:
- * @LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ONLY_ONE:
- */
-typedef enum {
- LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_NONE,
- LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_BEST,
- LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ALL,
- LASSO_IDWSF2_DISCOVERY_QUERY_RESULT_TYPE_ONLY_ONE
-} LassoIdWsf2DiscoveryQueryResultType;
-
-/* Request initialization */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_query(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_query(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_register(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_replace(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_delete(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_association_add(
- LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_association_delete(
- LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_init_metadata_association_query(
- LassoIdWsf2Discovery *discovery);
-
-/* Add metadatas to operate on, to make request, but also to make responses. */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_add_service_metadata(
- LassoIdWsf2Discovery *idwsf2_discovery, LassoIdWsf2DiscoSvcMetadata *service_metadata);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_add_simple_service_metadata(
- LassoIdWsf2Discovery *idwsf2_discovery, const char *abstract,
- const char *provider_id, GList *service_types, GList *options, const char *address,
- GList *security_mechanisms);
-LASSO_EXPORT GList* lasso_idwsf2_discovery_get_metadatas(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_add_requested_service(LassoIdWsf2Discovery *discovery,
- GList *service_types, GList *provider_ids, GList *options, GList *security_mechanisms,
- GList *frameworks, GList *actions, LassoIdWsf2DiscoveryQueryResultType result_type,
- const char *req_id);
-
-/* Build the request message */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_build_request_msg(LassoIdWsf2Discovery *discovery,
- const char *security_mechanism);
-
-/* Handle a request */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_process_request_msg(LassoIdWsf2Discovery *discovery,
- const char *message);
-LASSO_EXPORT LassoIdWsf2DiscoveryRequestType lasso_idwsf2_discovery_get_request_type(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_validate_request(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_fail_request(LassoIdWsf2Discovery *discovery,
- const char *status_code, const char *status_code2);
-
-/* Process the response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_discovery_process_response_msg(LassoIdWsf2Discovery *discovery,
- const char *msg);
-LASSO_EXPORT GList* lasso_idwsf2_discovery_get_endpoint_references(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT GList* lasso_idwsf2_discovery_get_svcmdids(LassoIdWsf2Discovery *discovery);
-LASSO_EXPORT void lasso_idwsf2_discovery_set_svcmdids(LassoIdWsf2Discovery *discovery, GList *svcmdids);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCOVERY_H__ */
-
diff --git a/lasso/id-wsf-2.0/id_wsf_2.h b/lasso/id-wsf-2.0/id_wsf_2.h
deleted file mode 100644
index 5bca4d9c..00000000
--- a/lasso/id-wsf-2.0/id_wsf_2.h
+++ /dev/null
@@ -1,34 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_ID_WSF_2_H__
-#define __LASSO_IDWSF2_ID_WSF_2_H__
-
-#include "session.h"
-#include "identity.h"
-#include "discovery.h"
-#include "data_service.h"
-#include "server.h"
-
-
-#endif /* __LASSO_IDWSF2_ID_WSF_2_H__ */
diff --git a/lasso/id-wsf-2.0/identity.c b/lasso/id-wsf-2.0/identity.c
deleted file mode 100644
index a38a070f..00000000
--- a/lasso/id-wsf-2.0/identity.c
+++ /dev/null
@@ -1,54 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "identity.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../utils.h"
-#include "../id-ff/identity.h"
-#include "../id-ff/identityprivate.h"
-
-gint
-lasso_identity_add_svc_md_id(LassoIdentity *identity, gchar *svcMDID)
-{
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(svcMDID != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- lasso_list_add_string(identity->private_data->svcMDID, svcMDID);
- identity->is_dirty = TRUE;
-
- return 0;
-}
-
-/**
- * lasso_identity_get_svc_md_ids:
- * @identity: a #LassoIdentity object
- *
- * Return value:(element-type string): a list of all collected svcMDIDs
- */
-GList*
-lasso_identity_get_svc_md_ids(LassoIdentity *identity)
-{
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), NULL);
-
- return identity->private_data->svcMDID;
-}
diff --git a/lasso/id-wsf-2.0/identity.h b/lasso/id-wsf-2.0/identity.h
deleted file mode 100644
index 418bb915..00000000
--- a/lasso/id-wsf-2.0/identity.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* $Id: identity.h 2633 2005-09-05 10:00:07Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IDENTITY_H__
-#define __LASSO_IDWSF2_IDENTITY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/identity.h"
-#include "../export.h"
-#include
-
-LASSO_EXPORT lasso_error_t lasso_identity_add_svc_md_id(LassoIdentity *identity, gchar *svcMDID);
-
-LASSO_EXPORT GList* lasso_identity_get_svc_md_ids(LassoIdentity *identity);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IDENTITY_H__ */
-
diff --git a/lasso/id-wsf-2.0/idwsf2_helper.c b/lasso/id-wsf-2.0/idwsf2_helper.c
deleted file mode 100644
index f0bd7d3c..00000000
--- a/lasso/id-wsf-2.0/idwsf2_helper.c
+++ /dev/null
@@ -1,381 +0,0 @@
-/* $Id: idwsf2_data_service.c 3101 2007-05-30 11:40:10Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "idwsf2_helper.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../xml/id-wsf-2.0/disco_abstract.h"
-#include "../xml/id-wsf-2.0/disco_service_type.h"
-#include "../xml/id-wsf-2.0/disco_provider_id.h"
-#include "../xml/id-wsf-2.0/sec_token.h"
-#include "../xml/id-wsf-2.0/sbf_framework.h"
-#include "../xml/misc_text_node.h"
-#include "../utils.h"
-
-/**
- * SECTION: idwsf2-helper
- *
- * Methods to help manipulate EPR elements
- */
-
-/**
- * lasso_wsa_endpoint_reference_get_idwsf2_service_type:
- *
- * Return the disco:ServiceType metadata element content
- *
- * Return value: (transfer none): the content of the first disco:ServiceType metadata, or NULL if
- * none is found.
- */
-const char*
-lasso_wsa_endpoint_reference_get_idwsf2_service_type(const LassoWsAddrEndpointReference *epr)
-{
- LassoIdWsf2DiscoServiceType *disco2_service_type;
-
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE (epr) || epr->Metadata == NULL)
- return NULL;
- disco2_service_type = lasso_extract_gobject_from_list (LassoIdWsf2DiscoServiceType,
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, epr->Metadata->any);
- if (disco2_service_type) {
- return disco2_service_type->content;
- }
- return NULL;
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_idwsf2_provider_id
- * @epr: a #LassoWsAddrEndpointReference object
- *
- * Return the provider ID from the the metadata element of the EPR.
- *
- * Return value: an entityID identifier or NULL if none is found, or the element is empty.
- */
-const char*
-lasso_wsa_endpoint_reference_get_idwsf2_provider_id(const LassoWsAddrEndpointReference *epr)
-{
- LassoIdWsf2DiscoProviderID *disco2_provider_id;
-
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE (epr) || epr->Metadata == NULL)
- return NULL;
-
- /* Get the service type from the EPR */
- disco2_provider_id = lasso_extract_gobject_from_list (LassoIdWsf2DiscoProviderID,
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, epr->Metadata->any);
-
- if (disco2_provider_id) {
- return disco2_provider_id->content;
- }
-
- return NULL;
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism:
- * @epr: a #LassoWsAddrEndpointReference object
- * @security_mech_predicate: (allow-none): a predicate to test for security mechanism
- * @security_mech_id: (allow-none): a security mechanism identifier
- * @create: allow to create the element if none if found, @security_mech_id is mandatory when create
- * is TRUE.
- *
- * Return value: (transfer none): a #LassoIdWsf2DiscoSecurityContext, or NULL if none was found and
- * created is FALSE.
- */
-LassoIdWsf2DiscoSecurityContext*
-lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism(
- const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *),
- const char *security_mech_id,
- gboolean create)
-{
- LassoIdWsf2DiscoSecurityContext *created = NULL;
- LassoMiscTextNode *new_security_mech_id_declaration;
-
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE (epr) || epr->Metadata == NULL)
- return NULL;
-
- lasso_foreach_full_begin(LassoIdWsf2DiscoSecurityContext*, context, it1, epr->Metadata->any);
- if (LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT (context)) {
- lasso_foreach_full_begin(char*, textnode, it2, context->SecurityMechID);
- if (lasso_strisequal(textnode,security_mech_id) || sech_mech_predicate(textnode)) {
- return context;
- }
- lasso_foreach_full_end()
- }
- lasso_foreach_full_end();
-
- if (create && security_mech_id) {
- created = lasso_idwsf2_disco_security_context_new();
- new_security_mech_id_declaration =
- lasso_misc_text_node_new_with_string(security_mech_id);
- new_security_mech_id_declaration->name = "SecurityMechID";
- new_security_mech_id_declaration->ns_href = LASSO_IDWSF2_DISCOVERY_HREF;
- new_security_mech_id_declaration->ns_prefix = LASSO_IDWSF2_DISCOVERY_PREFIX;
- lasso_list_add_new_gobject (created->SecurityMechID,
- new_security_mech_id_declaration);
- lasso_list_add_new_gobject (epr->Metadata->any, created);
- }
- if (create && ! security_mech_id) {
- message(G_LOG_LEVEL_WARNING, "cannot create a LassoIdWsf2DiscoSecurityContext withou a security_mech_id");
- }
-
- return created;
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_token_by_usage:
- * @epr: a #LassoWsAddrEndpointReference object
- * @security_mech_predicate: (allow-none): a predicate to test for security mechanism
- * @security_mech_id: (allow-none): a security mechanism identifier
- * @usage: the usage to make of the token
- *
- * Try to find a token for the given usage and security mechanism, the security can be chosen by
- * name or by a predicate.
- *
- * Return value: a #LassoNode object or a subclass, representing the token.
- */
-static LassoNode*
-lasso_wsa_endpoint_reference_get_token_by_usage(
- const LassoWsAddrEndpointReference *epr,
- gboolean (*sec_mech_predicate)(const char *),
- const char *security_mech_id, const char* usage)
-{
- LassoIdWsf2DiscoSecurityContext *security_context;
-
- security_context =
- lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism(
- epr, sec_mech_predicate, security_mech_id, TRUE);
- lasso_foreach_full_begin (LassoIdWsf2SecToken*, token, iter, security_context->Token);
- if (LASSO_IS_IDWSF2_SEC_TOKEN (token)) {
- if (usage && lasso_strisequal(token->usage,usage)) {
- if (LASSO_IS_NODE(token->any)) {
- return (LassoNode*)token->any;
- } else if (token->ref) {
- message(G_LOG_LEVEL_WARNING, "sec:Token ref attribute is not supported");
- return NULL;
- }
- }
-
- }
- lasso_foreach_full_end();
-
- return NULL;
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_security_token:
- * @epr: a #LassoWsAddrEndpointReference object
- * @sech_mech_predicate:(allow-none): a boolean function to select the security mechanism for which
- * we want the security token
- * @security_mech_id:(allow-none): an optional specific security mechanism identifier to select the
- * security token.
- *
- * Return the first security token found in the metadata of the @epr object which qualify with
- * respect to the predicate or the given security mechanism identifier. It is an error to pass both
- * of @sech_mech_predicate and @security_mech_id as NULL.
- *
- * Return value:(transfer none): a #LassoNode object or NULL if the query cannot be satisfied.
- */
-LassoNode*
-lasso_wsa_endpoint_reference_get_security_token (const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *), const char *security_mech_id)
-{
- return lasso_wsa_endpoint_reference_get_token_by_usage (epr, sech_mech_predicate,
- security_mech_id, LASSO_IDWSF2_SEC_TOKEN_USAGE_SECURITY_TOKEN);
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_target_identity_token:
- * @epr: a #LassoWsAddrEndpointReference object
- * @sech_mech_predicate:(allow-none): a boolean function to select the security mechanism for which
- * we want the security token
- * @security_mech_id:(allow-none): an optional specific security mechanism identifier to select the
- * security token.
- *
- * Return the first target identity token found in the metadata of the @epr object which qualify
- * with respect to the predicate or the given security mechanism identifier. It is an error to pass
- * both of @sech_mech_predicate and @security_mech_id as NULL.
- *
- * Return value:(transfer none): a #LassoNode object or NULL if the query cannot be satisfied.
- */
-LassoNode*
-lasso_wsa_endpoint_reference_get_target_identity_token(const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *), const char *security_mech_id)
-{
- return lasso_wsa_endpoint_reference_get_token_by_usage (epr, sech_mech_predicate,
- security_mech_id, LASSO_IDWSF2_SEC_TOKEN_USAGE_TARGET_IDENTITY);
-}
-
-/**
- * lasso_wsa_endpoint_reference_new_for_idwsf2_service:
- * @address: the URL of the SOAP endpoint where the service is anchored
- * @service_type: an URI identifying the ID-WSF 2.0 service type
- * @provider_id: an URI identifying the SAML 2.0 service provider hosting the service, this should
- * help in finding key material for security mechanisms.
- * @abstract: a human description of the service.
- *
- * Create and populate a new #LassoWsAddrEndpointReference object.
- *
- * Return value: a newly created #LassoWsAddrEndpointReference.
- */
-LassoWsAddrEndpointReference*
-lasso_wsa_endpoint_reference_new_for_idwsf2_service(const char *address,
- const char *service_type, const char *provider_id, const char *abstract)
-{
- LassoWsAddrEndpointReference *epr = NULL;
- LassoWsAddrMetadata *metadata = NULL;
-
- /* Check parameters */
- if (address == NULL || service_type == NULL || provider_id == NULL || abstract == NULL)
- return NULL;
-
- /* Build EndpointReference */
- epr = lasso_wsa_endpoint_reference_new();
-
- /* Address */
- epr->Address = lasso_wsa_attributed_uri_new_with_string(address);
-
- /* Metadatas */
- metadata = lasso_wsa_metadata_new();
- epr->Metadata = metadata;
-
- /* Abstract */
- lasso_list_add_new_gobject(metadata->any,
- lasso_idwsf2_disco_abstract_new_with_string(abstract));
-
- /* ProviderID */
- lasso_list_add_new_gobject(metadata->any,
- lasso_idwsf2_disco_provider_id_new_with_string(provider_id));
-
- /* ServiceType */
- lasso_list_add_new_gobject(metadata->any,
- lasso_idwsf2_disco_service_type_new_with_string(service_type));
-
- /* Framework */
- lasso_list_add_new_gobject(metadata->any,
- lasso_idwsf2_sbf_framework_new_full("2.0"));
-
- return epr;
-}
-
-/**
- * lasso_wsa_endpoint_reference_add_security_token:
- * @epr: a #LassoWsAddrEndpointReference object
- * @security_token: a security token as a #LassoNode object
- * @security_mechanisms:(element-type utf8): a list of security mechanism
- * for whom the token is made
- *
- * Add a new security context declaration for the given security mechanisms identifiers and populate
- * it with a security token.
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-int
-lasso_wsa_endpoint_reference_add_security_token(LassoWsAddrEndpointReference *epr,
- LassoNode *security_token, GList *security_mechanisms)
-{
- LassoIdWsf2SecToken *sec_token = NULL;
- LassoWsAddrMetadata *metadata = NULL;
- LassoIdWsf2DiscoSecurityContext *security_context = NULL;
- int rc = 0;
-
- lasso_bad_param(WSA_ENDPOINT_REFERENCE, epr);
- lasso_bad_param(NODE, security_token);
-
- lasso_extract_node_or_fail(metadata, epr->Metadata, WSA_METADATA, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- sec_token = lasso_idwsf2_sec_token_new();
- lasso_assign_gobject(sec_token->any, security_token);
- lasso_assign_string(sec_token->usage, LASSO_IDWSF2_SEC_TOKEN_USAGE_SECURITY_TOKEN);
-
- security_context = lasso_idwsf2_disco_security_context_new();
- lasso_assign_list_of_strings(security_context->SecurityMechID,
- security_mechanisms);
- lasso_list_add_new_gobject(security_context->Token, sec_token);
- lasso_list_add_new_gobject(metadata->any, security_context);
-cleanup:
- return rc;
-}
-
-static GHashTable *_mapping = NULL;
-
-static GHashTable *_get_mapping() {
- if (_mapping == NULL) {
- _mapping = g_hash_table_new_full(g_str_hash, g_str_equal, (GDestroyNotify) g_free, NULL);
- }
- return _mapping;
-}
-
-
-/**
- * lasso_wsa_endpoint_reference_associate_service_to_type:
- * @service_type_uri: a service type to associate
- * @g_type: the type of the profile object handling this service type
- *
- * Associate a profile type to a service type.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-int
-lasso_wsa_endpoint_reference_associate_service_to_type(
- const char *service_type_uri, GType g_type)
-{
- int rc = 0;
-
- lasso_check_non_empty_string(service_type_uri);
- if (! g_type_is_a(g_type, LASSO_TYPE_IDWSF2_PROFILE)) {
- return LASSO_PARAM_ERROR_INVALID_VALUE;
- }
- g_hash_table_insert(_get_mapping(),
- g_strdup(service_type_uri), (gpointer)g_type);
-cleanup:
- return rc;
-}
-
-/**
- * lasso_wsa_endpoint_reference_get_service:
- * @epr: a #LassoWsAddrEndpointReference object
- *
- * Get a profile object able to communicate with the service represented by this EPR.
- *
- * Return object: a newly created #LassoIdWsf2Profile instance.
- */
-LassoIdWsf2Profile *
-lasso_wsa_endpoint_reference_get_service(
- LassoWsAddrEndpointReference *epr)
-{
- GType type;
- const char *service_type_uri;
-
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE(epr))
- return NULL;
-
- service_type_uri = lasso_wsa_endpoint_reference_get_idwsf2_service_type(epr);
- type = (GType)g_hash_table_lookup(_get_mapping(), service_type_uri);
- if (type) {
- LassoIdWsf2Profile *profile;
-
- profile = (LassoIdWsf2Profile*)g_object_new(type, NULL);
- lasso_idwsf2_profile_set_epr(profile, epr);
-
- return profile;
- }
- return NULL;
-}
diff --git a/lasso/id-wsf-2.0/idwsf2_helper.h b/lasso/id-wsf-2.0/idwsf2_helper.h
deleted file mode 100644
index 8d7eb75b..00000000
--- a/lasso/id-wsf-2.0/idwsf2_helper.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/* $Id: wsf_profile.h,v 1.13 2006/11/14 17:07:30 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_HELPER_H__
-#define __LASSO_IDWSF2_HELPER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml/ws/wsa_endpoint_reference.h"
-#include "../xml/id-wsf-2.0/disco_security_context.h"
-#include "profile.h"
-
-
-const char* lasso_wsa_endpoint_reference_get_idwsf2_service_type(
- const LassoWsAddrEndpointReference *epr);
-
-const char* lasso_wsa_endpoint_reference_get_idwsf2_provider_id(
- const LassoWsAddrEndpointReference *epr);
-
-LassoIdWsf2DiscoSecurityContext*
- lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism(
- const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *),
- const char *security_mech_id,
- gboolean create);
-
-LassoNode* lasso_wsa_endpoint_reference_get_security_token (const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *), const char *security_mech_id);
-
-LASSO_EXPORT LassoNode* lasso_wsa_endpoint_reference_get_target_identity_token(
- const LassoWsAddrEndpointReference *epr,
- gboolean (*sech_mech_predicate)(const char *), const char *security_mech_id);
-
-LASSO_EXPORT LassoWsAddrEndpointReference* lasso_wsa_endpoint_reference_new_for_idwsf2_service(
- const char *address, const char *service_ype, const char *provider_id,
- const char *abstract);
-
-LASSO_EXPORT lasso_error_t lasso_wsa_endpoint_reference_add_security_token(LassoWsAddrEndpointReference *epr,
- LassoNode *security_token, GList *security_mechanisms);
-
-LASSO_EXPORT LassoIdWsf2Profile *lasso_wsa_endpoint_reference_get_service(
- LassoWsAddrEndpointReference *epr);
-
-LASSO_EXPORT lasso_error_t lasso_wsa_endpoint_reference_associate_service_to_type(
- const char *service_type_uri, GType g_type);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_HELPER_H__ */
-
diff --git a/lasso/id-wsf-2.0/private.h b/lasso/id-wsf-2.0/private.h
deleted file mode 100644
index a0bb8104..00000000
--- a/lasso/id-wsf-2.0/private.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_ID_WSF_20_PRIVATE_H__
-#define __LASSO_ID_WSF_20_PRIVATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-extern gboolean lasso_flag_follow_id_wsf_stupid_semantic;
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_ID_WSF_20_PRIVATE_H__ */
diff --git a/lasso/id-wsf-2.0/profile.c b/lasso/id-wsf-2.0/profile.c
deleted file mode 100644
index 1e018c2e..00000000
--- a/lasso/id-wsf-2.0/profile.c
+++ /dev/null
@@ -1,1004 +0,0 @@
-/* $Id: wsf_profile.c,v 1.45 2007/01/05 16:11:02 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include
-#include "../xml/private.h"
-#include
-#include
-
-#include
-#include
-#include
-#include
-
-#include "../id-ff/server.h"
-#include "../id-ff/serverprivate.h"
-#include "../id-ff/providerprivate.h"
-
-#include "../saml-2.0/profileprivate.h"
-
-#include "profile.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../xml/idwsf_strings.h"
-#include "session.h"
-
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/soap_binding_correlation.h"
-#include "../xml/soap_binding_provider.h"
-#include "../xml/soap_binding_processing_context.h"
-#include "../xml/xml_enc.h"
-#include "../xml/id-wsf-2.0/sb2_sender.h"
-#include "../xml/id-wsf-2.0/sb2_redirect_request.h"
-#include "../xml/id-wsf-2.0/util_status.h"
-
-#include "../xml/ws/wsse_security_header.h"
-
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/misc_text_node.h"
-#include "../utils.h"
-#include "idwsf2_helper.h"
-#include "soap_binding.h"
-#include "../id-wsf/wsf_utils.h"
-#include "../saml-2.0/saml2_helper.h"
-
-#define LASSO_IDWSF2_PROFILE_ELEMENT_EPR "Epr"
-#define LASSO_IDWSF2_PROFILE_ELEMENT_REQUEST "SoapEnvelopeRequest"
-#define LASSO_IDWSF2_PROFILE_ELEMENT_RESPONSE "SoapEnvelopeResponse"
-
-/**
- * LassoIdWsf2ProfilePrivate:
- * @epr: the #LassoWsAddrEndpointReference object representing the targetd service
- * @soap_envelope_request: the #LassoSoapEnvelope object for the request message
- * @soap_envelope_response: the #LassoSoapEnvelope object for the response
- */
-struct _LassoIdWsf2ProfilePrivate {
- LassoWsAddrEndpointReference *epr;
- LassoSoapEnvelope *soap_envelope_request;
- LassoSoapEnvelope *soap_envelope_response;
-};
-
-#define private_accessors(type, name) \
-static type \
-_get_##name(LassoIdWsf2Profile *idwsf2_profile)\
-{ \
- if (idwsf2_profile && idwsf2_profile->private_data) \
- { \
- return idwsf2_profile->private_data->name; \
- } \
- return 0; \
-} \
-static void \
-_set_##name(LassoIdWsf2Profile *idwsf2_profile, \
- type what) \
-{ \
- if (idwsf2_profile && idwsf2_profile->private_data) \
- { \
- lasso_assign_gobject(idwsf2_profile->private_data->name, what); \
- } \
-}
-
-private_accessors(LassoWsAddrEndpointReference*,epr)
-private_accessors(LassoSoapEnvelope*,soap_envelope_request)
-private_accessors(LassoSoapEnvelope*,soap_envelope_response)
-
-
-static void
-_add_fault_for_rc(LassoIdWsf2Profile *profile, int rc)
-{
- LassoSoapFault *fault;
- char *code;
-
- if (rc) {
- code = g_strdup_printf("LASSO_ERROR_%i", rc);
- fault = lasso_soap_fault_new_full(code, lasso_strerror(rc));
- lasso_release(code);
- lasso_release_list_of_gobjects(_get_soap_envelope_response(profile)->Header->Other);
- lasso_soap_envelope_add_to_body(_get_soap_envelope_response(profile), (LassoNode*)fault);
- }
-}
-
-/**
- * lasso_idwsf2_profile_build_soap_envelope:
- * @refToMessageId: (allow-none): the string ID of the request
- * @providerId: (allow-none): the providerID of the sender
- *
- * Build a new SOAP envelope, for transmitting an ID-WSF request of response. If the message is a
- * response, refer to the request whose ID is @refToMessageId.
- *
- * Return value: a new #LassoSoapEnvelope if successful, NULL otherwise.
- */
-static LassoSoapEnvelope*
-lasso_idwsf2_profile_build_soap_envelope(const char *refToMessageId, const char *providerID)
-{
- LassoSoapEnvelope *envelope;
- LassoSoapHeader *header;
- LassoSoapBody *body;
- LassoIdWsf2Sb2Sender *sender;
- LassoWsAddrAttributedURI *message_id;
-
- /* Body */
- body = lasso_soap_body_new();
- body->Id = lasso_build_unique_id(32);
- envelope = lasso_soap_envelope_new(body);
-
- /* Header */
- header = lasso_soap_header_new();
- envelope->Header = header;
-
- if (providerID) {
- /* Sender */
- sender = lasso_idwsf2_sb2_sender_new();
- lasso_assign_string(sender->providerID, providerID);
- lasso_list_add_gobject(header->Other, sender);
- }
-
- message_id = lasso_soap_envelope_get_message_id(envelope, TRUE);
- message_id->content = lasso_build_unique_id(32);
-
- if (refToMessageId) {
- LassoWsAddrAttributedURI *relates_to;
- relates_to = lasso_wsa_attributed_uri_new_with_string(refToMessageId);
- lasso_node_set_custom_nodename((LassoNode*)relates_to, "RelatesTo");
- lasso_list_add_gobject(header->Other, relates_to);
- }
-
- return envelope;
-}
-
-/**
- * lasso_idwsf2_profile_init_request:
- * @profile: a #LassoIdWsf2Profile object
- *
- * Initialize a new SOAP ID-WSF 2.0 request. Clear the existing request if one is currently set.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_profile_init_request(LassoIdWsf2Profile *idwsf2_profile)
-{
- LassoSoapEnvelope *envelope = NULL;
- LassoProfile *profile = NULL;
- LassoWsAddrEndpointReference *epr;
- const char *provider_id = NULL;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_PROFILE, idwsf2_profile);
- profile = &idwsf2_profile->parent;
- epr = lasso_idwsf2_profile_get_epr(idwsf2_profile);
-
- if (epr) {
- LassoIdWsf2DiscoSecurityContext *security_context;
-
- security_context =
- lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism(
- epr, lasso_security_mech_id_is_bearer_authentication, NULL, FALSE);
- if (! security_context) {
- return LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM;
- }
- }
-
- if (LASSO_IS_SERVER(profile->server)) {
- provider_id = profile->server->parent.ProviderID;
- }
- envelope = lasso_idwsf2_profile_build_soap_envelope(NULL, provider_id);
- _set_soap_envelope_request(idwsf2_profile, envelope);
- lasso_release_gobject(profile->request);
-
- lasso_release_gobject(envelope);
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_init_response:
- * @profile: a #LassoIdWsf2Profile object
- *
- * Initialize a new SOAP ID-WSF 2.0 response. Clear the existing response if one is currently set.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_profile_init_response(LassoIdWsf2Profile *profile)
-{
- char *provider_id = NULL;
- LassoSoapEnvelope *soap_envelope;
- int rc = 0;
- LassoWsAddrAttributedURI *request_message_id;
- char *request_message_id_content = NULL;
-
- lasso_bad_param(IDWSF2_PROFILE, profile);
-
- if (LASSO_IS_SERVER(profile->parent.server)) {
- provider_id = profile->parent.server->parent.ProviderID;
- }
- request_message_id = lasso_soap_envelope_get_message_id(
- lasso_idwsf2_profile_get_soap_envelope_request(profile), FALSE);
- if (request_message_id) {
- request_message_id_content = request_message_id->content;
- }
- soap_envelope = lasso_idwsf2_profile_build_soap_envelope(request_message_id_content, provider_id);
- _set_soap_envelope_response(profile, soap_envelope);
- lasso_release_gobject(profile->parent.response);
-
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_build_request_msg:
- * @profile: a #LassoIdWsf2Profile object
- *
- * Serialize and sign, if needed, the SOAP request message, put the result in
- * LASSO_PROFILE(profile)->msg_body.
- *
- * FIXME: really do sign messages.
- *
- * Return value: 0 if successful, LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED.
- */
-gint
-lasso_idwsf2_profile_build_request_msg(LassoIdWsf2Profile *profile, const char *security_mech_id)
-{
- LassoWsAddrEndpointReference *epr;
- LassoSoapEnvelope *envelope;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_PROFILE, profile);
- epr = lasso_idwsf2_profile_get_epr(profile);
- envelope = _get_soap_envelope_request(profile);
-
- /* Handle SOAP Binding and WS-Security, when given an EPR */
- if (LASSO_IS_WSA_ENDPOINT_REFERENCE(epr)) {
- if (epr->Address != NULL) {
- lasso_assign_string(profile->parent.msg_url, epr->Address->content);
- }
-
- /* Default try bearer */
- if (security_mech_id == NULL || lasso_security_mech_id_is_bearer_authentication(
- security_mech_id)) {
- LassoNode *security_token;
-
- security_token = lasso_wsa_endpoint_reference_get_security_token(epr,
- lasso_security_mech_id_is_bearer_authentication, NULL);
- if (security_token) {
- xmlNode *real_thing;
-
- real_thing = lasso_node_get_original_xmlnode(security_token);
- if (! real_thing) {
- message(G_LOG_LEVEL_CRITICAL, "Cannot put the unaltered security token in the header");
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED);
- } else {
- LassoMiscTextNode *misc;
-
- misc = lasso_misc_text_node_new_with_xml_node(real_thing);
- lasso_soap_envelope_add_security_token (envelope, (LassoNode*)misc);
- lasso_release_gobject(misc);
- }
- } else {
- message(G_LOG_LEVEL_WARNING, "No security mechanism specified, " \
- "failed to find security token for Bearer mechanism");
- }
- if (lasso_wsa_endpoint_reference_get_target_identity_token(epr,
- lasso_security_mech_id_is_bearer_authentication, NULL) != NULL) {
- message(G_LOG_LEVEL_CRITICAL, "TargetIdentity token are not supported");
- }
- } else {
- message(G_LOG_LEVEL_CRITICAL, "Only Bearer security mechanism is supported by ID-WSF 2.0 module of Lasso");
- }
- }
-
- LASSO_PROFILE(profile)->msg_body = lasso_node_export_to_xml(
- LASSO_NODE(_get_soap_envelope_request(profile)));
-
- if (! LASSO_PROFILE(profile)->msg_body)
- return LASSO_PROFILE_ERROR_BUILDING_REQUEST_FAILED;
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_process_request_msg:
- * @wsf2_profile: a #LassoIdWsf2Profile object
- * @message: a received SOAP message
- *
- * Parse a SOAP request message and initialize the SOAP Envelope for the response.
- *
- * Return value: 0 if successful, an error code otherwise among:
- *
- * LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if @profile is not a #LassoIdWsf2Profile
- * object,
- * LASSO_PARAM_ERROR_INVALID_VALUE if message is NULL,
- * LASSO_PROFILE_ERROR_INVALID_MSG if we cannot parse the message,
- * LASSO_SOAP_ERROR_MISSING_BODY if the message has no body
- * content.
- *
- */
-gint
-lasso_idwsf2_profile_process_request_msg(LassoIdWsf2Profile *wsf2_profile, const gchar *message)
-{
- LassoProfile *profile = NULL;
- LassoSoapEnvelope *envelope = NULL;
- LassoWsAddrAttributedURI *message_id;
- char *message_id_content = NULL;
- char *provider_id;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_PROFILE, wsf2_profile);
- lasso_check_non_empty_string(message);
-
- /* Clean some fields */
- lasso_release_gobject(wsf2_profile->parent.nameIdentifier);
- lasso_release_string(wsf2_profile->parent.remote_providerID);
- lasso_release_string(wsf2_profile->parent.msg_body);
- lasso_release_gobject(wsf2_profile->private_data->soap_envelope_response);
- lasso_release_gobject(wsf2_profile->parent.response);
-
- /* Get soap request */
- profile = LASSO_PROFILE(wsf2_profile);
-
- lasso_assign_new_gobject(wsf2_profile->private_data->soap_envelope_request,
- lasso_soap_envelope_new_from_message(message));
- if (! LASSO_IS_SOAP_ENVELOPE(_get_soap_envelope_request(wsf2_profile))) {
- return LASSO_PROFILE_ERROR_INVALID_MSG;
- }
- envelope = _get_soap_envelope_request(wsf2_profile);
- if (envelope != NULL && envelope->Body != NULL && envelope->Body->any != NULL &&
- LASSO_IS_NODE(envelope->Body->any->data)) {
- lasso_assign_gobject(profile->request, envelope->Body->any->data);
- } else {
- rc = LASSO_SOAP_ERROR_MISSING_BODY;
- }
-
- /* Initialize soap response */
- message_id = lasso_soap_envelope_get_message_id(
- _get_soap_envelope_request(wsf2_profile), FALSE);
- if (message_id) {
- message_id_content = message_id->content;
- }
- if (LASSO_IS_SERVER(profile->server)) {
- provider_id = profile->server->parent.ProviderID;
- lasso_assign_new_gobject(wsf2_profile->private_data->soap_envelope_response,
- lasso_idwsf2_profile_build_soap_envelope(message_id_content, provider_id));
- }
- _add_fault_for_rc(wsf2_profile, rc);
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_check_security_mechanism:
- * @profile: a #LassoIdWsf2Profile object
- * @security_mech_id:(allow-none): the security mechanism to enforce, if none is provided Bearer is
- * assumed.
- *
- * Check ID-WSF 2.0 Security Mechanism upon the received request. It is mandatory that a
- * #LassoServer is setted for the @profile object.
- *
- * Return value: 0 if the request passed the check, an error code otherwise.
- */
-gint
-lasso_idwsf2_profile_check_security_mechanism(LassoIdWsf2Profile *profile,
- const char *security_mech_id)
-{
- LassoSoapEnvelope *envelope = NULL;
- int rc = LASSO_WSF_PROFILE_ERROR_SECURITY_MECHANISM_CHECK_FAILED;
-
- if (! LASSO_IS_SERVER(profile->parent.server))
- return LASSO_PROFILE_ERROR_MISSING_SERVER;
-
- lasso_bad_param(IDWSF2_PROFILE, profile);
- envelope = _get_soap_envelope_request(profile);
- /* Verify security mechanism */
- if (security_mech_id == NULL ||
- lasso_security_mech_id_is_bearer_authentication(security_mech_id) || lasso_security_mech_id_is_saml_authentication(security_mech_id)) {
- LassoSaml2Assertion *assertion;
- LassoProvider *issuer;
- const char *sender_id = NULL, *local_service_id = NULL;
- const char *name_qualifier = NULL, *sp_name_qualifier = NULL;
- LassoSaml2AssertionValidationState validation_state;
- LassoProviderRole role;
-
- assertion = lasso_soap_envelope_get_saml2_security_token (envelope);
- if (assertion == NULL)
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_MISSING_ASSERTION);
- validation_state = lasso_saml2_assertion_validate_conditions(assertion, NULL);
- if (validation_state != LASSO_SAML2_ASSERTION_VALID)
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_ASSERTION_CONDITIONS);
- issuer = lasso_saml2_assertion_get_issuer_provider(assertion, profile->parent.server);
- if (! issuer)
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_UNKNOWN_ISSUER);
- if (issuer == &profile->parent.server->parent || issuer->role == 0) {
- role = issuer->private_data->roles;
- } else {
- role = issuer->role;
- }
- if ((role & LASSO_PROVIDER_ROLE_IDP) == 0)
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_ISSUER_IS_NOT_AN_IDP);
- lasso_check_good_rc(lasso_provider_verify_single_node_signature(issuer,
- (LassoNode*)assertion, "ID"));
- lasso_check_good_rc(lasso_saml2_assertion_decrypt_subject(assertion,
- profile->parent.server));
- if (assertion && assertion->Subject && assertion->Subject->NameID) {
- name_qualifier = assertion->Subject->NameID->NameQualifier;
- sp_name_qualifier = assertion->Subject->NameID->SPNameQualifier;
- }
- if (! name_qualifier || lasso_strisnotequal(name_qualifier,issuer->ProviderID))
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_ASSERTION);
- /* There is two cases for the NameID of the security assertion:
- * - we are the IdP and the Wsp, so the NameQualifier is us and the SPNameQualifier is the
- * Sender
- * - we are a simple Wsp, so the NameQualifier is an IdP we know and the
- * SPNameQualifier is us.
- */
- if (! profile->parent.server)
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_MISSING_SERVER);
- local_service_id = profile->parent.server->parent.ProviderID;
- sender_id = lasso_soap_envelope_sb2_get_provider_id(envelope);
- if (! sender_id)
- goto_cleanup_with_rc(LASSO_WSF_PROFILE_ERROR_MISSING_SENDER_ID);
- if (local_service_id && lasso_strisequal(local_service_id,name_qualifier) &&
- sp_name_qualifier && lasso_strisequal(sp_name_qualifier,sender_id)) {
- /* Ok. */
- } else if (sp_name_qualifier && lasso_strisequal(sp_name_qualifier,local_service_id)) {
- /* Ok. */
- } else {
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_ASSERTION);
- }
- }
-
- if (security_mech_id != NULL && ! lasso_security_mech_id_is_bearer_authentication(security_mech_id)) {
- message(G_LOG_LEVEL_WARNING, "Only Bearer mechanism is supported!");
- goto_cleanup_with_rc(LASSO_ERROR_UNIMPLEMENTED);
- }
- rc = 0;
-cleanup:
- _add_fault_for_rc(profile, rc);
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_init_soap_fault_response:
- * @profile: a #LassoIdWsf2Profile object
- * @faultcode: a SOAP fault code, see #LASSO_SOAP_FAULT_CLIENT, #LASSO_SOAP_FAULT_SERVER.
- * @faultstring:(allow-none): a human description of the error
- * @details:(allow-none)(element-type LassoNode): complementary data describing the error, you can use
- * #LassoIdWsf2UtilStatus.
- *
- * Initialize a new SOAP 1.1 fault.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_profile_init_soap_fault_response(LassoIdWsf2Profile *profile, const char *faultcode,
- const char *faultstring, GList *details)
-{
- int rc = 0;
- LassoSoapEnvelope *envelope;
-
- lasso_check_good_rc(lasso_idwsf2_profile_init_response(profile));
- lasso_check_good_rc(lasso_profile_set_soap_fault_response(&profile->parent, faultcode,
- faultstring, details));
- envelope = lasso_idwsf2_profile_get_soap_envelope_response(profile);
- if (envelope) {
- lasso_list_add_gobject(envelope->Body->any, profile->parent.response);
- }
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_redirect_user_for_interaction:
- * @profile: a #LassoIdWsf2Profile object
- * @redirect_url: an URL where the user must be redirected
- *
- * Create a SOAP fault containing a RedirectRequest element, with a redirectURL property set to
- * @redirect_url concatenated with the parameter "transactionID" set to the messageID of the
- * response message.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_idwsf2_profile_redirect_user_for_interaction(
- LassoIdWsf2Profile *profile, const gchar *redirect_url, gboolean for_data)
-{
- LassoSoapFault *fault = NULL;
- char *url = NULL;
- LassoIdWsf2Sb2RedirectRequest *redirect_request = NULL;
- LassoIdWsf2Sb2UserInteractionHint hint;
- LassoIdWsf2Sb2UserInteractionHeader *user_interaction_header;
- LassoSoapEnvelope *soap_envelope_request;
- LassoWsAddrAttributedURI *messageID;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_PROFILE, profile);
- lasso_check_non_empty_string(redirect_url);
-
- soap_envelope_request = lasso_idwsf2_profile_get_soap_envelope_request(profile);
- if (! soap_envelope_request) {
- return LASSO_PROFILE_ERROR_MISSING_REQUEST;
- }
- hint = lasso_soap_envelope_get_sb2_user_interaction_hint(soap_envelope_request);
- switch (hint) {
- case LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT:
- goto_cleanup_with_rc(LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED);
- case LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT_FOR_DATA:
- if (for_data) {
- goto_cleanup_with_rc(LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED_FOR_DATA);
- }
- default:
- break;
- }
- user_interaction_header =
- lasso_soap_envelope_get_sb2_user_interaction_header(soap_envelope_request, FALSE);
- if (user_interaction_header == FALSE) {
- goto_cleanup_with_rc(LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER);
- }
-
- messageID = lasso_soap_envelope_get_message_id(_get_soap_envelope_response(profile), FALSE);
- if (! messageID || ! messageID->content) {
- goto_cleanup_with_rc(
- LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID);
- }
- if (strchr(redirect_url, '?')) {
- url = g_strconcat(redirect_url, "&transactionID=", messageID->content, NULL);
- } else {
- url = g_strconcat(redirect_url, "?transactionID=", messageID->content, NULL);
- }
- redirect_request = lasso_idwsf2_sb2_redirect_request_new_full(url);
- lasso_release(url);
- lasso_check_good_rc(lasso_idwsf2_profile_init_soap_fault_response(profile,
- LASSO_SOAP_FAULT_CODE_SERVER, "Server Error", &(GList){ .data =
- redirect_request, .next = NULL, .prev = NULL } ));
-
-cleanup:
- if (rc) {
- LassoIdWsf2UtilStatus *status;
- const char *status_code = NULL;
- fault = (LassoSoapFault*)profile->parent.response;
- lasso_assign_string(fault->faultcode, LASSO_SOAP_FAULT_CODE_SERVER);
- switch (rc) {
- case LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED:
- status_code = LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED;
- break;
- case LASSO_WSF_PROFILE_ERROR_SERVER_INTERACTION_REQUIRED_FOR_DATA:
- status_code = LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED;
- break;
- case LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER:
- status_code = "RedirectRequestNeeded";
- break;
- default:
- status_code = "UnknownInteraction error";
- break;
- }
- if (status_code) {
- status = lasso_idwsf2_util_status_new_with_code(status_code, NULL);
- lasso_idwsf2_profile_init_soap_fault_response(profile,
- LASSO_SOAP_FAULT_CODE_SERVER, NULL,
- &(GList){ .data = status, .next = NULL, .prev = NULL});
- } else {
- lasso_idwsf2_profile_init_soap_fault_response(profile,
- LASSO_SOAP_FAULT_CODE_SERVER, NULL, NULL);
- }
-
- }
- lasso_release_gobject(redirect_request);
- return rc;
-}
-/**
- * lasso_idwsf2_profile_build_response_msg:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- *
- * Serialize and sign the SOAP, if needed, the response message, put the result in
- * LASSO_PROFILE(profile)->msg_body.
- *
- * Return value: 0 if successful, LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED otherwise.
- */
-gint
-lasso_idwsf2_profile_build_response_msg(LassoIdWsf2Profile *idwsf2_profile)
-{
- LassoSoapEnvelope *envelope;
-
- lasso_bad_param(IDWSF2_PROFILE, idwsf2_profile);
-
- envelope = lasso_idwsf2_profile_get_soap_envelope_response(idwsf2_profile);
- if (envelope == NULL) {
- return LASSO_PROFILE_ERROR_MISSING_RESPONSE;
- }
- idwsf2_profile->parent.msg_body = lasso_node_export_to_xml((LassoNode*)envelope);
-
- if (! LASSO_PROFILE(idwsf2_profile)->msg_body) {
- return LASSO_PROFILE_ERROR_BUILDING_RESPONSE_FAILED;
- }
- return 0;
-}
-
-/**
- * lasso_idwsf2_profile_process_response_msg:
- * @profile: a #LassoIdWsf2Profile object
- * @message: a string containing a response message
- *
- * Parse a response received by SOAP. Place the parsed message in the #LassoIdWsf2Profile structure
- * in the @soap_envelope_response field and the content of the body in the @response field.
- *
- * Return value: 0 if successful, one of those error codes if the call fails:
- *
- * LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if first parameter is not
- * a #LassoIdWsf2Profile object,
- * LASSO_PARAM_ERROR_INVALID_VALUE if message is NULL,
- * LASSO_SOAP_ERROR_MISSING_BODY if no body element is found,
- * LASSO_PROFILE_ERROR_MISSING_RESPONSE if the body element is
- * empty.
- *
- */
-gint
-lasso_idwsf2_profile_process_response_msg(LassoIdWsf2Profile *profile, const gchar *message)
-{
- LassoSoapEnvelope *envelope = NULL;
- int rc = 0;
-
- lasso_bad_param(IDWSF2_PROFILE, profile);
- lasso_check_non_empty_string(message);
-
- envelope = lasso_soap_envelope_new_from_message(message);
- _set_soap_envelope_response(profile, envelope);
-
- goto_cleanup_if_fail_with_rc (envelope != NULL,
- LASSO_PROFILE_ERROR_INVALID_RESPONSE);
- goto_cleanup_if_fail_with_rc (envelope->Body != NULL,
- LASSO_SOAP_ERROR_MISSING_BODY);
- goto_cleanup_if_fail_with_rc (envelope->Body->any != NULL &&
- LASSO_IS_NODE(envelope->Body->any->data),
- LASSO_PROFILE_ERROR_MISSING_RESPONSE);
-
- lasso_assign_gobject(profile->parent.response,
- envelope->Body->any->data);
-
- if (LASSO_IS_SOAP_FAULT(profile->parent.response)) {
- LassoSoapFault *fault = (LassoSoapFault*)profile->parent.response;
- if (LASSO_IS_SOAP_DETAIL(fault->Detail)) {
- LassoIdWsf2Sb2RedirectRequest *redirect_request;
- redirect_request =
- lasso_extract_gobject_from_list(
- LassoIdWsf2Sb2RedirectRequest,
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST,
- fault->Detail->any);
- if (redirect_request) {
- lasso_assign_string(profile->parent.msg_url, redirect_request->redirectURL);
- return LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST;
- }
- return LASSO_WSF_PROFILE_ERROR_SOAP_FAULT;
-
- }
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_idwsf2_profile_get_soap_envelope_request:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- *
- * Return the last parsed SOAP request object.
- *
- * Return value:(transfer none): a #LassoSoapEnvelope object or NULL if no request as ever been
- * parsed with this object. You must free this object.
- */
-LassoSoapEnvelope*
-lasso_idwsf2_profile_get_soap_envelope_request(LassoIdWsf2Profile *idwsf2_profile)
-{
- return _get_soap_envelope_request(idwsf2_profile);
-
-}
-
-/**
- * lasso_idwsf2_profile_get_soap_envelope_response:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- *
- * Return the last parsed SOAP response object.
- *
- * Return value:(transfer none): a #LassoSoapEnvelope object or NULL if no response as ever been
- * parsed with this objects. You must free this object.
- */
-LassoSoapEnvelope*
-lasso_idwsf2_profile_get_soap_envelope_response(LassoIdWsf2Profile *idwsf2_profile)
-{
- return _get_soap_envelope_response(idwsf2_profile);
-
-}
-
-/**
- * lasso_idwsf2_profile_get_name_identifier:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- *
- * Return the NameIdentifier found in a WS-Security authentication token, when Bearer or SAML
- * security mechanism is used. This method does not validate any security conditions on the
- * assertion.
- *
- * Return value:(transfer full)(allow-none): a #LassoNode object or NULL.
- */
-LassoNode *
-lasso_idwsf2_profile_get_name_identifier(LassoIdWsf2Profile *idwsf2_profile)
-{
- LassoSaml2Assertion *assertion = NULL;
- LassoSaml2NameID *nameID = NULL;
- LassoIdWsf2Sb2TargetIdentity *target_identity = NULL;
- LassoSaml2EncryptedElement *encryptedID = NULL;
-
- if (! LASSO_IS_IDWSF2_PROFILE(idwsf2_profile))
- return NULL;
-
- /** Already extracted, return it */
- if (idwsf2_profile->parent.nameIdentifier != NULL)
- goto cleanup;
-
- /* Try to get a SAML2 assertion */
- assertion = lasso_soap_envelope_get_saml2_security_token
- (lasso_idwsf2_profile_get_soap_envelope_request(idwsf2_profile));
- if (assertion && assertion->Subject) {
-
- if (lasso_saml2_assertion_decrypt_subject(assertion,
- idwsf2_profile->parent.server) != 0) {
- goto cleanup;
- }
-
- lasso_assign_gobject (nameID, assertion->Subject->NameID);
- }
- /* We found nothing */
- if (!nameID && !encryptedID) {
- GList *it;
- /* Go look at the target identity */
- target_identity = lasso_soap_envelope_sb2_get_target_identity_header (
- lasso_idwsf2_profile_get_soap_envelope_request (idwsf2_profile));
- if (target_identity) {
- lasso_foreach (it, target_identity->any)
- {
- if (LASSO_IS_SAML2_NAME_ID(it->data)) {
- lasso_assign_gobject (nameID, it->data);
- break;
- }
- if (LASSO_IS_SAML2_ENCRYPTED_ELEMENT(it->data)) {
- lasso_assign_gobject (encryptedID, it->data);
- break;
- }
- }
- }
- }
-
- if (!nameID && encryptedID) {
- /* We need a server object to check for audience and decrypt encrypted NameIDs */
- if (! LASSO_IS_SERVER(idwsf2_profile->parent.server)) {
- goto cleanup;
- }
- if (lasso_saml20_profile_process_name_identifier_decryption(&idwsf2_profile->parent, &nameID,
- &encryptedID) != 0) {
- message(G_LOG_LEVEL_WARNING, "process_name_identifier_decryption failed "\
- "when retrieving name identifier for ID-WSF profile");
- }
- }
-
-cleanup:
- lasso_release_gobject (assertion);
- lasso_release_gobject (encryptedID);
- lasso_assign_gobject (idwsf2_profile->parent.nameIdentifier, nameID);
- return (LassoNode*)nameID;
-}
-
-/**
- * lasso_idwsf2_profile_get_epr:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- * @epr: a #LassoWsAddrEndpointReference object
- *
- * Set the EPR for the service targeted by the profile object.
- *
- */
-void
-lasso_idwsf2_profile_set_epr(LassoIdWsf2Profile *idwsf2_profile,
- LassoWsAddrEndpointReference *epr)
-{
- if (! LASSO_IS_IDWSF2_PROFILE(idwsf2_profile) || ! LASSO_IS_WSA_ENDPOINT_REFERENCE(epr) ||
- ! idwsf2_profile->private_data)
- return;
- _set_epr(idwsf2_profile, epr);
-}
-
-/**
- * lasso_idwsf2_profile_get_epr:
- * @idwsf2_profile: a #LassoIdWsf2Profile object
- *
- * Return the EPR used by this profile.
- *
- * Return value:(transfer none): a #LassoWsAddrEndpointReference object, or NULL if none is set.
- */
-LassoWsAddrEndpointReference*
-lasso_idwsf2_profile_get_epr(LassoIdWsf2Profile *idwsf2_profile)
-{
- if (! LASSO_IS_IDWSF2_PROFILE(idwsf2_profile) || ! idwsf2_profile->private_data)
- return NULL;
- return _get_epr(idwsf2_profile);
-}
-
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-dispose(GObject *object)
-{
- LassoIdWsf2Profile *profile = LASSO_IDWSF2_PROFILE(object);
-
- if (profile->private_data) {
- lasso_release_gobject(profile->private_data->soap_envelope_request);
- lasso_release_gobject(profile->private_data->soap_envelope_response);
- }
- lasso_release(profile->private_data);
-
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-instance_init(LassoIdWsf2Profile *discovery)
-{
- discovery->private_data = g_new0(LassoIdWsf2ProfilePrivate, 1);
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- LassoProfile *profile = LASSO_PROFILE(node);
- LassoIdWsf2Profile *wsf2_profile = (LassoIdWsf2Profile*)profile;
-
- if (! LASSO_IS_IDWSF2_PROFILE(profile))
- return NULL;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
-
- if (xmlnode && wsf2_profile->private_data) {
- LassoIdWsf2ProfilePrivate *pdata = wsf2_profile->private_data;
- if (pdata->epr) {
- xmlNode *epr;
- epr = xmlNewChild(xmlnode, NULL, BAD_CAST LASSO_IDWSF2_PROFILE_ELEMENT_EPR,
- NULL);
- xmlAddChild(epr, lasso_node_get_xmlNode((LassoNode*) pdata->epr,
- lasso_dump));
- }
- if (pdata->soap_envelope_request) {
- xmlNode *request;
- request = xmlNewChild(xmlnode, NULL, BAD_CAST
- LASSO_IDWSF2_PROFILE_ELEMENT_REQUEST, NULL);
- xmlAddChild(request,
- lasso_node_get_xmlNode(
- (LassoNode*)pdata->soap_envelope_request,
- lasso_dump));
- }
- if (pdata->soap_envelope_response) {
- xmlNode *response;
- response = xmlNewChild(xmlnode, NULL, BAD_CAST
- LASSO_IDWSF2_PROFILE_ELEMENT_RESPONSE, NULL);
- xmlAddChild(response, lasso_node_get_xmlNode((LassoNode*)
- pdata->soap_envelope_response, lasso_dump));
- }
- }
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2Profile *wsf2_profile = (LassoIdWsf2Profile*)node;
- xmlNode *epr_node, *request_node, *response_node;
- LassoWsAddrEndpointReference *epr = NULL;
- LassoSoapEnvelope *request = NULL, *response = NULL;
-
- if (! LASSO_IS_IDWSF2_PROFILE(wsf2_profile))
- return LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ;
-
- parent_class->init_from_xml(node, xmlnode);
-
- if (xmlnode == NULL)
- return LASSO_XML_ERROR_OBJECT_CONSTRUCTION_FAILED;
-
- if (! wsf2_profile->private_data) {
- wsf2_profile->private_data = g_new0(LassoIdWsf2ProfilePrivate, 1);
- }
- epr_node = xmlSecFindChild(xmlnode, BAD_CAST LASSO_IDWSF2_PROFILE_ELEMENT_EPR, BAD_CAST
- LASSO_LASSO_HREF);
- request_node = xmlSecFindChild(xmlnode, BAD_CAST LASSO_IDWSF2_PROFILE_ELEMENT_REQUEST,
- BAD_CAST LASSO_LASSO_HREF);
- response_node = xmlSecFindChild(xmlnode, BAD_CAST LASSO_IDWSF2_PROFILE_ELEMENT_RESPONSE,
- BAD_CAST LASSO_LASSO_HREF);
-
- if (epr_node) {
- epr_node = xmlSecFindChild(epr_node, BAD_CAST "EndpointReference", BAD_CAST
- LASSO_WSA_HREF);
- }
- if (request_node) {
- request_node = xmlSecFindChild(request_node, BAD_CAST "Envelope", BAD_CAST
- LASSO_SOAP_ENV_HREF);
- }
- if (response_node) {
- response_node = xmlSecFindChild(response_node, BAD_CAST "Envelope", BAD_CAST
- LASSO_SOAP_ENV_HREF);
- }
-
- if (epr_node) {
- epr = (LassoWsAddrEndpointReference*)lasso_node_new_from_xmlNode(epr_node);
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE(epr)) {
- lasso_release_gobject(epr);
- }
- }
- if (request_node) {
- request = (LassoSoapEnvelope*)lasso_node_new_from_xmlNode(request_node);
- if (! LASSO_IS_SOAP_ENVELOPE(request)) {
- lasso_release_gobject(request);
- }
- }
- if (response_node) {
- response = (LassoSoapEnvelope*)lasso_node_new_from_xmlNode(response_node);
- if (! LASSO_IS_SOAP_ENVELOPE(response)) {
- lasso_release_gobject(response);
- }
- }
-
- lasso_assign_new_gobject(wsf2_profile->private_data->epr, epr);
- lasso_assign_new_gobject(wsf2_profile->private_data->soap_envelope_request, request);
- lasso_assign_new_gobject(wsf2_profile->private_data->soap_envelope_response, response);
-
- return 0;
-}
-
-static void
-class_init(LassoIdWsf2ProfileClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
- G_OBJECT_CLASS(klass)->dispose = dispose;
- klass->parent.parent.get_xmlNode = get_xmlNode;
- klass->parent.parent.init_from_xml = init_from_xml;
-}
-
-GType
-lasso_idwsf2_profile_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoIdWsf2ProfileClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Profile),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_PROFILE,
- "LassoIdWsf2Profile", &this_info, 0);
- }
- return this_type;
-}
-
diff --git a/lasso/id-wsf-2.0/profile.h b/lasso/id-wsf-2.0/profile.h
deleted file mode 100644
index 079342dd..00000000
--- a/lasso/id-wsf-2.0/profile.h
+++ /dev/null
@@ -1,110 +0,0 @@
-/* $Id: wsf_profile.h,v 1.13 2006/11/14 17:07:30 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PROFILE_H__
-#define __LASSO_IDWSF2_PROFILE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/profile.h"
-#include "../xml/soap-1.1/soap_envelope.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-
-#define LASSO_TYPE_IDWSF2_PROFILE (lasso_idwsf2_profile_get_type())
-#define LASSO_IDWSF2_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PROFILE, LassoIdWsf2Profile))
-#define LASSO_IDWSF2_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PROFILE, LassoIdWsf2ProfileClass))
-#define LASSO_IS_IDWSF2_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PROFILE))
-#define LASSO_IS_IDWSF2_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PROFILE))
-#define LASSO_IDWSF2_PROFILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PROFILE, LassoIdWsf2ProfileClass))
-
-
-typedef struct _LassoIdWsf2Profile LassoIdWsf2Profile;
-typedef struct _LassoIdWsf2ProfileClass LassoIdWsf2ProfileClass;
-typedef struct _LassoIdWsf2ProfilePrivate LassoIdWsf2ProfilePrivate;
-
-struct _LassoIdWsf2Profile {
- LassoProfile parent;
-
- /*< private >*/
- LassoIdWsf2ProfilePrivate *private_data;
-};
-
-struct _LassoIdWsf2ProfileClass {
- LassoProfileClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_profile_get_type(void);
-
-/* Initialize profile */
-LASSO_EXPORT void lasso_idwsf2_profile_set_epr(LassoIdWsf2Profile *idwsf2_profile,
- LassoWsAddrEndpointReference *epr);
-LASSO_EXPORT LassoWsAddrEndpointReference* lasso_idwsf2_profile_get_epr(
- LassoIdWsf2Profile *idwsf2_profile);
-
-/* Initialize requests */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_init_request(LassoIdWsf2Profile *profile);
-
-/* Build request message */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_build_request_msg(LassoIdWsf2Profile *profile,
- const char *security_mech_id);
-
-/* Handle request */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_process_request_msg(LassoIdWsf2Profile *profile,
- const char *msg);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_check_security_mechanism(LassoIdWsf2Profile *profile,
- const char *security_mech_id);
-LASSO_EXPORT LassoSoapEnvelope* lasso_idwsf2_profile_get_soap_envelope_request(
- LassoIdWsf2Profile *idwsf2_profile);
-LASSO_EXPORT LassoNode *lasso_idwsf2_profile_get_name_identifier(
- LassoIdWsf2Profile *idwsf2_profile);
-
-/* Initialize response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_init_response(LassoIdWsf2Profile *profile);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_init_soap_fault_response(LassoIdWsf2Profile *profile,
- const char *faultcode, const char *faultstring,
- GList *details);
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_redirect_user_for_interaction(LassoIdWsf2Profile *profile,
- const gchar *redirect_url, gboolean for_data);
-
-/* Build response message */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_build_response_msg(LassoIdWsf2Profile *profile);
-
-/* Handle response */
-LASSO_EXPORT lasso_error_t lasso_idwsf2_profile_process_response_msg(LassoIdWsf2Profile *profile,
- const char *msg);
-LASSO_EXPORT LassoSoapEnvelope* lasso_idwsf2_profile_get_soap_envelope_response(
- LassoIdWsf2Profile *idwsf2_profile);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PROFILE_H__ */
-
diff --git a/lasso/id-wsf-2.0/saml2_login.c b/lasso/id-wsf-2.0/saml2_login.c
deleted file mode 100644
index dda37dc5..00000000
--- a/lasso/id-wsf-2.0/saml2_login.c
+++ /dev/null
@@ -1,293 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "saml2_login.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "identity.h"
-#include "server.h"
-#include "session.h"
-#include "../id-ff/login.h"
-#include "../saml-2.0/saml2_helper.h"
-#include "../saml-2.0/provider.h"
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-#include "../xml/id-wsf-2.0/disco_abstract.h"
-#include "../xml/id-wsf-2.0/disco_provider_id.h"
-#include "../xml/id-wsf-2.0/disco_service_type.h"
-#include "../xml/id-wsf-2.0/disco_service_context.h"
-#include "../xml/id-wsf-2.0/disco_security_context.h"
-#include "../xml/id-wsf-2.0/sec_token.h"
-#include "../xml/id-wsf-2.0/sbf_framework.h"
-#include "../id-wsf/wsf_utils.h"
-#include "../xml/saml-2.0/saml2_attribute.h"
-#include "../xml/saml-2.0/saml2_attribute_statement.h"
-#include "../xml/saml-2.0/saml2_attribute_value.h"
-#include "../xml/saml-2.0/samlp2_response.h"
-#include "idwsf2_helper.h"
-#include "../xml/private.h"
-
-
-/**
- * lasso_server_create_assertion_as_idwsf2_security_token:
- * @server: a #LassoServer object
- * @name_id: a #LassoSaml2NameID object
- * @tolerance: tolerance around the normal duration which is accepted
- * @duration: life duration for this assertion in seconds
- * @cipher: whether to cipher the NameID
- * @audience:(allow-none)(optional): if @cipher is true, the provider for which to encrypt the NameID
- *
- * Create a new assertion usable as a security token in an ID-WSF 2.0 EndpointReference. See
- * lasso_saml2_assertion_set_basic_conditions() for detail about @tolerance and @duration.
- *
- * Return value:(transfer full)(allow-none): a newly allocated #LassoSaml2Assertion object, or NULL.
- */
-LassoSaml2Assertion*
-lasso_server_create_assertion_as_idwsf2_security_token(LassoServer *server,
- LassoSaml2NameID *name_id,
- int tolerance,
- int duration,
- gboolean cipher,
- LassoProvider *audience)
-{
- LassoSaml2Assertion *assertion;
- int rc = 0;
-
- if (! LASSO_IS_SERVER(server))
- return NULL;
- if (! LASSO_IS_SAML2_NAME_ID(name_id))
- return NULL;
- if (cipher && ! LASSO_IS_PROVIDER(audience))
- return NULL;
-
- assertion = (LassoSaml2Assertion*)lasso_saml2_assertion_new();
- assertion->ID = lasso_build_unique_id(32);
- assertion->Issuer = (LassoSaml2NameID*)lasso_saml2_name_id_new_with_string(server->parent.ProviderID);
- assertion->Subject = (LassoSaml2Subject*)lasso_saml2_subject_new();
- if (cipher) {
- LassoSaml2EncryptedElement *encrypted_id =
- lasso_provider_saml2_node_encrypt(audience, (LassoNode*)name_id);
- if (! encrypted_id) {
- lasso_release_gobject(assertion);
- goto cleanup;
- }
- lasso_assign_new_gobject(assertion->Subject->EncryptedID, encrypted_id);
- } else {
- lasso_assign_new_gobject(assertion->Subject->NameID, name_id);
- }
- lasso_saml2_assertion_set_basic_conditions(assertion,
- tolerance, duration, FALSE);
- rc = lasso_server_saml2_assertion_setup_signature(server, assertion);
- if (rc != 0) {
- lasso_release_gobject(assertion);
- }
-cleanup:
- return assertion;
-}
-
-
-
-
-/**
- * lasso_login_idwsf2_add_discovery_bootstrap_epr:
- * @login: a #LassoLogin object
- * @url: the Disco service address
- * @abstract: the Disco service description
- * @security_mechanisms:(allow-none)(element-type utf8): the list of supported security mechanisms
- * @tolerance:(default -1): see lasso_saml2_assertion_set_basic_conditions().
- * @duration:(default 0): see lasso_saml2_assertion_set_basic_conditions().
- *
- * Add the needed bootstrap attribute to the #LassoSaml2Assertion currently container in the
- * #LassoLogin object. This function should be called after lasso_login_build_assertion() by an IdP
- * also having the Discovery service role.
- *
- * The default @tolerance and @duration are respectively ten minutes and two days.
- *
- * Return value: 0 if successfull, otherwise #LASSO_PROFILE_ERROR_MISSING_ASSERTION if no assertion is present
- * in the #LassoLogin object, #LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ if login is not a #LassoLogin
- * object.
- */
-int
-lasso_login_idwsf2_add_discovery_bootstrap_epr(LassoLogin *login, const char *url,
- const char *abstract, GList *security_mechanisms, int tolerance, int duration)
-{
- LassoWsAddrEndpointReference *epr = NULL;
- LassoWsAddrMetadata *metadata = NULL;
- LassoSaml2AttributeStatement *attributeStatement = NULL;
- LassoSaml2Attribute *attribute = NULL;
- LassoSaml2AttributeValue *attributeValue = NULL;
- LassoIdWsf2DiscoSecurityContext *security_context = NULL;
- LassoIdWsf2SecToken *sec_token = NULL;
- LassoSaml2Assertion *assertion_identity_token = NULL;
- LassoSaml2Assertion *assertion = NULL;
- LassoServer *server = NULL;
- LassoSaml2NameID *name_id = NULL;
- int rc = 0;
-
- lasso_bad_param(LOGIN, login);
- lasso_null_param(url);
- lasso_null_param(abstract);
-
- /* Check for the presence of an assertion */
- assertion = (LassoSaml2Assertion*) lasso_login_get_assertion (login);
- if (! LASSO_IS_SAML2_ASSERTION (assertion)) {
- lasso_release_gobject(assertion);
- return LASSO_PROFILE_ERROR_MISSING_ASSERTION;
- }
- lasso_extract_node_or_fail(server, login->parent.server, SERVER,
- LASSO_PROFILE_ERROR_MISSING_SERVER);
- /* Warn if the assertion is not a fresh one, we should not modify received assertion */
- if (lasso_node_get_original_xmlnode((LassoNode*)assertion) != NULL) {
- message(G_LOG_LEVEL_WARNING, "%s should only be called after lasso_login_build_assertion", __func__);
- }
-
-
- /* Build EndpointReference */
- epr = lasso_wsa_endpoint_reference_new_for_idwsf2_service(
- url, LASSO_IDWSF2_DISCOVERY_HREF, server->parent.ProviderID, abstract);
-
- /* Security/Identity token */
- if (duration <= 0) {
- duration = 2 * LASSO_DURATION_DAY;
- }
- if (tolerance < 0) {
- tolerance = 10*LASSO_DURATION_MINUTE;
- }
- /* If the NameID is encrypted try to get to he unencrypted one */
- if (assertion->Subject->NameID) {
- name_id = assertion->Subject->NameID;
- } else if (assertion->Subject->EncryptedID &&
- LASSO_IS_SAML2_NAME_ID(assertion->Subject->EncryptedID->original_data)) {
- name_id = (LassoSaml2NameID*)assertion->Subject->EncryptedID->original_data;
- }
- goto_cleanup_if_fail_with_rc (name_id, LASSO_PROFILE_ERROR_MISSING_NAME_IDENTIFIER);
- assertion_identity_token = lasso_server_create_assertion_as_idwsf2_security_token(server,
- name_id, tolerance, duration, TRUE, &server->parent);
-
- /* Add the assertion to the EPR */
- rc = lasso_wsa_endpoint_reference_add_security_token(epr,
- (LassoNode*)assertion_identity_token, security_mechanisms);
- goto_cleanup_if_fail(rc == 0);
-
- /* Add the EPR to the assertion as a SAML attribute */
- rc = lasso_saml2_assertion_add_attribute_with_node(assertion,
- LASSO_SAML2_ATTRIBUTE_NAME_EPR, LASSO_SAML2_ATTRIBUTE_NAME_FORMAT_URI, (LassoNode*)epr);
-
-
-cleanup:
- lasso_release_gobject(assertion);
- lasso_release_gobject(epr);
- lasso_release_gobject(metadata);
- lasso_release_gobject(attributeStatement);
- lasso_release_gobject(attribute);
- lasso_release_gobject(attributeValue);
- lasso_release_gobject(security_context);
- lasso_release_gobject(sec_token);
- lasso_release_gobject(assertion_identity_token);
- return rc;
-}
-
-/**
- * lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr:
- * @assertion: a #LassoSaml2Assertion object
- *
- * Extract the Discovery bootstrap EPR from @assertion.
- *
- * Return value:(transfer none): a #LassoWsAddrEndpointReference or NULL if no bootstrap EPR is found.
- */
-LassoWsAddrEndpointReference*
-lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr(LassoSaml2Assertion *assertion)
-{
- LassoSaml2AttributeStatement *attribute_statement = NULL;
- LassoSaml2Attribute *attribute = NULL;
- LassoSaml2AttributeValue *attribute_value = NULL;
- GList *i = NULL, *j = NULL, *k = NULL;
- LassoWsAddrEndpointReference *rc = NULL;
-
- if (! LASSO_IS_SAML2_ASSERTION (assertion)) {
- return NULL;
- }
-
- lasso_foreach (i, assertion->AttributeStatement)
- {
- if (! LASSO_IS_SAML2_ATTRIBUTE_STATEMENT (i->data))
- continue;
-
- attribute_statement = LASSO_SAML2_ATTRIBUTE_STATEMENT(i->data);
-
- lasso_foreach (j, attribute_statement->Attribute)
- {
- if (! LASSO_IS_SAML2_ATTRIBUTE(j->data))
- continue;
-
- attribute = LASSO_SAML2_ATTRIBUTE(j->data);
- if (lasso_strisnotequal(attribute->Name,LASSO_SAML2_ATTRIBUTE_NAME_EPR))
- continue;
- /* There should only one attribute value, and the EPR should be the first
- * contained node */
- if (! attribute->AttributeValue)
- continue;
-
- if (! LASSO_IS_SAML2_ATTRIBUTE_VALUE (attribute->AttributeValue->data))
- continue;
- attribute_value = (LassoSaml2AttributeValue*)attribute->AttributeValue->data;
- lasso_foreach (k, attribute_value->any) {
- if (! k->data) {
- message(G_LOG_LEVEL_CRITICAL, "found a NULL in attribute_value->any");
- break; /* NULL here ? bad... */
- }
- if (! LASSO_IS_WSA_ENDPOINT_REFERENCE (k->data))
- continue;
- rc = (LassoWsAddrEndpointReference*)g_object_ref(k->data);
- goto cleanup;
- }
- }
- }
-
-cleanup:
- return rc;
-
-}
-
-/**
- * lasso_login_idwsf2_get_discovery_bootstrap_epr:
- * @login: a #LassoLogin object
- *
- * Extract the Discovery boostrap EPR from the attribute named #LASSO_SAML2_ATTRIBUTE_NAME_EPR.
- *
- * Return value:(transfer none): a caller owned #LassoWsAddrEndpointReference object, or NULL if none can be found.
- */
-LassoWsAddrEndpointReference *
-lasso_login_idwsf2_get_discovery_bootstrap_epr(LassoLogin *login)
-{
- LassoProfile *profile = NULL;
- LassoSaml2Assertion *assertion = NULL;
- LassoWsAddrEndpointReference *rc = NULL;
-
- g_return_val_if_fail (LASSO_IS_LOGIN (login), NULL);
- profile = &login->parent;
- assertion = (LassoSaml2Assertion*)lasso_login_get_assertion(login);
- rc = lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr(assertion);
- lasso_release_gobject(assertion);
-
- return rc;
-}
diff --git a/lasso/id-wsf-2.0/saml2_login.h b/lasso/id-wsf-2.0/saml2_login.h
deleted file mode 100644
index 9d5eaafc..00000000
--- a/lasso/id-wsf-2.0/saml2_login.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/* $Id: server.h 2945 2006-11-19 20:07:46Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SAML2_LOGIN_PRIVATE_H__
-#define __LASSO_IDWSF2_SAML2_LOGIN_PRIVATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/login.h"
-#include "../id-ff/provider.h"
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/saml-2.0/saml2_name_id.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-
-LASSO_EXPORT lasso_error_t lasso_login_idwsf2_add_discovery_bootstrap_epr(LassoLogin *login, const char *url,
- const char *abstract, GList *security_mechanisms, int tolerance, int duration);
-
-LASSO_EXPORT LassoWsAddrEndpointReference *lasso_login_idwsf2_get_discovery_bootstrap_epr(
- LassoLogin *login);
-
-LASSO_EXPORT LassoWsAddrEndpointReference*
- lasso_saml2_assertion_idwsf2_get_discovery_bootstrap_epr(LassoSaml2Assertion *assertion);
-
-LASSO_EXPORT LassoSaml2Assertion* lasso_server_create_assertion_as_idwsf2_security_token(
- LassoServer *server, LassoSaml2NameID *name_id, int tolerance, int duration,
- gboolean cipher, LassoProvider *audience);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SAML2_LOGIN_PRIVATE_H__ */
diff --git a/lasso/id-wsf-2.0/server.c b/lasso/id-wsf-2.0/server.c
deleted file mode 100644
index 26c6eddc..00000000
--- a/lasso/id-wsf-2.0/server.c
+++ /dev/null
@@ -1,146 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "server.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../id-ff/server.h"
-#include "../id-ff/serverprivate.h"
-#include "../xml/id-wsf-2.0/disco_svc_metadata.h"
-#include "../xml/id-wsf-2.0/disco_service_context.h"
-#include
-
-gint
-lasso_server_add_svc_metadata(LassoServer *server, LassoIdWsf2DiscoSvcMetadata *metadata)
-{
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_IDWSF2_DISCO_SVC_METADATA(metadata),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- server->private_data->svc_metadatas = g_list_append(
- server->private_data->svc_metadatas, g_object_ref(metadata));
-
- return 0;
-}
-
-
-/**
- * lasso_server_get_svc_metadatas:
- * @server: a #LassoServer object
- *
- * Return value:(element-type LassoIdWsf2DiscoSvcMetadata)(transfer none): a list of #LassoIdWsf2DiscoSvcMetadata
- */
-const GList *
-lasso_server_get_svc_metadatas(LassoServer *server)
-{
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- return server->private_data->svc_metadatas;
-}
-
-
-/**
- * lasso_server_get_svc_metadatas_with_id_and_type:
- * @server: a #LassoServer object
- * @svcMDIDs:(allow-none): a list of service metadata IDs
- * @service_type:(allow-none): a service type identifier
- *
- * Return value:(element-type LassoIdWsf2DiscoSvcMetadata)(transfer full): a list of #LassoIdWsf2DiscoSvcMetadata
- */
-GList *
-lasso_server_get_svc_metadatas_with_id_and_type(LassoServer *server, GList *svcMDIDs,
- const gchar *service_type)
-{
- gchar *svcMDID;
- LassoIdWsf2DiscoSvcMetadata *md;
- GList *result = NULL;
- GList *i;
- GList *j;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
- g_return_val_if_fail(service_type != NULL, NULL);
-
- for (i = g_list_first(server->private_data->svc_metadatas); i != NULL; i = g_list_next(i)) {
- md = LASSO_IDWSF2_DISCO_SVC_METADATA(i->data);
- /* FIXME: this assumes there is one and only one service
- * context, and service type, this should be fixed to iterate
- * properly on the GList */
- if (md->ServiceContext == NULL || strcmp((char*)(LASSO_IDWSF2_DISCO_SERVICE_CONTEXT(
- md->ServiceContext->data)->ServiceType)->data, service_type) != 0) {
- continue;
- }
- if (svcMDIDs == NULL) {
- /* If no svcMDID is given, return all the metadatas with given */
- /* service type */
- result = g_list_append(result, g_object_ref(md));
- } else {
- for (j = g_list_first(svcMDIDs); j != NULL; j = g_list_next(j)) {
- svcMDID = (gchar *)(j->data);
- if (strcmp(svcMDID, md->svcMDID) == 0) {
- result = g_list_append(result, g_object_ref(md));
- }
- }
- }
- }
-
- return result;
-}
-
-void
-lasso_server_init_id_wsf20_svcmds(LassoServer *server, xmlNode *t)
-{
- xmlNode *t2 = t->children;
-
- if (strcmp((char*)t->name, "SvcMDs") == 0) {
- while (t2) {
- LassoIdWsf2DiscoSvcMetadata *svcMD;
- if (t2->type != XML_ELEMENT_NODE) {
- t2 = t2->next;
- continue;
- }
- svcMD = lasso_idwsf2_disco_svc_metadata_new();
- LASSO_NODE_GET_CLASS(svcMD)->init_from_xml(LASSO_NODE(svcMD), t2);
- server->private_data->svc_metadatas = g_list_append(
- server->private_data->svc_metadatas, svcMD);
- t2 = t2->next;
- }
- }
-}
-
-static void
-add_childnode_from_list(LassoNode *value, xmlNode *xmlnode)
-{
- xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(value), TRUE));
-}
-
-void
-lasso_server_dump_id_wsf20_svcmds(LassoServer *server, xmlNode *xmlnode)
-{
- /* Service Metadatas (SvcMD) */
- if (server->private_data->svc_metadatas != NULL) {
- xmlNode *t;
- t = xmlNewTextChild(xmlnode, NULL, (xmlChar*)"SvcMDs", NULL);
- g_list_foreach(server->private_data->svc_metadatas,
- (GFunc)add_childnode_from_list, t);
- }
-}
diff --git a/lasso/id-wsf-2.0/server.h b/lasso/id-wsf-2.0/server.h
deleted file mode 100644
index 7a05fef0..00000000
--- a/lasso/id-wsf-2.0/server.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* $Id: server.h 2945 2006-11-19 20:07:46Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SERVER_H__
-#define __LASSO_IDWSF2_SERVER_H__
-
-#include "../utils.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/server.h"
-#include "../xml/id-wsf-2.0/disco_svc_metadata.h"
-
-LASSO_EXPORT lasso_error_t lasso_server_add_svc_metadata(LassoServer *server,
- LassoIdWsf2DiscoSvcMetadata *metadata);
-
-LASSO_EXPORT const GList *lasso_server_get_svc_metadatas(LassoServer *server);
-
-LASSO_EXPORT GList *lasso_server_get_svc_metadatas_with_id_and_type(LassoServer *server,
- GList *svcMDIDs, const gchar *service_type);
-
-void lasso_server_init_id_wsf20_services(LassoServer *server, xmlNode *t);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SERVER_H__ */
-
diff --git a/lasso/id-wsf-2.0/serverprivate.h b/lasso/id-wsf-2.0/serverprivate.h
deleted file mode 100644
index 85345dd1..00000000
--- a/lasso/id-wsf-2.0/serverprivate.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* $Id: server.h 2945 2006-11-19 20:07:46Z dlaniel $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SERVERPRIVATE_H__
-#define __LASSO_IDWSF2_SERVERPRIVATE_H__
-
-#include "../utils.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/server.h"
-#include
-
-void lasso_server_init_id_wsf20_svcmds(LassoServer *server, xmlNode *t);
-
-void lasso_server_dump_id_wsf20_svcmds(LassoServer *server, xmlNode *xmlnode);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SERVERPRIVATE_H__ */
diff --git a/lasso/id-wsf-2.0/session.c b/lasso/id-wsf-2.0/session.c
deleted file mode 100644
index ce23ec32..00000000
--- a/lasso/id-wsf-2.0/session.c
+++ /dev/null
@@ -1,192 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:idwsf2-session-extension
- */
-#include "session.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../utils.h"
-#include "../id-ff/session.h"
-#include "../id-ff/sessionprivate.h"
-#include "../xml/misc_text_node.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/id-wsf-2.0/disco_svc_metadata.h"
-#include "../xml/id-wsf-2.0/disco_service_type.h"
-#include "../xml/id-wsf-2.0/disco_security_context.h"
-#include "../xml/id-wsf-2.0/sec_token.h"
-
-
-typedef struct _DumpContext {
- xmlNode *parent;
-} DumpContext;
-
-/**
- * lasso_session_add_endpoint_reference:
- * @session: a #LassoSession object
- * @epr: a #LassoWsAddrEndpointReference object
- *
- * Add an endpoint reference to a session object.
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-gint
-lasso_session_add_endpoint_reference(LassoSession *session, LassoWsAddrEndpointReference *epr)
-{
- GList *i;
-
- g_return_val_if_fail(LASSO_IS_SESSION(session), LASSO_PARAM_ERROR_INVALID_VALUE);
- g_return_val_if_fail(LASSO_IS_WSA_ENDPOINT_REFERENCE(epr), LASSO_PARAM_ERROR_INVALID_VALUE);
-
- for (i = g_list_first(epr->Metadata->any); i != NULL; i = g_list_next(i)) {
- if (LASSO_IS_IDWSF2_DISCO_SERVICE_TYPE(i->data)) {
- g_hash_table_insert(session->private_data->eprs,
- g_strdup(LASSO_IDWSF2_DISCO_SERVICE_TYPE(i->data)->content),
- g_object_ref(epr));
- session->is_dirty = TRUE;
- break;
- }
- }
-
- return 0;
-}
-
-/**
- * lasso_session_get_endpoint_reference:
- * @session: a #LassoSession object
- * @service_type: a string giving the service type.
- *
- * Return an endpoint reference for the given service type.
- *
- * Return value: a caller owned #LassoWsAddrEndpointReference object for the given service type if
- * one is found, NULL otherwise.
- */
-LassoWsAddrEndpointReference*
-lasso_session_get_endpoint_reference(LassoSession *session, const gchar *service_type)
-{
- LassoWsAddrEndpointReference* epr;
-
- if (! LASSO_IS_SESSION(session) || service_type == NULL)
- return NULL;
-
- epr = g_hash_table_lookup(session->private_data->eprs, service_type);
- if (LASSO_IS_WSA_ENDPOINT_REFERENCE(epr)) {
- return (LassoWsAddrEndpointReference*)g_object_ref(epr);
- } else {
- return NULL;
- }
-}
-
-/**
- * lasso_session_get_assertion_identity_token:
- * @session: a #LassoSession object
- * @service_type: a char* string describing the targeted service
- *
- * Return a security token to contact a specified service.
- *
- * Return value: (allow-none): a #LassoAssertion object or NULL
- */
-LassoSaml2Assertion*
-lasso_session_get_assertion_identity_token(LassoSession *session, const gchar *service_type)
-{
- LassoWsAddrEndpointReference* epr;
- GList *metadata_item;
- GList *i;
- LassoIdWsf2DiscoSecurityContext *security_context;
- LassoIdWsf2SecToken *sec_token;
- LassoSaml2Assertion *assertion = NULL;
-
- if (LASSO_IS_SESSION(session) == FALSE) {
- return NULL;
- }
-
- epr = lasso_session_get_endpoint_reference(session, service_type);
- if (epr == NULL || epr->Metadata == NULL) {
- return NULL;
- }
-
- metadata_item = epr->Metadata->any;
- for (i = g_list_first(metadata_item); i != NULL; i = g_list_next(i)) {
- if (LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT(i->data)) {
- security_context = LASSO_IDWSF2_DISCO_SECURITY_CONTEXT(i->data);
- if (security_context->Token != NULL) {
- sec_token = security_context->Token->data;
- if (LASSO_IS_SAML2_ASSERTION(sec_token->any)) {
- lasso_assign_gobject(assertion, sec_token->any);
- break;
- }
- }
- }
- }
-
- return assertion;
-}
-
-void
-lasso_session_id_wsf2_init_eprs(LassoSession *session, xmlNode *t)
-{
- xmlNode *t2;
-
- /* Endpoint References */
- if (strcmp((char*)t->name, "EndpointReferences") == 0) {
- t2 = t->children;
- while (t2) {
- LassoWsAddrEndpointReference *epr;
- if (t2->type != XML_ELEMENT_NODE) {
- t2 = t2->next;
- continue;
- }
- epr = LASSO_WSA_ENDPOINT_REFERENCE(
- lasso_wsa_endpoint_reference_new());
- LASSO_NODE_GET_CLASS(epr)->init_from_xml(LASSO_NODE(epr), t2);
- lasso_session_add_endpoint_reference(session, epr);
- g_object_unref(epr);
- t2 = t2->next;
- }
- }
-}
-
-static void
-add_childnode_from_hashtable(G_GNUC_UNUSED gchar *key, LassoNode *value, DumpContext *context)
-{
- xmlNode *xmlnode;
-
- xmlnode = context->parent;
- xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(value), TRUE));
-}
-
-void
-lasso_session_id_wsf2_dump_eprs(LassoSession *session, xmlNode *xmlnode) {
- xmlNode *t;
- DumpContext context;
-
- /* Endpoint References */
- if (session->private_data->eprs != NULL
- && g_hash_table_size(session->private_data->eprs)) {
- t = xmlNewTextChild(xmlnode, NULL, (xmlChar*)"EndpointReferences", NULL);
- context.parent = t;
- g_hash_table_foreach(session->private_data->eprs,
- (GHFunc)add_childnode_from_hashtable, &context);
- }
-}
diff --git a/lasso/id-wsf-2.0/session.h b/lasso/id-wsf-2.0/session.h
deleted file mode 100644
index 509dbff8..00000000
--- a/lasso/id-wsf-2.0/session.h
+++ /dev/null
@@ -1,49 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SESSION_H__
-#define __LASSO_IDWSF2_SESSION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/session.h"
-#include "../xml/saml-2.0/saml2_assertion.h"
-#include "../xml/ws/wsa_endpoint_reference.h"
-
-LASSO_EXPORT lasso_error_t lasso_session_add_endpoint_reference(LassoSession *session,
- LassoWsAddrEndpointReference *epr);
-
-LASSO_EXPORT LassoWsAddrEndpointReference* lasso_session_get_endpoint_reference(
- LassoSession *session, const gchar *service_type);
-
-LASSO_EXPORT LassoSaml2Assertion* lasso_session_get_assertion_identity_token(
- LassoSession *session, const gchar *service_type);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SESSION_H__ */
-
diff --git a/lasso/id-wsf-2.0/sessionprivate.h b/lasso/id-wsf-2.0/sessionprivate.h
deleted file mode 100644
index 76ba2c0e..00000000
--- a/lasso/id-wsf-2.0/sessionprivate.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SERVERPRIVATE_H__
-#define __LASSO_IDWSF2_SERVERPRIVATE_H__
-
-#include "../utils.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/session.h"
-#include
-
-void lasso_session_id_wsf2_init_eprs(LassoSession *session, xmlNode *t);
-void lasso_session_id_wsf2_dump_eprs(LassoSession *session, xmlNode *xmlnode);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SERVERPRIVATE_H__ */
diff --git a/lasso/id-wsf-2.0/soap_binding.c b/lasso/id-wsf-2.0/soap_binding.c
deleted file mode 100644
index c61cb732..00000000
--- a/lasso/id-wsf-2.0/soap_binding.c
+++ /dev/null
@@ -1,496 +0,0 @@
-/* $Id: wsf_profile.c,v 1.45 2007/01/05 16:11:02 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "soap_binding.h"
-#include "../xml/idwsf_strings.h"
-#include "../xml/id-wsf-2.0/idwsf2_strings.h"
-#include "../xml/id-wsf-2.0/sb2_sender.h"
-#include "../xml/id-wsf-2.0/sb2_redirect_request.h"
-#include "../xml/id-wsf-2.0/sb2_user_interaction_header.h"
-#include "../xml/ws/wsa_attributed_uri.h"
-
-#include "../utils.h"
-
-#define get_header(test) \
- GList *i = NULL; \
- \
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope)) \
- return NULL; \
- if (! LASSO_IS_SOAP_HEADER(soap_envelope->Header)) \
- return NULL; \
- \
- i = soap_envelope->Header->Other; \
- for (; i != NULL; i = g_list_next(i)) { \
- if (test(i->data)) { \
- break; \
- } \
- }
-
-inline static LassoNode* _get_node(GList **list, GType node_type, const char *node_name,
- const char *node_namespace, const char *node_prefix, gboolean create);
-
-/**
- * lasso_soap_envelope_sb2_get_provider_id:
- * @soap_envelope: a #LassoSoapEnvelope object
- *
- * Return the providerID contained in the sb2:Sender header.
- *
- * Return value: the providerID string or NULL if no sb2:Sender header is present.
- */
-char *
-lasso_soap_envelope_sb2_get_provider_id(LassoSoapEnvelope *soap_envelope)
-{
- get_header(LASSO_IS_IDWSF2_SB2_SENDER);
-
- if (i)
- return g_strdup(((LassoIdWsf2Sb2Sender*)i->data)->providerID);
- else
- return NULL;
-}
-
-/**
- * lasso_soap_envelope_sb2_get_redirect_request_url:
- * @soap_envelope: a #LassoSoapEnvelope object
- *
- * Return the redirect request URL from the sb2:RedirectRequest SOAP Fault detail.
- *
- * The WSC MUST verify that this URL belong to the WSP. You can do this by comparing the domain
- * with the one in the @LassoProfile.msg_url field
- * The WSC MUST redirect the User Agent to this URL with a GET or POST request. It MUST add a
- * parameter named ReturnToURL giving the URL where the WSP will send the User Agent after the
- * interaction. It MAY add an IDP parameter indicating to the WSP how to authenticate the principal
- * if no preexisting session with the User Agent exists
- *The WSP must check that the ReturnToURL belon to the WSP, by using the providerID URL for example.
- After the interaction the WSC must redirect the User Agent to the ReturnToURL URL adding a parameter named ResendMessage. If ResendMessage is 0 or false, it means that the principal refused to continue the process. Any other value means that the prinicpal accepted and so the WSC can try again its request.
- In order to succeed the request need to refer to the SOAP Fault response containing the RedirectRequest element. See lasso_soap_envelope_get_relates_to(), and #LassoWsAddrAttributedURI.
- *
- * Return value:(transfer none)(allow-none): the redirect URL string or NULL if no sb2:RedirectRequest detail is present.
- */
-const char *
-lasso_soap_envelope_sb2_get_redirect_request_url(LassoSoapEnvelope *soap_envelope)
-{
- LassoSoapFault *fault;
- LassoIdWsf2Sb2RedirectRequest *redirect_request;
-
- fault = lasso_soap_envelope_get_soap_fault(soap_envelope, FALSE);
- if (! fault || ! LASSO_IS_SOAP_DETAIL(fault->Detail))
- return NULL;
-
- redirect_request = (LassoIdWsf2Sb2RedirectRequest*) _get_node(&fault->Detail->any, LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST, NULL, NULL, NULL, FALSE);
- if (! redirect_request)
- return NULL;
- return redirect_request->redirectURL;
-}
-
-/**
- * lasso_soap_envelope_sb2_get_target_identity_header:
- * @soap_envelope: a #LassoSoapEnvelope object.
- *
- * Return the first sb2:TargetIdentity header.
- *
- * Return value: (transfer none): the first #LassoIdWsf2Sb2TargetIdentity object found in the
- * headers of the @soap_envelope, or NULL if none is found.
- */
-LassoIdWsf2Sb2TargetIdentity*
-lasso_soap_envelope_sb2_get_target_identity_header(LassoSoapEnvelope *soap_envelope)
-{
- get_header(LASSO_IS_IDWSF2_SB2_TARGET_IDENTITY);
-
- if (i)
- return (LassoIdWsf2Sb2TargetIdentity*)i->data;
- else
- return NULL;
-}
-
-
-/**
- * lasso_soap_envelope_wssec_get_security_header_impl:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @create: wether to create the header if not found
- *
- * Return value: (transfer none): the wsse:Security header found in the SOAP message, or NULL if
- * none is found, and creation was not allowed.
- */
-static LassoWsSec1SecurityHeader*
-lasso_soap_envelope_wssec_get_security_header_impl(LassoSoapEnvelope *soap_envelope,
- gboolean create)
-{
- get_header(LASSO_IS_WSSE_SECURITY_HEADER);
-
- if (i) {
- return (LassoWsSec1SecurityHeader*)i->data;
- }
-
- if (create) {
- LassoWsSec1SecurityHeader *wssec_security = lasso_wsse_security_header_new();
- lasso_list_add_new_gobject (soap_envelope->Header->Other, wssec_security);
- return wssec_security;
- }
-
- return NULL;
-}
-
-/**
- * lasso_soap_envelope_wssec_get_security_header:
- * @soap_envelope: a #LassoSoapEnvelope object
- *
- * Return the first wsse:Security header found in the headers of @soap_envelope.
- *
- * Return value: (transfer none): the wsse:Security header found in the SOAP message, or NULL if
- * none is found.
- */
-LassoWsSec1SecurityHeader*
-lasso_soap_envelope_wssec_get_security_header(LassoSoapEnvelope *soap_envelope)
-{
- return lasso_soap_envelope_wssec_get_security_header_impl (soap_envelope, FALSE);
-}
-
-/**
- * lasso_soap_envelope_add_security_token:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @token: a #LassoNode to use as a security token
- *
- * Add @token as a security token to the headers of @soap_envelope using a
- * #LassoWsSec1SecurityHeader element as a container. Eventually create the
- * #LassoWsSec1SecurityHeader element if it does not exist already.
- */
-void
-lasso_soap_envelope_add_security_token(LassoSoapEnvelope *soap_envelope, LassoNode *token)
-{
- LassoWsSec1SecurityHeader *wssec_security;
-
- wssec_security = lasso_soap_envelope_wssec_get_security_header_impl (soap_envelope, TRUE);
- g_return_if_fail (wssec_security != NULL);
- lasso_list_add_gobject(wssec_security->any, token);
-}
-
-/**
- * lasso_soap_envelope_get_saml2_security_token:
- * @soap_envelope: a #LassoSoapEnvelope object
- *
- * Return a SAML2 Assertion used as a security token if one is found in the headers of
- * @soap_envelope.
- *
- * Return value: (transfer none): a #LassoSaml2Assertion, or NULL if none is found.
- */
-LassoSaml2Assertion*
-lasso_soap_envelope_get_saml2_security_token(LassoSoapEnvelope *soap_envelope)
-{
- const LassoWsSec1SecurityHeader *security;
- GList *it;
-
- security = lasso_soap_envelope_wssec_get_security_header (soap_envelope);
- if (! security)
- return NULL;
- lasso_foreach (it, security->any) {
- if (LASSO_IS_SAML2_ASSERTION (it->data)) {
- return (LassoSaml2Assertion*)g_object_ref(it->data);
- }
- }
- return NULL;
-}
-
-/**
- * lasso_soap_envelope_add_action_header:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @action: the action targeted by this message
- *
- * Add an action header to a #LassoSoapEnvelope object.
- */
-void
-lasso_soap_envelope_add_action(LassoSoapEnvelope *soap_envelope, const char *action)
-{
- LassoWsAddrAttributedURI *wsa_action;
-
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope) || ! LASSO_IS_SOAP_HEADER(soap_envelope->Header))
- return;
- wsa_action = lasso_wsa_attributed_uri_new_with_string(action);
- lasso_node_set_custom_nodename(&wsa_action->parent, "Action");
- lasso_list_add_new_gobject(soap_envelope->Header->Other, wsa_action);
-}
-
-const char*
-lasso_soap_envelope_get_action(LassoSoapEnvelope *soap_envelope)
-{
- GList *i;
-
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope) || ! LASSO_IS_SOAP_HEADER(soap_envelope->Header))
- return NULL;
-
- lasso_foreach(i, soap_envelope->Header->Other) {
- if (LASSO_IS_WSA_ATTRIBUTED_URI(i->data)
- && lasso_strisequal(lasso_node_get_name((LassoNode *)i->data),"Action")) {
- return ((LassoWsAddrAttributedURI*)i->data)->content;
- }
- }
- return NULL;
-}
-
-/**
- * lasso_soap_envelope_add_to_body:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @content: a #LassoNode object to add to the body of the SOAP message
- *
- * Add new content to the SOAP message body.
- */
-void
-lasso_soap_envelope_add_to_body(LassoSoapEnvelope *soap_envelope, LassoNode *content)
-{
- if (!LASSO_IS_SOAP_ENVELOPE(soap_envelope) || !LASSO_IS_SOAP_BODY(soap_envelope->Body))
- return;
- lasso_list_add_gobject(soap_envelope->Body->any, content);
-}
-
-inline static LassoNode*
-_get_node(GList **list, GType node_type, const char *node_name, const char *node_namespace,
- const char *node_prefix, gboolean create)
-{
- GList *i;
-
- lasso_foreach(i, (*list)) {
- LassoNode *node = (LassoNode*)i->data;
-
- if (LASSO_IS_NODE(node) &&
- (! node_type || ( G_IS_OBJECT(node) && G_OBJECT_TYPE(node) == node_type)) &&
- (! node_name || lasso_strisequal(lasso_node_get_name(node),node_name)) &&
- (! node_namespace ||
- lasso_strisequal(lasso_node_get_namespace(node),node_namespace))) {
- return node;
- }
- }
- if (create) {
- LassoNode *node = (LassoNode*)g_object_new(node_type, NULL);
- if (! node) {
- return NULL;
- }
- if (lasso_strisnotequal(lasso_node_get_name(node),node_name)) {
- lasso_node_set_custom_nodename(node, node_name);
- }
- if (lasso_strisequal(lasso_node_get_namespace(node),node_namespace)) {
- lasso_node_set_custom_namespace(node, node_namespace, node_prefix);
- }
- lasso_list_add_new_gobject(*list, node);
- return node;
- }
- return NULL;
-}
-
-LassoNode*
-_lasso_soap_envelope_get_header(LassoSoapEnvelope *soap_envelope, GType node_type,
- const char *node_name, const char *node_namespace, const char *node_prefix,
- gboolean create)
-{
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope) || !
- LASSO_IS_SOAP_HEADER(soap_envelope->Header)) {
- return NULL;
- }
-
- return _get_node(&soap_envelope->Header->Other, node_type, node_name, node_namespace,
- node_prefix, create);
-}
-
-
-/**
- * lasso_soap_envelope_get_message_id:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @create:(default FALSE): whether to create the node if it is not found
- *
- * Return the WS-Addressing header MessageID content.
- *
- * Return value:(transfer none): a #LassoWsAddrAttributedURI object or NULL if none is found, and
- * creation was not allowed.
- */
-LassoWsAddrAttributedURI*
-lasso_soap_envelope_get_message_id(LassoSoapEnvelope *soap_envelope, gboolean create)
-{
- return (LassoWsAddrAttributedURI*)_lasso_soap_envelope_get_header(soap_envelope,
- LASSO_TYPE_WSA_ATTRIBUTED_URI, LASSO_WSA_ELEMENT_MESSAGE_ID, NULL, NULL,
- create);
-}
-
-/**
- * lasso_soap_envelope_get_relates_to:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @create:(default FALSE): whether to create the node if it is not found
- *
- *
- * Returns the RelatesTo WS-Addressing header, if it exists.
- *
- * Return value:(transfer none): a #LassoWsAddrAttributedURI object or NULL if none is found, and creation was not allowed.
- */
-LassoWsAddrRelatesTo*
-lasso_soap_envelope_get_relates_to(LassoSoapEnvelope *soap_envelope, gboolean create)
-{
- return (LassoWsAddrRelatesTo*)_lasso_soap_envelope_get_header(soap_envelope,
- LASSO_TYPE_WSA_RELATES_TO, NULL, NULL, NULL, create);
-}
-
-/**
- * lasso_soap_envelope_set_relates_to:
- * @soap_envelope: a #LassoSoapEnvelope object
- * @value:(allow-none): the value to set into the new header
- * @relationship:(allow-none): kind of the relationship
- *
- * Set the value of the RelatesTo header, if it does not exist it is created. If @value is NULL, the
- * header is removed.
- */
-void
-lasso_soap_envelope_set_relates_to(LassoSoapEnvelope *soap_envelope, char *value, char *relationship)
-{
- LassoWsAddrRelatesTo *relates_to;
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope))
- return;
-
-
- relates_to = lasso_soap_envelope_get_relates_to(soap_envelope, TRUE);
- if (value) {
- g_return_if_fail(relates_to);
- lasso_assign_string(relates_to->content, value);
- lasso_assign_string(relates_to->RelationshipType, relationship);
- } else if (relates_to) {
- lasso_list_remove_gobject(soap_envelope->Header->Other, relates_to);
- }
-}
-
-/**
- * lasso_soap_envelope_get_body_content:
- * @soap_envelope: a #LassoSoapEnvelope object
- *
- * Return the body content of the @soap_envelope object.
- *
- * Return value:(element-type LassoNode): the content or NULL if the concent is empty or the object invalid.
- */
-GList*
-lasso_soap_envelope_get_body_content(LassoSoapEnvelope *soap_envelope) {
- if (LASSO_IS_SOAP_ENVELOPE(soap_envelope) && LASSO_IS_SOAP_BODY(soap_envelope->Body))
- return soap_envelope->Body->any;
- return NULL;
-}
-
-LassoSoapDetail *
-lasso_soap_fault_get_detail(LassoSoapFault *soap_fault, gboolean create)
-{
- if (! LASSO_IS_SOAP_FAULT(soap_fault))
- return NULL;
-
- if (soap_fault->Detail == NULL && create) {
- soap_fault->Detail = lasso_soap_detail_new();
- }
- return soap_fault->Detail;
-}
-
-
-/**
- * lasso_soap_fault_add_to_detail:
- * @soap_fault: a #LassoSoapFault object
- * @node: a node to add to the Detail sub-element of the @soap_fault object.
- *
- * Fill the detail part of a SOAP fault.
- */
-void
-lasso_soap_fault_add_to_detail(LassoSoapFault *soap_fault,
- LassoNode *node)
-{
- LassoSoapDetail *detail;
-
- detail = lasso_soap_fault_get_detail(soap_fault, TRUE);
- if (detail) {
- lasso_list_add_gobject(detail->any, node);
- }
-}
-
-LassoIdWsf2Sb2UserInteractionHeader *
-lasso_soap_envelope_get_sb2_user_interaction_header(LassoSoapEnvelope *soap_envelope, gboolean create)
-{
- return (LassoIdWsf2Sb2UserInteractionHeader*)_lasso_soap_envelope_get_header(soap_envelope,
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER, NULL, NULL, NULL,
- create);
-}
-
-LassoIdWsf2Sb2UserInteractionHint
-lasso_soap_envelope_get_sb2_user_interaction_hint(LassoSoapEnvelope *soap_envelope)
-{
- const char *hint;
- LassoIdWsf2Sb2UserInteractionHeader *header;
-
- header = lasso_soap_envelope_get_sb2_user_interaction_header(soap_envelope, FALSE);
- if (header) {
- hint = header->interact;
- if (lasso_strisequal(hint,LASSO_SB2_USER_INTERACTION_INTERACT_IF_NEEDED))
- return LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_INTERACT_IF_NEEDED;
- if (lasso_strisequal(hint,LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT))
- return LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT;
- if (lasso_strisequal(hint,LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT_FOR_DATA))
- return LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT_FOR_DATA;
-
- }
- return LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_NONE;
-}
-
-void
-lasso_soap_envelope_set_sb2_user_interaction_hint(LassoSoapEnvelope *soap_envelope,
- LassoIdWsf2Sb2UserInteractionHint hint)
-{
- LassoIdWsf2Sb2UserInteractionHeader *user_interaction;
-
- user_interaction = lasso_soap_envelope_get_sb2_user_interaction_header(soap_envelope, TRUE);
- switch (hint) {
- case LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_INTERACT_IF_NEEDED:
- lasso_assign_string(user_interaction->interact,
- LASSO_SB2_USER_INTERACTION_INTERACT_IF_NEEDED);
- break;
- case LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT:
- lasso_assign_string(user_interaction->interact,
- LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT);
- break;
- case LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT_FOR_DATA:
- lasso_assign_string(user_interaction->interact,
- LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT_FOR_DATA);
- break;
- default:
- lasso_release_string(user_interaction->interact);
- }
-}
-
-/**
- * lasso_soap_envelope_get_soap_fault:
- * @soap_envelope: a #LassoSoapEnvelope
- * @create:(default FALSE): whether to create the SOAP Fault
- *
- * Return the first SOAP Fault in the Body of the soap message @soap_envelope.
- *
- * Return value:(transfer none)(allow-none): a #LassoSoapFault object or NULL.
- */
-LassoSoapFault*
-lasso_soap_envelope_get_soap_fault(LassoSoapEnvelope *soap_envelope, gboolean create)
-{
- LassoSoapFault *fault;
-
- if (! LASSO_IS_SOAP_ENVELOPE(soap_envelope) || ! LASSO_SOAP_BODY(soap_envelope->Body))
- return NULL;
-
- fault = (LassoSoapFault*)_get_node(&soap_envelope->Body->any, LASSO_TYPE_SOAP_FAULT, NULL, NULL, NULL, create);
-
- return fault;
-}
-
diff --git a/lasso/id-wsf-2.0/soap_binding.h b/lasso/id-wsf-2.0/soap_binding.h
deleted file mode 100644
index b533a50c..00000000
--- a/lasso/id-wsf-2.0/soap_binding.h
+++ /dev/null
@@ -1,107 +0,0 @@
-/* $Id: wsf_profile.h,v 1.13 2006/11/14 17:07:30 Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SOAP_BINDING_H__
-#define __LASSO_IDWSF2_SOAP_BINDING_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../export.h"
-#include "../xml/soap-1.1/soap_envelope.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/id-wsf-2.0/sb2_target_identity.h"
-#include "../xml/id-wsf-2.0/sb2_user_interaction_header.h"
-#include "../xml/ws/wsse_security_header.h"
-#include "../xml/ws/wsa_attributed_uri.h"
-#include "../xml/ws/wsa_relates_to.h"
-#include "../xml/saml-2.0/saml2_assertion.h"
-
-typedef enum {
- LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_NONE,
- LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_INTERACT_IF_NEEDED,
- LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT,
- LASSO_IDWSF2_SB2_USER_INTERACTION_HINT_DO_NOT_INTERACT_FOR_DATA
-} LassoIdWsf2Sb2UserInteractionHint;
-
-LASSO_EXPORT char* lasso_soap_envelope_sb2_get_provider_id(LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT const char* lasso_soap_envelope_sb2_get_redirect_request_url(
- LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT LassoIdWsf2Sb2TargetIdentity* lasso_soap_envelope_sb2_get_target_identity_header(
- LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT LassoWsSec1SecurityHeader* lasso_soap_envelope_wssec_get_security_header(
- LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT void lasso_soap_envelope_add_security_token(LassoSoapEnvelope *soap_envelope,
- LassoNode *token);
-
-LASSO_EXPORT LassoSaml2Assertion *lasso_soap_envelope_get_saml2_security_token(
- LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT const char* lasso_soap_envelope_get_action(LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT void lasso_soap_envelope_add_to_body(LassoSoapEnvelope *soap_envelope,
- LassoNode *content);
-
-LASSO_EXPORT LassoWsAddrAttributedURI *lasso_soap_envelope_get_message_id(
- LassoSoapEnvelope *soap_envelope, gboolean create);
-
-LASSO_EXPORT LassoWsAddrRelatesTo *lasso_soap_envelope_get_relates_to(LassoSoapEnvelope *envelope,
- gboolean create);
-
-LASSO_EXPORT GList* lasso_soap_envelope_get_body_content(LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT void lasso_soap_fault_add_to_detail(LassoSoapFault *soap_fault,
- LassoNode *node);
-
-LASSO_EXPORT LassoIdWsf2Sb2UserInteractionHeader *
- lasso_soap_envelope_get_sb2_user_interaction_header(
- LassoSoapEnvelope *soap_envelope, gboolean create);
-
-LASSO_EXPORT LassoIdWsf2Sb2UserInteractionHint
- lasso_soap_envelope_get_sb2_user_interaction_hint( LassoSoapEnvelope *soap_envelope);
-
-LASSO_EXPORT void lasso_soap_envelope_set_sb2_user_interaction_hint(
- LassoSoapEnvelope *soap_envelope, LassoIdWsf2Sb2UserInteractionHint hint);
-
-LASSO_EXPORT void lasso_soap_envelope_add_action(LassoSoapEnvelope *soap_envelope,
- const char *action);
-
-LASSO_EXPORT LassoSoapDetail *lasso_soap_fault_get_detail(LassoSoapFault *soap_fault,
- gboolean create);
-
-LASSO_EXPORT LassoSoapFault* lasso_soap_envelope_get_soap_fault(LassoSoapEnvelope *soap_envelope,
- gboolean create);
-
-LASSO_EXPORT void lasso_soap_envelope_set_relates_to(LassoSoapEnvelope *soap_envelope, char *value, char *relationship);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SOAP_BINDING_H__ */
-
diff --git a/lasso/id-wsf/Makefile.am b/lasso/id-wsf/Makefile.am
deleted file mode 100644
index 88128713..00000000
--- a/lasso/id-wsf/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-MAINTAINERCLEANFILES = Makefile.in
-liblassoincludedir = $(includedir)/lasso/id-wsf
-
-AM_CPPFLAGS = \
- -I$(top_builddir) \
- -I$(top_srcdir) \
- $(LASSO_CORE_CFLAGS) \
- -DG_LOG_DOMAIN=\"lasso\"
-
-lasso_private_h_sources = \
- wsf_profile_private.h \
- id_ff_extensions_private.h
-
-if WSF_ENABLED
-noinst_LTLIBRARIES = liblasso-id-wsf.la
-WSF_C_FILES = \
- authentication.c \
- discovery.c \
- interaction_profile_service.c \
- personal_profile_service.c \
- data_service.c \
- wsf_profile.c \
- wsf_utils.c \
- id_ff_extensions.c
-
-WSF_H_FILES = \
- id_wsf.h \
- authentication.h \
- discovery.h \
- interaction_profile_service.h \
- personal_profile_service.h \
- data_service.h \
- wsf_profile.h \
- wsf_utils.h \
- id_ff_extensions.h
-endif
-
-liblasso_id_wsf_la_SOURCES = $(WSF_C_FILES)
-
-liblassoinclude_HEADERS = $(WSF_H_FILES)
-
-EXTRA_DIST = $(lasso_private_h_sources)
diff --git a/lasso/id-wsf/authentication.c b/lasso/id-wsf/authentication.c
deleted file mode 100644
index c7ccc290..00000000
--- a/lasso/id-wsf/authentication.c
+++ /dev/null
@@ -1,762 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../utils.h"
-#include "authentication.h"
-#include "../xml/idwsf_strings.h"
-#include "../xml/private.h"
-#include "../xml/sa_sasl_request.h"
-#include "../xml/sa_sasl_response.h"
-#include "../xml/soap_binding_correlation.h"
-#include
-
-/**
- * SECTION:idwsf_authentication
- * @short_description: ID-WSF 1.0 Authentication service
- * @stability: Unstable
- *
- * The authentication service allows to authenticate uniformly using a SOAP encapsulated SASL
- * service. Ideally you can use any SASL profile.
- */
-
-/* SASL client callbacks (for secret, login, password, ... ) */
-static sasl_callback_t lasso_sasl_callbacks[5];
-
-static int
-lasso_sasl_cb_log(G_GNUC_UNUSED void* context, G_GNUC_UNUSED int priority, G_GNUC_UNUSED const char* message)
-{
- return SASL_OK;
-}
-
-static int
-lasso_sasl_cb_authname(void* context, G_GNUC_UNUSED int id, const char** result, unsigned* len)
-{
- LassoUserAccount *account;
- int ret = SASL_FAIL;
-
- *result = NULL;
- if (len) *len = 0;
-
- account = (LassoUserAccount *)context;
- if (account != NULL && account->login != NULL) {
- *result = g_strdup(account->login);
- if (len) *len = strlen(account->login);
- ret = SASL_OK;
- }
-
- return ret;
-}
-
-static int
-lasso_sasl_cb_pass(G_GNUC_UNUSED sasl_conn_t* conn, void* context, G_GNUC_UNUSED int id, sasl_secret_t** psecret)
-{
- static sasl_secret_t *s;
- LassoUserAccount *account;
- int ret = SASL_FAIL;
-
- account = (LassoUserAccount *)context;
- if (account != NULL && account->password != NULL) {
- s = (sasl_secret_t*) g_malloc0(sizeof(sasl_secret_t) + strlen(account->password));
-
- strcpy((char*)s->data, account->password);
- s->len = strlen(account->password);
-
- *psecret = s;
-
- ret = SASL_OK;
- }
-
- return ret;
-}
-
-struct _LassoAuthenticationPrivate
-{
- gboolean dispose_has_run;
-};
-
-static LassoSoapEnvelope*
-lasso_authentication_build_soap_envelope_internal(const char *refToMessageId,
- const char *providerId)
-{
- LassoSoapEnvelope *envelope;
- LassoSoapHeader *header;
- LassoSoapBody *body;
- LassoSoapBindingCorrelation *correlation;
- gchar *messageId, *timestamp;
-
- /* Body */
- body = lasso_soap_body_new();
- body->Id = lasso_build_unique_id(32);
- envelope = lasso_soap_envelope_new(body);
-
- /* Header */
- header = lasso_soap_header_new();
- envelope->Header = header;
-
- /* Correlation */
- messageId = lasso_build_unique_id(32);
- timestamp = lasso_get_current_time();
- correlation = lasso_soap_binding_correlation_new(messageId, timestamp);
- correlation->id = lasso_build_unique_id(32);
- if (refToMessageId != NULL)
- correlation->refToMessageID = g_strdup(refToMessageId);
- header->Other = g_list_append(header->Other, correlation);
-
- /* Provider */
- if (providerId) {
- LassoSoapBindingProvider *provider = lasso_soap_binding_provider_new(providerId);
- provider->id = lasso_build_unique_id(32);
- header->Other = g_list_append(header->Other, provider);
- }
-
- return envelope;
-}
-gint
-lasso_authentication_client_start(LassoAuthentication *authentication)
-{
- LassoSaSASLRequest *request;
- int res;
- const char *mechusing;
- const char *out;
- unsigned int outlen = 0;
- xmlChar *outbase64;
-
- /* Liberty part */
- request = LASSO_SA_SASL_REQUEST(LASSO_WSF_PROFILE(authentication)->request);
-
- /* sasl part */
- res = sasl_client_start(authentication->connection, /* same context from above */
- request->mechanism, /* list of mechanisms from the server */
- NULL, /* filled in if an interaction is needed */
- &out, /* filled in on success */
- &outlen, /* filled in on success */
- &mechusing);
-
- /* mechusing is th resulting best mech to use, so copy it in SASLRequest element */
- if (mechusing != NULL) {
- lasso_release(request->mechanism);
- request->mechanism = g_strdup(mechusing);
- }
-
- if (outlen > 0) {
- outbase64 = xmlSecBase64Encode((xmlChar*)out, outlen, 0);
- request->Data = g_list_append(request->Data, g_strdup((char*)outbase64));
- xmlFree(outbase64);
- }
-
- return res;
-}
-
-gint
-lasso_authentication_client_step(LassoAuthentication *authentication)
-{
- LassoSaSASLRequest *request;
- LassoSaSASLResponse *response;
- int res = 0;
- xmlChar *in = NULL;
- int inlen = 0;
- xmlChar *inbase64 = NULL;
-
- xmlChar *outbase64;
- const char *out;
- unsigned int outlen = 0;
-
- /* Liberty part */
- request = LASSO_SA_SASL_REQUEST(LASSO_WSF_PROFILE(authentication)->request);
- response = LASSO_SA_SASL_RESPONSE(LASSO_WSF_PROFILE(authentication)->response);
-
- /* sasl part */
-
- if (response->Data != NULL && response->Data->data != NULL) {
- inbase64 = response->Data->data;
- in = g_malloc(strlen((char*)inbase64));
- inlen = xmlSecBase64Decode(inbase64, in, strlen((char*)inbase64));
-
- res = sasl_client_step(authentication->connection, /* our context */
- (char*)in, /* the data from the server */
- inlen, /* its length */
- NULL, /* prompt_need */
- &out, /* client response */
- &outlen); /* its length */
- if (outlen > 0) {
- outbase64 = xmlSecBase64Encode((xmlChar*)out, outlen, 0);
- request->Data = g_list_append(request->Data, g_strdup((char*)outbase64));
- xmlFree(outbase64);
- }
- }
-
- return res;
-}
-
-void
-lasso_authentication_destroy(LassoAuthentication *authentication)
-{
- lasso_node_destroy(LASSO_NODE(authentication));
-}
-
-char*
-lasso_authentication_get_mechanism_list(LassoAuthentication *authentication)
-{
- int res;
- const char *result_string;
- unsigned int string_length;
- int number_of_mechanisms;
-
- if (authentication->connection == NULL) {
- return NULL;
- }
-
- res = sasl_listmech(authentication->connection, /* The context for this connection */
- NULL, /* not supported */
- "", /* What to prepend the string with */
- " ", /* What to separate mechanisms with */
- "", /* What to append to the string */
- &result_string, /* The produced string. */
- &string_length, /* length of the string */
- &number_of_mechanisms); /* Number of mechanisms in
- the string */
- if (result_string == NULL)
- return NULL;
-
- return g_strdup(result_string);
-}
-
-gint
-lasso_authentication_init_request(LassoAuthentication *authentication,
- LassoDiscoDescription *description,
- const gchar *mechanisms,
- LassoUserAccount *account)
-{
- LassoSoapEnvelope *envelope;
- LassoSaSASLRequest *request;
- int res;
-
- /* global callback for every connection */
- static sasl_callback_t global_callbacks[2];
-
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_DISCO_DESCRIPTION(description),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(mechanisms != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
-
- if (description->Endpoint != NULL) {
- LASSO_WSF_PROFILE(authentication)->msg_url = g_strdup(description->Endpoint);
- } else if (description->WsdlURI != NULL) {
-
- }
-
- /* liberty-idwsf-authn-svc-1.1.pdf - page 13 - lignes 342 / 343 :
- In the case where a single SASL mechanism name is conveyed, the message
- can contain a so-called initial response (see Section 5.1 of [RFC2222]) in the
- element. */
- request = lasso_sa_sasl_request_new(mechanisms);
- LASSO_WSF_PROFILE(authentication)->request = LASSO_NODE(request);
-
- envelope = lasso_authentication_build_soap_envelope_internal(NULL, NULL);
- LASSO_WSF_PROFILE(authentication)->soap_envelope_request = envelope;
- if (envelope == NULL || envelope->Body == NULL || envelope->Body->any == NULL) {
- return critical_error(LASSO_PROFILE_ERROR_MISSING_REQUEST);
- }
- envelope->Body->any = g_list_append(envelope->Body->any, request);
-
- /* set up default logging callback */
- global_callbacks[0].id = SASL_CB_LOG;
- global_callbacks[0].proc = lasso_sasl_cb_log;
- global_callbacks[0].context = NULL;
-
- global_callbacks[1].id = SASL_CB_LIST_END;
- global_callbacks[1].proc = NULL;
- global_callbacks[1].context = NULL;
-
- sasl_client_init(global_callbacks);
-
- /* sasl client new connection */
- {
- sasl_callback_t* callback;
-
- callback = lasso_sasl_callbacks;
-
- callback->id = SASL_CB_AUTHNAME;
- callback->proc = &lasso_sasl_cb_authname;
- callback->context = account;
- callback++;
-
- callback->id = SASL_CB_USER;
- callback->proc = &lasso_sasl_cb_authname;
- callback->context = account;
- callback++;
-
- callback->id = SASL_CB_PASS;
- callback->proc = &lasso_sasl_cb_pass;
- callback->context = account;
- callback++;
-
- callback->id = SASL_CB_GETREALM;
- callback->proc = NULL;
- callback->context = NULL;
- callback++;
-
- callback->id = SASL_CB_LIST_END;
- callback->proc = NULL;
- callback->context = NULL;
- }
-
- res = sasl_client_new(LASSO_SA_SASL_SERVICE_NAME,
- NULL,
- NULL,
- NULL,
- lasso_sasl_callbacks, /* new connection callbacks (log, ...) */
- 0,
- &authentication->connection);
-
- return res;
-}
-
-
-gint
-lasso_authentication_process_request_msg(LassoAuthentication *authentication,
- const gchar *soap_msg)
-{
- LassoSoapEnvelope *envelope;
- LassoSaSASLResponse *response;
- LassoUtilityStatus *status;
- LassoSoapBindingCorrelation *correlation;
- gchar *messageId;
- int res = 0;
-
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(soap_msg != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- /* if a previous request and response, then remove */
- if (LASSO_IS_SOAP_ENVELOPE(LASSO_WSF_PROFILE(authentication)->soap_envelope_response) \
- == TRUE) {
- lasso_node_destroy(LASSO_NODE(LASSO_WSF_PROFILE(authentication)->\
- soap_envelope_response));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_response = NULL;
- LASSO_WSF_PROFILE(authentication)->response = NULL;
- }
-
- if (LASSO_IS_SOAP_ENVELOPE(LASSO_WSF_PROFILE(authentication)->soap_envelope_request) \
- == TRUE) {
- lasso_node_destroy(LASSO_NODE(LASSO_WSF_PROFILE(authentication)->\
- soap_envelope_request));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_request = NULL;
- LASSO_WSF_PROFILE(authentication)->request = NULL;
- }
-
- envelope = LASSO_SOAP_ENVELOPE(lasso_node_new_from_dump(soap_msg));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_request = envelope;
- LASSO_WSF_PROFILE(authentication)->request = LASSO_NODE(envelope->Body->any->data);
-
- correlation = envelope->Header->Other->data;
- messageId = correlation->messageID;
- envelope = lasso_authentication_build_soap_envelope_internal(messageId, NULL);
- LASSO_WSF_PROFILE(authentication)->soap_envelope_response = envelope;
-
- status = lasso_utility_status_new(LASSO_SA_STATUS_CODE_OK);
- response = lasso_sa_sasl_response_new(status);
- LASSO_WSF_PROFILE(authentication)->response = LASSO_NODE(response);
- if (envelope == NULL || envelope->Body == NULL || envelope->Body->any == NULL) {
- return critical_error(LASSO_PROFILE_ERROR_MISSING_RESPONSE);
- }
- envelope->Body->any = g_list_append(envelope->Body->any, response);
-
- /* liberty-idwsf-authn-svc-1.1.pdf - page 13 - lignes 359 / 361 :
- message with multiple mechanism MUST NOT contain any "initial response"
- data, and MUST be the initial SASL request. See Section 4.5.2.1.2 for details on the
- returned message in this case. */
-
- /* liberty-idwsf-authn-svc-1.1.pdf - page 13 - lignes 380 / 384 :
- A NULL string ("") in mechanism list SASLRequest indicates to the authentication server
- that the client wishes to abort the authentication exchange. */
-
- return res;
-}
-
-gint
-lasso_authentication_process_response_msg(LassoAuthentication *authentication,
- const gchar *soap_msg)
-{
- LassoSoapEnvelope *envelope;
- LassoSaSASLRequest *request;
- LassoSaSASLResponse *response;
- LassoSoapBindingCorrelation *correlation;
- gchar *messageId;
-
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(soap_msg != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- /* if a previous request or response, remove */
- if (LASSO_IS_SOAP_ENVELOPE(LASSO_WSF_PROFILE(authentication)->soap_envelope_request) \
- == TRUE) {
- lasso_node_destroy(LASSO_NODE(LASSO_WSF_PROFILE(authentication)->\
- soap_envelope_request));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_request = NULL;
- LASSO_WSF_PROFILE(authentication)->request = NULL;
- }
-
- if (LASSO_IS_SOAP_ENVELOPE(LASSO_WSF_PROFILE(authentication)->soap_envelope_response) \
- == TRUE) {
- lasso_node_destroy(LASSO_NODE(LASSO_WSF_PROFILE(authentication)->\
- soap_envelope_response));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_response = NULL;
- LASSO_WSF_PROFILE(authentication)->response = NULL;
- }
-
- envelope = LASSO_SOAP_ENVELOPE(lasso_node_new_from_dump(soap_msg));
- LASSO_WSF_PROFILE(authentication)->soap_envelope_response = envelope;
-
- if (envelope == NULL || envelope->Body == NULL || envelope->Body->any == NULL) {
- return critical_error(LASSO_PROFILE_ERROR_MISSING_RESPONSE);
- }
- response = envelope->Body->any->data;
- if (response == NULL) {
- return critical_error(LASSO_PROFILE_ERROR_MISSING_RESPONSE);
- }
- LASSO_WSF_PROFILE(authentication)->response = LASSO_NODE(response);
-
- if (response->Status == NULL || response->Status->code == NULL) {
- return critical_error(LASSO_PROFILE_ERROR_MISSING_STATUS_CODE);
- }
-
- /* if continue, init another request */
- if (g_str_equal(response->Status->code, LASSO_SA_STATUS_CODE_CONTINUE) == TRUE) {
- correlation = envelope->Header->Other->data;
- messageId = correlation->messageID;
-
- envelope = lasso_authentication_build_soap_envelope_internal(messageId, NULL);
- LASSO_WSF_PROFILE(authentication)->soap_envelope_request = envelope;
-
- request = lasso_sa_sasl_request_new(g_strdup(response->serverMechanism));
- LASSO_WSF_PROFILE(authentication)->request = LASSO_NODE(request);
-
- envelope->Body->any = g_list_append(envelope->Body->any, request);
- }
-
- return 0;
-}
-
-gint
-lasso_authentication_server_start(LassoAuthentication *authentication)
-{
- LassoSaSASLRequest *request;
- LassoSaSASLResponse *response;
-
- gchar *mechanisms, *chosen;
- gchar **server_mech_list, **client_mech_list, **smech, **cmech;
- int nbmech;
-
- char *inbase64;
- xmlChar *outbase64;
-
- char *in = NULL;
- int inlen = 0;
-
- const char *out;
- unsigned int outlen = 0;
-
- int res = 0;
-
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- res = sasl_server_init(NULL, "Lasso"); /* FIXME : should be a param */
- res = sasl_server_new(LASSO_SA_SASL_SERVICE_NAME,
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- 0,
- &authentication->connection);
-
- /* Liberty part */
- request = LASSO_SA_SASL_REQUEST(LASSO_WSF_PROFILE(authentication)->request);
- response = LASSO_SA_SASL_RESPONSE(LASSO_WSF_PROFILE(authentication)->response);
-
- /* if mechanism is NULL, then abort authentication exchange */
- chosen = NULL;
- nbmech = 0;
- if (g_str_equal(request->mechanism, "") == FALSE) {
- /* count nb client mechanism list */
- client_mech_list = g_strsplit(request->mechanism, " ", 0);
- cmech = client_mech_list;
- while (*cmech != NULL) {
- cmech++;
- nbmech++;
- }
-
- mechanisms = lasso_authentication_get_mechanism_list(authentication);
- server_mech_list = g_strsplit(mechanisms, " ", 0);
- smech = server_mech_list;
-
- /* get chosen mechanism */
- while (*smech != NULL) {
- cmech = client_mech_list;
- while (*cmech != NULL) {
- if ( g_str_equal(*smech, *cmech) == TRUE) {
- chosen = g_strdup(*smech);
- break;
- }
- cmech++;
- }
- if (chosen != NULL)
- break;
- smech++;
- }
- }
- if (chosen == NULL) {
- lasso_release(response->Status->code);
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
- return res;
- }
-
- if (nbmech > 1 && request->Data != NULL) {
- lasso_release(response->Status->code);
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
- return res;
- }
-
- /* decode Data if not NULL */
- if (request->Data != NULL && request->Data->data != NULL) {
- inbase64 = request->Data->data;
- in = g_malloc(strlen(inbase64));
- inlen = xmlSecBase64Decode((xmlChar*)inbase64,
- (xmlChar*)in, strlen(inbase64));
- }
-
- /* process sasl request */
- res = sasl_server_start(authentication->connection,
- chosen,
- in,
- inlen,
- &out, /* Might not be NULL terminated */
- &outlen);
-
- /* set status code in SASLResponse message if not ok */
- if (res != SASL_OK) {
- lasso_release(response->Status->code);
-
- /* continue, set Data in response */
- if (res == SASL_CONTINUE) {
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_CONTINUE);
- response->serverMechanism = g_strdup(request->mechanism);
- if (outlen > 0) {
- outbase64 = xmlSecBase64Encode((xmlChar*)out, outlen, 0);
- response->Data = g_list_append(response->Data,
- g_strdup((char*)outbase64));
- xmlFree(outbase64);
- }
- } else {
- /* abort authentication */
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
- }
- }
-
- return res;
-}
-
-gint
-lasso_authentication_server_step(LassoAuthentication *authentication)
-{
- LassoSaSASLRequest *request;
- LassoSaSASLResponse *response;
- int res;
- char *in = NULL;
- int inlen = 0;
- const char *out;
- unsigned int outlen = 0;
- xmlChar *outbase64, *inbase64;
-
- g_return_val_if_fail(LASSO_IS_AUTHENTICATION(authentication),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- /* Liberty part */
- request = LASSO_SA_SASL_REQUEST(LASSO_WSF_PROFILE(authentication)->request);
- response = LASSO_SA_SASL_RESPONSE(LASSO_WSF_PROFILE(authentication)->response);
-
- /* If mechanism is NULL, thene client wants to abort authentication exchange */
- if (g_str_equal(request->mechanism, "") == TRUE) {
- lasso_release(response->Status->code);
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
-
- return 0;
- }
-
- if (request->Data != NULL && request->Data->data != NULL) {
- inbase64 = request->Data->data;
- in = g_malloc(strlen((char*)inbase64));
- inlen = xmlSecBase64Decode(inbase64, (xmlChar*)in, strlen((char*)inbase64));
- }
-
- res = sasl_server_step(authentication->connection,
- in, /* what the client gave */
- inlen, /* it's length */
- &out, /* Might not be NULL terminated */
- &outlen);
-
- if (res != SASL_OK) {
- lasso_release(response->Status->code);
-
- if (res == SASL_CONTINUE) {
- /* authentication exchange must continue */
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
-
- if (outlen > 0) {
- outbase64 = xmlSecBase64Encode((xmlChar*)out, outlen, 0);
- response->Data = g_list_append(response->Data,
- g_strdup((char*)outbase64));
- xmlFree(outbase64);
- }
- } else {
- /* authentication failed, abort exchange */
- response->Status->code = g_strdup(LASSO_SA_STATUS_CODE_ABORT);
- }
- }
-
- return res;
-}
-
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static LassoNodeClass *parent_class = NULL;
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xmlNodeSetName(xmlnode, (xmlChar*)"Authentication");
- xmlSetProp(xmlnode, (xmlChar*)"AuthenticationDumpVersion", (xmlChar*)"2");
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- int rc = 0;
-
- rc = parent_class->init_from_xml(node, xmlnode);
- if (rc) return rc;
-
- return 0;
-}
-
-/*****************************************************************************/
-/* overrided parent class methods */
-/*****************************************************************************/
-
-static void
-dispose(GObject *object)
-{
- LassoAuthentication *authentication = LASSO_AUTHENTICATION(object);
-
- sasl_dispose(&authentication->connection);
-
- if (authentication->private_data->dispose_has_run == TRUE)
- return;
- authentication->private_data->dispose_has_run = TRUE;
-
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- LassoAuthentication *authentication = LASSO_AUTHENTICATION(object);
- lasso_release(authentication->private_data);
- authentication->private_data = NULL;
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoAuthentication *authentication)
-{
- authentication->private_data = g_new0(LassoAuthenticationPrivate, 1);
- authentication->private_data->dispose_has_run = FALSE;
-}
-
-static void
-class_init(LassoAuthenticationClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
- LASSO_NODE_CLASS(klass)->get_xmlNode = get_xmlNode;
- LASSO_NODE_CLASS(klass)->init_from_xml = init_from_xml;
-
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
-}
-
-GType
-lasso_authentication_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoAuthenticationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoAuthentication),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_WSF_PROFILE,
- "LassoAuthentication", &this_info, 0);
- }
- return this_type;
-}
-
-LassoAuthentication*
-lasso_authentication_new(LassoServer *server)
-{
- LassoAuthentication *authentication = NULL;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- authentication = g_object_new(LASSO_TYPE_AUTHENTICATION, NULL);
- LASSO_WSF_PROFILE(authentication)->server = server;
-
- return authentication;
-}
diff --git a/lasso/id-wsf/authentication.h b/lasso/id-wsf/authentication.h
deleted file mode 100644
index 968b1acb..00000000
--- a/lasso/id-wsf/authentication.h
+++ /dev/null
@@ -1,111 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_AUTHENTICATION_H__
-#define __LASSO_AUTHENTICATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include
-
-#include "wsf_profile.h"
-#include "../xml/disco_description.h"
-
-#define LASSO_TYPE_AUTHENTICATION (lasso_authentication_get_type())
-#define LASSO_AUTHENTICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_AUTHENTICATION, LassoAuthentication))
-#define LASSO_AUTHENTICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_AUTHENTICATION, LassoAuthenticationClass))
-#define LASSO_IS_AUTHENTICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_AUTHENTICATION))
-#define LASSO_IS_AUTHENTICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_AUTHENTICATION))
-#define LASSO_AUTHENTICATION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_AUTHENTICATION, LassoAuthenticationClass))
-
-typedef struct _LassoAuthentication LassoAuthentication;
-typedef struct _LassoAuthenticationClass LassoAuthenticationClass;
-typedef struct _LassoAuthenticationPrivate LassoAuthenticationPrivate;
-
-typedef struct LassoUserAccount LassoUserAccount;
-
-typedef enum {
- LASSO_SASL_MECH_ANONYMOUS = 1,
- LASSO_SASL_MECH_PLAIN,
- LASSO_SASL_MECH_CRAM_MD5,
-}LassoSaslMechanisms;
-
-struct LassoUserAccount {
- char *login;
- char *password;
-};
-
-struct _LassoAuthentication {
- LassoWsfProfile parent;
-
- /* The SASL context kept for the life of the connection */
- sasl_conn_t *connection;
- sasl_interact_t **client_interact;
-
- /*< private >*/
- LassoAuthenticationPrivate *private_data;
-};
-
-struct _LassoAuthenticationClass {
- LassoWsfProfileClass parent;
-};
-
-LASSO_EXPORT GType lasso_authentication_get_type(void);
-
-LASSO_EXPORT LassoAuthentication* lasso_authentication_new(LassoServer *server);
-
-LASSO_EXPORT void lasso_authentication_destroy(LassoAuthentication *authentication);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_client_start(LassoAuthentication *authentication);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_client_step(LassoAuthentication *authentication);
-
-LASSO_EXPORT char *lasso_authentication_get_mechanism_list(LassoAuthentication *authentication);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_init_request(LassoAuthentication *authentication,
- LassoDiscoDescription *description,
- const gchar *mechanisms,
- LassoUserAccount *account);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_process_request_msg(LassoAuthentication *authentication,
- const gchar *soap_msg);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_process_response_msg(LassoAuthentication *authentication,
- const gchar *soap_msg);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_server_start(LassoAuthentication *authentication);
-
-LASSO_EXPORT lasso_error_t lasso_authentication_server_step(LassoAuthentication *authentication);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_AUTHENTICATION_H__ */
diff --git a/lasso/id-wsf/data_service.c b/lasso/id-wsf/data_service.c
deleted file mode 100644
index 0e95a4f8..00000000
--- a/lasso/id-wsf/data_service.c
+++ /dev/null
@@ -1,1269 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:data_service
- * @short_description: ID-WSF Data Service profile
- *
- * DataService allows Attribute Consumers (WSC) to request an Attribute Provider (WSP) to get
- * or modify data about users with their consent.
- *
- * Following up on #LassoDiscovery first example, it created a @service object,
- * this is a #LassoDataService instance. This example continues from that step
- * and retrieves the name of the principal:
- *
- *
- *
- * char *soap_answer; // SOAP answer from data service
- * xmlNode *principal_name; // libxml2 xmlNode with the principal name
- *
- * service = lasso_discovery_get_service(discovery);
- * lasso_data_service_init_query(service, "/pp:PP/pp:InformalName", NULL);
- * lasso_data_service_build_request_msg(service);
- *
- * // service must perform SOAP call to LASSO_WSF_PROFILE(service)->msg_url
- * // the SOAP message is LASSO_WSF_PROFILE(service)->msg_body. The answer
- * // is stored in char* soap_answer;
- *
- * lasso_data_service_process_query_response_msg(service, soap_answer);
- * principal_name = lasso_data_service_get_answer(service, "/pp:PP/pp:InformalName");
- *
- * // app should probably then use xmlNodeGetContent libxml2 function to get
- * // access to node content.
- *
- *
- *
- */
-
-#include "../xml/private.h"
-#include "../utils.h"
-#include
-#include
-
-#include "discovery.h"
-#include "data_service.h"
-#include "../xml/idwsf_strings.h"
-#include "../xml/dst_query.h"
-#include "../xml/dst_query_response.h"
-#include "../xml/dst_modify.h"
-#include "../xml/dst_modify_response.h"
-#include "../xml/soap_binding_correlation.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/is_redirect_request.h"
-
-#include
-#include
-#include
-#include
-#include "wsf_profile_private.h"
-
-extern GHashTable *dst_services_by_prefix; /* cf xml/xml.c */
-
-static void lasso_register_idwsf_xpath_namespaces(xmlXPathContext *xpathCtx);
-static gint lasso_data_service_process_query_msg(LassoDataService *service,
- LassoDstQuery *query);
-static gint lasso_data_service_process_modify_msg(LassoDataService *service,
- LassoDstModify *modify);
-static gint lasso_data_service_validate_query_request(LassoDataService *service, xmlNode *data);
-static gint lasso_data_service_apply_queries(LassoDataService *service,
- LassoDstQueryResponse *query_response, GList *queries, xmlNode *data);
-static gint lasso_data_service_apply_query(LassoDataService *service,
- LassoDstQueryResponse *query_response, xmlXPathContext *xpathCtx,
- LassoDstQueryItem *item);
-static gint lasso_data_service_validate_modify_request(LassoDataService *service, xmlNode **data);
-static gint lasso_data_service_apply_modifications(LassoDstModify *modify,
- LassoDstModifyResponse *modify_response, GList *modifications,
- xmlNode **resource_data);
-static gint lasso_data_service_apply_modification(LassoDstModify *modify,
- LassoDstModification *modification, LassoDstModifyResponse *modify_response,
- xmlNode **resource_data);
-
-struct _LassoDataServicePrivate {
- xmlNode *resource_data;
- LassoDiscoResourceID *ResourceID;
- LassoDiscoResourceID *EncryptedResourceID;
-};
-
-/*****************************************************************************/
-/* public methods */
-/*****************************************************************************/
-
-/**
- * lasso_data_service_init_query
- * @service: a #LassoDataService
- * @select: resource selection string (typically a XPath query)
- * @item_id: (allow-none): query item identifier (optional)
- * @security_mech_id: (allow-none): a security mechanism id
- *
- * Initializes a new dst:Query request, asking for element @select (with optional itemID set to
- * @item_id). @item_id may be NULL only if the query won't contain other query items. You must
- * follow this constraint, it will not be checked.
- *
- * If both @select and @item_id are NULL, only a skeleton request is created and calls to
- * lasso_data_service_add_query_item() will need to be done.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_data_service_init_query(LassoDataService *service, const char *select,
- const char *item_id, const char *security_mech_id)
-{
- LassoWsfProfile *wsf_profile = NULL;
- LassoDstQuery *query = NULL;
- LassoDiscoResourceOffering *offering = NULL;
- gint rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- wsf_profile = &service->parent;
-
- /* 1. build the message content */
- if (select) {
- query = lasso_dst_query_new(lasso_dst_query_item_new(select, item_id));
- } else {
- query = lasso_dst_query_new(NULL);
- }
- offering = lasso_wsf_profile_get_resource_offering(wsf_profile);
- if (! LASSO_IS_DISCO_RESOURCE_OFFERING(offering))
- goto cleanup;
- lasso_assign_string(query->hrefServiceType, offering->ServiceInstance->ServiceType);
- lasso_assign_new_string(query->prefixServiceType, lasso_get_prefix_for_dst_service_href(
- query->hrefServiceType));
- goto_cleanup_if_fail_with_rc (query->prefixServiceType != NULL,
- LASSO_DATA_SERVICE_ERROR_UNREGISTERED_DST);
- lasso_wsf_profile_helper_assign_resource_id(query, offering);
-
- /* 2. build the envelope */
- rc = lasso_wsf_profile_init_soap_request(wsf_profile, &query->parent);
- if (rc)
- goto cleanup;
-
- /* 3. set the security mechanism */
- rc = lasso_wsf_profile_set_security_mech_id(wsf_profile, security_mech_id);
-
-cleanup:
- lasso_release_gobject(query);
- lasso_release_gobject(offering);
- return rc;
-}
-
-/**
- * lasso_data_service_add_query_item:
- * @service: a #LassoDataService
- * @select: resource selection string (typically a XPath query)
- * @item_id: query item identifier
- *
- * Adds a dst:QueryItem to the current dst:Query request. If there are already query item in the
- * request and @itemId is NULL, the call will fail.
- *
- * Return value: 0 if sucessfull, an error code otherwise.
- **/
-gint
-lasso_data_service_add_query_item(LassoDataService *service,
- const char *select, const char *item_id)
-{
- LassoWsfProfile *wsf_profile;
- LassoDstQuery *query = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- wsf_profile = &service->parent;
-
- lasso_return_val_if_invalid_param(DST_QUERY, wsf_profile->request,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
- query = (LassoDstQuery*)wsf_profile->request;
-
- /** Check that we can add a new item */
- if (query->QueryItem && (
- (query->QueryItem->data &&
- (! LASSO_IS_DST_QUERY_ITEM(query->QueryItem->data) ||
- LASSO_DST_QUERY_ITEM(query->QueryItem->data)->itemID == NULL)) ||
- (item_id == NULL))) {
- return LASSO_DATA_SERVICE_ERROR_CANNOT_ADD_ITEM;
- }
-
- lasso_list_add_new_gobject(query->QueryItem, lasso_dst_query_item_new(select, item_id));
-
- return rc;
-}
-
-/**
- * lasso_data_service_get_query_item:
- * @service: a #LassoDataService
- * @select: the select string of the query item to found
- * @item_id: the item id of the query item to found
- * @output:(transfer none): a #LassoDstQueryItem handle to store the result object, its reference count is not
- * incremented.
- *
- * Look up the first query item in the current request matching the given criteria, @select or
- * @item_id. At least one of the criteria must be present for the call to succeed.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_data_service_get_query_item(LassoDataService *service,
- const char *select, const char *item_id, LassoDstQueryItem **output)
-{
- LassoDstQuery *query = NULL;
- GList *query_items = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- gint rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- g_return_val_if_fail(select || item_id, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(query, wsf_profile->request, DST_QUERY, LASSO_PROFILE_ERROR_MISSING_REQUEST);
- lasso_foreach(query_items, query->QueryItem)
- {
- LassoDstQueryItem *query_item = NULL;
- lasso_extract_node_or_fail(query_item, query_items->data, DST_QUERY_ITEM, LASSO_ERROR_CAST_FAILED);
- if ((select && lasso_strisequal(select,query_item->Select)) ||
- (item_id && lasso_strisequal(item_id,query_item->itemID)))
- {
- if (output) {
- lasso_assign_new_gobject(*output, query_item);
- }
- }
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_data_service_process_query_msg:
- * @service: a #LassoDataService
- * @message: the dst query message
- *
- * Processes a dst:Query message. Rebuilds a request object from the message
- * and extracts ResourceID.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_data_service_process_query_msg(LassoDataService *service, LassoDstQuery *query)
-{
- LassoWsfProfile *wsf_profile = NULL;
- LassoDstQueryResponse *query_response = NULL;
- gchar *service_type = NULL;
- int rc = 0;
-
- wsf_profile = &service->parent;
-
- lasso_assign_string(service_type, query->hrefServiceType);
-
- lasso_wsf_profile_helper_assign_resource_id(service->private_data, query);
- query_response = lasso_dst_query_response_new(lasso_utility_status_new(LASSO_DST_STATUS_CODE_OK));
- query_response->prefixServiceType = g_strdup(query->prefixServiceType);
- query_response->hrefServiceType = g_strdup(query->hrefServiceType);
-
- rc = lasso_wsf_profile_init_soap_response(wsf_profile, LASSO_NODE(query_response));
- lasso_release_gobject(query_response);
- return rc;
-}
-
-
-/**
- * lasso_data_service_build_response_msg:
- * @service: a #LassoDataService
- *
- * Builds a dst:QueryResponse message.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_data_service_build_response_msg(LassoDataService *service)
-{
- lasso_bad_param(DATA_SERVICE, service);
- return lasso_wsf_profile_build_soap_response_msg(&service->parent);
-}
-
-/**
- * lasso_data_service_get_answers:
- * @service: a #LassoDataService object.
- * @output:(transfer full)(allow-none)(element-type xmlNode): an xmlNode** pointer where to put the xmlNode* of the result
- *
- * Get all the xmlNode content of the first Data element of the QueryResponse message.
- *
- * Return value: 0 if sucessful, an error code otherwise.
- */
-gint
-lasso_data_service_get_answers(LassoDataService *service, GList **output)
-{
- LassoDstQueryResponse *query_response = NULL;
- LassoDstData *data = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- GList *datas = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(query_response, wsf_profile->request, DST_QUERY_RESPONSE,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
-
- datas = query_response->Data;
-
- if (datas) {
- lasso_extract_node_or_fail(data, datas->data, DST_DATA,
- LASSO_ERROR_CAST_FAILED);
- }
-
- if (data) {
- if (output) {
- GList *data_content = data->any;
- lasso_release_list_of_xml_node(*output);
- for (;data_content; data_content = g_list_next(data_content)) {
- lasso_list_add_xml_node(*output, data_content->data);
- }
- }
- } else {
- rc = LASSO_DST_ERROR_NO_DATA;
- }
-
-cleanup:
- return rc;
-}
-/**
- * lasso_data_service_get_answer:
- * @service: a #LassoDataService object.
- * @output: (out): an xmlNode** pointer where to put the xmlNode* of the result
- *
- * Get the first xmlNode of the first Data element of the QueryResponse message.
- *
- * Return value: 0 if sucessful, an error code otherwise.
- */
-gint
-lasso_data_service_get_answer(LassoDataService *service, xmlNode **output)
-{
- LassoDstQueryResponse *query_response = NULL;
- LassoDstData *data = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- GList *datas = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(query_response, wsf_profile->response, DST_QUERY_RESPONSE,
- LASSO_PROFILE_ERROR_MISSING_RESPONSE);
-
- datas = query_response->Data;
-
- if (datas) {
- lasso_extract_node_or_fail(data, datas->data, DST_DATA,
- LASSO_ERROR_CAST_FAILED);
- }
-
- if (data) {
- if (output) {
- xmlNode *first_element = NULL;
- if (data->any) {
- first_element = data->any->data;
- }
- lasso_assign_xml_node(*output, first_element);
- }
- } else {
- rc = LASSO_DST_ERROR_NO_DATA;
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_data_service_get_answers_by_select:
- * @service: a #LassoDataService
- * @select: resource selection string (typically a XPath query)
- * @output: (allow-none) (element-type xmlNode): a GList** to store a GList* containing the result, it must be freed.
- *
- * Returns the answers for the specified @select request.
- *
- * Return value: 0 if successful, an error code otheriwse
- *
- **/
-gint
-lasso_data_service_get_answers_by_select(LassoDataService *service, const char *select, GList **output)
-{
- LassoDstQuery *query = NULL;
- LassoDstQueryResponse *query_response = NULL;
- LassoDstData *data = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- LassoDstQueryItem *query_item = NULL;
- GList *iter = NULL;
- GList *datas = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(select);
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(query, wsf_profile->request, DST_QUERY,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
- lasso_extract_node_or_fail(query_response, wsf_profile->response, DST_QUERY_RESPONSE,
- LASSO_PROFILE_ERROR_MISSING_RESPONSE);
-
- iter = query->QueryItem;
- datas = query_response->Data;
-
- /* one query, no need for itemID, data is the first one, or absent */
- if (iter && iter->next == NULL) {
- lasso_extract_node_or_fail(query_item, iter->data, DST_QUERY_ITEM,
- LASSO_ERROR_CAST_FAILED);
-
- if (datas) {
- lasso_extract_node_or_fail(data, datas->data, DST_DATA,
- LASSO_ERROR_CAST_FAILED);
- if (lasso_strisnotequal(select,query_item->Select)) {
- data = NULL;
- rc = LASSO_DST_ERROR_QUERY_NOT_FOUND;
- }
- } else {
- rc = LASSO_DST_ERROR_NO_DATA;
- }
- /* many queries */
- } else {
- /* lookup select in query to get itemId, then get data with itemIdRef */
- while (iter) {
- lasso_extract_node_or_fail(query_item, iter->data, DST_QUERY_ITEM,
- LASSO_ERROR_CAST_FAILED);
- if (lasso_strisequal(query_item->Select,select)) {
- break;
- }
- query_item = NULL;
- iter = g_list_next(iter);
- }
- if (query_item && ! query_item->itemID) {
- goto_cleanup_with_rc(LASSO_DST_ERROR_MALFORMED_QUERY);
- }
-
- while (datas) {
- lasso_extract_node_or_fail(data, datas->data, DST_DATA,
- LASSO_ERROR_CAST_FAILED);
- if (lasso_strisequal(data->itemIDRef,query_item->itemID)) {
- break;
- }
- data = NULL;
- datas = g_list_next(datas);
- }
- }
-
- if (data) {
- if (output) {
- GList *data_content = data->any;
- lasso_release_list_of_xml_node(*output);
- for (;data_content; data_content = g_list_next(data_content)) {
- lasso_list_add_xml_node(*output, data_content->data);
- }
- }
- } else {
- rc = LASSO_DST_ERROR_NO_DATA;
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_data_service_get_answers_by_item_id:
- * @service: a #LassoDataService
- * @item_id: query item identifier
- * @output: (allow-none) (element-type xmlNode): a GList** to store a GList* containing the result, it must be freed.
- *
- * Returns the answers for the specified @itemID request.
- *
- * Return value: 0 if successful, an error code otherwise
- *
- **/
-gint
-lasso_data_service_get_answers_by_item_id(LassoDataService *service, const char *item_id, GList **output)
-{
- LassoDstQueryResponse *query_response = NULL;
- LassoDstData *data = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- GList *datas = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(select);
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(query_response, wsf_profile->request, DST_QUERY_RESPONSE,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
-
- datas = query_response->Data;
- while (datas) {
- lasso_extract_node_or_fail(data, datas->data, DST_DATA, LASSO_ERROR_CAST_FAILED);
- if (lasso_strisequal(data->itemIDRef,item_id)) {
- break;
- }
- data = NULL;
- datas = g_list_next(datas);
- }
-
- if (data) {
- if (output) {
- GList *data_content = data->any;
- lasso_release_list_of_xml_node(*output);
- for (;data_content; data_content = g_list_next(data_content)) {
- lasso_list_add_xml_node(*output, data_content->data);
- }
- }
- } else {
- rc = LASSO_DST_ERROR_NO_DATA;
- }
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_data_service_process_query_response_msg:
- * @service: a #LassoDataService
- * @message: the dst query response message
- *
- * Processes a dst:Query message. Rebuilds a request object from the message
- * and extracts ResourcedID.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_data_service_process_query_response_msg(LassoDataService *service,
- const char *message)
-{
- int rc = 0;
-
- rc = lasso_wsf_profile_process_soap_response_msg(LASSO_WSF_PROFILE(service), message);
- if (! rc && ! LASSO_IS_DST_QUERY_RESPONSE(service->parent.response)) {
- rc = LASSO_PROFILE_ERROR_MISSING_RESPONSE;
- }
-
- return rc;
-}
-
-/**
- * lasso_data_service_init_modify:
- * @service: a #LassoDataService object
- * @security_mech_id: (allow-none): a security mechanism id
- *
- * Initialize a Data Service Template Modify request using a command to select some data, and an XML
- * fragment to replace the selected data.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_data_service_init_modify(LassoDataService *service, const char *security_mech_id)
-{
- LassoDiscoResourceOffering *offering = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- LassoDstModify *modify = NULL;
- gint rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(service);
- wsf_profile = &service->parent;
-
- /* 1. build the message content */
- modify = lasso_dst_modify_new();
-
- offering = lasso_wsf_profile_get_resource_offering(wsf_profile);
- goto_cleanup_if_fail_with_rc (LASSO_IS_DISCO_RESOURCE_OFFERING(offering), LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING);
- goto_cleanup_if_fail_with_rc (offering->ServiceInstance != NULL &&
- offering->ServiceInstance->ServiceType != NULL,
- LASSO_PROFILE_ERROR_MISSING_SERVICE_TYPE);
- lasso_assign_string(modify->hrefServiceType, offering->ServiceInstance->ServiceType);
- lasso_assign_new_string(modify->prefixServiceType, lasso_get_prefix_for_dst_service_href(
- modify->hrefServiceType));
- goto_cleanup_if_fail_with_rc (modify->prefixServiceType != NULL, LASSO_DATA_SERVICE_ERROR_UNREGISTERED_DST);
- lasso_wsf_profile_helper_assign_resource_id(modify, offering);
-
- /* 2. build the envelope */
- rc = lasso_wsf_profile_init_soap_request(wsf_profile, &modify->parent);
- if (rc)
- goto cleanup;
-
- /* 3. set the security mechanism */
- rc = lasso_wsf_profile_set_security_mech_id(wsf_profile, security_mech_id);
-
-cleanup:
- lasso_release_gobject(modify);
- lasso_release_gobject(offering);
- return rc;
-}
-
-/**
- * lasso_data_service_add_modification:
- * @service: a #LassoDataService object
- * @select: a selector string
- * @xmlData: (allow-none): optional NewData content
- * @overrideAllowed: (allow-none)(default FALSE):whether to permit delete or replace of existings
- * @notChangedSince: (allow-none): if not NULL, give the time (as a local time_t value) of the last known
- * modification to the datas, it is used to permit secure concurrent accesses.
- * @output: (out): a #LassoDstModification** pointer where to put the #LassoDstModification of the result
- *
- * Add a new modification to the current modify request. If overrideAllowed is FALSE, xmlData must
- * absolutely be present. Refer to the ID-WSF DST 1.0 specification for the semantic of the created
- * message.
- *
- * Return value: 0 if successful and the new modification object in *output, an error code
- * otherwise.
- */
-gint
-lasso_data_service_add_modification(LassoDataService *service, const gchar *select,
- xmlNode *xmlData, gboolean overrideAllowed, time_t *notChangedSince,
- LassoDstModification **output)
-{
- LassoWsfProfile *wsf_profile = NULL;
- LassoDstModification *modification = NULL;
- LassoDstNewData *newData = NULL;
- LassoDstModify *modify = NULL;
- gint rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(select);
-
- wsf_profile = &service->parent;
- lasso_extract_node_or_fail(modify, wsf_profile->request, DST_MODIFY,
- LASSO_ERROR_CAST_FAILED);
-
- modification = lasso_dst_modification_new(select);
- newData = lasso_dst_new_data_new();
- lasso_release_list_of_xml_node(newData->any);
- lasso_list_add_xml_node(newData->any, xmlData);
- lasso_assign_new_gobject(modification->NewData, newData);
- lasso_list_add_new_gobject(modify->Modification,
- modification);
- modification->overrideAllowed = overrideAllowed;
- if (notChangedSince) {
- lasso_assign_new_string(modification->notChangedSince,
- lasso_time_to_iso_8601_gmt(*notChangedSince));
- }
-
- if (*output) {
- lasso_assign_gobject(*output, modification);
- }
-
-cleanup:
- return rc;
-}
-
-static gint
-lasso_data_service_apply_modification(LassoDstModify *modify, LassoDstModification *modification, LassoDstModifyResponse *modify_response,
- xmlNode **resource_data)
-{
- gint rc = 0;
- xmlXPathObject *xpathObj = NULL;
- gint xpath_error_code = 0;
- char *failure_code = NULL;
- LassoDstNewData *NewData = NULL;
- xmlNode *cur_data = NULL;
- xmlDoc *doc = NULL;
- xmlXPathContext *xpathCtx = NULL;
- GList *node_to_free = NULL;
- gboolean overrideAllowed = modification->overrideAllowed;
-
- if (LASSO_IS_DST_NEW_DATA(modification->NewData)) {
- NewData = modification->NewData;
- }
-
- if (! modification->Select) {
- failure_code = LASSO_DST_STATUS_CODE_MISSING_SELECT;
- goto failure;
- }
-
- if ((! NewData || ! NewData->any) && ! overrideAllowed) {
- failure_code = LASSO_DST_STATUS_CODE_MISSING_NEW_DATA_ELEMENT;
- goto failure;
- }
-
- lasso_assign_xml_node(cur_data, *resource_data);
- doc = xmlNewDoc((xmlChar*)"1.0");
- xmlDocSetRootElement(doc, cur_data);
- xpathCtx = xmlXPathNewContext(doc);
- lasso_register_idwsf_xpath_namespaces(xpathCtx);
-
- /* register namespace of the query */
- xmlXPathRegisterNs(xpathCtx, BAD_CAST(modify->prefixServiceType), BAD_CAST(modify->hrefServiceType));
- if (lasso_eval_xpath_expression(xpathCtx, modification->Select, &xpathObj, &xpath_error_code)) {
- if (xpathObj && xpathObj->type == XPATH_NODESET) {
- if (xmlXPathNodeSetIsEmpty(xpathObj->nodesetval) || (xpathObj->nodesetval->nodeNr > 1 && NewData))
- {
- failure_code = "too few or too much targets";
- goto failure;
- }
- if (NewData) {
- xmlNode *target = xpathObj->nodesetval->nodeTab[0];
- GList *new_nodes = NewData->any;
-
- if (target == cur_data && overrideAllowed){
- if (new_nodes->next) {
- failure_code = "cannot replace root node by multiple nodes";
- goto failure;
- }
- xmlDocSetRootElement(doc,
- xmlCopyNode((xmlNode*)new_nodes->data,
- 1));
- lasso_list_add_xml_node(node_to_free, target);
- } else {
- while (new_nodes) {
- xmlNode *new_data = NULL;
- lasso_assign_xml_node(new_data, (xmlNode*)new_nodes->data);
- if (overrideAllowed)
- xmlAddNextSibling(target, new_data);
- else
- xmlAddChild(target, new_data);
- new_nodes = g_list_next(new_nodes);
- }
- if (overrideAllowed) {
- xmlUnlinkNode(target);
- lasso_list_add_xml_node(node_to_free, target);
- }
- }
- } else {
- int i;
- for (i = 0; i < xpathObj->nodesetval->nodeNr; i++) {
- xmlNode *target = xpathObj->nodesetval->nodeTab[i];
- g_assert(overrideAllowed);
- xmlUnlinkNode(target);
- lasso_list_add_xml_node(node_to_free, target);
- }
- }
- } else {
- failure_code = LASSO_DST_STATUS_CODE_INVALID_SELECT;
- goto failure;
- }
-
- }
- lasso_assign_xml_node(*resource_data, xmlDocGetRootElement(doc));
- goto cleanup;
-
-failure:
- lasso_wsf_profile_helper_set_status(modify_response, LASSO_DST_STATUS_CODE_FAILED);
- lasso_wsf_profile_helper_set_status(modify_response->Status, failure_code);
- rc = LASSO_DST_ERROR_MODIFY_FAILED;
-
-cleanup:
- lasso_release_xpath_object(xpathObj);
- lasso_release_xpath_context(xpathCtx);
- g_list_foreach(node_to_free, (GFunc)xmlFreeNode, NULL);
- lasso_release_doc(doc);
- lasso_release_list(node_to_free);
- return rc;
-}
-
-static gint
-lasso_data_service_apply_modifications(LassoDstModify *modify,
- LassoDstModifyResponse *modify_response, GList *modifications,
- xmlNode **resource_data)
-{
- gint rc = 0;
-
- /* 1. check modifications */
- if (modifications && modifications->next) {
- lasso_foreach_full_begin(LassoDstModification*, modification, i, modifications)
- {
- if (! LASSO_IS_DST_MODIFICATION(modification) ||
- ! modification->id)
- {
- lasso_wsf_profile_helper_set_status(modify_response,
- LASSO_DST_STATUS_CODE_FAILED);
- lasso_wsf_profile_helper_set_status(modify_response->Status,
- "id expected");
- goto_cleanup_with_rc(LASSO_DST_ERROR_QUERY_FAILED);
- }
- }
- lasso_foreach_full_end()
- }
- /* 2. setup workbench */
-
- lasso_foreach_full_begin(LassoDstModification*, modification, i, modifications)
- {
- rc = lasso_data_service_apply_modification(modify, modification, modify_response,
- resource_data);
- // First error, stop
- if (rc) {
- goto cleanup;
- }
- }
- lasso_foreach_full_end()
-cleanup:
- return rc;
-}
-
-/* Internal implementation for processing query request messages */
-static gint
-lasso_data_service_validate_query_request(LassoDataService *service, xmlNode *data)
-{
- LassoWsfProfile *wsf_profile = &service->parent;
- LassoDstQuery *query = NULL;
- LassoDstQueryResponse *query_response = NULL;
- gint rc = 0;
-
- /* already checked by lasso_data_service_validate_request */
- query = (LassoDstQuery*)wsf_profile->request;
- lasso_extract_node_or_fail(query_response, wsf_profile->response, DST_QUERY_RESPONSE, LASSO_PROFILE_ERROR_MISSING_RESPONSE);
-
- rc = lasso_data_service_apply_queries(service, query_response, query->QueryItem, data);
-
-cleanup:
- return rc;
-}
-
-/* Internal implementation for processing modify request messages */
-static gint
-lasso_data_service_validate_modify_request(LassoDataService *service, xmlNode **data)
-{
- LassoWsfProfile *wsf_profile = &service->parent;
- LassoDstModify *modify = NULL;
- LassoDstModifyResponse *modify_response = NULL;
- gint rc = 0;
-
- /* already checked in lasso_data_service_validate_request */
- modify = (LassoDstModify*)wsf_profile->request;
- lasso_extract_node_or_fail(modify_response, service->parent.response, DST_MODIFY_RESPONSE,
- LASSO_PROFILE_ERROR_MISSING_RESPONSE);
-
- rc = lasso_data_service_apply_modifications(modify, modify_response, modify->Modification, data);
-
-cleanup:
- return rc;
-}
-
-gint
-lasso_data_service_validate_request(LassoDataService *service)
-{
- LassoWsfProfile *wsf_profile = NULL;
- xmlNode *resource_data = NULL;
- gint rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- wsf_profile = &service->parent;
- g_return_val_if_fail(service->private_data, LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
- resource_data = service->private_data->resource_data;
- if (! resource_data) {
- rc = LASSO_DST_ERROR_MISSING_SERVICE_DATA;
- goto cleanup;
- }
-
- if (! LASSO_IS_NODE(wsf_profile->request)) {
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- goto cleanup;
- } else {
- if (LASSO_IS_DST_QUERY(wsf_profile->request)) {
- rc = lasso_data_service_validate_query_request(service, service->private_data->resource_data);
- } else if (LASSO_IS_DST_MODIFY(wsf_profile->request)) {
- rc = lasso_data_service_validate_modify_request(service, &service->private_data->resource_data);
- } else {
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- goto cleanup;
- }
- }
-
-cleanup:
- return rc;
-}
-
-gint
-lasso_data_service_build_modify_response_msg(LassoDataService *service)
-{
- return lasso_data_service_build_response_msg(service);
-}
-
-gint
-lasso_data_service_build_query_response_msg(LassoDataService *service)
-{
- return lasso_data_service_build_response_msg(service);
-}
-
-/**
- * lasso_data_service_process_modify_msg:
- * @service: a #LassoDataService object
- * @modify_soap_msg: the SOAP request string
- * @security_mech_id: the security mechanism to apply
- *
- * Parse the given request message, and initialize needed structures.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-static gint
-lasso_data_service_process_modify_msg(LassoDataService *service, LassoDstModify *modify)
-{
- LassoDstModifyResponse *modify_response = NULL;
- LassoWsfProfile *wsf_profile = NULL;
- int rc = 0;
-
- wsf_profile = &service->parent;
-
- lasso_wsf_profile_helper_assign_resource_id(service->private_data, modify);
- modify_response = lasso_dst_modify_response_new(lasso_utility_status_new(LASSO_DST_STATUS_CODE_OK));
- lasso_assign_string(modify_response->prefixServiceType, modify->prefixServiceType);
- lasso_assign_string(modify_response->hrefServiceType, modify->hrefServiceType);
- rc = lasso_wsf_profile_init_soap_response(wsf_profile, LASSO_NODE(modify_response));
- lasso_release_gobject(modify_response);
- return rc;
-}
-
-/**
- * lasso_data_service_process_modify_response_msg
- * @service: a #LassoDataService
- * @soap_msg: the SOAP message
- *
- * Process a modify response message.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_data_service_process_modify_response_msg(LassoDataService *service, const gchar *soap_msg)
-{
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(soap_msg);
-
- rc = lasso_wsf_profile_process_soap_response_msg(&service->parent, soap_msg);
-
- if ( rc == 0 && ! LASSO_IS_DST_MODIFY_RESPONSE(service->parent.response)) {
- rc = LASSO_PROFILE_ERROR_MISSING_RESPONSE;
- }
-
- return rc;
-}
-
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-register_xpath_namespace(gchar *prefix, gchar *href, xmlXPathContext *xpathCtx)
-{
- xmlXPathRegisterNs(xpathCtx, (xmlChar*)prefix, (xmlChar*)href);
-}
-
-static void
-lasso_register_idwsf_xpath_namespaces(xmlXPathContext *xpathCtx)
-{
- xmlXPathRegisterNs(xpathCtx, (xmlChar*)LASSO_PP10_PREFIX,
- (xmlChar*)LASSO_PP10_HREF);
- xmlXPathRegisterNs(xpathCtx, (xmlChar*)LASSO_EP_PREFIX,
- (xmlChar*)LASSO_EP_HREF);
- if (dst_services_by_prefix == NULL)
- return;
- g_hash_table_foreach(dst_services_by_prefix,
- (GHFunc)register_xpath_namespace, xpathCtx);
-}
-
-static gint
-lasso_data_service_apply_query(LassoDataService *service, LassoDstQueryResponse *query_response, xmlXPathContext *xpathCtx, LassoDstQueryItem *item)
-{
- gint rc = 0;
- xmlXPathObject *xpathObj = NULL;
- gint xpath_error_code = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_bad_param(DST_QUERY_RESPONSE, query_response);
- lasso_bad_param(DST_QUERY_ITEM, item);
-
- if (! item->Select) {
- lasso_wsf_profile_helper_set_status(query_response, LASSO_DST_STATUS_CODE_FAILED);
- lasso_wsf_profile_helper_set_status(query_response->Status, LASSO_DST_STATUS_CODE_MISSING_SELECT);
- goto_cleanup_with_rc(LASSO_DST_ERROR_QUERY_FAILED);
- }
-
- if (lasso_eval_xpath_expression(xpathCtx, item->Select, &xpathObj, &xpath_error_code)) {
- LassoDstData *data = NULL;
-
- /* Found zero or more node answers */
- if (xpathObj && xpathObj->type == XPATH_NODESET){
- int i = 0;
-
- if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr) {
- data = lasso_dst_data_new();
- }
-
- for (i = 0; xpathObj->nodesetval && i < xpathObj->nodesetval->nodeNr;
- i++) {
- lasso_list_add_xml_node(data->any,
- xpathObj->nodesetval->nodeTab[i]);
- }
- /* Found other kind of answers, convert to string */
- } else {
- xmlChar *str;
-
- data = lasso_dst_data_new();
- str = xmlXPathCastToString(xpathObj);
- lasso_list_add_xml_node(data->any, xmlNewText(str));
- lasso_release_xml_string(str);
- }
- if (data) {
- lasso_assign_string(data->itemIDRef, item->itemID);
- lasso_list_add_gobject(query_response->Data, data);
- }
- lasso_release_gobject(data);
- } else {
- char *code = g_strdup_printf("LIBXML_XPATH_ERROR_%d", xpath_error_code);
-
- lasso_wsf_profile_helper_set_status(query_response, LASSO_DST_STATUS_CODE_FAILED);
- lasso_wsf_profile_helper_set_status(query_response->Status, LASSO_DST_STATUS_CODE_INVALID_SELECT);
- lasso_wsf_profile_helper_set_status(query_response->Status->Status, code);
- lasso_release_string(code);
- goto_cleanup_with_rc(1);
- }
-
-cleanup:
- lasso_release_xpath_object(xpathObj);
- return rc;
-}
-
-static gint
-lasso_data_service_apply_queries(LassoDataService *service, LassoDstQueryResponse *query_response, GList *queries, xmlNode *data)
-{
- gint rc = 0;
- LassoWsfProfile *wsf_profile = NULL;
- xmlDoc *doc = NULL;
- xmlXPathContext *xpathCtx = NULL;
- GList *query = NULL;
-
- lasso_bad_param(DATA_SERVICE, service);
- g_return_val_if_fail(service->private_data, LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
- wsf_profile = &service->parent;
-
- /* 1. Check query */
- if (queries && queries->next) {
- GList *q = queries;
- while (q) {
- if (! LASSO_IS_DST_QUERY_ITEM(q->data) || !
- LASSO_DST_QUERY_ITEM(q->data)->itemID) {
- lasso_wsf_profile_helper_set_status(query_response,
- LASSO_DST_STATUS_CODE_FAILED);
- lasso_wsf_profile_helper_set_status(query_response->Status,
- "itemID expected");
- goto_cleanup_with_rc(LASSO_DST_ERROR_QUERY_FAILED);
- }
- q = g_list_next(q);
- }
- }
-
- /* 1. Setup workbench */
- doc = xmlNewDoc((xmlChar*)"1.0");
- xmlDocSetRootElement(doc, data);
- xpathCtx = xmlXPathNewContext(doc);
- lasso_register_idwsf_xpath_namespaces(xpathCtx);
-
- lasso_foreach (query, queries) {
- LassoDstQueryItem *item = query->data;
-
- goto_cleanup_if_fail_with_rc(lasso_data_service_apply_query(service, query_response,
- xpathCtx, item) == 0, query_response->Data ?
- LASSO_DST_ERROR_QUERY_PARTIALLY_FAILED :
- LASSO_DST_ERROR_QUERY_FAILED);
- }
-
-cleanup:
- xmlUnlinkNode(service->private_data->resource_data);
- xmlSetTreeDoc(service->private_data->resource_data, NULL);
- lasso_release_xpath_context(xpathCtx);
- lasso_release_doc(doc);
-
- return rc;
-}
-
-/**
- * lasso_data_service_process_request_msg:
- * @service: a #LassoDataService object
- * @message: a C string containing the SOAP request
- * @security_mech_id:(allow-none): a C string describing the required security mechanism or NULL
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-gint
-lasso_data_service_process_request_msg(LassoDataService *service,
- const char *message, const char *security_mech_id)
-{
- LassoWsfProfile *wsf_profile = NULL;
- LassoNode *request = NULL;
- int rc = 0;
-
- lasso_bad_param(DATA_SERVICE, service);
- lasso_null_param(message);
- wsf_profile = &service->parent;
-
- rc = lasso_wsf_profile_process_soap_request_msg(wsf_profile, message, security_mech_id);
- goto_cleanup_if_fail(! rc);
- request = wsf_profile->request;
- if (LASSO_IS_DST_QUERY(request)) {
- rc = lasso_data_service_process_query_msg(service, (LassoDstQuery*)request);
- } else if (LASSO_IS_DST_MODIFY(wsf_profile->request)) {
- rc = lasso_data_service_process_modify_msg(service, (LassoDstModify*)request);
- } else {
- rc = LASSO_PROFILE_ERROR_INVALID_REQUEST;
- }
-cleanup:
- return rc;
-}
-
-/*****************************************************************************/
-/* overrided parent class methods */
-/*****************************************************************************/
-
-static void
-dispose(GObject *object)
-{
- LassoDataService *service = LASSO_DATA_SERVICE(object);
-
- lasso_release_xml_node(service->private_data->resource_data);
- lasso_release_gobject(service->private_data->ResourceID);
- lasso_release_gobject(service->private_data->EncryptedResourceID);
-
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- lasso_release(((LassoDataService*)object)->private_data);
-
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoDataService *service)
-{
- service->private_data = g_new0(LassoDataServicePrivate, 1);
-}
-
-static void
-class_init(LassoDataServiceClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
-}
-
-GType
-lasso_data_service_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoDataServiceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDataService),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_WSF_PROFILE,
- "LassoDataService", &this_info, 0);
- }
- return this_type;
-}
-
-
-/**
- * lasso_data_service_new:
- * @server: the #LassoServer
- *
- * Creates a new #LassoDataService.
- *
- * Return value: a newly created #LassoDataService object; or NULL if an
- * error occured.
- **/
-LassoDataService*
-lasso_data_service_new(LassoServer *server)
-{
- LassoDataService *service;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- service = g_object_new(LASSO_TYPE_DATA_SERVICE, NULL);
- LASSO_WSF_PROFILE(service)->server = g_object_ref(server);
-
- return service;
-}
-
-/**
- * lasso_data_service_new_full:
- * @server: the #LassoServer
- * @offering: the #LassoDiscoResourceOffering
- *
- * Creates a new #LassoDataService.
- *
- * Return value: a newly created #LassoDataService object; or NULL if an error occured.
- **/
-LassoDataService*
-lasso_data_service_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)
-{
- LassoDataService *service = lasso_data_service_new(server);
-
- g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(offering), NULL);
-
- if (service == NULL) {
- return NULL;
- }
-
- lasso_wsf_profile_set_resource_offering(&service->parent, offering);
-
- return service;
-}
-
-/**
- * lasso_data_service_set_resource_data:
- * @service: a #LassoDataService object
- * @resource_data: (allow-none): an xmlnode representing the resource data of the service
- *
- * Set the resource data content.
- */
-void
-lasso_data_service_set_resource_data(LassoDataService *service, const xmlNode *resource_data)
-{
- lasso_assign_xml_node(service->private_data->resource_data, (xmlNode*)resource_data);
-}
-
-
-/**
- * lasso_data_service_get_resource_data:
- * @service: a #LassoDataService object
- *
- * Return the XML resrouce data in this data service.
- *
- * Return value:(transfer full)(allow-none): a newly allocated #xmlNode or NULL.
- */
-xmlNode *
-lasso_data_service_get_resource_data(LassoDataService *service)
-{
- xmlNode *rv = NULL;
-
- lasso_assign_xml_node(rv, service->private_data->resource_data);
-
- return rv;
-}
diff --git a/lasso/id-wsf/data_service.h b/lasso/id-wsf/data_service.h
deleted file mode 100644
index f3f95e67..00000000
--- a/lasso/id-wsf/data_service.h
+++ /dev/null
@@ -1,130 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DATA_SERVICE_H__
-#define __LASSO_DATA_SERVICE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "wsf_profile.h"
-#include "../xml/disco_resource_id.h"
-#include "../xml/disco_encrypted_resource_id.h"
-#include "../xml/dst_data.h"
-#include "../xml/dst_modification.h"
-#include "../xml/dst_query_item.h"
-#include "../xml/disco_resource_offering.h"
-#include "../xml/xml.h"
-#include "../xml/saml_assertion.h"
-
-#define LASSO_TYPE_DATA_SERVICE (lasso_data_service_get_type())
-#define LASSO_DATA_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DATA_SERVICE, LassoDataService))
-#define LASSO_DATA_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DATA_SERVICE, LassoDataServiceClass))
-#define LASSO_IS_DATA_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DATA_SERVICE))
-#define LASSO_IS_DATA_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DATA_SERVICE))
-#define LASSO_DATA_SERVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DATA_SERVICE, LassoDataServiceClass))
-
-typedef struct _LassoDataService LassoDataService;
-typedef struct _LassoDataServiceClass LassoDataServiceClass;
-typedef struct _LassoDataServicePrivate LassoDataServicePrivate;
-
-struct _LassoDataService {
- LassoWsfProfile parent;
-
- /*< private >*/
- LassoDataServicePrivate *private_data;
-};
-
-struct _LassoDataServiceClass {
- LassoWsfProfileClass parent;
-};
-
-
-LASSO_EXPORT GType lasso_data_service_get_type(void);
-
-LASSO_EXPORT LassoDataService* lasso_data_service_new(LassoServer *server);
-
-LASSO_EXPORT LassoDataService* lasso_data_service_new_full(LassoServer *server,
- LassoDiscoResourceOffering *offering);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_init_query(LassoDataService *service,
- const char *select, const char *item_id, const char *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_add_query_item(LassoDataService *service,
- const char *select, const char *item_id);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_process_request_msg(LassoDataService *service,
- const char *message, const char *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_validate_request(LassoDataService *service);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_build_query_response_msg(LassoDataService *service);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_build_modify_response_msg(LassoDataService *service);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_build_response_msg(LassoDataService *service);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_process_query_response_msg(LassoDataService *service,
- const char *message);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_get_answer(LassoDataService *service,
- xmlNode **output);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_get_answers(LassoDataService *service, GList **output);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_get_answers_by_select(LassoDataService *service,
- const char *select, GList **output);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_get_answers_by_item_id(LassoDataService *service,
- const char *item_id, GList **output);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_init_modify(LassoDataService *service,
- const char *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_add_modification(LassoDataService *service,
- const gchar *select, xmlNode *xmlData, gboolean overrideAllowed,
- time_t *notChangedSince, LassoDstModification **output);
-
-
-LASSO_EXPORT lasso_error_t lasso_data_service_process_modify_response_msg(LassoDataService *service,
- const gchar *soap_msg);
-
-LASSO_EXPORT lasso_error_t lasso_data_service_get_query_item(LassoDataService *service, const char *select,
- const char *item_id, LassoDstQueryItem **output);
-
-LASSO_EXPORT void lasso_data_service_set_resource_data(LassoDataService *service, const xmlNode *resource_data);
-
-LASSO_EXPORT xmlNode *lasso_data_service_get_resource_data(LassoDataService *service);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DATA_SERVICE_H__ */
diff --git a/lasso/id-wsf/discovery.c b/lasso/id-wsf/discovery.c
deleted file mode 100644
index 99c7e9b9..00000000
--- a/lasso/id-wsf/discovery.c
+++ /dev/null
@@ -1,1349 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:discovery
- * @short_description: ID-WSF Discovery Service Profile
- *
- * The Discovery service usually runs on the principal identity provider and
- * knowns about resources and services related to the principal. Attribute
- * providers can register themselves as offering resources for an user while
- * other services can ask where to find a given resource.
- *
- * The following example is a service provider asking for a "PP" service (an
- * attribute provider for the "Personal Profile"):
- *
- *
- *
- * LassoServer *server; // initialized before
- * char* session_dump; // initialized before
- *
- * LassoDiscovery *discovery; // discovery service
- * char *soap_answer; // SOAP answer from disco service
- * LassoProfileService *service; // instance to perform on requested service
- *
- * discovery = lasso_discovery_new(server);
- * lasso_wsf_profile_set_session_from_dump(LASSO_WSF_PROFILE(discovery), session_dump);
- * lasso_discovery_init_query(discovery);
- * lasso_discovery_add_requested_service(discovery, LASSO_PP10_HREF);
- * lasso_discovery_build_request_msg(discovery);
- *
- * // service must perform SOAP call to LASSO_WSF_PROFILE(discovery)->msg_url
- * // the SOAP message is LASSO_WSF_PROFILE(discovery)->msg_body. The answer
- * // is stored in char* soap_answer;
- *
- * lasso_discovery_process_query_response_msg(discovery, soap_answer);
- *
- * // get an object to access the first service returned, or NULL if an error happened
- * service = lasso_discovery_get_service(discovery);
- *
- *
- *
- */
-
-#include "../xml/private.h"
-#include
-#include
-
-#include
-
-#include "../utils.h"
-#include "../xml/soap_binding_correlation.h"
-#include "../xml/saml_assertion.h"
-#include "../xml/saml_attribute.h"
-#include "../xml/saml_attribute_value.h"
-#include "../xml/disco_modify.h"
-#include "../xml/saml_assertion.h"
-#include "../xml/idwsf_strings.h"
-
-#include "../id-ff/server.h"
-#include "../id-ff/provider.h"
-#include "../id-ff/providerprivate.h"
-#include "../id-ff/sessionprivate.h"
-
-#include "id_wsf.h"
-#include "wsf_profile_private.h"
-#include "wsf_utils.h"
-#include "../utils.h"
-#include "discovery.h"
-
-struct _LassoDiscoveryPrivate
-{
- gboolean dispose_has_run;
- GList *new_entry_ids;
- char *security_mech_id;
-};
-
-#define assign_resource_id(from,to) \
- if ((from)->ResourceID) {\
- lasso_assign_gobject((to)->ResourceID, (from)->ResourceID); \
- } else if ((from)->EncryptedResourceID) {\
- lasso_assign_gobject((to)->EncryptedResourceID, (from)->EncryptedResourceID); \
- } else { \
- rc = LASSO_WSF_PROFILE_ERROR_MISSING_RESOURCE_ID;\
- goto_cleanup_if_fail(0); \
- }
-
-/*****************************************************************************/
-/* static methods/functions */
-/*****************************************************************************/
-
-static gchar* lasso_discovery_build_credential(LassoDiscovery *discovery, const gchar *providerId);
-static LassoWsfProfile *lasso_discovery_build_wsf_profile(LassoDiscovery *discovery,
- LassoDiscoResourceOffering *offering);
-static LassoWsfProfileConstructor lookup_registry(gchar const *service_type);
-static void remove_registry(gchar const *service_type);
-static void set_registry(gchar const *service_type, LassoWsfProfileConstructor constructor);
-static LassoDsKeyInfo* lasso_discovery_build_key_info_node(LassoDiscovery *discovery,
- const gchar *providerID);
-static LassoDiscoResourceOffering* lasso_discovery_get_resource_offering_auto(
- LassoDiscovery *discovery, const gchar *service_type);
-static gint lasso_discovery_init_resource_offering(LassoDiscovery *discovery,
- const gchar *security_mech_id, LassoDiscoResourceOffering **output_offering);
-static gint lasso_discovery_process_modify_msg(LassoDiscovery *discovery);
-static gint lasso_discovery_process_query_msg(LassoDiscovery *discovery);
-static gint lasso_discovery_build_query_response_msg(LassoDiscovery *discovery);
-static gint lasso_discovery_build_modify_response_msg(LassoDiscovery *discovery);
-
-/**
- * lasso_discovery_add_insert_entry:
- * @discovery: a #LassoDiscovery object
- * @serviceInstance: an optional #LassoDiscoServiceInstance object
- * @resourceID: the new #LassoDiscoResourceID used to create the #LassoDiscoResrouceOffering
- *
- * Add an #LassoDiscoInsertEntry containing a new #LassoDiscoResourceOffering, and initialize the
- * #LassoDiscoResourceOffering using the #LassoDiscoServiceInstance and #LassoDiscoResourceId
- * object.
- *
- * Return value: the newly created #LassoDiscoInsertEntry or NULL if some preconditions failed.
- **/
-gint
-lasso_discovery_add_insert_entry(LassoDiscovery *discovery,
- LassoDiscoServiceInstance *serviceInstance,
- LassoDiscoResourceID *resourceId)
-{
- LassoDiscoModify *modify = NULL;
- LassoDiscoInsertEntry *insertEntry = NULL;
- LassoDiscoResourceOffering *resourceOffering = NULL;
- int rc = 0;
-
- lasso_bad_param(DISCOVERY, discovery);
- lasso_bad_param(DISCO_SERVICE_INSTANCE, serviceInstance);
- lasso_bad_param(DISCO_RESOURCE_ID, resourceId);
- g_return_val_if_fail(LASSO_IS_DISCO_MODIFY(LASSO_WSF_PROFILE(discovery)->request), LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
-
- lasso_extract_node_or_fail(modify, LASSO_WSF_PROFILE(discovery)->request, DISCO_MODIFY,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
- resourceOffering = lasso_disco_resource_offering_new(serviceInstance);
- lasso_assign_gobject(resourceOffering->ResourceID, resourceId);
- insertEntry = lasso_disco_insert_entry_new(resourceOffering);
- lasso_list_add_gobject(modify->InsertEntry, insertEntry);
-
-cleanup:
- lasso_release_gobject(resourceOffering);
- return rc;
-}
-
-/**
- * lasso_discovery_add_remove_entry:
- * @discovery: a #LassoDiscovery object
- * @entryID: the idenitfier of a ResourceOffering to remove.
- *
- * Add a RemoveEntry to the current Modify message for a Discovery service,
- * to remove the resource offering identified by entryID (returned in the
- * response to a Modify/InsertEntry message).
- *
- * Return value: 0 if successful, an error code otherwise.
- **/
-gint
-lasso_discovery_add_remove_entry(LassoDiscovery *discovery,
- const gchar *entryID)
-{
- LassoDiscoModify *modify = NULL;
- gint rc = 0;
-
- lasso_bad_param(DISCOVERY, discovery);
- lasso_null_param(entryID);
- lasso_extract_node_or_fail(modify, LASSO_WSF_PROFILE(discovery)->request, DISCO_MODIFY,
- LASSO_PROFILE_ERROR_MISSING_REQUEST);
-
- lasso_list_add_new_gobject(modify->RemoveEntry, lasso_disco_remove_entry_new(entryID));
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_discovery_add_requested_service_type:
- * @discovery: a #LassoDiscovery
- * @service_type: requested service type
- * @option: option to the requested service
- *
- * Adds a request for service of @service_type to the disco:Query being built.
- *
- * Return value: 0 if successful
- **/
-gint
-lasso_discovery_add_requested_service_type(LassoDiscovery *discovery,
- const gchar *service_type,
- const gchar *option)
-{
- LassoDiscoRequestedServiceType *rst = NULL;
- LassoDiscoOptions *opts = NULL;
- LassoDiscoQuery *query = NULL;
- gint rc = 0;
-
- lasso_bad_param(DISCOVERY, discovery);
- lasso_null_param(service_type);
- lasso_extract_node_or_fail(query, LASSO_WSF_PROFILE(discovery)->request, DISCO_QUERY,
- LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
-
- rst = lasso_disco_requested_service_type_new(service_type);
- if (option != NULL) {
- opts = lasso_disco_options_new();
- lasso_list_add_string(opts->Option, option);
- lasso_assign_new_gobject(rst->Options, opts);
- }
- lasso_list_add_new_gobject(query->RequestedServiceType, rst);
-
-cleanup:
- return rc;
-}
-
-/**
- * lasso_discovery_init_query
- * @discovery: a #LassoDiscovery
- * @security_mech_id: (allow-none): identifier of a wished security mechanism, or NULL if any is ok
- *
- * Initializes a disco:Query message.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_discovery_init_query(LassoDiscovery *discovery, const gchar *security_mech_id)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQuery *query = NULL;
- LassoDiscoResourceOffering *offering = NULL;
- gint rc = 0;
-
- lasso_bad_param(DISCOVERY, discovery);
-
- profile = &discovery->parent;
- /* 1. Get an offering */
- rc = lasso_discovery_init_resource_offering(discovery, security_mech_id, &offering);
- goto_cleanup_if_fail(! rc);
-
- /* 2. Create SOAP envelope and set profile->request */
- query = lasso_disco_query_new();
- lasso_wsf_profile_init_soap_request(profile, LASSO_NODE(query));
- assign_resource_id(offering, query);
-
-cleanup:
- lasso_release_gobject(query);
- return rc;
-}
-
-/**
- * lasso_discovery_init_modify:
- * @discovery: a #LassoDiscovery
- * @security_mech_id: (allow-none): the security mechanism identifier
- *
- * Initializes a disco Modify/InsertEntry
- *
- * Return value: 0 on success; an error code otherwise.
- **/
-gint
-lasso_discovery_init_modify(LassoDiscovery *discovery,
- const char *security_mech_id)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoModify *modify = NULL;
- LassoDiscoResourceOffering *offering = NULL;
- gint rc = 0;
-
- lasso_bad_param(DISCOVERY, discovery);
-
- profile = &discovery->parent;
- /* 1. Get an offering */
- rc = lasso_discovery_init_resource_offering(discovery, security_mech_id, &offering);
- goto_cleanup_if_fail (! rc);
-
- /* 2. Set message content */
- modify = lasso_disco_modify_new();
- assign_resource_id(offering, modify);
- lasso_wsf_profile_init_soap_request(profile, LASSO_NODE(modify));
-cleanup:
- lasso_release_gobject(modify);
- return rc;
-}
-
-/**
- * lasso_discovery_process_request_msg:
- * @discovery: a #LassoDiscovery object
- * @message: a serialized SOAP message
- * @security_mech_id: (allow-none): the security mech id to use for validating authorizations
- *
- * Process a received SOAP message for the discovery service.
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-gint
-lasso_discovery_process_request_msg(LassoDiscovery *discovery, const gchar *message,
- const gchar *security_mech_id)
-{
- gint rc = 0;
- LassoWsfProfile *profile = NULL;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(message != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- profile = LASSO_WSF_PROFILE(discovery);
- rc = lasso_wsf_profile_process_soap_request_msg(profile, message,
- security_mech_id);
- if (rc) {
- return rc;
- }
- if (LASSO_IS_DISCO_MODIFY(profile->request)) {
- return lasso_discovery_process_modify_msg(discovery);
- } else if (LASSO_IS_DISCO_QUERY(profile->request)) {
- return lasso_discovery_process_query_msg(discovery);
- } else {
- return LASSO_PROFILE_ERROR_INVALID_MSG;
- }
- return rc;
-}
-
-/**
- * lasso_discovery_build_modify_response_msg:
- * @discovery: a #LassoDiscovery
- *
- * Builds a disco:ModifyResponse message; answer to the disco:Modify passed
- * to lasso_discovery_process_modify_msg(). It inserts and removed
- * ResourceOfferings from identity; it must be saved afterwards.
- *
- * Sets @msg_body to the SOAP answer.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_discovery_build_modify_response_msg(LassoDiscovery *discovery)
-{
- /* FIXME: Check all error cases, set the right status code,
- and don't return without building a response, and
- ensure atomicity, everything fails or everythig succeed. */
-
- LassoWsfProfile *profile = NULL;
- LassoDiscoModify *request = NULL;
- LassoDiscoModifyResponse *response = NULL;
- LassoUtilityStatus *status = NULL;
- LassoDiscoRemoveEntry *remove_entry = NULL;
- LassoDiscoInsertEntry *insert_entry = NULL;
- char *new_entry_ids = NULL;
- char *t_new_entry_ids = NULL;
- GList *iter = NULL;
- int res = 0;
- int res2 = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- profile = LASSO_WSF_PROFILE(discovery);
- request = LASSO_DISCO_MODIFY(profile->request);
- response = LASSO_DISCO_MODIFY_RESPONSE(profile->response);
-
- if (profile->identity == NULL) {
- return LASSO_PROFILE_ERROR_IDENTITY_NOT_FOUND;
- }
-
- /* First verify remove entries are all ok */
- for (iter = request->RemoveEntry; iter != NULL; iter = g_list_next(iter)) {
- if (! LASSO_IS_DISCO_REMOVE_ENTRY(iter->data)) {
- continue;
- }
- remove_entry = LASSO_DISCO_REMOVE_ENTRY(iter->data);
-
- if (! lasso_identity_get_resource_offering(profile->identity,
- remove_entry->entryID)) {
- res = LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING;
- break;
- }
- }
-
- /* Then remove the entries */
- if (res == 0) {
- for (iter = request->RemoveEntry; iter != NULL; iter = g_list_next(iter)) {
- remove_entry = LASSO_DISCO_REMOVE_ENTRY(iter->data);
- if (! lasso_identity_remove_resource_offering(profile->identity,
- remove_entry->entryID)) {
- /* Set the right error code */
- res = -1;
- break;
- }
- }
- }
-
- if (request->InsertEntry) {
- new_entry_ids = g_malloc(10 * g_list_length(request->InsertEntry));
- t_new_entry_ids = new_entry_ids;
- }
-
- for (iter = request->InsertEntry; iter != NULL; iter = g_list_next(iter)) {
- if (! LASSO_IS_DISCO_INSERT_ENTRY(iter->data)) {
- continue;
- }
- insert_entry = LASSO_DISCO_INSERT_ENTRY(iter->data);
-
- lasso_identity_add_resource_offering(profile->identity,
- insert_entry->ResourceOffering);
-
- t_new_entry_ids = g_stpcpy(t_new_entry_ids,
- insert_entry->ResourceOffering->entryID);
- t_new_entry_ids = g_stpcpy(t_new_entry_ids, " ");
- }
- if (t_new_entry_ids) {
- t_new_entry_ids[-1] = 0; /* remove trailing white space */
- }
-
- if (new_entry_ids) {
- response->newEntryIDs = g_strdup(new_entry_ids);
- lasso_release(new_entry_ids);
- }
-
- if (res != 0) {
- lasso_assign_string(status->code, LASSO_DISCO_STATUS_CODE_FAILED);
- }
-
- res2 = lasso_wsf_profile_build_soap_response_msg(profile);
- if (res != 0) {
- return res;
- } else {
- return res2;
- }
-}
-
-/**
- * lasso_discovery_process_modify_response_msg:
- * @discovery: a #LassoDiscovery
- * @message: the disco:ModifyResponse SOAP message
- *
- * Processes a disco:ModifyResponse SOAP message.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_discovery_process_modify_response_msg(LassoDiscovery *discovery, const gchar *message)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoModifyResponse *response = NULL;
- int rc = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(message != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- profile = LASSO_WSF_PROFILE(discovery);
-
- rc = lasso_wsf_profile_process_soap_response_msg(profile, message);
- if (rc) {
- return rc;
- }
-
- response = LASSO_DISCO_MODIFY_RESPONSE(profile->response);
-
- if (strcmp(response->Status->code, LASSO_DISCO_STATUS_CODE_OK) != 0) {
- return LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS;
- }
-
- return 0;
-}
-
-/**
- * lasso_discovery_build_response_msg:
- * @discovery: a #LassoDiscovery object
- *
- * Execute needed action for the received request, and produce a response message.
- *
- * If any critical error occur, it tries to produce a SOAP fault.
- *
- * Return value: 0 on success; or an error code otherwise.
- */
-gint
-lasso_discovery_build_response_msg(LassoDiscovery *discovery)
-{
- gint rc = LASSO_PROFILE_ERROR_INVALID_MSG;
- LassoWsfProfile *profile = NULL;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- profile = &discovery->parent;
-
- if (G_IS_OBJECT(profile->request)) {
-
- if (LASSO_IS_DISCO_MODIFY(profile->request)) {
- rc = lasso_discovery_build_modify_response_msg(discovery);
- }
- if (LASSO_IS_DISCO_QUERY(profile->request)) {
- rc = lasso_discovery_build_query_response_msg(discovery);
- }
- }
- if (rc < 0) {
- rc = lasso_wsf_profile_build_soap_fault_response_msg(profile, rc);
- }
- rc = lasso_wsf_profile_build_soap_response_msg(profile);
-
- return rc;
-}
-
-/**
- * lasso_discovery_build_query_response_msg
- * @discovery: a #LassoDiscovery
- *
- * Builds a disco:QueryResponse message; answer to the disco:Query passed to
- * lasso_discovery_process_query_msg(). It looks up resource offerings in the
- * principal identity and extracts those of the requested service type.
- *
- * Sets @msg_body to the SOAP answer.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_discovery_build_query_response_msg(LassoDiscovery *discovery)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQuery *request = NULL;
- LassoDiscoQueryResponse *response = NULL;
- LassoSoapEnvelope *envelope = NULL;
- LassoSoapFault *fault = NULL;
- GList *offerings = NULL;
- GList *iter = NULL;
- GList *iter2 = NULL;
- GList *iter3 = NULL;
- int res = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- profile = LASSO_WSF_PROFILE(discovery);
- request = LASSO_DISCO_QUERY(profile->request);
- envelope = profile->soap_envelope_response;
- response = LASSO_DISCO_QUERY_RESPONSE(profile->response);
-
- if (profile->identity == NULL) {
- fault = lasso_soap_fault_new();
- fault->faultcode = LASSO_SOAP_FAULT_CODE_SERVER;
- fault->faultstring = LASSO_SOAP_FAULT_STRING_IDENTITY_NOT_FOUND;
- lasso_list_add_gobject(envelope->Body->any, fault);
- return lasso_wsf_profile_build_soap_response_msg(profile);
- }
-
- iter = request->RequestedServiceType;
- while (iter) {
- LassoDiscoRequestedServiceType *service_type = iter->data;
- iter = g_list_next(iter);
- offerings = g_list_concat(offerings, lasso_identity_get_offerings(
- profile->identity,
- service_type->ServiceType));
- }
-
- /* build response */
- response->ResourceOffering = offerings;
-
- /* Add needed credentials for offerings */
- iter = offerings;
- while (iter) {
- LassoDiscoResourceOffering *resource_offering = iter->data;
- iter = g_list_next(iter);
- iter2 = resource_offering->ServiceInstance->Description;
- while (iter2) {
- LassoDiscoDescription *description = LASSO_DISCO_DESCRIPTION(iter2->data);
- iter3 = description->SecurityMechID;
- while (iter3) {
- if (lasso_security_mech_id_is_saml_authentication(
- iter3->data) == TRUE) {
- gchar *credentialRef = lasso_discovery_build_credential(
- discovery, NULL);
- lasso_list_add_new_string(description->CredentialRef, (void*)credentialRef);
- }
- iter3 = g_list_next(iter3);
- }
- iter2 = g_list_next(iter2);
- }
- }
-
- res = lasso_wsf_profile_build_soap_response_msg(profile);
-
- return res;
-}
-
-const char*
-get_assertion_id(xmlNode *node) {
- return (char*)xmlGetProp(node, (xmlChar*)"AssertionID");
-}
-
-/**
- * lasso_discovery_process_query_response_msg:
- * @discovery: a #LassoDiscovery
- * @message: the disco:QueryResponse message
- *
- * Processes a disco:QueryResponse message.
- * Extract credentials from the response and put them in the session,
- * for later use by a request from a #LassoWsfProfile.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_discovery_process_query_response_msg(LassoDiscovery *discovery, const gchar *message)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQueryResponse *response;
- int rc = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(message != NULL,
- LASSO_PARAM_ERROR_INVALID_VALUE);
-
- profile = LASSO_WSF_PROFILE(discovery);
- rc = lasso_wsf_profile_process_soap_response_msg(profile, message);
- if (rc)
- goto cleanup;
- response = LASSO_DISCO_QUERY_RESPONSE(profile->response);
- if (strcmp(response->Status->code, LASSO_DISCO_STATUS_CODE_OK) != 0 &&
- strcmp(response->Status->code, LASSO_DISCO_STATUS_CODE_DISCO_OK) != 0) {
- return LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS;
- }
- /** Process the credentials, add them to the session */
- if (response->Credentials) {
- GList *assertions = response->Credentials->any;
- for (; assertions; assertions = g_list_next(assertions)) {
- xmlNode *assertion = (xmlNode*)assertions->data;
- if (! (assertion->type == XML_ELEMENT_NODE &&
- strcmp((char*)assertion->name, "Assertion") == 0)) {
- continue;
- }
- if (profile->session) {
- lasso_session_add_assertion_with_id(profile->session,
- get_assertion_id(assertion),
- assertion);
- } else {
- rc = LASSO_PROFILE_ERROR_SESSION_NOT_FOUND;
- goto cleanup;
- }
- }
- }
-cleanup:
- return rc;
-}
-
-
-/**
- * lasso_discovery_get_service:
- * @discovery: a #LassoDiscovery
- * @service_type: the requested service type
- *
- * After a disco:query message, creates a #LassoDataService instance for the
- * requested @service_type with the first resource offering found or the first resource offering
- * matching the service type.
- *
- * Return value:(transfer full)(allow-none): a newly created #LassoDataService object; or NULL if an
- * error occured.
- **/
-LassoWsfProfile*
-lasso_discovery_get_service(LassoDiscovery *discovery, const char *service_type)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQueryResponse *response = NULL;
- GList *iter = NULL;
- LassoDiscoResourceOffering *offering = NULL;
- LassoWsfProfile *service = NULL;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), NULL);
- profile = LASSO_WSF_PROFILE(discovery);
- g_return_val_if_fail(LASSO_IS_DISCO_QUERY_RESPONSE(profile->response), NULL);
- response = LASSO_DISCO_QUERY_RESPONSE(profile->response);
-
- iter = response->ResourceOffering;
- for (;iter; iter = g_list_next(iter)) {
- LassoDiscoResourceOffering *t = iter->data;
-
- if (! LASSO_IS_DISCO_RESOURCE_OFFERING(t)) {
- continue;
- }
- if (t->ServiceInstance == NULL)
- continue;
- if (service_type == NULL || strcmp(t->ServiceInstance->ServiceType, service_type) == 0) {
- offering = t;
- break;
- }
- }
- if (offering) {
- service = lasso_discovery_build_wsf_profile(discovery, offering);
- }
- return service;
-}
-
-
-/**
- * lasso_discovery_get_services:
- * @discovery: a #LassoDiscovery
- *
- * After a disco:query message, creates a GList object of #LassoDataService.
- *
- * Return value:(transfer full)(element-type LassoNode): a newly created GList object of #LassoDataService;
- * or NULL if an error occured.
- **/
-GList*
-lasso_discovery_get_services(LassoDiscovery *discovery)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQueryResponse *response;
- GList *iter;
- LassoDiscoResourceOffering *offering;
- LassoWsfProfile *service;
- GList *services = NULL;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), NULL);
- profile = LASSO_WSF_PROFILE(discovery);
- goto_cleanup_if_fail(LASSO_IS_DISCO_QUERY_RESPONSE(profile->response));
- response = LASSO_DISCO_QUERY_RESPONSE(profile->response);
-
- iter = response->ResourceOffering;
- while (iter) {
- offering = iter->data;
- iter = g_list_next(iter);
- if (offering->ServiceInstance == NULL) {
- continue;
- }
- service = lasso_discovery_build_wsf_profile(discovery, offering);
- lasso_list_add_new_gobject(services, service);
- }
-
-cleanup:
- return services;
-}
-
-/**
- * lasso_discovery_register_constructor_for_service_type:
- * @service_type: the URI of the service type
- * @constructor: a constructor function for the profile handling this service type
- *
- * This function permits to subclass of #LassoWsfProfile to register a
- * constructor for the service type they supports.
- */
-void
-lasso_discovery_register_constructor_for_service_type(const gchar *service_type,
- LassoWsfProfileConstructor constructor)
-{
- LassoWsfProfileConstructor old_constructor;
-
- g_return_if_fail(service_type);
- g_return_if_fail(constructor);
- old_constructor = lookup_registry(service_type);
- if (old_constructor) {
- message(G_LOG_LEVEL_WARNING, "Service type already registered: %s", service_type);
- return;
- }
- set_registry(service_type, constructor);
-}
-
-/**
- * lasso_discovery_unregister_constructor_for_service_type:
- * @service_type: the URI of the service type
- * @constructor: a constructor function for the profile handling this service type
- *
- * This function permits to subclass of #LassoWsfProfile to unregister a
- * constructor for the service type they previously registered using
- * lasso_discovery_register_constructor_for_service_type().
- */
-void
-lasso_discovery_unregister_constructor_for_service_type(
- gchar const *service_type,
- LassoWsfProfileConstructor constructor) {
- LassoWsfProfileConstructor old_constructor;
-
- g_return_if_fail(service_type);
- g_return_if_fail(constructor);
- old_constructor = lookup_registry(service_type);
- if (old_constructor != constructor) {
- message(G_LOG_LEVEL_WARNING,
- "Mismatch of constructors when unregistering service type: %s",
- service_type);
- return;
- }
- remove_registry(service_type);
-}
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static LassoNodeClass *parent_class = NULL;
-static GHashTable *registry = NULL;
-
-/**
- * lasso_discovery_process_modify_msg:
- * @discovery: a #LassoDiscovery
- * @message: the disco:Modify SOAP message
- *
- * Processes a disco:Modify message. Rebuilds a request object from the
- * message and extracts ResourceID.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_discovery_process_modify_msg(LassoDiscovery *discovery)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoModify *request = NULL;
- LassoDiscoModifyResponse *response = NULL;
- gint rc = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_DISCO_MODIFY(LASSO_WSF_PROFILE(discovery)->request),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- profile = LASSO_WSF_PROFILE(discovery);
- request = LASSO_DISCO_MODIFY(profile->request);
- assign_resource_id(request, discovery);
- response = lasso_disco_modify_response_new(
- lasso_utility_status_new(LASSO_DST_STATUS_CODE_OK));
- rc = lasso_wsf_profile_init_soap_response(profile, LASSO_NODE(response));
-cleanup:
- lasso_release_gobject(response);
- return rc;
-}
-
-/**
- * lasso_discovery_process_query_msg:
- * @discovery: a #LassoDiscovery
- *
- * Processes a disco:Query SOAP message. Rebuilds a request object from the
- * message and extracts ResourceID.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-static gint
-lasso_discovery_process_query_msg(LassoDiscovery *discovery)
-{
- LassoWsfProfile *profile = NULL;
- LassoDiscoQuery *request = NULL;
- LassoDiscoQueryResponse *response = NULL;
- gint rc = 0;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_DISCO_QUERY(LASSO_WSF_PROFILE(discovery)->request),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- profile = LASSO_WSF_PROFILE(discovery);
- request = LASSO_DISCO_QUERY(profile->request);
- assign_resource_id(request, discovery);
- response = lasso_disco_query_response_new(
- lasso_utility_status_new(LASSO_DST_STATUS_CODE_OK));
- rc = lasso_wsf_profile_init_soap_response(profile, LASSO_NODE(response));
-cleanup:
- lasso_release_gobject(response);
- return rc;
-}
-
-/**
- * lasso_discovery_init_resource_offering:
- * @discovery: a #LassoDiscovery object
- * @security_mech_id: (allow-none): a security mechanism string identifier
- * @output_offering: (allow-none) (out): a pointer to a variable to hold the found resource offering
- *
- * Return value: 0 if successfull, an error code otherwise.
- **/
-static gint
-lasso_discovery_init_resource_offering(LassoDiscovery *discovery,
- const gchar *security_mech_id, LassoDiscoResourceOffering **output_offering)
-{
- gint rc = 0;
- LassoDiscoResourceOffering *offering = NULL;
-
- g_return_val_if_fail(LASSO_IS_DISCOVERY(discovery), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (! (offering = lasso_wsf_profile_get_resource_offering(&discovery->parent))) {
- offering = lasso_discovery_get_resource_offering_auto(discovery, LASSO_DISCO_HREF);
- lasso_wsf_profile_set_resource_offering(&discovery->parent, offering);
- }
- goto_cleanup_if_fail_with_rc(LASSO_IS_DISCO_RESOURCE_OFFERING(offering),
- LASSO_PROFILE_ERROR_MISSING_RESOURCE_OFFERING);
- rc = lasso_wsf_profile_set_security_mech_id(&discovery->parent, security_mech_id);
- goto_cleanup_if_fail (! rc);
- rc = lasso_wsf_profile_set_msg_url_from_description(&discovery->parent);
- goto_cleanup_if_fail (! rc);
-cleanup:
- if (output_offering) {
- lasso_assign_gobject(*output_offering, offering);
- }
- lasso_release_gobject(offering);
- return rc;
-}
-/**
- * lasso_discovery_build_key_info_node:
- * @discovery: a #LassoDiscovery object
- * @providerID: the provider ID of the provider whose public key is requested.
- *
- * Construct a #LassoDsKeyInfo containing the public key of the targeted web
- * service provider. Fills the Modulus and Exponent composant of the RsaKeyValue.
- * It does not handle DSAKeyValue.
- *
- * Return value: a new #LassoDsKeyIfno or NULL if no provider or no public key were found.
- */
-static LassoDsKeyInfo*
-lasso_discovery_build_key_info_node(LassoDiscovery *discovery, const gchar *providerID)
-{
- LassoWsfProfile *profile;
- LassoDsKeyInfo *key_info = NULL;
- LassoDsRsaKeyValue *rsa_key_value = NULL;
- LassoDsKeyValue *key_value = NULL;
- LassoProvider *provider = NULL;
- xmlSecKeyInfoCtx *ctx = NULL;
- xmlDoc *doc = NULL;
- xmlNode *key_info_node = NULL;
- xmlNode *xmlnode = NULL;
- xmlXPathContext *xpathCtx = NULL;
- xmlXPathObject *xpathObj = NULL;
- GList *public_keys = NULL;
- xmlSecKey *public_key = NULL;
-
- lasso_return_val_if_invalid_param(DISCOVERY, discovery, NULL);
- g_return_val_if_fail(providerID != NULL, NULL);
-
- profile = &discovery->parent;
- provider = lasso_server_get_provider(profile->server, providerID);
- if (provider == NULL) {
- return NULL;
- }
-
- public_keys = lasso_provider_get_public_keys(provider);
- if (public_keys == NULL) {
- return NULL;
- }
- public_key = (xmlSecKey*)public_keys->data;
- if (public_key == NULL) {
- return NULL;
- }
-
- ctx = xmlSecKeyInfoCtxCreate(NULL);
- xmlSecKeyInfoCtxInitialize(ctx, NULL);
- ctx->mode = xmlSecKeyInfoModeWrite;
- ctx->keyReq.keyType = xmlSecKeyDataTypePublic;
-
- doc = xmlSecCreateTree((xmlChar*)"KeyInfo",
- (xmlChar*)"http://www.w3.org/2000/09/xmldsig#");
- key_info_node = xmlDocGetRootElement(doc);
- xmlSecAddChild(key_info_node, (xmlChar*)"KeyValue",
- (xmlChar*)"http://www.w3.org/2000/09/xmldsig#");
-
- xmlSecKeyInfoNodeWrite(key_info_node, public_key, ctx);
-
- xpathCtx = xmlXPathNewContext(doc);
- xmlXPathRegisterNs(xpathCtx, (xmlChar*)"ds",
- (xmlChar*)"http://www.w3.org/2000/09/xmldsig#");
-
- rsa_key_value = lasso_ds_rsa_key_value_new();
- xpathObj = xmlXPathEvalExpression((xmlChar*)"//ds:Modulus", xpathCtx);
- if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr) {
- xmlnode = xpathObj->nodesetval->nodeTab[0];
- rsa_key_value->Modulus = (gchar *) xmlNodeGetContent(xmlnode);
- }
- xmlXPathFreeObject(xpathObj);
-
- xpathObj = xmlXPathEvalExpression((xmlChar*)"//ds:Exponent", xpathCtx);
- if (xpathObj->nodesetval && xpathObj->nodesetval->nodeNr) {
- xmlnode = xpathObj->nodesetval->nodeTab[0];
- rsa_key_value->Exponent = (gchar *) xmlNodeGetContent(xmlnode);
- }
- xmlXPathFreeObject(xpathObj);
-
- key_value = lasso_ds_key_value_new();
- key_value->RSAKeyValue = rsa_key_value;
- key_info = lasso_ds_key_info_new();
- key_info->KeyValue = key_value;
-
- xmlXPathFreeContext(xpathCtx);
- lasso_release_doc(doc);
-
- return key_info;
-}
-
-static LassoDiscoResourceOffering*
-lasso_discovery_get_resource_offering_auto(LassoDiscovery *discovery, const gchar *service_type)
-{
- LassoWsfProfile *profile = LASSO_WSF_PROFILE(discovery);
- LassoDiscoResourceOffering *resource_offering = NULL;
- LassoSession *session = NULL;
- GList *assertions = NULL;
- LassoSamlAssertion *assertion = NULL;
- LassoSamlAttribute *attribute = NULL;
- LassoSamlAttributeValue *attribute_value = NULL;
- LassoDiscoResourceOffering *offering = NULL;
- GList *iter = NULL;
- GList *iter2 = NULL;
- GList *iter3 = NULL;
- GList *iter4 = NULL;
-
- if (profile->session == NULL) {
- return NULL;
- }
-
- session = profile->session;
- assertions = lasso_session_get_assertions(session, NULL);
- for (iter = assertions; iter != NULL; iter = g_list_next(iter)) {
- if (! LASSO_IS_SAML_ASSERTION(iter->data)) {
- continue;
- }
- assertion = LASSO_SAML_ASSERTION(iter->data);
- if (assertion->AttributeStatement == NULL) {
- continue;
- }
- for (iter2 = assertion->AttributeStatement->Attribute; iter2 != NULL;
- iter2 = g_list_next(iter2)) {
- if (! LASSO_IS_SAML_ATTRIBUTE(iter2->data)) {
- continue;
- }
- attribute = LASSO_SAML_ATTRIBUTE(iter2->data);
- if (strcmp(attribute->attributeName, "DiscoveryResourceOffering") != 0) {
- continue;
- }
- for (iter3 = attribute->AttributeValue; iter3 != NULL;
- iter3 = g_list_next(iter3)) {
- if (! LASSO_IS_SAML_ATTRIBUTE_VALUE(iter3->data)) {
- continue;
- }
- attribute_value = LASSO_SAML_ATTRIBUTE_VALUE(iter3->data);
- for (iter4 = attribute_value->any; iter4 != NULL;
- iter4 = g_list_next(iter4)) {
- if (! LASSO_IS_DISCO_RESOURCE_OFFERING(iter4->data)) {
- continue;
- }
- offering = LASSO_DISCO_RESOURCE_OFFERING(iter4->data);
- if (offering->ServiceInstance == NULL) {
- continue;
- }
- if (strcmp(offering->ServiceInstance->ServiceType,
- service_type) == 0) {
- resource_offering = offering;
- goto cleanup;
- }
- }
- }
- }
- }
-
-cleanup:
- lasso_release_list(assertions);
- return resource_offering;
-}
-
-/**
- * lasso_discovery_build_credential:
- * @discovery: an ID-WSF 1.0 discovery service object
- * @providerId: the providerId for which the credential is build
- *
- * This function create a SAML assertion associating the public key of the given provider with its
- * provider ID. This assertion will be signed by our own private key, creating a kind of
- * certificate.
- *
- * Return value: the value of the attribute AssertionID of the created assertion.
- */
-static gchar*
-lasso_discovery_build_credential(LassoDiscovery *discovery, const gchar *providerId)
-{
- LassoWsfProfile *profile = NULL;
- LassoSoapHeader *header = NULL;
- LassoSoapBindingProvider *provider = NULL;
- LassoDiscoQueryResponse *response = NULL;
- LassoDiscoCredentials *credentials = NULL;
- LassoSamlAssertion *assertion = NULL;
- LassoSamlAuthenticationStatement *authentication_statement = NULL;
- LassoSamlSubject *subject = NULL;
- LassoSamlNameIdentifier *name_identifier = NULL;
- LassoSamlSubjectConfirmation *subject_confirmation = NULL;
- LassoDsKeyInfo *key_info = NULL;
- GList *iter = NULL;
- LassoProvider *our_provider =
- LASSO_PROVIDER(LASSO_WSF_PROFILE(discovery)->server);
- gchar *assertionID = NULL;
-
- lasso_return_val_if_invalid_param(DISCOVERY, discovery, NULL);
-
- /* Init assertion informations */
- assertion = lasso_saml_assertion_new();
- assertion->AssertionID = lasso_build_unique_id(32);
- assertion->MajorVersion = LASSO_SAML_MAJOR_VERSION_N;
- assertion->MinorVersion = LASSO_SAML_MINOR_VERSION_N;
- assertion->IssueInstant = lasso_get_current_time();
- lasso_assign_string(assertion->Issuer, our_provider->ProviderID);
-
- /* Add AuthenticationStatement */
- authentication_statement = LASSO_SAML_AUTHENTICATION_STATEMENT(
- lasso_saml_authentication_statement_new());
- authentication_statement->AuthenticationInstant = lasso_get_current_time();
-
- subject = LASSO_SAML_SUBJECT(lasso_saml_subject_new());
-
- /* NameIdentifier */
- name_identifier = lasso_saml_name_identifier_new();
- name_identifier->NameQualifier = g_strdup(
- our_provider->ProviderID);
-
- /* If no providerId was given use the one from the request */
- if (providerId == NULL) {
- header = LASSO_WSF_PROFILE(discovery)->soap_envelope_request->Header;
- iter = header->Other;
- while (iter) {
- if (LASSO_IS_SOAP_BINDING_PROVIDER(iter->data) == TRUE) {
- provider = LASSO_SOAP_BINDING_PROVIDER(iter->data);
- break;
- }
- }
- providerId = provider->providerID;
- }
-
- if (providerId != NULL) {
- lasso_assign_string(name_identifier->Format, LASSO_LIB_NAME_IDENTIFIER_FORMAT_ENTITYID);
- lasso_assign_string(name_identifier->content, providerId);
- } else {
- goto exit;
- }
- subject->NameIdentifier = name_identifier;
-
- /* SubjectConfirmation */
- subject_confirmation = lasso_saml_subject_confirmation_new();
- lasso_list_add_string(subject_confirmation->ConfirmationMethod,
- LASSO_SAML_CONFIRMATION_METHOD_HOLDER_OF_KEY);
-
- /* Add public key value in credential */
- key_info = lasso_discovery_build_key_info_node(discovery, provider->providerID);
- if (key_info != NULL) {
- subject_confirmation->KeyInfo = key_info;
- }
- subject->SubjectConfirmation = subject_confirmation;
-
- /* Add the subject in the authentication statement */
- LASSO_SAML_SUBJECT_STATEMENT_ABSTRACT(authentication_statement)->Subject = subject;
- assertion->AuthenticationStatement = authentication_statement;
-
- /* FIXME: add resource access statement */
-
- /* Add credential to disco:QueryResponse */
- response = LASSO_DISCO_QUERY_RESPONSE(profile->response);
- credentials = lasso_disco_credentials_new();
- lasso_list_add_gobject(credentials->any, assertion);
- lasso_assign_gobject(response->Credentials, credentials);
-
- lasso_assign_string(assertionID, assertion->AssertionID);
-
-exit:
- lasso_release_gobject(assertion);
- lasso_release_gobject(credentials);
-
- return assertionID;
-}
-
-static GHashTable *
-get_constructors_registry()
-{
- if (registry == NULL) {
- registry = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL);
- }
- return registry;
-}
-
-static LassoWsfProfileConstructor
-lookup_registry(gchar const *service_type) {
- gpointer *t;
-
- g_return_val_if_fail(service_type, NULL);
- t = g_hash_table_lookup(get_constructors_registry(), service_type);
- return (LassoWsfProfileConstructor)t;
-}
-
-static void
-remove_registry(gchar const *service_type)
-{
- g_return_if_fail(service_type);
- g_hash_table_remove(get_constructors_registry(), service_type);
-}
-
-static void
-set_registry(gchar const *service_type, LassoWsfProfileConstructor constructor)
-{
- g_return_if_fail(service_type);
- g_return_if_fail(constructor);
- g_hash_table_insert(get_constructors_registry(),
- g_strdup(service_type), constructor);
-}
-
-static LassoWsfProfile *
-lasso_discovery_build_wsf_profile(LassoDiscovery *discovery, LassoDiscoResourceOffering *offering)
-{
- LassoWsfProfile *a_wsf_profile = NULL;
- LassoWsfProfileConstructor a_constructor;
- LassoServer *server;
- gchar *service_type = NULL;
-
- g_return_val_if_fail(offering, NULL);
- g_return_val_if_fail(offering->ServiceInstance, NULL);
- g_return_val_if_fail(offering->ServiceInstance->ServiceType, NULL);
-
- service_type = offering->ServiceInstance->ServiceType;
- a_constructor = lookup_registry(service_type);
- server = LASSO_WSF_PROFILE(discovery)->server;
-
- if (a_constructor) {
- a_wsf_profile = a_constructor(server, offering);
- } else {
- message(G_LOG_LEVEL_WARNING, "No constructor registered for service type: %s", service_type);
- a_wsf_profile = LASSO_WSF_PROFILE(lasso_data_service_new_full(server, offering));
- }
- lasso_assign_gobject(a_wsf_profile->session, discovery->parent.session);
-
- return a_wsf_profile;
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xmlNodeSetName(xmlnode, (xmlChar*)"Discovery");
- xmlSetProp(xmlnode, (xmlChar*)"DiscoveryDumpVersion", (xmlChar*)"2");
-
- return xmlnode;
-}
-
-/*****************************************************************************/
-/* overrided parent class methods */
-/*****************************************************************************/
-
-static void
-dispose(GObject *object)
-{
- LassoDiscovery *discovery = LASSO_DISCOVERY(object);
-
- if (discovery->private_data->dispose_has_run == TRUE)
- return;
- discovery->private_data->dispose_has_run = TRUE;
-
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- LassoDiscovery *discovery = LASSO_DISCOVERY(object);
- lasso_release(discovery->private_data);
- discovery->private_data = NULL;
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoDiscovery *discovery)
-{
- discovery->private_data = g_new0(LassoDiscoveryPrivate, 1);
- discovery->private_data->dispose_has_run = FALSE;
-}
-
-static void
-class_init(LassoDiscoveryClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
- LASSO_NODE_CLASS(klass)->get_xmlNode = get_xmlNode;
-
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
-}
-
-GType
-lasso_discovery_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoDiscoveryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscovery),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_WSF_PROFILE,
- "LassoDiscovery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_discovery_new:
- * @server: the #LassoServer
- *
- * Creates a new #LassoDiscovery.
- *
- * Return value: a newly created #LassoDiscovery object; or NULL if an error occured.
- **/
-LassoDiscovery*
-lasso_discovery_new(LassoServer *server)
-{
- LassoDiscovery *discovery = NULL;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- discovery = g_object_new(LASSO_TYPE_DISCOVERY, NULL);
- lasso_wsf_profile_init(&discovery->parent, server, NULL);
-
- return discovery;
-}
-
-/**
- * lasso_discovery_new_full:
- * @server: the #LassoServer
- * @offering: the #LassoDiscoResourceOffering
- *
- * Creates a new #LassoDiscovery.
- *
- * Return value: a newly created #LassoDiscovery object; or NULL if an error occured.
- **/
-LassoDiscovery*
-lasso_discovery_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)
-{
- LassoDiscovery *discovery = NULL;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- discovery = g_object_new(LASSO_TYPE_DISCOVERY, NULL);
- lasso_wsf_profile_init(&discovery->parent, server, offering);
-
- return discovery;
-}
diff --git a/lasso/id-wsf/discovery.h b/lasso/id-wsf/discovery.h
deleted file mode 100644
index 9d48f7a5..00000000
--- a/lasso/id-wsf/discovery.h
+++ /dev/null
@@ -1,123 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCOVERY_H__
-#define __LASSO_DISCOVERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "../xml/disco_insert_entry.h"
-#include "../xml/disco_modify.h"
-#include "../xml/disco_modify_response.h"
-#include "../xml/disco_query.h"
-#include "../xml/disco_query_response.h"
-#include "../xml/disco_remove_entry.h"
-#include "../xml/disco_requested_service_type.h"
-
-#include "wsf_profile.h"
-#include "data_service.h"
-
-#define LASSO_TYPE_DISCOVERY (lasso_discovery_get_type())
-#define LASSO_DISCOVERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCOVERY, LassoDiscovery))
-#define LASSO_DISCOVERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCOVERY, LassoDiscoveryClass))
-#define LASSO_IS_DISCOVERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCOVERY))
-#define LASSO_IS_DISCOVERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCOVERY))
-#define LASSO_DISCOVERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCOVERY, LassoDiscoveryClass))
-
-typedef struct _LassoDiscovery LassoDiscovery;
-typedef struct _LassoDiscoveryClass LassoDiscoveryClass;
-typedef struct _LassoDiscoveryPrivate LassoDiscoveryPrivate;
-
-
-struct _LassoDiscovery {
- LassoWsfProfile parent;
-
- /*< public >*/
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
-
- /*< private >*/
- LassoDiscoveryPrivate *private_data;
-};
-
-struct _LassoDiscoveryClass {
- LassoWsfProfileClass parent;
-};
-
-LASSO_EXPORT GType lasso_discovery_get_type(void);
-
-LASSO_EXPORT LassoDiscovery* lasso_discovery_new(LassoServer *server);
-
-LASSO_EXPORT LassoDiscovery* lasso_discovery_new_full(LassoServer *server,
- LassoDiscoResourceOffering *offering);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_init_modify(LassoDiscovery *discovery,
- const char *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_add_insert_entry(LassoDiscovery *discovery,
- LassoDiscoServiceInstance *serviceInstance, LassoDiscoResourceID *resourceId);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_add_remove_entry(LassoDiscovery *discovery,
- const gchar *entryID);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_init_query(LassoDiscovery *discovery,
- const gchar *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_add_requested_service_type(
- LassoDiscovery *discovery, const gchar *service_type, const gchar *option);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_process_request_msg(LassoDiscovery *discovery,
- const gchar *message, const gchar *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_build_response_msg(LassoDiscovery *discovery);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_process_modify_response_msg(LassoDiscovery *discovery,
- const gchar *message);
-
-LASSO_EXPORT lasso_error_t lasso_discovery_process_query_response_msg(LassoDiscovery *discovery,
- const gchar *message);
-
-LASSO_EXPORT LassoWsfProfile* lasso_discovery_get_service(LassoDiscovery *discovery,
- const char *service_type);
-
-LASSO_EXPORT GList* lasso_discovery_get_services(LassoDiscovery *discovery);
-
-typedef LassoWsfProfile *(*LassoWsfProfileConstructor)(LassoServer *server,
- LassoDiscoResourceOffering *offering);
-
-LASSO_EXPORT void lasso_discovery_register_constructor_for_service_type(gchar const *service_type,
- LassoWsfProfileConstructor constructor);
-LASSO_EXPORT void lasso_discovery_unregister_constructor_for_service_type(gchar const *service_type,
- LassoWsfProfileConstructor constructor);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCOVERY_H__ */
diff --git a/lasso/id-wsf/id_ff_extensions.c b/lasso/id-wsf/id_ff_extensions.c
deleted file mode 100644
index 878c7971..00000000
--- a/lasso/id-wsf/id_ff_extensions.c
+++ /dev/null
@@ -1,381 +0,0 @@
-/* $Id$
- *
- *
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "id_ff_extensions.h"
-#include "../xml/idwsf_strings.h"
-#include "id_ff_extensions_private.h"
-#include "../xml/disco_description.h"
-#include "../xml/disco_resource_offering.h"
-#include "../xml/disco_service_instance.h"
-#include "../xml/id-wsf-2.0/disco_service_context.h"
-#include "../id-ff/profile.h"
-#include "../id-ff/server.h"
-#include "../id-ff/loginprivate.h"
-#include "../id-ff/serverprivate.h"
-#include "../id-ff/identityprivate.h"
-#include "../xml/saml_attribute.h"
-#include "../xml/saml_attribute_value.h"
-#include "../xml/saml_attribute_statement.h"
-#include "../id-wsf-2.0/server.h"
-
-/**
- * SECTION:id-ff-extensions
- *
- * Those functions are called from ID-FF part of lasso when ID-WSF support is enabled. They enable
- * the boot-straping of the ID-WSF services, notably the access to the Discovery service (see
- * #LassoDiscovery).
- */
-
-/**
- * lasso_login_assertion_add_discovery:
- * @login: a #LassoLogin object
- * @assertion: a #LassoSamlAssertion object
- *
- * Adds AttributeStatement and ResourceOffering attributes to @assertion of a @login object if there
- * is a discovery service registerered in the @LassoLogin.server field.
- * .
- **/
-void
-lasso_login_assertion_add_discovery(LassoLogin *login, LassoSamlAssertion *assertion)
-{
- LassoProfile *profile = LASSO_PROFILE(login);
- LassoDiscoResourceOffering *resourceOffering;
- LassoDiscoServiceInstance *serviceInstance, *newServiceInstance;
- LassoSamlAttributeStatement *attributeStatement;
- LassoSamlAttribute *attribute;
- LassoSamlAttributeValue *attributeValue;
-
- serviceInstance = lasso_server_get_service(profile->server, LASSO_DISCO_HREF);
- if (LASSO_IS_DISCO_SERVICE_INSTANCE(serviceInstance) &&
- login->private_data->resourceId) {
- newServiceInstance = lasso_disco_service_instance_copy(serviceInstance);
-
- resourceOffering = lasso_disco_resource_offering_new(newServiceInstance);
- lasso_release_gobject(newServiceInstance);
- lasso_assign_gobject(resourceOffering->ResourceID, login->private_data->resourceId);
-
- attributeValue = lasso_saml_attribute_value_new();
- lasso_list_add_new_gobject(attributeValue->any, resourceOffering);
-
- attribute = lasso_saml_attribute_new();
- lasso_assign_string(attribute->attributeName, "DiscoveryResourceOffering");
- lasso_assign_string(attribute->attributeNameSpace, LASSO_DISCO_HREF);
- lasso_list_add_new_gobject(attribute->AttributeValue, attributeValue);
-
- attributeStatement = lasso_saml_attribute_statement_new();
- lasso_list_add_new_gobject(attributeStatement->Attribute, attribute);
-
- lasso_assign_new_gobject(assertion->AttributeStatement, attributeStatement);
-
- /* FIXME: Add CredentialsRef and saml:Advice Assertions */
- }
-}
-
-
-/**
- * lasso_login_set_encryptedResourceId:
- * @login: a #LassoLogin object
- * @encryptedResourceId: the #LassoDiscoEncryptedResourceID to setup in the login object
- *
- * Set the #LassoDiscoEncryptedResourceID to place the next produced assertions as an ID-WSF 1.0
- * bootstrap.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-int
-lasso_login_set_encryptedResourceId(LassoLogin *login,
- LassoDiscoEncryptedResourceID *encryptedResourceId)
-{
- g_return_val_if_fail(LASSO_IS_LOGIN(login), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_DISCO_ENCRYPTED_RESOURCE_ID(encryptedResourceId),
- LASSO_PARAM_ERROR_INVALID_VALUE);
-
- lasso_assign_gobject(login->private_data->encryptedResourceId, encryptedResourceId);
-
- return 0;
-}
-
-
-/**
- * lasso_login_set_resourceId:
- * @login: a #LassoLogin
- * @content: a resourceID identifier
- *
- * Set the resourceId to place in the next produced assertion for ID-WSF bootstrap.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-int
-lasso_login_set_resourceId(LassoLogin *login, const char *content)
-{
- g_return_val_if_fail(LASSO_IS_LOGIN(login), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(content != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- lasso_assign_new_gobject(login->private_data->resourceId, lasso_disco_resource_id_new(content));
- return 0;
-}
-
-
-/**
- * lasso_server_add_service:
- * @server: a #LassoServer
- * @service: a #LassoNode object implementing representing a service endpoint.
- *
- * Add a service to the registry of service of this #LassoServer object.
- *
- * Return value: 0 on success; a negative value if an error occured.
- **/
-gint
-lasso_server_add_service(LassoServer *server, LassoNode *service)
-{
- g_return_val_if_fail(LASSO_IS_SERVER(server), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(service != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (LASSO_IS_DISCO_SERVICE_INSTANCE(service)) {
- g_hash_table_insert(server->services,
- g_strdup(LASSO_DISCO_SERVICE_INSTANCE(service)->ServiceType),
- g_object_ref(service));
- } else if (LASSO_IS_IDWSF2_DISCO_SVC_METADATA(service)) {
- return lasso_server_add_svc_metadata(server,
- LASSO_IDWSF2_DISCO_SVC_METADATA(service));
- } else {
- return LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ;
- }
- return 0;
-}
-
-
-static void
-add_service_childnode(G_GNUC_UNUSED gchar *key, LassoNode *value, xmlNode *xmlnode)
-{
- xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(value), TRUE));
-}
-
-
-void
-lasso_server_dump_id_wsf_services(LassoServer *server, xmlNode *xmlnode)
-{
- if (g_hash_table_size(server->services)) {
- xmlNode *t;
- t = xmlNewTextChild(xmlnode, NULL, (xmlChar*)"Services", NULL);
- g_hash_table_foreach(server->services,
- (GHFunc)add_service_childnode, t);
- }
-}
-
-
-void
-lasso_server_init_id_wsf_services(LassoServer *server, xmlNode *t) {
- xmlNode *t2 = t->children;
- /* Services */
- if (strcmp((char*)t->name, "Services") == 0) {
- while (t2) {
- LassoDiscoServiceInstance *s;
- if (t2->type != XML_ELEMENT_NODE) {
- t2 = t2->next;
- continue;
- }
- s = g_object_new(LASSO_TYPE_DISCO_SERVICE_INSTANCE, NULL);
- LASSO_NODE_GET_CLASS(s)->init_from_xml(LASSO_NODE(s), t2);
- g_hash_table_insert(server->services, g_strdup(s->ServiceType), s);
- t2 = t2->next;
- }
- }
-}
-
-
-/**
- * lasso_identity_add_resource_offering:
- * @identity: a #LassoIdentity object
- * @offering: a #LassoDiscoResourceOffering object to add
- *
- * Add a new offering to the identity object to be retrieved later by
- * lasso_identity_get_offerings() or lasso_identity_get_resource_offering().
- * It also allocate an entryId identifier for the offering, look into
- * offering->entryID to get it after this call.
- *
- * Return value: Always 0, there should not be any error (if memory is not exhausted).
- */
-gint
-lasso_identity_add_resource_offering(LassoIdentity *identity,
- LassoDiscoResourceOffering *offering)
-{
- char entry_id_s[20];
-
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(offering),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- do {
- g_snprintf(entry_id_s, 18, "%d", identity->private_data->last_entry_id);
- identity->private_data->last_entry_id++;
- } while (g_hash_table_lookup(identity->private_data->resource_offerings_map, entry_id_s));
- lasso_assign_string(offering->entryID, entry_id_s);
- g_hash_table_insert(identity->private_data->resource_offerings_map,
- g_strdup(offering->entryID), g_object_ref(offering));
- identity->is_dirty = TRUE;
-
- return 0;
-}
-
-
-/**
- * lasso_identity_remove_resource_offering:
- * @identity: a #LassoIdentity
- * @entryID: the resource offering entry ID
- *
- * Remove resource offering about identity with @entryID
- *
- * Return value: TRUE on success; FALSE if the offering was not found.
- **/
-gboolean
-lasso_identity_remove_resource_offering(LassoIdentity *identity, const char *entryID)
-{
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), FALSE);
- g_return_val_if_fail(entryID != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (g_hash_table_remove(identity->private_data->resource_offerings_map, entryID)) {
- identity->is_dirty = TRUE;
- return TRUE;
- } else {
- return FALSE;
- }
-}
-
-
-/* Context type for the callback add_matching_resource_offering_to_list */
-struct HelperStruct {
- GList *list;
- const char *service_type;
-};
-
-
-/*
- * Helper function for lasso_identity_get_offerings, match them with a service
- * type string */
-static
-void add_matching_resource_offering_to_list(G_GNUC_UNUSED char *name, LassoDiscoResourceOffering *offering,
- struct HelperStruct *ctx)
-{
- if (ctx->service_type == NULL ||
- ( offering->ServiceInstance != NULL &&
- offering->ServiceInstance->ServiceType != NULL &&
- strcmp(offering->ServiceInstance->ServiceType, ctx->service_type) == 0)) {
- lasso_list_add_gobject(ctx->list, offering);
- }
-}
-
-
-/**
- * lasso_identity_get_offerings:
- * @identity: a #LassoIdentity
- * @service_type: a char* string representing the type of service we are looking for
- *
- * Returns a list of #LassoDiscoResourceOffering associated to this service type.
- *
- * Return value:(transfer full)(element-type LassoDiscoResourceOffering): a newly allocated list of #LassoDiscoResourceOffering
- */
-GList*
-lasso_identity_get_offerings(LassoIdentity *identity, const char *service_type)
-{
- struct HelperStruct ctx = { NULL, service_type };
-
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), NULL);
-
- g_hash_table_foreach(identity->private_data->resource_offerings_map,
- (GHFunc)add_matching_resource_offering_to_list, &ctx);
-
- return ctx.list;
-}
-
-
-/**
- * lasso_identity_resource_offering:
- * @identity: a #LassoIdentity
- * @entryID: the entryID of the researched #LassoDiscoResourceOffering
- *
- * Lookup a #LassoDiscoResourceOffering corresponding to entryID, entryID is
- * usually allocated by lasso_identity_add_resource_offering() inside
- * offering->entryID.
- *
- * Return value:(transfer none)(allow-none): a #LassoDiscoResourceOffering, your must ref it if you intend
- * to keep it around.
- */
-LassoDiscoResourceOffering*
-lasso_identity_get_resource_offering(LassoIdentity *identity, const char *entryID)
-{
- g_return_val_if_fail(LASSO_IS_IDENTITY(identity), NULL);
- g_return_val_if_fail(entryID != NULL, NULL);
-
- return g_hash_table_lookup(identity->private_data->resource_offerings_map, entryID);
-}
-
-
-/**
- * lasso_server_add_service_from_dump:
- * @server: a #LassoServer
- * @dump: the XML dump of a #LassoNode representing a service endpoint.
- *
- * An utility function that parse a #LassoNode dump an try to add it as a
- * service using lasso_server_add_service.
- *
- * Return value: 0 if succesfull, LASSO_PARAM_ERROR_BAD_TYPE_OF_NULL_OBJECT if
- * said dump is not a #LassoNode or is not of the righ type,
- * LASSO_PARAM_ERROR_INVALID_VALUE if dump is NULL.
- **/
-gint
-lasso_server_add_service_from_dump(LassoServer *server, const gchar *dump)
-{
- LassoNode *node;
- gint return_code;
-
- g_return_val_if_fail(dump != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- node = lasso_node_new_from_dump(dump);
-
- return_code = lasso_server_add_service(server, node);
-
- g_object_unref(node);
-
- return return_code;
-}
-
-
-/**
- * lasso_server_get_service:
- * @server: a #LassoServer
- * @serviceType: the service type
- *
- * Look up a disco service instance corresponding to this service type.
- *
- * Return value:(transfer none)(allow-none): the #LassoDiscoServiceInstance, NULL if it was not found.
- * The #LassoDiscoServiceInstance is owned by Lasso and should not be
- * freed.
- **/
-LassoDiscoServiceInstance*
-lasso_server_get_service(LassoServer *server, const gchar *serviceType)
-{
- return g_hash_table_lookup(server->services, serviceType);
-}
diff --git a/lasso/id-wsf/id_ff_extensions.h b/lasso/id-wsf/id_ff_extensions.h
deleted file mode 100644
index 6d968aa9..00000000
--- a/lasso/id-wsf/id_ff_extensions.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSF_ID_FF_EXTENSIONS_H__
-#define __LASSO_WSF_ID_FF_EXTENSIONS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/login.h"
-#include "../id-ff/server.h"
-#include "../xml/disco_encrypted_resource_id.h"
-#include "../xml/disco_service_instance.h"
-#include "../xml/disco_resource_offering.h"
-
-LASSO_EXPORT lasso_error_t lasso_login_set_encryptedResourceId(
- LassoLogin *login, LassoDiscoEncryptedResourceID *encryptedResourceId);
-
-LASSO_EXPORT lasso_error_t lasso_login_set_resourceId(LassoLogin *login, const char *content);
-
-LASSO_EXPORT LassoDiscoServiceInstance* lasso_server_get_service(LassoServer *server,
- const gchar *serviceType);
-
-LASSO_EXPORT lasso_error_t lasso_server_add_service(LassoServer *server, LassoNode *service);
-
-LASSO_EXPORT lasso_error_t lasso_server_add_service_from_dump(LassoServer *server, const gchar *dump);
-
-LASSO_EXPORT lasso_error_t lasso_identity_add_resource_offering(LassoIdentity *identity,
- LassoDiscoResourceOffering *offering);
-LASSO_EXPORT gboolean lasso_identity_remove_resource_offering(LassoIdentity *identity,
- const char *entryID);
-LASSO_EXPORT GList* lasso_identity_get_offerings(LassoIdentity *identity,
- const char *service_type);
-LASSO_EXPORT LassoDiscoResourceOffering* lasso_identity_get_resource_offering(
- LassoIdentity *identity, const char *entryID);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSF_ID_FF_EXTENSIONS_H__ */
diff --git a/lasso/id-wsf/id_ff_extensions_private.h b/lasso/id-wsf/id_ff_extensions_private.h
deleted file mode 100644
index fbe723df..00000000
--- a/lasso/id-wsf/id_ff_extensions_private.h
+++ /dev/null
@@ -1,46 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSF_ID_FF_EXTENSIONS_H__
-#define __LASSO_WSF_ID_FF_EXTENSIONS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../id-ff/login.h"
-#include "../xml/saml_assertion.h"
-
-void lasso_login_assertion_add_discovery(LassoLogin *login, LassoSamlAssertion *assertion);
-
-void lasso_server_dump_id_wsf_services(LassoServer *server, xmlNode *xmlnode);
-
-void lasso_server_init_id_wsf_services(LassoServer *server, xmlNode *t);
-
-gint lasso_server_add_service(LassoServer *server, LassoNode *service);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSF_ID_FF_EXTENSIONS_H__ */
diff --git a/lasso/id-wsf/id_wsf.h b/lasso/id-wsf/id_wsf.h
deleted file mode 100644
index 1e0d94c1..00000000
--- a/lasso/id-wsf/id_wsf.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDSWF_H__
-#define __LASSO_IDSWF_H__
-
-#include "authentication.h"
-#include "data_service.h"
-#include "discovery.h"
-#include "id_ff_extensions.h"
-#include "id_wsf.h"
-#include "interaction_profile_service.h"
-#include "personal_profile_service.h"
-#include "wsf_utils.h"
-#include "wsf_profile.h"
-
-#endif /* __LASSO_IDSWF_H__ */
diff --git a/lasso/id-wsf/interaction_profile_service.c b/lasso/id-wsf/interaction_profile_service.c
deleted file mode 100644
index 1c8c1f62..00000000
--- a/lasso/id-wsf/interaction_profile_service.c
+++ /dev/null
@@ -1,172 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "interaction_profile_service.h"
-#include "../xml/idwsf_strings.h"
-#include "wsf_profile.h"
-#include "../xml/soap-1.1/soap_detail.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/is_redirect_request.h"
-#include "../utils.h"
-
-/**
- * SECTION:interaction_profile_service
- * @short_description: A service to request user interaction from a principal
- * @stability: Unstable
- *
- */
-
-
-struct _LassoInteractionProfileServicePrivate
-{
- gboolean dispose_has_run;
-};
-
-/*****************************************************************************/
-/* public methods */
-/*****************************************************************************/
-
-gint
-lasso_interaction_profile_service_init_request(LassoInteractionProfileService *service)
-{
- LassoWsfProfile *profile;
- LassoIsInteractionRequest *request;
-
- profile = LASSO_WSF_PROFILE(service);
-
- request = lasso_is_interaction_request_new();
-
- profile->request = LASSO_NODE(request);
-
- return 0;
-}
-
-
-gint
-lasso_interaction_profile_service_process_request_msg(LassoInteractionProfileService *service,
- const gchar *msg)
-{
- LassoIsInteractionRequest *request;
-
- request = lasso_is_interaction_request_new();
- lasso_node_init_from_message((LassoNode*)request, msg);
- LASSO_WSF_PROFILE(service)->request = LASSO_NODE(request);
-
- return 0;
-}
-
-gint
-lasso_interaction_profile_service_process_response_msg(LassoInteractionProfileService *service,
- const gchar *msg)
-{
- LassoIsInteractionResponse *response;
-
- response = lasso_is_interaction_response_new();
- lasso_node_init_from_message((LassoNode*)response, msg);
- LASSO_WSF_PROFILE(service)->response = LASSO_NODE(response);
-
- return 0;
-}
-
-/**
- * lasso_interaction_profile_service_build_redirect_response_msg:
- * @profile: a #LassoWsfProfile
- * @redirect_url: an #xmlChar string containing an HTTP url for interaction with the user
- *
- * The redirect_url must contain a way for the interaction service to link this interaction with the
- * current request, usually it is the xml:id of the original request.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_wsf_profile_init_interaction_service_redirect(LassoWsfProfile *profile, char *redirect_url)
-{
- LassoSoapDetail *detail = NULL;
- LassoSoapFault *fault = NULL;
-
- lasso_bad_param(WSF_PROFILE, profile);
-
- detail = lasso_soap_detail_new();
- fault = lasso_soap_fault_new();
- lasso_assign_new_gobject(fault->Detail, detail);
- lasso_assign_string(fault->faultcode, LASSO_SOAP_FAULT_CODE_SERVER);
- lasso_list_add_new_gobject(detail->any, lasso_is_redirect_request_new(redirect_url));
-
- return lasso_wsf_profile_init_soap_response(profile, &fault->parent);
-}
-
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static LassoInteractionProfileServiceClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoInteractionProfileServiceClass *klass, void *unused G_GNUC_UNUSED)
-{
- parent_class = g_type_class_peek_parent(klass);
-
-}
-
-GType
-lasso_interaction_profile_service_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoInteractionProfileServiceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoInteractionProfileService),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_WSF_PROFILE,
- "LassoInteractionProfileService", &this_info, 0);
- }
- return this_type;
-}
-
-LassoInteractionProfileService*
-lasso_interaction_profile_service_new(LassoServer *server)
-{
- LassoInteractionProfileService *service = NULL;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- service = g_object_new(LASSO_TYPE_INTERACTION_PROFILE_SERVICE, NULL);
-
- return service;
-}
diff --git a/lasso/id-wsf/interaction_profile_service.h b/lasso/id-wsf/interaction_profile_service.h
deleted file mode 100644
index d06288ce..00000000
--- a/lasso/id-wsf/interaction_profile_service.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_INTERACTION_PROFILE_SERVICE_H__
-#define __LASSO_INTERACTION_PROFILE_SERVICE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "../xml/is_interaction_request.h"
-#include "../xml/is_interaction_response.h"
-#include "wsf_profile.h"
-
-#define LASSO_TYPE_INTERACTION_PROFILE_SERVICE (lasso_interaction_profile_service_get_type())
-#define LASSO_INTERACTION_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_INTERACTION_PROFILE_SERVICE, LassoInteractionProfileService))
-#define LASSO_INTERACTION_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_INTERACTION_PROFILE_SERVICE, LassoInteractionProfileServiceClass))
-#define LASSO_IS_INTERACTION_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_INTERACTION_PROFILE_SERVICE))
-#define LASSO_IS_INTERACTION_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_INTERACTION_PROFILE_SERVICE))
-#define LASSO_INTERACTION_PROFILE_SERVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_INTERACTION_PROFILE_SERVICE, LassoInteractionProfileServiceClass))
-
-typedef struct _LassoInteractionProfileService LassoInteractionProfileService;
-typedef struct _LassoInteractionProfileServiceClass LassoInteractionProfileServiceClass;
-typedef struct _LassoInteractionProfileServicePrivate LassoInteractionProfileServicePrivate;
-
-struct _LassoInteractionProfileService {
- LassoWsfProfile parent;
-
-};
-
-struct _LassoInteractionProfileServiceClass {
- LassoWsfProfileClass parent;
-};
-
-
-LASSO_EXPORT GType lasso_interaction_profile_service_get_type(void);
-
-LASSO_EXPORT LassoInteractionProfileService* lasso_interaction_profile_service_new(
- LassoServer *server);
-
-LASSO_EXPORT lasso_error_t lasso_interaction_profile_service_init_request(
- LassoInteractionProfileService *service);
-
-LASSO_EXPORT lasso_error_t lasso_interaction_profile_service_process_request_msg(
- LassoInteractionProfileService *service,
- const gchar *request_msg);
-
-LASSO_EXPORT lasso_error_t lasso_interaction_profile_service_process_response_msg(
- LassoInteractionProfileService *service,
- const gchar *response_msg);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_init_interaction_service_redirect(
- LassoWsfProfile *profile, char *redirect_url);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_INTERACTION_PROFILE_SERVICE_H__ */
diff --git a/lasso/id-wsf/personal_profile_service.c b/lasso/id-wsf/personal_profile_service.c
deleted file mode 100644
index 5bd61b3f..00000000
--- a/lasso/id-wsf/personal_profile_service.c
+++ /dev/null
@@ -1,155 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../xml/private.h"
-#include "personal_profile_service.h"
-#include "../xml/idwsf_strings.h"
-#include "data_service.h"
-#include "wsf_profile_private.h"
-#include "discovery.h"
-#include "../utils.h"
-
-/**
- * SECTION:personal_profile_service
- * @short_description: a subclass of LassoDataService to access Personal Profile datas
- * @stability: Unstable
- */
-
-/*****************************************************************************/
-/* public methods */
-/*****************************************************************************/
-
-char*
-lasso_personal_profile_service_get_email(LassoPersonalProfileService *service)
-{
- xmlNode *xmlnode, *child;
- xmlChar *msgAccount = NULL, *msgProvider = NULL;
- char *email;
- GList *answers = NULL, *answer = NULL;
- gint rc = 0;
-
- g_return_val_if_fail(LASSO_IS_PERSONAL_PROFILE_SERVICE(service) == TRUE, NULL);
-
- rc = lasso_data_service_get_answers_by_select(LASSO_DATA_SERVICE(service),
- "/pp:PP/pp:MsgContact", &answers);
-
- lasso_foreach(answer, answers)
- {
- xmlnode = (xmlNode*)answer->data;
- child = xmlnode->children;
- while (child != NULL) {
- if (child->type != XML_ELEMENT_NODE) {
- child = child->next;
- continue;
- }
-
- if (strcmp((char *)child->name, "MsgAccount") == 0) {
- msgAccount = xmlNodeGetContent(child);
- } else if (strcmp((char *)child->name, "MsgProvider") == 0) {
- msgProvider = xmlNodeGetContent(child);
- }
-
- if (msgAccount != NULL && msgProvider != NULL) {
- break;
- }
-
- child = child->next;
- }
-
- if (msgAccount && msgProvider) {
- email = g_strdup_printf("%s@%s", msgAccount, msgProvider);
- break;
- } else {
- email = NULL;
- }
- lasso_release_xml_string(msgAccount);
- lasso_release_xml_string(msgProvider);
- lasso_release_xml_node(xmlnode);
- }
-
- lasso_release_xml_string(msgAccount);
- lasso_release_xml_string(msgProvider);
- lasso_release_xml_node(xmlnode);
- return email;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-GType
-lasso_personal_profile_service_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- lasso_discovery_register_constructor_for_service_type(LASSO_PP10_HREF,
- (LassoWsfProfileConstructor)lasso_personal_profile_service_new_full);
- static const GTypeInfo this_info = {
- sizeof(LassoPersonalProfileServiceClass),
- NULL,
- NULL,
- NULL,
- NULL,
- NULL,
- sizeof(LassoPersonalProfileService),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_DATA_SERVICE,
- "LassoPersonalProfileService", &this_info, 0);
- }
- return this_type;
-}
-
-LassoPersonalProfileService*
-lasso_personal_profile_service_new(LassoServer *server)
-{
- LassoPersonalProfileService *service;
-
- g_return_val_if_fail(LASSO_IS_SERVER(server), NULL);
-
- service = g_object_new(LASSO_TYPE_PERSONAL_PROFILE_SERVICE, NULL);
- LASSO_WSF_PROFILE(service)->server = g_object_ref(server);
-
- return service;
-}
-
-LassoPersonalProfileService*
-lasso_personal_profile_service_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)
-{
- LassoPersonalProfileService *service = lasso_personal_profile_service_new(server);
-
- g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(offering), NULL);
-
- if (service == NULL) {
- return NULL;
- }
-
- lasso_wsf_profile_set_resource_offering(&service->parent.parent, offering);
-
- return service;
-}
-
diff --git a/lasso/id-wsf/personal_profile_service.h b/lasso/id-wsf/personal_profile_service.h
deleted file mode 100644
index e0f86cef..00000000
--- a/lasso/id-wsf/personal_profile_service.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_PERSONAL_PROFILE_SERVICE_H__
-#define __LASSO_PERSONAL_PROFILE_SERVICE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "data_service.h"
-#include "../xml/disco_resource_id.h"
-#include "../xml/disco_encrypted_resource_id.h"
-#include "../xml/dst_data.h"
-#include "../xml/dst_modification.h"
-#include "../xml/dst_query_item.h"
-#include "../xml/disco_resource_offering.h"
-
-#define LASSO_TYPE_PERSONAL_PROFILE_SERVICE (lasso_personal_profile_service_get_type())
-#define LASSO_PERSONAL_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileService))
-#define LASSO_PERSONAL_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileServiceClass))
-#define LASSO_IS_PERSONAL_PROFILE_SERVICE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_PERSONAL_PROFILE_SERVICE))
-#define LASSO_IS_PERSONAL_PROFILE_SERVICE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_PERSONAL_PROFILE_SERVICE))
-#define LASSO_PERSONAL_PROFILE_SERVICE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_PERSONAL_PROFILE_SERVICE, LassoPersonalProfileServiceClass))
-
-typedef struct _LassoPersonalProfileService LassoPersonalProfileService;
-typedef struct _LassoPersonalProfileServiceClass LassoPersonalProfileServiceClass;
-typedef struct _LassoPersonalProfileServicePrivate LassoPersonalProfileServicePrivate;
-
-struct _LassoPersonalProfileService {
- LassoDataService parent;
-};
-
-struct _LassoPersonalProfileServiceClass {
- LassoDataServiceClass parent;
-};
-
-
-LASSO_EXPORT GType lasso_personal_profile_service_get_type(void);
-
-LASSO_EXPORT LassoPersonalProfileService* lasso_personal_profile_service_new(LassoServer *server);
-
-LASSO_EXPORT LassoPersonalProfileService* lasso_personal_profile_service_new_full(
- LassoServer *server, LassoDiscoResourceOffering *offering);
-
-LASSO_EXPORT gchar* lasso_personal_profile_service_get_email(LassoPersonalProfileService *service);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_PERSONAL_PROFILE_SERVICE_H__ */
diff --git a/lasso/id-wsf/wsf_profile.c b/lasso/id-wsf/wsf_profile.c
deleted file mode 100644
index 2f750104..00000000
--- a/lasso/id-wsf/wsf_profile.c
+++ /dev/null
@@ -1,1578 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../xml/private.h"
-#include
-#include
-
-#include
-#include
-#include
-#include
-
-#include "../utils.h"
-
-#include "wsf_profile.h"
-#include "../xml/idwsf_strings.h"
-#include "wsf_profile_private.h"
-#include "discovery.h"
-#include "wsf_utils.h"
-#include "../xml/disco_modify.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/soap_binding_correlation.h"
-#include "../xml/soap_binding_provider.h"
-#include "../xml/soap_binding_processing_context.h"
-#include "../xml/saml_assertion.h"
-#include "../xml/saml_authentication_statement.h"
-#include "../xml/saml_subject_statement_abstract.h"
-#include "../xml/saml_subject.h"
-#include "../xml/ds_key_info.h"
-#include "../xml/ds_key_value.h"
-#include "../xml/ds_rsa_key_value.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/soap-1.1/soap_detail.h"
-#include "../xml/is_redirect_request.h"
-#include "../xml/ws/wsse_security_header.h"
-
-
-#include "../id-ff/server.h"
-#include "../id-ff/providerprivate.h"
-#include "../id-ff/sessionprivate.h"
-#include "../xml/misc_text_node.h"
-
-/**
- * SECTION:wsf_profile
- * @short_description: Base class for ID-WSF 1.0 services
- * @stability: Unstable
- *
- * Use this class to base your ID-WSF 1.0 services.
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static LassoDiscoDescription* lasso_wsf_profile_get_description_auto(
- const LassoDiscoServiceInstance *si, const gchar *security_mech_id);
-static gint lasso_wsf_profile_add_saml_signature(LassoWsfProfile *wsf_profile, xmlDoc *doc);
-static LassoSoapBindingCorrelation* lasso_wsf_profile_utils_get_header_correlation(
- LassoSoapEnvelope *envelope);
-static char* lasso_wsf_profile_utils_get_message_id(LassoSoapEnvelope *envelope);
-static char* lasso_wsf_profile_utils_get_ref_message_id(LassoSoapEnvelope *envelope);
-
-static struct XmlSnippet schema_snippets[] = {
- { "Server", SNIPPET_NODE_IN_CHILD, G_STRUCT_OFFSET(LassoWsfProfile, server), NULL, NULL, NULL},
- { "Request", SNIPPET_NODE_IN_CHILD, G_STRUCT_OFFSET(LassoWsfProfile, request), NULL, NULL, NULL},
- { "Response", SNIPPET_NODE_IN_CHILD, G_STRUCT_OFFSET(LassoWsfProfile, response), NULL, NULL, NULL},
- { "SOAP-Request", SNIPPET_NODE_IN_CHILD,
- G_STRUCT_OFFSET(LassoWsfProfile, soap_envelope_request), NULL, NULL, NULL},
- { "SOAP-Response", SNIPPET_NODE_IN_CHILD,
- G_STRUCT_OFFSET(LassoWsfProfile, soap_envelope_response), NULL, NULL, NULL},
- { "MsgUrl", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsfProfile, msg_url), NULL, NULL, NULL},
- { "MsgBody", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsfProfile, msg_body), NULL, NULL, NULL},
- { "Identity", SNIPPET_NODE_IN_CHILD, G_STRUCT_OFFSET(LassoWsfProfile, identity), NULL, NULL, NULL},
- { "Session", SNIPPET_NODE_IN_CHILD, G_STRUCT_OFFSET(LassoWsfProfile, session), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoSoapBindingCorrelation*
-lasso_wsf_profile_utils_get_header_correlation(LassoSoapEnvelope *envelope)
-{
- LassoSoapHeader *header;
- GList *header_list;
-
- if (LASSO_IS_SOAP_HEADER(envelope->Header)) {
- header = envelope->Header;
- } else {
- goto cleanup;
- }
- lasso_foreach(header_list, header->Other)
- {
- if (LASSO_IS_SOAP_BINDING_CORRELATION(header_list->data)) {
- return (LassoSoapBindingCorrelation*)header_list->data;
- }
- }
-cleanup:
- return NULL;
-}
-
-static char*
-lasso_wsf_profile_utils_get_ref_message_id(LassoSoapEnvelope *envelope)
-{
- LassoSoapBindingCorrelation *correlation_header;
-
- correlation_header = lasso_wsf_profile_utils_get_header_correlation(envelope);
- if (! correlation_header) {
- return NULL;
- }
- return correlation_header->refToMessageID;
-}
-
-static char*
-lasso_wsf_profile_utils_get_message_id(LassoSoapEnvelope *envelope)
-{
- LassoSoapBindingCorrelation *correlation_header;
-
- correlation_header = lasso_wsf_profile_utils_get_header_correlation(envelope);
- if (! correlation_header) {
- return NULL;
- }
- return correlation_header->messageID;
-}
-/**
- * lasso_wsf_profile_build_soap_fault_response_msg:
- * @profile: a #LassoWsfProfile
- * @rc: an error code from Lasso
- *
- * Build a new SOAP fault, eventually fill it with the given rc code
- */
-gint
-lasso_wsf_profile_build_soap_fault_response_msg(LassoWsfProfile *profile, gint rc)
-{
- g_return_val_if_fail(LASSO_IS_WSF_PROFILE(profile), LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- lasso_assign_new_gobject(profile->response, lasso_soap_fault_new());
- if (rc) {
- LassoMiscTextNode *node;
-
- if (rc == LASSO_PROFILE_ERROR_INVALID_MSG) {
- lasso_assign_string(LASSO_SOAP_FAULT(profile->response)->faultcode,
- LASSO_SOAP_ENV_PREFIX ":" LASSO_SOAP_FAULT_CODE_CLIENT);
- } else {
- lasso_assign_string(LASSO_SOAP_FAULT(profile->response)->faultcode,
- LASSO_SOAP_ENV_PREFIX ":" LASSO_SOAP_FAULT_CODE_SERVER);
- }
- lasso_assign_string(LASSO_SOAP_FAULT(profile->response)->faultstring,
- LASSO_SOAP_FAULT_STRING_SERVER);
- lasso_assign_new_gobject(LASSO_SOAP_FAULT(profile->response)->Detail, lasso_soap_detail_new());
- node = (LassoMiscTextNode*)lasso_misc_text_node_new();
- lasso_assign_string(node->content, lasso_strerror(rc));
- node->name = "LassoError";
- node->ns_href = LASSO_LASSO_HREF;
- node->ns_prefix = LASSO_LASSO_PREFIX;
- }
- return rc;
-}
-
-/**
- * lasso_wsf_set_msg_url_from_description:
- * @profile: the #LassoWsfProfile object
- *
- * Initialize the @msgUrl attribute of the #LassoWsfProfile to the URL of the targetted web service.
- *
- * Return value: 0 if successful
- */
-gint
-lasso_wsf_profile_set_msg_url_from_description(LassoWsfProfile *wsf_profile)
-{
- LassoDiscoDescription *description = NULL;
- int rc = 0;
-
- g_return_val_if_fail(LASSO_IS_WSF_PROFILE(wsf_profile),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- description = lasso_wsf_profile_get_description(wsf_profile);
- if (description->Endpoint != NULL) {
- lasso_assign_string(wsf_profile->msg_url, description->Endpoint);
- } else {
- rc = LASSO_WSF_PROFILE_ERROR_MISSING_ENDPOINT;
- }
- lasso_release_gobject(description);
- return rc;
-}
-
-/* Documentation of g_list_find_custom say that list element is the first pointer,
- * and user_data the second */
-static gboolean
-is_of_type(gconstpointer a, gconstpointer b)
-{
- GType typeid = (GType)b;
-
- if (a && G_IS_OBJECT(a)) {
- return G_OBJECT_TYPE(G_OBJECT(a)) == typeid;
- }
- return FALSE;
-}
-
-/**
- * lasso_wsf_profile_comply_with_saml_authentication:
- * @profile: a #LassoWsfProfile
- *
- * Return value: 0 if an assertion was found and a signature corresponding to the
- * key given as a subject confirmation in the assertion is generated, an error
- * code otherwise.
- */
-static gint
-lasso_wsf_profile_comply_with_saml_authentication(LassoWsfProfile *profile)
-{
- LassoSoapEnvelope *soap = NULL;
- LassoSoapHeader *header = NULL;
- LassoWsSec1SecurityHeader *wsse_security = NULL;
- LassoSession *session = NULL;
- LassoDiscoDescription *description = NULL;
- GList *credentialRefs = NULL;
- gint rc = 0;
- GList *needle = NULL;
-
- lasso_bad_param(WSF_PROFILE, profile);
- lasso_extract_node_or_fail(session, profile->session, SESSION, LASSO_PROFILE_ERROR_SESSION_NOT_FOUND);
- description = lasso_wsf_profile_get_description(profile);
- /* Lookup in the session the credential ref from the description and
- * add them to the SOAP header wsse:Security. */
- /* FIXME: should we really add every credentials to the message, or only the one identifying
- * us? */
- goto_cleanup_if_fail_with_rc(description != NULL, LASSO_WSF_PROFILE_ERROR_MISSING_DESCRIPTION);
- credentialRefs = description->CredentialRef;
- goto_cleanup_if_fail_with_rc(credentialRefs != NULL, LASSO_WSF_PROFILE_ERROR_MISSING_CREDENTIAL_REF);
- lasso_extract_node_or_fail(soap, profile->soap_envelope_request, SOAP_ENVELOPE, LASSO_SOAP_ERROR_MISSING_ENVELOPE);
- lasso_extract_node_or_fail(header, soap->Header, SOAP_HEADER, LASSO_SOAP_ERROR_MISSING_HEADER);
- needle = g_list_find_custom(header->Other, (gconstpointer)LASSO_TYPE_WSSE_SECURITY_HEADER,
- (GCompareFunc)is_of_type);
- if (needle) {
- lasso_assign_gobject(wsse_security, LASSO_WSSE_SECURITY_HEADER(needle->data));
- } else {
- wsse_security = lasso_wsse_security_header_new();
- }
- /* Comply with ID-WSF 1.0 specification */
- lasso_node_set_custom_namespace(LASSO_NODE(wsse_security), LASSO_WSSE_PREFIX,
- LASSO_WSSE_HREF);
-
- while (credentialRefs) {
- char *ref = (char*)credentialRefs->data;
- xmlNode *assertion = lasso_session_get_assertion_by_id(session, ref);
- goto_cleanup_if_fail_with_rc(assertion != NULL, LASSO_WSF_PROFILE_ERROR_MISSING_CREDENTIAL_REF);
- /* add an exact copy of the assertion in order to keep the IdP signature valid */
- lasso_list_add_new_gobject(wsse_security->any, lasso_misc_text_node_new_with_xml_node(assertion));
- credentialRefs = g_list_next(credentialRefs);
- lasso_release_xml_node(assertion);
- }
- if (needle == NULL) {
- lasso_list_add_gobject(header->Other, wsse_security);
- }
-cleanup:
- lasso_release_gobject(wsse_security);
- lasso_release_gobject(description);
- return rc;
-}
-
-/**
- * lasso_wsf_profile_comply_with_security_mechanism:
- * @profile: a #LassoWsfProfile
- *
- * UNCOMPLETE.
- *
- * Return value: 0 if complyiing with the current security mechanism was
- * successfull.
- */
-static gint
-lasso_wsf_profile_comply_with_security_mechanism(LassoWsfProfile *profile)
-{
- char *sec_mech_id;
-
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- sec_mech_id = profile->private_data->security_mech_id;
- if (lasso_security_mech_id_is_saml_authentication(sec_mech_id)) {
- return lasso_wsf_profile_comply_with_saml_authentication(profile);
- }
- if (lasso_security_mech_id_is_bearer_authentication(sec_mech_id)) {
- /* Same as SAML auth, add the tokens to wss:Security header, the difference is that
- * later we won't add our own signature to the header */
- return lasso_wsf_profile_comply_with_saml_authentication(profile);
- }
- if (lasso_security_mech_id_is_null_authentication(sec_mech_id)) {
- return 0;
- }
- return LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM;
-}
-
-static LassoSoapEnvelope*
-lasso_wsf_profile_build_soap_envelope_internal(const char *refToMessageId, const char *providerId)
-{
- LassoSoapEnvelope *envelope;
- LassoSoapHeader *header;
- LassoSoapBody *body;
- LassoSoapBindingCorrelation *correlation;
- gchar *messageId, *timestamp;
-
- /* Body */
- body = lasso_soap_body_new();
- body->Id = lasso_build_unique_id(32);
- envelope = lasso_soap_envelope_new(body);
-
- /* Header */
- header = lasso_soap_header_new();
- envelope->Header = header;
-
- /* Correlation */
- messageId = lasso_build_unique_id(32);
- timestamp = lasso_get_current_time();
- correlation = lasso_soap_binding_correlation_new(messageId, timestamp);
- if (refToMessageId != NULL)
- correlation->refToMessageID = g_strdup(refToMessageId);
- header->Other = g_list_append(header->Other, correlation);
-
- /* Provider */
- if (providerId) {
- LassoSoapBindingProvider *provider = lasso_soap_binding_provider_new(providerId);
- provider->id = lasso_build_unique_id(32);
- header->Other = g_list_append(header->Other, provider);
- }
-
- return envelope;
-}
-
-/*****************************************************************************/
-/* public methods */
-/*****************************************************************************/
-
-/**
- * lasso_wsf_profile_move_credentials:
- * @src: a #LassoWsfProfile containing the credentials
- * @dest: the #LassoWsfProfile where to add the credentials
- *
- * @Deprecated: Since 2.2.1
- *
- * Return value: 0.
- */
-gint
-lasso_wsf_profile_move_credentials(G_GNUC_UNUSED LassoWsfProfile *src, G_GNUC_UNUSED LassoWsfProfile *dest)
-{
- return 0;
-}
-
-/**
- * lasso_wsf_profile_add_credential:
- * @profile: a #LassoWsfProfile
- * @credential: an #xmlNode containing credential informations
- *
- * @Deprecated: Since 2.2.1
- *
- * Return value: 0.
- */
-gint
-lasso_wsf_profile_add_credential(G_GNUC_UNUSED LassoWsfProfile *profile, G_GNUC_UNUSED xmlNode *credential)
-{
- return 0;
-}
-
-/*
- * lasso_wsf_profile_get_description_auto:
- * @si: a #LassoDiscoServiceInstance
- * @security_mech_id: the URI of a liberty security mechanism
- *
- * Traverse the service instance descriptions and find one which supports the
- * given security mechanism.
- *
- * Return value: a #LassoDiscoDescription that supports security_mech_id, NULL
- * otherwise.
- */
-static LassoDiscoDescription*
-lasso_wsf_profile_get_description_auto(const LassoDiscoServiceInstance *si,
- const gchar *security_mech_id)
-{
- GList *iter, *iter2;
- LassoDiscoDescription *description;
-
- g_return_val_if_fail(si, NULL);
- g_return_val_if_fail(security_mech_id, NULL);
-
- iter = si->Description;
- while (iter) {
- description = LASSO_DISCO_DESCRIPTION(iter->data);
- iter2 = description->SecurityMechID;
- while (iter2) {
- if (strcmp(security_mech_id, iter2->data) == 0)
- return description;
- iter2 = iter2->next;
- }
- iter = iter->next;
- }
-
- return NULL;
-}
-
-/**
- * lasso_wsf_profile_set_description_from_offering:
- * @profile: a #LassoWsfProfile
- * @offering: a #LassoDiscoResourceOffering containing descriptions
- * @security_mech_id: an URL representing the wished security mechanism,
- * if NULL take the first descriptions
- *
- * Setup the LassoWsfProfile for a given security mechanism.
- *
- * Return value: 0 if a corresponding description was found,
- * LASSO_PROFILE_ERROR_MISSING_SERVICE_DESCRIPTION if no description with the
- * given security mechanism was found.
- */
-gint
-lasso_wsf_profile_set_description_from_offering(
- LassoWsfProfile *profile,
- const LassoDiscoResourceOffering *offering,
- const gchar *security_mech_id)
-{
- LassoDiscoDescription *description = NULL;
-
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- lasso_return_val_if_invalid_param(DISCO_RESOURCE_OFFERING, offering,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- if (security_mech_id == NULL) {
- if (offering->ServiceInstance &&
- offering->ServiceInstance->Description) {
- description = LASSO_DISCO_DESCRIPTION(
- offering->ServiceInstance->Description->data);
- }
- } else {
- description = lasso_wsf_profile_get_description_auto(offering->ServiceInstance,
- security_mech_id);
- }
- if (description == NULL) {
- return LASSO_PROFILE_ERROR_MISSING_SERVICE_DESCRIPTION;
- }
- lasso_wsf_profile_set_description(profile, description);
- return 0;
-}
-
-/**
- * lasso_wsf_profile_set_security_mech_id:
- * @profile: the #LassoWsfProfile object
- * @security_mech_id: a char* string representing the chosen security mech id.
- *
- * Set the security mechanism to use. Currently only SAML and NULL mechanism
- * are supported for authentication. Transport is not handled by lasso so all
- * are supported.
- *
- * List of supported mechanism ids:
- * LASSO_SECURITY_MECH_NULL or "urn:liberty:security:2003-08:null:null"
- * LASSO_SECURITY_MECH_SAML or "urn:liberty:security:2003-08:null:SAML"
- * LASSO_SECURITY_MECH_TLS or "urn:liberty:security:2003-08:TLS:null"
- * LASSO_SECURITY_MECH_TLS_SAML or "urn:liberty:security:2003-08:TLS:SAML"
- * LASSO_SECURITY_MECH_CLIENT_TLS or "urn:liberty:security:2003-08:ClientTLS:null"
- * LASSO_SECURITY_MECH_CLIENT_TLS_SAML or "urn:liberty:security:2003-08:ClientTLS:SAML"
- *
- * Return value: 0 if the security mechanism is supported by this #LassoWsfProfile
- * object, an error code otherwise.
- */
-gint
-lasso_wsf_profile_set_security_mech_id(LassoWsfProfile *profile,
- const char *security_mech_id)
-{
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (lasso_security_mech_id_is_saml_authentication(security_mech_id)
- || lasso_security_mech_id_is_null_authentication(security_mech_id)) {
- lasso_assign_string(profile->private_data->security_mech_id, security_mech_id);
- if (profile->private_data->offering) {
- return lasso_wsf_profile_set_description_from_offering(
- profile,
- profile->private_data->offering,
- security_mech_id);
- }
- }
- return LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM;
-}
-
-/**
- * lasso_wsf_profile_get_security_mech_id:
- * @profile: the #LassoWsfProfile object
- *
- * Return value:(transfer none): the current security mechanism id for this object.
- */
-const char *
-lasso_wsf_profile_get_security_mech_id(LassoWsfProfile *profile)
-{
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- NULL);
-
- return profile->private_data->security_mech_id;
-}
-
-/**
- * lasso_wsf_profile_set_description:
- * @profile: the #LassoWsfProfile
- * @description: a #LassoDiscoDescription
- *
- * Set the currently registered #LassoDiscoDescription, that permits to locate
- * the endpoint and the security mechanism to use for the next ID-WSF request.
- */
-void
-lasso_wsf_profile_set_description(LassoWsfProfile *profile, LassoDiscoDescription *description)
-{
- lasso_assign_gobject(profile->private_data->description, description);
-}
-
-/**
- * lasso_wsf_profile_get_description:
- * @profile: a #LassoWsfProfile
- *
- * Returns the currently registered #LassoDiscoDescription, that permits to
- * locate the endpoint and the security mechanism to use for the next ID-WSF
- * request.
- *
- * Return value:(transfer full): a #LassoDiscoDescriptio or NULL if none is present.
- */
-LassoDiscoDescription *
-lasso_wsf_profile_get_description(const LassoWsfProfile *profile)
-{
- return lasso_ref(profile->private_data->description);
-}
-
-/**
- * lasso_wsf_profile_get_resource_offering:
- * @profile: the #LassoWsfProfile object
- *
- * Returns the ResourceOffering setupt with this profile object.
- *
- * Return value:(transfer full): a #LassoDiscoResourceOffering if one was setup during
- * construction, NULL otherwise.
- */
-LassoDiscoResourceOffering *
-lasso_wsf_profile_get_resource_offering(LassoWsfProfile *profile)
-{
- return lasso_ref(profile->private_data->offering);
-}
-
-/**
- * lasso_wsf_profile_set_resource_offering:
- * @profile: a #LassoWsfProfile
- * @offering: a #LassoDiscoResourceOffering
- *
- * Set the Resssource Offering to setup this ID-WSF profile.
- *
- */
-void
-lasso_wsf_profile_set_resource_offering(LassoWsfProfile *profile,
- LassoDiscoResourceOffering *offering)
-{
- lasso_assign_gobject(profile->private_data->offering, offering);
-}
-
-/**
- * lasso_wsf_profile_build_soap_envelope:
- * @refToMessageId: a char* string and the eventual MessageId of a SOAP request
- * we are responding to.
- * @providerId: a char* string and the eventual providerID of a web service
- * provider we intend to send this soap message to.
- *
- * Build the a #LassoSoapEnvelope as a template for a future SOAP message
- * containing the headers recommended by the ID-WSF 1.0 specification.
- *
- * Return value: a new #LassoSoapEnvelope if construction was successfull.
- */
-LassoSoapEnvelope*
-lasso_wsf_profile_build_soap_envelope(const char *refToMessageId, const char *providerId)
-{
- return lasso_wsf_profile_build_soap_envelope_internal(refToMessageId, providerId);
-}
-
-
-/**
- * lasso_wsf_profile_get_identity:
- * @profile: a #LassoWsfProfile
- *
- * Gets the identity bound to @profile.
- *
- * Return value:(transfer none)(allow-none): the identity or NULL if it none was found. The #LassoIdentity
- * object is internally allocated and must not be freed by the caller.
- **/
-LassoIdentity*
-lasso_wsf_profile_get_identity(const LassoWsfProfile *profile)
-{
- if (profile->identity && g_hash_table_size(profile->identity->federations))
- return profile->identity;
- return NULL;
-}
-
-
-/**
- * lasso_wsf_profile_get_session:
- * @profile: a #LassoWsfProfile
- *
- * Gets the session bound to @profile.
- *
- * Return value:(transfer none)(allow-none): the session or NULL if it none was found. The
- * #LassoSession object is internally allocated and must not be freed by the caller.
- **/
-LassoSession*
-lasso_wsf_profile_get_session(const LassoWsfProfile *profile)
-{
- if (profile->session == NULL)
- return NULL;
-
- if (lasso_session_is_empty(profile->session))
- return NULL;
-
- return profile->session;
-}
-
-
-/**
- * lasso_wsf_profile_is_identity_dirty:
- * @profile: a #LassoWsfProfile
- *
- * Checks whether identity has been modified (and should therefore be saved).
- *
- * Return value: %TRUE if identity has changed
- **/
-gboolean
-lasso_wsf_profile_is_identity_dirty(const LassoWsfProfile *profile)
-{
- return (profile->identity && profile->identity->is_dirty);
-}
-
-
-/**
- * lasso_wsf_profile_is_session_dirty:
- * @profile: a #LassoWsfProfile
- *
- * Checks whether session has been modified (and should therefore be saved).
- *
- * Return value: %TRUE if session has changed
- **/
-gboolean
-lasso_wsf_profile_is_session_dirty(const LassoWsfProfile *profile)
-{
- return (profile->session && lasso_session_is_dirty(profile->session));
-}
-
-
-/**
- * lasso_wsf_profile_set_identity_from_dump:
- * @profile: a #LassoWsfProfile
- * @dump: XML identity dump
- *
- * Builds a new #LassoIdentity object from XML dump and binds it to @profile.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_wsf_profile_set_identity_from_dump(LassoWsfProfile *profile, const gchar *dump)
-{
- g_return_val_if_fail(dump != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- profile->identity = lasso_identity_new_from_dump(dump);
- if (profile->identity == NULL)
- return critical_error(LASSO_PROFILE_ERROR_BAD_IDENTITY_DUMP);
-
- return 0;
-}
-
-
-/**
- * lasso_wsf_profile_set_session_from_dump:
- * @profile: a #LassoWsfProfile
- * @dump: XML session dump
- *
- * Builds a new #LassoSession object from XML dump and binds it to @profile.
- *
- * Return value: 0 on success; or a negative value otherwise.
- **/
-gint
-lasso_wsf_profile_set_session_from_dump(LassoWsfProfile *profile, const gchar *dump)
-{
- g_return_val_if_fail(dump != NULL, LASSO_PARAM_ERROR_INVALID_VALUE);
-
- profile->session = lasso_session_new_from_dump(dump);
- if (profile->session == NULL)
- return critical_error(LASSO_PROFILE_ERROR_BAD_SESSION_DUMP);
-
- return 0;
-}
-
-/**
- * lasso_wsf_profile_init_soap_request:
- * @profile: a #LassoWsfProfile to initialize for a SOAP request
- * @request: a #LassoNode object containing the body for the SOAP request, can be NULL.
- *
- * Build the SOAP envelope for a request to and ID-WSF 1.0 web service and set
- * the body of the request to request. The reference to request is not stolen i.e
- * the ref count of request is increased by one after this call.
- *
- * Return value: 0 if initialization was successfull.
- **/
-gint
-lasso_wsf_profile_init_soap_request(LassoWsfProfile *profile, LassoNode *request)
-{
- LassoSoapEnvelope *envelope;
- char *providerID = NULL;
-
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (profile->server) {
- providerID = profile->server->parent.ProviderID;
- }
- envelope = lasso_wsf_profile_build_soap_envelope_internal(NULL, providerID);
- lasso_assign_new_gobject(profile->soap_envelope_request, envelope);
- lasso_list_add_gobject(envelope->Body->any, request);
- lasso_assign_gobject(profile->request, request);
- return 0;
-}
-
-/**
- * lasso_wsf_profile_init_soap_response:
- * @profile: a #LassoWsfProfile object
- * @response: a #LassoNode object
- *
- * Build a new SOAP envelope containing response to current SOAP request
- */
-gint
-lasso_wsf_profile_init_soap_response(LassoWsfProfile *profile, LassoNode *response)
-{
- char *providerID = NULL;
- LassoSoapEnvelope *envelope = NULL;
-
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- if (profile->server) {
- providerID = profile->server->parent.ProviderID;
- }
- envelope = lasso_wsf_profile_build_soap_envelope_internal(lasso_wsf_profile_utils_get_message_id(profile->soap_envelope_request),
- providerID);
- lasso_assign_new_gobject(profile->soap_envelope_response, envelope);
- lasso_list_add_gobject(envelope->Body->any, response);
- lasso_assign_gobject(profile->response, response);
- return 0;
-}
-
-/**
- * lasso_wsf_profile_build_soap_request_msg:
- * @profile: the #LassoWsfProfile object
- *
- * Create the char* string containing XML document for the SOAP ID-WSF request
- * and eventually sign with the local public depending on the security
- * mechanism requested.
- *
- * Return value: 0 if construction is successfull.
- **/
-gint
-lasso_wsf_profile_build_soap_request_msg(LassoWsfProfile *wsf_profile)
-{
- LassoSoapEnvelope *envelope;
- xmlOutputBuffer *buf;
- xmlCharEncodingHandler *handler;
- xmlDoc *doc = NULL;
- xmlNode *envelope_node = NULL;
- char *sec_mech_id = NULL;
- int rc = 0;
-
- lasso_bad_param(WSF_PROFILE, wsf_profile);
- lasso_return_val_if_invalid_param(SOAP_ENVELOPE, wsf_profile->soap_envelope_request,
- LASSO_SOAP_ERROR_MISSING_ENVELOPE);
-
- rc = lasso_wsf_profile_comply_with_security_mechanism(wsf_profile);
- goto_cleanup_if_fail(rc == 0);
- envelope = wsf_profile->soap_envelope_request;
- doc = xmlNewDoc((xmlChar*)"1.0");
- envelope_node = lasso_node_get_xmlNode(LASSO_NODE(envelope), FALSE);
- xmlDocSetRootElement(doc, envelope_node);
- /* Sign request if necessary */
- sec_mech_id = wsf_profile->private_data->security_mech_id;
- if (lasso_security_mech_id_is_saml_authentication(sec_mech_id)) {
- rc = lasso_wsf_profile_add_saml_signature(wsf_profile, doc);
- if (rc != 0) {
- goto cleanup;
- }
- } else if (lasso_security_mech_id_is_bearer_authentication(sec_mech_id)) {
- // Nothing to do
- } else if (lasso_security_mech_id_is_null_authentication(sec_mech_id) == FALSE) {
- rc = LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM;
- goto cleanup;
- }
-
- /* Dump soap request */
- handler = xmlFindCharEncodingHandler("utf-8");
- buf = xmlAllocOutputBuffer(handler);
- xmlNodeDumpOutput(buf, NULL, envelope_node, 0, 0, "utf-8");
- xmlOutputBufferFlush(buf);
- wsf_profile->msg_body = g_strdup(
- (char*)(buf->conv ? buf->conv->content : buf->buffer->content));
- lasso_release_output_buffer(buf);
- rc = lasso_wsf_profile_set_msg_url_from_description(wsf_profile);
-
-cleanup:
- lasso_release_doc(doc);
- return rc;
-}
-
-/**
- * lasso_wsf_profile_build_soap_response_msg:
- * @wsf_profile: a #LassoWsfProfile object
- *
- * Create the char* string containing XML document for the SOAP ID-WSF
- * response.
- *
- * Return value: 0 if construction is successfull.
- **/
-gint
-lasso_wsf_profile_build_soap_response_msg(LassoWsfProfile *wsf_profile)
-{
- LassoSoapEnvelope *envelope = NULL;
- LassoSoapFault *soap_fault = NULL;
- int rc = 0;
-
- lasso_bad_param(WSF_PROFILE, wsf_profile);
- envelope = wsf_profile->soap_envelope_response;
- if (! LASSO_IS_SOAP_ENVELOPE(envelope)) {
- return LASSO_SOAP_ERROR_MISSING_ENVELOPE;
- }
-
- /* If SOAP fault replace response by the SOAP fault */
- if ((soap_fault = lasso_wsf_profile_get_soap_fault(wsf_profile))) {
- LassoSoapBody *body = NULL;
- lasso_extract_node_or_fail(body, envelope->Body, SOAP_BODY, LASSO_SOAP_ERROR_MISSING_BODY);
- lasso_release_list_of_gobjects(body->any);
- lasso_list_add_gobject(body->any, soap_fault);
- }
-
- lasso_assign_new_string(wsf_profile->msg_body,
- lasso_node_export_to_xml((LassoNode*)envelope));
-cleanup:
- return rc;
-}
-
-/** FIXME: add support for security mechanisms SAML and Bearer. */
-/**
- * lasso_wsf_profile_process_soap_request_msg:
- * @profile: a #LassoWsfProfile object
- * @message: a SOAP request message string
- * @security_mech_id: the security mechanism to apply
- *
- * Process an ID-WSF SOAP request, extract headers information, and check compliance with the
- * security mechanism.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_wsf_profile_process_soap_request_msg(LassoWsfProfile *profile, const gchar *message,
- const gchar *security_mech_id)
-{
- LassoSoapBindingCorrelation *correlation = NULL;
- LassoSoapEnvelope *envelope = NULL;
- gchar *messageId = NULL;
- int rc = 0;
- xmlDoc *doc = NULL;
- GList *iter = NULL;
- GList *node_list = NULL;
-
- lasso_bad_param(WSF_PROFILE, profile);
- lasso_null_param(message);
-
- g_return_val_if_fail(profile->private_data, LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
- lasso_wsf_profile_set_soap_fault(profile, NULL);
-
- doc = lasso_xml_parse_memory(message, strlen(message));
- goto_cleanup_if_fail_with_rc (doc != NULL, critical_error(LASSO_PROFILE_ERROR_INVALID_SOAP_MSG));
- /* Get soap request and his message id */
- envelope = LASSO_SOAP_ENVELOPE(lasso_node_new_from_xmlNode(xmlDocGetRootElement(doc)));
- if (LASSO_IS_SOAP_ENVELOPE(envelope)) {
- lasso_assign_gobject(profile->soap_envelope_request, envelope);
- } else {
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_SOAP_MSG);
- }
- goto_cleanup_if_fail_with_rc(envelope != NULL, LASSO_SOAP_ERROR_MISSING_ENVELOPE);
- goto_cleanup_if_fail_with_rc(envelope->Body != NULL, LASSO_SOAP_ERROR_MISSING_BODY);
- if (envelope->Body->any && LASSO_IS_NODE(envelope->Body->any->data)) {
- lasso_assign_gobject(profile->request, LASSO_NODE(envelope->Body->any->data));
- } else {
- profile->request = NULL;
- rc = LASSO_PROFILE_ERROR_MISSING_REQUEST;
- }
-
- /* Get the correlation header */
- goto_cleanup_if_fail_with_rc(envelope->Header != NULL, LASSO_SOAP_ERROR_MISSING_HEADER);
- for (iter = envelope->Header->Other; iter != NULL; iter = iter->next) {
- if (LASSO_IS_SOAP_BINDING_CORRELATION(iter->data)) {
- correlation = LASSO_SOAP_BINDING_CORRELATION(iter->data);
- break;
- }
- }
- goto_cleanup_if_fail_with_rc (correlation != NULL && correlation->messageID != NULL,
- LASSO_WSF_PROFILE_ERROR_MISSING_CORRELATION);
- messageId = correlation->messageID;
-
- /* Comply with security mechanism */
- if (lasso_security_mech_id_is_null_authentication(security_mech_id) == FALSE) {
- goto_cleanup_if_fail_with_rc(FALSE, LASSO_WSF_PROFILE_ERROR_UNSUPPORTED_SECURITY_MECHANISM);
- }
-
- /* Extract the remote provider ID if present */
- if (LASSO_IS_SOAP_HEADER(envelope->Header)) {
- for (node_list = envelope->Header->Other;
- node_list; node_list = g_list_next(node_list)) {
- LassoSoapBindingProvider *node = node_list->data;
-
- if (LASSO_IS_SOAP_BINDING_PROVIDER(node)) {
- lasso_assign_string(profile->private_data->remote_provider_id,
- node->providerID);
- break; /* Only treat the first one */
- }
- }
- }
-
-cleanup:
- lasso_release_gobject(envelope);
- lasso_release_doc(doc);
-
- return rc;
-}
-
-
-/**
- * lasso_wsf_profile_process_soap_response_msg:
- * @profile: a #LassoWsfProfile object
- * @message: the textual representaition of a SOAP message
- *
- * Parse a SOAP response from an ID-WSF 1.0 service,
- * eventually signal a SOAP fault.
- *
- * Return value: 0 if the processing of this message was successful.
- **/
-gint
-lasso_wsf_profile_process_soap_response_msg(LassoWsfProfile *profile, const gchar *message)
-{
- xmlDoc *doc = NULL;
- LassoSoapEnvelope *envelope = NULL;
- gint rc = 0;
-
- lasso_bad_param(WSF_PROFILE, profile);
- lasso_null_param(message);
-
- g_return_val_if_fail(profile->private_data, LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT);
- lasso_wsf_profile_set_soap_fault(profile, NULL);
-
- doc = lasso_xml_parse_memory(message, strlen(message));
- goto_cleanup_if_fail_with_rc (doc != NULL, critical_error(LASSO_PROFILE_ERROR_INVALID_SOAP_MSG));
- envelope = (LassoSoapEnvelope*)lasso_node_new_from_xmlNode(xmlDocGetRootElement(doc));
- if (LASSO_IS_SOAP_ENVELOPE(envelope)) {
- lasso_assign_gobject(profile->soap_envelope_response, envelope);
- } else {
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_INVALID_SOAP_MSG);
- }
- goto_cleanup_if_fail_with_rc(envelope->Body != NULL, LASSO_SOAP_ERROR_MISSING_BODY);
- if (envelope->Body->any && LASSO_IS_NODE(envelope->Body->any->data)) {
- lasso_assign_gobject(profile->response, envelope->Body->any->data);
- } else {
- lasso_release_gobject(profile->response);
- goto_cleanup_with_rc(LASSO_PROFILE_ERROR_MISSING_RESPONSE);
- }
-
- /* Check correlation header */
- goto_cleanup_if_fail_with_rc(
- lasso_wsf_profile_utils_get_header_correlation(
- profile->soap_envelope_response),
- LASSO_WSF_PROFILE_ERROR_MISSING_CORRELATION);
-
- /* Check message ID */
- {
- const char *message_id =
- lasso_wsf_profile_utils_get_message_id(profile->soap_envelope_request);
- const char *ref_message_id =
- lasso_wsf_profile_utils_get_ref_message_id(profile->soap_envelope_response);
- goto_cleanup_if_fail_with_rc(lasso_strisequal(message_id, ref_message_id),
- LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID);
- }
-
- /* Signal soap fault specifically,
- * find soap redirects. */
- if (LASSO_IS_SOAP_FAULT(profile->response)) {
- LassoSoapFault *fault = LASSO_SOAP_FAULT(profile->response);
- if (LASSO_IS_SOAP_DETAIL(fault->Detail)) {
- LassoSoapDetail *detail = LASSO_SOAP_DETAIL(fault->Detail);
- GList *iter = detail->any;
- for (; iter; iter = g_list_next(iter)) {
- if (LASSO_IS_IS_REDIRECT_REQUEST(iter->data)) {
- LassoIsRedirectRequest *redirect = LASSO_IS_REDIRECT_REQUEST(iter->data);
- lasso_assign_string(profile->msg_url, redirect->redirectURL);
- rc = LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT;
- }
- }
-
- }
- if (rc == 0) {
- rc = LASSO_WSF_PROFILE_ERROR_SOAP_FAULT;
- }
- }
-cleanup:
- lasso_release_gobject(envelope);
- lasso_release_doc(doc);
- return rc;
-}
-
-/**
- * lasso_wsf_profile_set_provider_soap_request:
- *
- * @Deprecated: Since 2.2.1
- *
- * Return value: NULL
- **/
-LassoSoapBindingProvider *
-lasso_wsf_profile_set_provider_soap_request(G_GNUC_UNUSED LassoWsfProfile *profile,
- G_GNUC_UNUSED const char *providerId)
-{
- return NULL;
-}
-
-/*****************************************************************************/
-/* overrided parent class methods */
-/*****************************************************************************/
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-dispose(GObject *object)
-{
- LassoWsfProfile *profile = LASSO_WSF_PROFILE(object);
-
- if (profile->private_data->dispose_has_run == TRUE)
- return;
- lasso_release_string(profile->private_data->security_mech_id);
- lasso_release_gobject(profile->private_data->offering);
- lasso_release_gobject(profile->private_data->description);
- lasso_release_string(profile->private_data->remote_provider_id);
- lasso_release_gobject(profile->private_data->soap_fault);
- lasso_release_string(profile->private_data->status_code);
- profile->private_data->dispose_has_run = TRUE;
-
- G_OBJECT_CLASS(parent_class)->dispose(object);
-}
-
-static void
-finalize(GObject *object)
-{
- LassoWsfProfile *profile = LASSO_WSF_PROFILE(object);
- lasso_release(profile->private_data);
- profile->private_data = NULL;
- G_OBJECT_CLASS(parent_class)->finalize(object);
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsfProfile *profile)
-{
- profile->server = NULL;
- profile->request = NULL;
- profile->response = NULL;
- profile->soap_envelope_request = NULL;
- profile->soap_envelope_response = NULL;
- profile->msg_url = NULL;
- profile->msg_body = NULL;
-
- profile->private_data = g_new0(LassoWsfProfilePrivate, 1);
-}
-
-static void
-class_init(LassoWsfProfileClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "WsfProfile");
- lasso_node_class_set_ns(nclass, LASSO_LASSO_HREF, LASSO_LASSO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-
- G_OBJECT_CLASS(klass)->dispose = dispose;
- G_OBJECT_CLASS(klass)->finalize = finalize;
-}
-
-GType
-lasso_wsf_profile_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof(LassoWsfProfileClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsfProfile),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsfProfile", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsf_profile_init:
- * @profile: the #LassoWsfProfile to initialize
- * @server: a #LassoServer object to resolve provider IDs.
- * @offering: a #LassoDiscoResourceOffering for the
- * targetted web service.
- *
- * Initialize a #LassoWsfProfile in order to handle or send
- * request to, an ID-WSF web service.
- *
- * Return: 0 if initialization was successfull.
- */
-gint
-lasso_wsf_profile_init(LassoWsfProfile *profile,
- LassoServer *server,
- LassoDiscoResourceOffering *offering)
-{
- lasso_return_val_if_invalid_param(WSF_PROFILE, profile,
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- /* FIXME: is a NULL server authorized ? */
- lasso_assign_gobject(profile->server, server);
- /* FIXME: is a NULL oferring authorized ? */
- lasso_assign_gobject(profile->private_data->offering, offering);
-
- return 0;
-}
-
-
-/**
- * lasso_wsf_profile_new:
- * @server: a #LassoServer object to lookup remote provider informations
- *
- * Create a new #WsfProfile with the given #LassoServer object.
- *
- * Return: a new #LassoWsfProfile if creation and initialization were
- * successfull, NULL otherwise.
- */
-LassoWsfProfile*
-lasso_wsf_profile_new(LassoServer *server)
-{
- return lasso_wsf_profile_new_full(server, NULL);
-}
-
-/**
- * lasso_wsf_profile_new_full:
- * @server: a #LassoServer object to lookup remote provider informations.
- * @offering: a #LassoDiscoResourceOffering for the requested service.
- *
- * Create a new #WsfProfile with the given #LassoServer object and the given
- * #LassoDiscoResourceOffering.
- *
- * Return: a new #LassoWsfProfile if creation and initialization were
- * successfull, NULL otherwise.
- */
-LassoWsfProfile*
-lasso_wsf_profile_new_full(LassoServer *server, LassoDiscoResourceOffering *offering)
-{
- LassoWsfProfile *profile = NULL;
-
- profile = g_object_new(LASSO_TYPE_WSF_PROFILE, NULL);
- if (lasso_wsf_profile_init(profile, server, offering)) {
- lasso_release_gobject(profile);
- }
- return profile;
-}
-
-/**
- * add_signature_template:
- * @server: a #LassoServer object
- * @doc: a #xmlDoc structure
- * @node a #xmlNode structure
- * @signature_ptr: an output argument for an #xmlNode structure
- *
- * Create a new XMLDSig template without any reference and return the created
- * Signature node. If node is not NULL add Signature as a last child to it. If @signature_ptr is not
- * NULL the template node is stored there.
- *
- * Return value: 0 if successful, LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED otherwise.
- */
-static gint
-add_signature_template(LassoServer *server, xmlDoc *doc, xmlNode *node, xmlNode **signature_ptr) {
- xmlNode *signature = NULL;
- gint rc = 0;
-
- switch (server->signature_method) {
- case LASSO_SIGNATURE_METHOD_RSA_SHA1:
- signature = xmlSecTmplSignatureCreate(doc,
- xmlSecTransformExclC14NId,
- xmlSecTransformRsaSha1Id,
- NULL);
- break;
- case LASSO_SIGNATURE_METHOD_DSA_SHA1:
- signature = xmlSecTmplSignatureCreate(doc,
- xmlSecTransformExclC14NId,
- xmlSecTransformDsaSha1Id,
- NULL);
- break;
- default:
- rc = LASSO_DS_ERROR_SIGNATURE_TMPL_CREATION_FAILED;
- goto cleanup;
-
- }
-
- /* Last steps... */
- if (signature_ptr) {
- *signature_ptr = signature;
- }
- if (node) {
- xmlAddChild(node, signature);
- }
-cleanup:
- return rc;
-}
-
-static gint
-add_reference_to_non_enveloping_id(xmlNode *signature, xmlChar *id)
-{
- gint rc = 0;
- char *uri = NULL;
- xmlNode *reference = NULL;
-
- goto_cleanup_if_fail_with_rc(signature != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- goto_cleanup_if_fail_with_rc(id != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- uri = g_strdup_printf("#%s", id);
- reference = xmlSecTmplSignatureAddReference(signature,
- xmlSecTransformSha1Id, NULL, (xmlChar*)uri, NULL);
- /* add exclusive C14N transform */
- xmlSecTmplReferenceAddTransform(reference, xmlSecTransformExclC14NId);
-cleanup:
- lasso_release(uri);
- return rc;
-}
-
-static gint
-create_signature_context(LassoServer *server, xmlSecDSigCtx **ctx_ptr) {
- xmlSecDSigCtx *dsig_ctx = NULL;
- gint rc = 0;
-
- lasso_bad_param(SERVER, server);
- lasso_null_param(ctx_ptr);
-
- /* Allocate an initialize the object */
- dsig_ctx = xmlSecDSigCtxCreate(NULL);
- /* Load the private key for the server object */
- /* XXX: handle other formats */
- /* XXX: handle password protected keys */
- /* XXX: handle pkcs12 all-in-one files */
- dsig_ctx->signKey = xmlSecCryptoAppKeyLoad(server->private_key,
- xmlSecKeyDataFormatPem,
- NULL, NULL, NULL);
- goto_cleanup_if_fail_with_rc(dsig_ctx->signKey != NULL, LASSO_DS_ERROR_PRIVATE_KEY_LOAD_FAILED);
- /* Load the certificate chain if needed */
- if (server->certificate) {
- gint ret = xmlSecCryptoAppKeyCertLoad(dsig_ctx->signKey,
- server->certificate,
- xmlSecKeyDataFormatPem);
- goto_cleanup_if_fail_with_rc(ret >= 0, LASSO_DS_ERROR_CERTIFICATE_LOAD_FAILED);
- }
- /* Transfer the reference */
- *ctx_ptr = dsig_ctx;
- dsig_ctx = NULL;
-cleanup:
- if (dsig_ctx) {
- xmlSecDSigCtxDestroy(dsig_ctx);
- }
- return rc;
-
-}
-
-static xmlChar *
-make_id_ref(xmlChar *id) {
- char *res = NULL;
-
- res = g_strdup_printf("#%s", (char*)id);
- return (xmlChar*)res;
-}
-
-static void
-add_key_info_security_token_reference(xmlDocPtr doc, xmlNode *signature, xmlChar *assertion_id) {
- xmlNsPtr nsPtr = NULL;
- xmlChar *value = NULL;
- xmlNode *key_info = NULL, *security_token_reference = NULL, *reference = NULL;
-
- /* Add key info */
- key_info = xmlSecTmplSignatureEnsureKeyInfo(signature, NULL);
- /* Free children */
- xmlFreeNodeList(key_info->children);
- key_info->children = NULL;
- /* Create sec:SecurityTokenReferenceNode */
- security_token_reference = xmlSecAddChild(key_info, (xmlChar*) "SecurityTokenReference",
- (xmlChar*)LASSO_WSSE1_HREF);
- nsPtr = xmlSearchNsByHref(doc, security_token_reference, (xmlChar*) LASSO_SEC_HREF);
- if (nsPtr == NULL) {
- nsPtr = xmlNewNs(security_token_reference, (xmlChar*) LASSO_SEC_HREF,
- (xmlChar*) LASSO_SEC_PREFIX);
- }
- value = (xmlChar*) g_strdup_printf("%s:MessageAuthentication", nsPtr->prefix);
- xmlSetProp(security_token_reference, (xmlChar*) "Usage", value);
- lasso_release(value);
- /* Create Reference */
- reference = xmlSecAddChild(security_token_reference, (xmlChar*) "Reference",
- (xmlChar*) LASSO_WSSE1_HREF);
- value = make_id_ref(assertion_id);
- xmlSetProp(reference, (xmlChar*) "URI", value);
- lasso_release(value);
-}
-
-/**
- * lasso_wsf_profile_add_saml_signature:
- * @wsf_profile: a #LassoWsfProfile
- * @doc: the #xmlDoc document that contains the SOAP message to sign
- *
- * This function add the signature to comply with specification of the ID-WSF
- * SAML security mechanism. In order to do that we must sign the headers
- * Provider, Correlation and eventually is:Interaction and also the Body of the
- * SOAP message.
- *
- * Return value: 0 if signature creation succeeded, an error code otherwise.
- */
-static gint
-lasso_wsf_profile_add_saml_signature(LassoWsfProfile *wsf_profile, xmlDoc *doc) {
- xmlNode *envelope = NULL, *header = NULL, *body = NULL, *provider = NULL, *correlation = NULL;
- xmlNode *interaction = NULL, *security = NULL, *assertion = NULL, *signature = NULL;
- xmlChar *provider_id = NULL, *correlation_id = NULL, *interaction_id = NULL, *body_id = NULL;
- xmlChar *assertion_id = NULL;
- xmlSecDSigCtx *dsig_ctx = NULL;
- const xmlChar* ids[] = {
- (xmlChar*) "id",
- (xmlChar*) "Id",
- NULL
- };
- gint rc = 0, sec_ret = 0;
-
-
- g_return_val_if_fail(LASSO_IS_WSF_PROFILE(wsf_profile),
- LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
- g_return_val_if_fail(doc != NULL, LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ);
-
- /* Lookup all referenced node and their Ids */
- envelope = xmlDocGetRootElement(doc);
- header = lasso_xml_soap11_get_header(envelope);
-
- provider = xmlSecFindNode(header, (xmlChar*) "Provider",
- (xmlChar*) LASSO_SOAP_BINDING_HREF);
- correlation = xmlSecFindNode(header, (xmlChar*) "Correlation",
- (xmlChar*) LASSO_SOAP_BINDING_HREF);
- interaction = xmlSecFindNode(header, (xmlChar*) "UserInteraction",
- (xmlChar*) LASSO_IS_HREF);
- body = lasso_xml_soap11_get_body(envelope);
- xmlSecAddIDs(doc, envelope, ids);
- goto_cleanup_if_fail_with_rc(header != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(provider != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(correlation != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(body != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
-
- provider_id = xmlGetProp(provider, (xmlChar*) "id");
- correlation_id = xmlGetProp(correlation, (xmlChar*) "id");
- if (interaction != NULL) {
- interaction_id = xmlGetProp(interaction, (xmlChar*) "id");
- }
- body_id = xmlGetProp(body, (xmlChar*) "Id");
- goto_cleanup_if_fail_with_rc(provider_id != NULL, LASSO_XML_ERROR_ATTR_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(correlation_id != NULL, LASSO_XML_ERROR_ATTR_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(body_id != NULL, LASSO_XML_ERROR_ATTR_NOT_FOUND);
- goto_cleanup_if_fail_with_rc(interaction == NULL || interaction_id != NULL,
- LASSO_XML_ERROR_ATTR_NOT_FOUND);
-
- /* Lookup the assertion Id for the KeyInfo node generation */
- security = xmlSecFindNode(header, (xmlChar*) "Security", (xmlChar*) LASSO_WSSE1_HREF);
- goto_cleanup_if_fail_with_rc(security != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
- assertion = xmlSecFindNode(security, (xmlChar*) "Assertion", (xmlChar*) LASSO_SAML_ASSERTION_HREF);
- goto_cleanup_if_fail_with_rc(assertion != NULL, LASSO_XML_ERROR_NODE_NOT_FOUND);
- assertion_id = xmlGetProp(assertion, (xmlChar*)"AssertionID");
- goto_cleanup_if_fail_with_rc(assertion_id != NULL, LASSO_XML_ERROR_ATTR_NOT_FOUND);
-
- /* Create the signature template */
- rc = add_signature_template(wsf_profile->server, doc, security, &signature);
- if (rc != 0) {
- goto cleanup;
- }
- rc = add_reference_to_non_enveloping_id(signature, provider_id);
- if (rc != 0) {
- goto cleanup;
- }
- rc = add_reference_to_non_enveloping_id(signature, correlation_id);
- if (rc != 0) {
- goto cleanup;
- }
- rc = add_reference_to_non_enveloping_id(signature, body_id);
- if (rc != 0) {
- goto cleanup;
- }
- if (interaction_id) {
- rc = add_reference_to_non_enveloping_id(signature, interaction_id);
- if (rc != 0) {
- goto cleanup;
- }
- }
- /* Create signature context */
- xmlSetTreeDoc(envelope, doc);
- rc = create_signature_context(wsf_profile->server, &dsig_ctx);
- if (rc != 0)
- goto cleanup;
- /* Sign ! */
- sec_ret = xmlSecDSigCtxSign(dsig_ctx, signature);
- if (sec_ret < 0) {
- rc = LASSO_DS_ERROR_SIGNATURE_FAILED;
- goto cleanup;
- }
- add_key_info_security_token_reference(doc, signature, assertion_id);
-
-cleanup:
- if (dsig_ctx) {
- xmlSecDSigCtxDestroy(dsig_ctx);
- }
- lasso_release_xml_string(provider_id);
- lasso_release_xml_string(correlation_id);
- lasso_release_xml_string(interaction_id);
- lasso_release_xml_string(body_id);
- lasso_release_xml_string(assertion_id);
- return rc;
-}
-
-/**
- * lasso_wsf_profile_get_remote_provider_id:
- * @wsf_profile: a #LassoWsfProfile object
- *
- * Return the remote provider id parsed in the last processing of a SOAP request or a SOAP response.
- *
- * Return value:(transfer none)(allow-none): the provider id string or NULL.
- */
-const char*
-lasso_wsf_profile_get_remote_provider_id(LassoWsfProfile *wsf_profile)
-{
- lasso_return_val_if_invalid_param(WSF_PROFILE, wsf_profile, NULL);
-
- return wsf_profile->private_data->remote_provider_id;
-}
-
-/**
- * lasso_wsf_profile_get_remote_provider:
- * @wsf_profile: a #LassoWsfProfile object
- * @provider:(transfer full): an output pointer to #LassoProvider object variable.
- *
- * Return the remote provider parsed in the last processing of a SOAP request or a SOAP response.
- *
- * Return value: 0 if successfull, LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID if no provider id
- * is present in the SOAP headers, or LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND if the provider is
- * unknown to us.
- */
-gint
-lasso_wsf_profile_get_remote_provider(LassoWsfProfile *wsf_profile, LassoProvider **provider)
-{
- LassoProvider *_provider = NULL;
-
- lasso_bad_param(WSF_PROFILE, wsf_profile);
-
- if (! wsf_profile->private_data->remote_provider_id)
- return LASSO_PROFILE_ERROR_MISSING_REMOTE_PROVIDERID;
-
- if (! LASSO_IS_SERVER(wsf_profile->server))
- return LASSO_PROFILE_ERROR_MISSING_SERVER;
-
- _provider = lasso_server_get_provider(wsf_profile->server, wsf_profile->private_data->remote_provider_id);
- if (! _provider)
- return LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND;
-
- if (provider) {
- lasso_assign_gobject(*provider, _provider);
- }
- return 0;
-}
-
-/**
- * lasso_wsf_profile_get_fault:
- * @wsf_profile: a #LassoWsfProfile object
- *
- * If a fault is going to be returned as next response, return it.
- *
- * Return value:(transfer none)(allow-none): a #LassoSoapFault, or NULL if none is currently present in the object.
- */
-LassoSoapFault*
-lasso_wsf_profile_get_soap_fault(LassoWsfProfile *wsf_profile)
-{
- lasso_return_val_if_invalid_param(WSF_PROFILE, wsf_profile, NULL);
-
- if (wsf_profile->private_data)
- return wsf_profile->private_data->soap_fault;
- return NULL;
-}
-
-/**
- * lasso_wsf_profile_set_soap_fault:
- * @wsf_profile: a #LassoWsfProfile object
- * @soap_fault: a #LassoSoapFault object
- *
- * Set a SOAP fault to be returned in next SOAP response message. The SOAP fault is removed by
- * lasso_wsf_profile_init_soap_request.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_wsf_profile_set_soap_fault(LassoWsfProfile *wsf_profile, LassoSoapFault *soap_fault)
-{
- lasso_bad_param(WSF_PROFILE, wsf_profile);
- if (! LASSO_IS_SOAP_FAULT(soap_fault) && soap_fault)
- return LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ;
- if (! wsf_profile->private_data)
- return LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT;
- lasso_assign_gobject(wsf_profile->private_data->soap_fault, soap_fault);
- return 0;
-}
-
-/**
- * lasso_wsf_profile_set_status_code:
- * @wsf_profile: a #LassoWsfProfile
- * @status_code: a string representing the status code
- *
- * Set the status code to set in the next built response.
- *
- * Return value: 0 if successful, an error code otherwise.
- */
-gint
-lasso_wsf_profile_set_status_code(LassoWsfProfile *wsf_profile, const char *status_code)
-{
- lasso_bad_param(WSF_PROFILE, wsf_profile);
- if (! wsf_profile->private_data)
- return LASSO_PARAM_ERROR_NON_INITIALIZED_OBJECT;
- lasso_assign_string(wsf_profile->private_data->status_code, status_code);
- return 0;
-}
-
-/**
- * lasso_wsf_profile_get_status_code:
- * @wsf_profile: a #LassoWsfProfile object
- *
- * Return the actual status code for this protocol object.
- *
- * Return value:(transfer none)(allow-none): a string owned by the profile object or NULL.
- */
-const char*
-lasso_wsf_profile_get_status_code(LassoWsfProfile *wsf_profile) {
- lasso_return_val_if_invalid_param(WSF_PROFILE, wsf_profile, NULL);
-
- if (wsf_profile->private_data)
- return wsf_profile->private_data->status_code;
- return NULL;
-}
diff --git a/lasso/id-wsf/wsf_profile.h b/lasso/id-wsf/wsf_profile.h
deleted file mode 100644
index aafd4dee..00000000
--- a/lasso/id-wsf/wsf_profile.h
+++ /dev/null
@@ -1,186 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSF_PROFILE_H__
-#define __LASSO_WSF_PROFILE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "../id-ff/server.h"
-#include "../id-ff/identity.h"
-#include "../id-ff/session.h"
-#include "../xml/soap-1.1/soap_envelope.h"
-#include "../xml/soap_binding_provider.h"
-#include "../xml/soap-1.1/soap_fault.h"
-#include "../xml/saml_assertion.h"
-#include "../xml/disco_description.h"
-#include "../xml/disco_resource_offering.h"
-#include "../xml/disco_description.h"
-
-#define LASSO_TYPE_WSF_PROFILE (lasso_wsf_profile_get_type())
-#define LASSO_WSF_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSF_PROFILE, LassoWsfProfile))
-#define LASSO_WSF_PROFILE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_WSF_PROFILE, LassoWsfProfileClass))
-#define LASSO_IS_WSF_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_WSF_PROFILE))
-#define LASSO_IS_WSF_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSF_PROFILE))
-#define LASSO_WSF_PROFILE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_WSF_PROFILE, LassoWsfProfileClass))
-
-typedef struct _LassoWsfProfile LassoWsfProfile;
-typedef struct _LassoWsfProfileClass LassoWsfProfileClass;
-typedef struct _LassoWsfProfilePrivate LassoWsfProfilePrivate;
-
-struct _LassoWsfProfile {
- LassoNode parent;
-
- LassoServer *server;
-
- LassoNode *request;
- LassoNode *response;
-
- LassoSoapEnvelope *soap_envelope_request;
- LassoSoapEnvelope *soap_envelope_response;
-
- gchar *msg_url;
- gchar *msg_body;
-
- /*< private >*/
- LassoIdentity *identity;
- LassoSession *session;
-
- LassoWsfProfilePrivate *private_data;
-};
-
-struct _LassoWsfProfileClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsf_profile_get_type(void);
-
-G_GNUC_DEPRECATED LASSO_EXPORT lasso_error_t lasso_wsf_profile_move_credentials(LassoWsfProfile *src,
- LassoWsfProfile *dest);
-
-LASSO_EXPORT LassoIdentity* lasso_wsf_profile_get_identity(const LassoWsfProfile *profile);
-LASSO_EXPORT LassoSession* lasso_wsf_profile_get_session(const LassoWsfProfile *profile);
-LASSO_EXPORT gboolean lasso_wsf_profile_is_identity_dirty(const LassoWsfProfile *profile);
-LASSO_EXPORT gboolean lasso_wsf_profile_is_session_dirty(const LassoWsfProfile *profile);
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_identity_from_dump(LassoWsfProfile *profile,
- const gchar *dump);
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_session_from_dump(LassoWsfProfile *profile,
- const gchar *dump);
-
-G_GNUC_DEPRECATED LASSO_EXPORT LassoSoapEnvelope* lasso_wsf_profile_build_soap_envelope(
- const char *refToMessageId,
- const char *providerId);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_build_soap_request_msg(LassoWsfProfile *profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_build_soap_response_msg(LassoWsfProfile *profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_init_soap_request(LassoWsfProfile *profile, LassoNode *request);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_init_soap_response(LassoWsfProfile *profile,
- LassoNode *response);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_process_soap_request_msg(LassoWsfProfile *profile,
- const gchar *message, const gchar *security_mech_id);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_process_soap_response_msg(LassoWsfProfile *profile,
- const gchar *message);
-
-G_GNUC_DEPRECATED LASSO_EXPORT LassoSoapBindingProvider* lasso_wsf_profile_set_provider_soap_request(
- LassoWsfProfile *profile, const char *providerId);
-
-LASSO_EXPORT LassoWsfProfile* lasso_wsf_profile_new(LassoServer *server);
-
-LASSO_EXPORT LassoWsfProfile* lasso_wsf_profile_new_full(LassoServer *server,
- LassoDiscoResourceOffering *offering);
-
-G_GNUC_DEPRECATED LASSO_EXPORT gboolean lasso_wsf_profile_principal_is_online(
- LassoWsfProfile *profile);
-
-G_GNUC_DEPRECATED LASSO_EXPORT lasso_error_t lasso_wsf_profile_add_credential(LassoWsfProfile *profile,
- xmlNode *credential);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_description_from_offering(
- LassoWsfProfile *profile,
- const LassoDiscoResourceOffering *offering,
- const char *security_mech_id);
-
-LASSO_EXPORT void lasso_wsf_profile_set_description(LassoWsfProfile *profile,
- LassoDiscoDescription *description);
-
-LASSO_EXPORT LassoDiscoDescription *lasso_wsf_profile_get_description(
- const LassoWsfProfile *profile);
-
-LASSO_EXPORT LassoDiscoResourceOffering *lasso_wsf_profile_get_resource_offering(
- LassoWsfProfile *profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_security_mech_id(LassoWsfProfile *profile,
- const char *security_mech_id);
-
-LASSO_EXPORT const char *lasso_wsf_profile_get_security_mech_id(LassoWsfProfile *profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_init(LassoWsfProfile *profile, LassoServer *server,
- LassoDiscoResourceOffering *offering);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_get_remote_provider(LassoWsfProfile *wsf_profile,
- LassoProvider **provider);
-
-LASSO_EXPORT const char* lasso_wsf_profile_get_remote_provider_id(LassoWsfProfile *wsf_profile);
-
-LASSO_EXPORT LassoSoapFault* lasso_wsf_profile_get_soap_fault(LassoWsfProfile *wsf_profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_soap_fault(LassoWsfProfile *wsf_profile, LassoSoapFault *soap_fault);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_status_code(LassoWsfProfile *wsf_profile, const char *code);
-
-LASSO_EXPORT const char* lasso_wsf_profile_get_status_code(LassoWsfProfile *wsf_profile);
-
-LASSO_EXPORT lasso_error_t lasso_wsf_profile_set_msg_url_from_description(LassoWsfProfile *wsf_profile);
-
-LASSO_EXPORT void lasso_wsf_profile_set_resource_offering(LassoWsfProfile *profile,
- LassoDiscoResourceOffering *offering);
-
-#define lasso_wsf_profile_helper_assign_resource_id(from,to) \
- if ((from)->ResourceID) {\
- lasso_assign_gobject((to)->ResourceID, (from)->ResourceID); \
- } else if ((from)->EncryptedResourceID) {\
- lasso_assign_gobject((to)->EncryptedResourceID, (from)->EncryptedResourceID); \
- }
-
-#define lasso_wsf_profile_helper_set_status(message, code) \
- { \
- lasso_assign_new_gobject(message->Status, lasso_utility_status_new(code)); \
- }
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSF_PROFILE_H__ */
diff --git a/lasso/id-wsf/wsf_profile_private.h b/lasso/id-wsf/wsf_profile_private.h
deleted file mode 100644
index 340f3b8e..00000000
--- a/lasso/id-wsf/wsf_profile_private.h
+++ /dev/null
@@ -1,55 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSF_PROFILE_PRIVATE_H__
-#define __LASSO_WSF_PROFILE_PRIVATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-
-#endif /* __cplusplus */
-
-#include "../xml/soap-1.1/soap_fault.h"
-
-struct _LassoWsfProfilePrivate
-{
- gboolean dispose_has_run;
- char *security_mech_id;
- LassoDiscoResourceOffering *offering;
- LassoDiscoDescription *description;
- char *remote_provider_id;
- LassoSoapFault *soap_fault;
- char *status_code;
-};
-
-LassoSoapFault* lasso_wsf_profile_get_fault(const LassoWsfProfile *profile);
-void lasso_wsf_profile_set_resource_offering(LassoWsfProfile *profile,
- LassoDiscoResourceOffering *offering);
-gint lasso_wsf_profile_set_msg_url_from_description(LassoWsfProfile *wsf_profile);
-gint lasso_wsf_profile_build_soap_fault_response_msg(LassoWsfProfile *profile, gint rc);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSF_PROFILE_PRIVATE_H__ */
diff --git a/lasso/id-wsf/wsf_utils.c b/lasso/id-wsf/wsf_utils.c
deleted file mode 100644
index e4cdb4cb..00000000
--- a/lasso/id-wsf/wsf_utils.c
+++ /dev/null
@@ -1,152 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:id_wsf_utils
- * @short_description: Misc functions used in the implementation of ID-WSF 1.0
- * @stability: Private
- */
-
-
-/**
- * lasso_security_mech_is_saml_authentication:
- * @security_mech_id: the URI of an authentication mechanism
- *
- * Return value: %TRUE if @security_mech_id is one of
- * urn:liberty:security:2003-08:null:SAML,
- * urn:liberty:security:2003-08:TLS:SAML or
- * urn:liberty:security:2003-08:ClientTLS:SAML, FALSE otherwise.
- */
-
-#include "../xml/private.h"
-#include
-#include
-
-#include "../xml/strings.h"
-#include "../xml/idwsf_strings.h"
-
-/**
- * lasso_security_mech_id_is_null_authentication:
- * @security_mech_id: the URI of an authentication mechanism
- *
- * Return value: %TRUE if @security_mech_id is null or one of
- * urn:liberty:security:2003-08:null:null,
- * urn:liberty:security:2003-08:TLS:null,
- * urn:liberty:security:2003-08:ClientTLS:null,
- * FALSE otherwise.
- */
-gboolean
-lasso_security_mech_id_is_null_authentication(const char *security_mech_id)
-{
- if (security_mech_id == NULL ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_CLIENT_TLS) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_TLS) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_NULL) == 0) {
- return TRUE;
- }
- return FALSE;
-}
-
-/**
- * lasso_security_mech_id_is_x509_authentication:
- * @security_mech_id: the URI of an authentication mechanism
- *
- * Return value: %TRUE if @security_mech_id is one of
- * urn:liberty:security:2003-08:null:X509,
- * urn:liberty:security:2003-08:TLS:X509,
- * urn:liberty:security:2003-08:ClientTLS:X509,
- * FALSE otherwise.
- */
-gboolean
-lasso_security_mech_id_is_x509_authentication(const char *security_mech_id)
-{
- if (!security_mech_id) {
- return FALSE;
- }
- if (strcmp(security_mech_id, LASSO_SECURITY_MECH_CLIENT_TLS_X509) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_TLS_X509) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_X509) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_TLS_X509) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_X509) == 0) {
- return TRUE;
- }
- return FALSE;
-}
-
-/**
- * lasso_security_mech_id_is_saml_authentication:
- * @security_mech_id: the URI of an authentication mechanism
- *
- * Return value: %TRUE if @security_mech_id is one of
- * urn:liberty:security:2003-08:null:SAML,
- * urn:liberty:security:2003-08:TLS:SAML,
- * urn:liberty:security:2003-08:ClientTLS:SAML,
- * urn:liberty:security:2005-02:null:SAML,
- * urn:liberty:security:2005-02:TLS:SAML,
- * FALSE otherwise.
- */
-gboolean
-lasso_security_mech_id_is_saml_authentication(const gchar *security_mech_id)
-{
- if (!security_mech_id) {
- return FALSE;
- }
- if (strcmp(security_mech_id, LASSO_SECURITY_MECH_SAML) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_TLS_SAML) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_CLIENT_TLS_SAML) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_SAML) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_TLS_SAML) == 0) {
- return TRUE;
- }
-
- return FALSE;
-}
-
-/**
- * lasso_security_mech_id_is_bearer_authentication:
- * @security_mech_id: the URI of an authentication mechanism
- *
- * Return value: %TRUE if @security_mech_id is one of
- * urn:liberty:security:2003-08:null:Bearer,
- * urn:liberty:security:2003-08:TLS:Bearer,
- * urn:liberty:security:2003-08:ClientTLS:Bearer,
- * urn:liberty:security:2005-02:null:Bearer,
- * urn:liberty:security:2005-02:TLS:Bearer,
- * FALSE otherwise.
- */
-gboolean
-lasso_security_mech_id_is_bearer_authentication(const gchar *security_mech_id)
-{
- if (!security_mech_id) {
- return FALSE;
- }
- if (strcmp(security_mech_id, LASSO_SECURITY_MECH_BEARER) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_TLS_BEARER) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY_MECH_CLIENT_TLS_BEARER) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_BEARER) == 0 ||
- strcmp(security_mech_id, LASSO_SECURITY11_MECH_TLS_BEARER) == 0) {
- return TRUE;
- }
-
- return FALSE;
-}
diff --git a/lasso/id-wsf/wsf_utils.h b/lasso/id-wsf/wsf_utils.h
deleted file mode 100644
index a585cdc6..00000000
--- a/lasso/id-wsf/wsf_utils.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDSWF_UTILS_H__
-#define __LASSO_IDSWF_UTILS_H__
-
-LASSO_EXPORT gboolean lasso_security_mech_id_is_null_authentication(const gchar *security_mech_id);
-LASSO_EXPORT gboolean lasso_security_mech_id_is_x509_authentication(const gchar *security_mech_id);
-LASSO_EXPORT gboolean lasso_security_mech_id_is_saml_authentication(const gchar *security_mech_id);
-LASSO_EXPORT gboolean lasso_security_mech_id_is_bearer_authentication(
- const gchar *security_mech_id);
-
-#endif
diff --git a/lasso/lasso_config.h.in b/lasso/lasso_config.h.in
index 4e8a7761..06eea38d 100644
--- a/lasso/lasso_config.h.in
+++ b/lasso/lasso_config.h.in
@@ -1,5 +1,3 @@
/* lasso/lasso_config.h.in. */
-/* Define if ID-WSF support is enabled */
-#undef LASSO_WSF_ENABLED
#define LASSO_LOG_DOMAIN "Lasso"
diff --git a/lasso/xml/Makefile.am b/lasso/xml/Makefile.am
index 162c437d..40a0b049 100644
--- a/lasso/xml/Makefile.am
+++ b/lasso/xml/Makefile.am
@@ -1,8 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
SUBDIRS = saml-2.0 soap-1.1 dsig ecp
-if WSF_ENABLED
-SUBDIRS += id-wsf-2.0 ws
-endif
liblassoincludedir = $(includedir)/lasso/xml
@@ -14,129 +11,6 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = liblasso-xml.la
-if WSF_ENABLED
-WSF_C_FILES = \
- disco_authenticate_requester.c \
- disco_authenticate_session_context.c \
- disco_authorize_requester.c \
- disco_credentials.c \
- disco_description.c \
- disco_encrypt_resource_id.c \
- disco_encrypted_resource_id.c \
- disco_generate_bearer_token.c \
- disco_insert_entry.c \
- disco_modify.c \
- disco_modify_response.c \
- disco_options.c \
- disco_query.c \
- disco_query_response.c \
- disco_remove_entry.c \
- disco_requested_service_type.c \
- disco_resource_id.c \
- disco_resource_offering.c \
- disco_send_single_logout.c \
- disco_service_instance.c \
- dst_data.c \
- dst_modification.c \
- dst_modify.c \
- dst_modify_response.c \
- dst_new_data.c \
- dst_query.c \
- dst_query_item.c \
- dst_query_response.c \
- is_help.c \
- is_inquiry.c \
- is_inquiry_element.c \
- is_interaction_request.c \
- is_interaction_response.c \
- is_interaction_statement.c \
- is_item.c \
- is_parameter.c \
- is_redirect_request.c \
- is_select.c \
- is_text.c \
- is_user_interaction.c \
- sa_credentials.c \
- sa_parameter.c \
- sa_password_transforms.c \
- sa_transform.c \
- sa_sasl_request.c \
- sa_sasl_response.c \
- sec_resource_access_statement.c \
- soap_binding_consent.c \
- soap_binding_correlation.c \
- soap_binding_processing_context.c \
- soap_binding_provider.c \
- soap_binding_usage_directive.c \
- soap_binding_ext_credential.c \
- soap_binding_ext_credentials_context.c \
- soap_binding_ext_service_instance_update.c \
- soap_binding_ext_timeout.c \
- soap_binding.c \
- utility_status.c
-
-WSF_H_FILES = \
- idwsf_strings.h \
- disco_authenticate_requester.h \
- disco_authenticate_session_context.h \
- disco_authorize_requester.h \
- disco_credentials.h \
- disco_description.h \
- disco_encrypt_resource_id.h \
- disco_encrypted_resource_id.h \
- disco_generate_bearer_token.h \
- disco_insert_entry.h \
- disco_modify.h \
- disco_modify_response.h \
- disco_options.h \
- disco_query.h \
- disco_query_response.h \
- disco_remove_entry.h \
- disco_requested_service_type.h \
- disco_resource_id.h \
- disco_resource_offering.h \
- disco_send_single_logout.h \
- disco_service_instance.h \
- dst_data.h \
- dst_modification.h \
- dst_modify.h \
- dst_modify_response.h \
- dst_new_data.h \
- dst_query.h \
- dst_query_item.h \
- dst_query_response.h \
- is_help.h \
- is_inquiry.h \
- is_inquiry_element.h \
- is_interaction_request.h \
- is_interaction_response.h \
- is_interaction_statement.h \
- is_item.h \
- is_parameter.h \
- is_redirect_request.h \
- is_select.h \
- is_text.h \
- is_user_interaction.h \
- sa_credentials.h \
- sa_parameter.h \
- sa_password_transforms.h \
- sa_transform.h \
- sa_sasl_request.h \
- sa_sasl_response.h \
- sec_resource_access_statement.h \
- soap_binding_consent.h \
- soap_binding_correlation.h \
- soap_binding_processing_context.h \
- soap_binding_provider.h \
- soap_binding_usage_directive.h \
- soap_binding_ext_credential.h \
- soap_binding_ext_credentials_context.h \
- soap_binding_ext_service_instance_update.h \
- soap_binding_ext_timeout.h \
- soap_binding.h \
- utility_status.h
-endif
-
liblasso_xml_la_SOURCES = \
tools.c \
xml.c \
@@ -187,8 +61,7 @@ liblasso_xml_la_SOURCES = \
samlp_response.c \
samlp_response_abstract.c \
samlp_status.c \
- samlp_status_code.c \
- $(WSF_C_FILES)
+ samlp_status_code.c
liblassoinclude_HEADERS = \
strings.h \
@@ -242,10 +115,9 @@ liblassoinclude_HEADERS = \
samlp_status.h \
samlp_status_code.h \
xml_enc.h \
- tools.h \
- $(WSF_H_FILES)
+ tools.h
lasso_private_h_sources = \
private.h
-EXTRA_DIST = $(lasso_private_h_sources) xml_idff.h xml_idwsf.h
+EXTRA_DIST = $(lasso_private_h_sources) xml_idff.h
diff --git a/lasso/xml/disco_authenticate_requester.c b/lasso/xml/disco_authenticate_requester.c
deleted file mode 100644
index c91bad82..00000000
--- a/lasso/xml/disco_authenticate_requester.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_authenticate_requester.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_authenticate_requester
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoAuthenticateRequester, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoAuthenticateRequesterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AuthenticateRequester");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_authenticate_requester_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoAuthenticateRequesterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoAuthenticateRequester),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoAuthenticateRequester", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoAuthenticateRequester*
-lasso_disco_authenticate_requester_new()
-{
- LassoDiscoAuthenticateRequester *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_authenticate_requester.h b/lasso/xml/disco_authenticate_requester.h
deleted file mode 100644
index 5b1cdc94..00000000
--- a/lasso/xml/disco_authenticate_requester.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_AUTHENTICATE_REQUESTER_H__
-#define __LASSO_DISCO_AUTHENTICATE_REQUESTER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER (lasso_disco_authenticate_requester_get_type())
-#define LASSO_DISCO_AUTHENTICATE_REQUESTER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER, LassoDiscoAuthenticateRequester))
-#define LASSO_DISCO_AUTHENTICATE_REQUESTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER, LassoDiscoAuthenticateRequesterClass))
-#define LASSO_IS_DISCO_AUTHENTICATE_REQUESTER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER))
-#define LASSO_IS_DISCO_AUTHENTICATE_REQUESTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER))
-#define LASSO_DISCO_AUTHENTICATE_REQUESTER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_AUTHENTICATE_REQUESTER, LassoDiscoAuthenticateRequesterClass))
-
-typedef struct _LassoDiscoAuthenticateRequester LassoDiscoAuthenticateRequester;
-typedef struct _LassoDiscoAuthenticateRequesterClass LassoDiscoAuthenticateRequesterClass;
-
-struct _LassoDiscoAuthenticateRequester {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoAuthenticateRequesterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_authenticate_requester_get_type(void);
-
-LASSO_EXPORT LassoDiscoAuthenticateRequester* lasso_disco_authenticate_requester_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_AUTHENTICATE_REQUESTER_H__ */
diff --git a/lasso/xml/disco_authenticate_session_context.c b/lasso/xml/disco_authenticate_session_context.c
deleted file mode 100644
index 7b852a97..00000000
--- a/lasso/xml/disco_authenticate_session_context.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_authenticate_session_context.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_authenticate_session_context
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoAuthenticateSessionContext, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoAuthenticateSessionContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AuthenticateSessionContext");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_authenticate_session_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoAuthenticateSessionContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoAuthenticateSessionContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoAuthenticateSessionContext", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoAuthenticateSessionContext*
-lasso_disco_authenticate_session_context_new()
-{
- LassoDiscoAuthenticateSessionContext *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_authenticate_session_context.h b/lasso/xml/disco_authenticate_session_context.h
deleted file mode 100644
index 8e717be8..00000000
--- a/lasso/xml/disco_authenticate_session_context.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_H__
-#define __LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT \
- (lasso_disco_authenticate_session_context_get_type())
-#define LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT, LassoDiscoAuthenticateSessionContext))
-#define LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT, LassoDiscoAuthenticateSessionContextClass))
-#define LASSO_IS_DISCO_AUTHENTICATE_SESSION_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT))
-#define LASSO_IS_DISCO_AUTHENTICATE_SESSION_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT))
-#define LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_AUTHENTICATE_SESSION_CONTEXT, LassoDiscoAuthenticateSessionContextClass))
-
-typedef struct _LassoDiscoAuthenticateSessionContext LassoDiscoAuthenticateSessionContext;
-typedef struct _LassoDiscoAuthenticateSessionContextClass
- LassoDiscoAuthenticateSessionContextClass;
-
-struct _LassoDiscoAuthenticateSessionContext {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoAuthenticateSessionContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_authenticate_session_context_get_type(void);
-
-LASSO_EXPORT LassoDiscoAuthenticateSessionContext* \
- lasso_disco_authenticate_session_context_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_AUTHENTICATE_SESSION_CONTEXT_H__ */
diff --git a/lasso/xml/disco_authorize_requester.c b/lasso/xml/disco_authorize_requester.c
deleted file mode 100644
index ca73134f..00000000
--- a/lasso/xml/disco_authorize_requester.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_authorize_requester.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_authorize_requester
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoAuthorizeRequester, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoAuthorizeRequesterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AuthorizeRequester");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_authorize_requester_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoAuthorizeRequesterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoAuthorizeRequester),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoAuthorizeRequester", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoAuthorizeRequester*
-lasso_disco_authorize_requester_new()
-{
- LassoDiscoAuthorizeRequester *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_authorize_requester.h b/lasso/xml/disco_authorize_requester.h
deleted file mode 100644
index d527e2e2..00000000
--- a/lasso/xml/disco_authorize_requester.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_AUTHORIZE_REQUESTER_H__
-#define __LASSO_DISCO_AUTHORIZE_REQUESTER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER (lasso_disco_authorize_requester_get_type())
-#define LASSO_DISCO_AUTHORIZE_REQUESTER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER, LassoDiscoAuthorizeRequester))
-#define LASSO_DISCO_AUTHORIZE_REQUESTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER, LassoDiscoAuthorizeRequesterClass))
-#define LASSO_IS_DISCO_AUTHORIZE_REQUESTER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER))
-#define LASSO_IS_DISCO_AUTHORIZE_REQUESTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER))
-#define LASSO_DISCO_AUTHORIZE_REQUESTER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_AUTHORIZE_REQUESTER, LassoDiscoAuthorizeRequesterClass))
-
-typedef struct _LassoDiscoAuthorizeRequester LassoDiscoAuthorizeRequester;
-typedef struct _LassoDiscoAuthorizeRequesterClass LassoDiscoAuthorizeRequesterClass;
-
-struct _LassoDiscoAuthorizeRequester {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoAuthorizeRequesterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_authorize_requester_get_type(void);
-
-LASSO_EXPORT LassoDiscoAuthorizeRequester* lasso_disco_authorize_requester_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_AUTHORIZE_REQUESTER_H__ */
diff --git a/lasso/xml/disco_credentials.c b/lasso/xml/disco_credentials.c
deleted file mode 100644
index 21b26d23..00000000
--- a/lasso/xml/disco_credentials.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_credentials.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_credentials
- * @short_description: <disco:Credentials>
- *
- *
- */
-
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_XMLNODES, G_STRUCT_OFFSET(LassoDiscoCredentials, any), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoCredentialsClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Credentials");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_credentials_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoCredentialsClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoCredentials),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoCredentials", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoCredentials*
-lasso_disco_credentials_new()
-{
- LassoDiscoCredentials *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_CREDENTIALS, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_credentials.h b/lasso/xml/disco_credentials.h
deleted file mode 100644
index d47930bd..00000000
--- a/lasso/xml/disco_credentials.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_CREDENTIALS_H__
-#define __LASSO_DISCO_CREDENTIALS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_CREDENTIALS (lasso_disco_credentials_get_type())
-#define LASSO_DISCO_CREDENTIALS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_CREDENTIALS, LassoDiscoCredentials))
-#define LASSO_DISCO_CREDENTIALS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_CREDENTIALS, LassoDiscoCredentialsClass))
-#define LASSO_IS_DISCO_CREDENTIALS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DISCO_CREDENTIALS))
-#define LASSO_IS_DISCO_CREDENTIALS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DISCO_CREDENTIALS))
-#define LASSO_DISCO_CREDENTIALS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_CREDENTIALS, LassoDiscoCredentialsClass))
-
-typedef struct _LassoDiscoCredentials LassoDiscoCredentials;
-typedef struct _LassoDiscoCredentialsClass LassoDiscoCredentialsClass;
-
-struct _LassoDiscoCredentials {
- LassoNode parent;
-
- GList *any; /* of xmlNode */
-};
-
-struct _LassoDiscoCredentialsClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_credentials_get_type(void);
-LASSO_EXPORT LassoDiscoCredentials* lasso_disco_credentials_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_CREDENTIALS_H__ */
diff --git a/lasso/xml/disco_description.c b/lasso/xml/disco_description.c
deleted file mode 100644
index 59c36a95..00000000
--- a/lasso/xml/disco_description.c
+++ /dev/null
@@ -1,279 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_description.h"
-#include "idwsf_strings.h"
-#include "../id-wsf/wsf_utils.h"
-#include "../utils.h"
-
-/**
- * SECTION:disco_description
- * @short_description: <disco:DescriptionType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "SecurityMechID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoDescription, SecurityMechID), NULL, NULL, NULL},
- { "CredentialRef", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoDescription, CredentialRef), NULL, NULL, NULL},
- { "WsdlURI", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoDiscoDescription, WsdlURI), NULL, NULL, NULL},
- { "ServiceNameRef", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoDescription, ServiceNameRef), NULL, NULL, NULL},
- { "Endpoint", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoDiscoDescription, Endpoint), NULL, NULL, NULL},
- { "SoapAction", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoDiscoDescription, SoapAction), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoDescription, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoDescriptionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Description");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_description_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoDescriptionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoDescription),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoDescription", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoDescription*
-lasso_disco_description_new()
-{
- LassoDiscoDescription *description;
-
- description = g_object_new(LASSO_TYPE_DISCO_DESCRIPTION, NULL);
-
- return description;
-}
-
-LassoDiscoDescription*
-lasso_disco_description_new_with_WsdlRef(const gchar *securityMechID,
- const gchar *wsdlURI,
- const gchar *serviceNameRef)
-{
- LassoDiscoDescription *description;
-
- g_return_val_if_fail(securityMechID != NULL, NULL);
- g_return_val_if_fail(wsdlURI != NULL, NULL);
- g_return_val_if_fail(serviceNameRef != NULL, NULL);
-
- description = g_object_new(LASSO_TYPE_DISCO_DESCRIPTION, NULL);
-
- description->SecurityMechID = g_list_append(description->SecurityMechID,
- g_strdup(securityMechID));
- description->WsdlURI = g_strdup(wsdlURI);
- description->ServiceNameRef = g_strdup(serviceNameRef);
-
- return description;
-}
-
-LassoDiscoDescription*
-lasso_disco_description_new_with_BriefSoapHttpDescription(const gchar *securityMechID,
- const gchar *endpoint,
- const gchar *soapAction)
-{
- LassoDiscoDescription *description;
-
- g_return_val_if_fail(securityMechID != NULL, NULL);
- g_return_val_if_fail(endpoint != NULL, NULL);
-
- description = g_object_new(LASSO_TYPE_DISCO_DESCRIPTION, NULL);
-
- description->SecurityMechID = g_list_append(description->SecurityMechID,
- g_strdup(securityMechID));
- description->Endpoint = g_strdup(endpoint);
- if (soapAction != NULL) {
- description->SoapAction = g_strdup(soapAction);
- }
-
- return description;
-}
-
-LassoDiscoDescription*
-lasso_disco_description_copy(LassoDiscoDescription *description)
-{
- LassoDiscoDescription *newDescription;
- GList *securityMechIds, *credentialRefs;
-
- newDescription = g_object_new(LASSO_TYPE_DISCO_DESCRIPTION, NULL);
-
- securityMechIds = description->SecurityMechID;
- while (securityMechIds) {
- newDescription->SecurityMechID = g_list_append(newDescription->SecurityMechID,
- g_strdup(securityMechIds->data));
- securityMechIds = securityMechIds->next;
- }
-
- credentialRefs = description->CredentialRef;
- while (credentialRefs) {
- newDescription->CredentialRef = g_list_append(newDescription->CredentialRef,
- g_strdup(credentialRefs->data));
- credentialRefs = credentialRefs->next;
- }
-
- newDescription->WsdlURI = g_strdup(description->WsdlURI);
- newDescription->ServiceNameRef = g_strdup(description->ServiceNameRef);
-
- if (description->Endpoint) {
- newDescription->Endpoint = g_strdup(description->Endpoint);
- }
- if (description->SoapAction) {
- newDescription->SoapAction = g_strdup(description->SoapAction);
- }
-
- if (description->id) {
- newDescription->id = g_strdup(description->id);
- }
-
- return newDescription;
-}
-
-/**
- * lasso_disco_description_has_saml_authentication:
- * @profile: a #LassoDiscoDescription
- *
- * Checks if the given description supports any security mechanism using
- * SAML authentication.
- *
- * Returns: %TRUE if SAML is supported by the service description, FALSE if it
- * is not supported of if description is not a valid #LassoDiscoDescription.
- */
-gboolean
-lasso_disco_description_has_saml_authentication(LassoDiscoDescription *description)
-{
- GList *iter;
- gchar *security_mech_id;
-
- lasso_return_val_if_invalid_param(DISCO_DESCRIPTION, description,
- FALSE);
-
- iter = description->SecurityMechID;
- while (iter) {
- security_mech_id = iter->data;
- if (lasso_security_mech_id_is_saml_authentication(
- security_mech_id)) {
- return TRUE;
- }
- iter = g_list_next(iter);
- }
-
- return FALSE;
-}
-
-/**
- * lasso_disco_description_has_x509_authentication:
- * @profile: a #LassoDiscoDescription
- *
- * Checks if the given description supports any security mechanism using
- * X509 authentication.
- *
- * Returns: %TRUE if X509 is supported by the service description, FALSE if it
- * is not supported of if description is not a valid #LassoDiscoDescription.
- */
-gboolean
-lasso_disco_description_has_x509_authentication(LassoDiscoDescription *description)
-{
- GList *iter;
- gchar *security_mech_id;
-
- lasso_return_val_if_invalid_param(DISCO_DESCRIPTION, description,
- FALSE);
-
- iter = description->SecurityMechID;
- while (iter) {
- security_mech_id = iter->data;
- if (lasso_security_mech_id_is_x509_authentication(
- security_mech_id)) {
- return TRUE;
- }
- iter = g_list_next(iter);
- }
-
- return FALSE;
-}
-
diff --git a/lasso/xml/disco_description.h b/lasso/xml/disco_description.h
deleted file mode 100644
index 41ce59f6..00000000
--- a/lasso/xml/disco_description.h
+++ /dev/null
@@ -1,106 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_DESCRIPTION_H__
-#define __LASSO_DISCO_DESCRIPTION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_DESCRIPTION (lasso_disco_description_get_type())
-#define LASSO_DISCO_DESCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_DESCRIPTION, LassoDiscoDescription))
-#define LASSO_DISCO_DESCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_DESCRIPTION, \
- LassoDiscoDescriptionClass))
-#define LASSO_IS_DISCO_DESCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_DESCRIPTION))
-#define LASSO_IS_DISCO_DESCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_DESCRIPTION))
-#define LASSO_DISCO_DESCRIPTION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_DESCRIPTION, \
- LassoDiscoDescriptionClass))
-
-typedef struct _LassoDiscoDescription LassoDiscoDescription;
-typedef struct _LassoDiscoDescriptionClass LassoDiscoDescriptionClass;
-
-struct _LassoDiscoDescription {
- LassoNode parent;
-
- /*
- * - The service instance description SHOULD list of all of the security mechanisms that
- * the service instance supports.
- * - The client SHOULD pick the first mechanism (in the order listed) that it supports;
- * the description SHOULD list them in order of preference, to avoid situations where the
- * client fails to gain access to the service because it picked the wrong security
- * mechanism.
- */
- GList *SecurityMechID; /* of strings */
- GList *CredentialRef; /* of strings */
-
- /* WsdlRef group */
- gchar *WsdlURI;
- gchar *ServiceNameRef;
-
- /* BriefSoapHttpDescription group */
- gchar *Endpoint;
- gchar *SoapAction;
-
- char *id;
-};
-
-struct _LassoDiscoDescriptionClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_description_get_type (void);
-
-LASSO_EXPORT LassoDiscoDescription *lasso_disco_description_copy(
- LassoDiscoDescription *description);
-
-LASSO_EXPORT LassoDiscoDescription* lasso_disco_description_new();
-
-LASSO_EXPORT LassoDiscoDescription* lasso_disco_description_new_with_WsdlRef(
- const gchar *securityMechID,
- const gchar *wsdlURI,
- const gchar *serviceNameRef);
-
-LASSO_EXPORT LassoDiscoDescription* lasso_disco_description_new_with_BriefSoapHttpDescription(
- const gchar *securityMechID,
- const gchar *endpoint,
- const gchar *soapAction);
-
-LASSO_EXPORT gboolean lasso_disco_description_has_saml_authentication(
- LassoDiscoDescription *description);
-
-LASSO_EXPORT gboolean lasso_disco_description_has_x509_authentication(
- LassoDiscoDescription *description);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_DESCRIPTION_H__ */
diff --git a/lasso/xml/disco_encrypt_resource_id.c b/lasso/xml/disco_encrypt_resource_id.c
deleted file mode 100644
index 1b75c99d..00000000
--- a/lasso/xml/disco_encrypt_resource_id.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_encrypt_resource_id.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_encrypt_resource_id
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoEncryptResourceID, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoEncryptResourceIDClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "EncryptResourceID");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_encrypt_resource_id_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoEncryptResourceIDClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoEncryptResourceID),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoEncryptResourceID", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoEncryptResourceID*
-lasso_disco_encrypt_resource_id_new()
-{
- LassoDiscoEncryptResourceID *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_encrypt_resource_id.h b/lasso/xml/disco_encrypt_resource_id.h
deleted file mode 100644
index 2d5c1ee7..00000000
--- a/lasso/xml/disco_encrypt_resource_id.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_ENCRYPT_RESOURCE_ID_H__
-#define __LASSO_DISCO_ENCRYPT_RESOURCE_ID_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID (lasso_disco_encrypt_resource_id_get_type())
-#define LASSO_DISCO_ENCRYPT_RESOURCE_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID, LassoDiscoEncryptResourceID))
-#define LASSO_DISCO_ENCRYPT_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID, \
- LassoDiscoEncryptResourceIDClass))
-#define LASSO_IS_DISCO_ENCRYPT_RESOURCE_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID))
-#define LASSO_IS_DISCO_ENCRYPT_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID))
-#define LASSO_DISCO_ENCRYPT_RESOURCE_ID_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_ENCRYPT_RESOURCE_ID, LassoDiscoEncryptResourceIDClass))
-
-typedef struct _LassoDiscoEncryptResourceID LassoDiscoEncryptResourceID;
-typedef struct _LassoDiscoEncryptResourceIDClass LassoDiscoEncryptResourceIDClass;
-
-struct _LassoDiscoEncryptResourceID {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoEncryptResourceIDClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_encrypt_resource_id_get_type(void);
-
-LASSO_EXPORT LassoDiscoEncryptResourceID* lasso_disco_encrypt_resource_id_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_ENCRYPT_RESOURCE_ID_H__ */
diff --git a/lasso/xml/disco_encrypted_resource_id.c b/lasso/xml/disco_encrypted_resource_id.c
deleted file mode 100644
index b63cb5e7..00000000
--- a/lasso/xml/disco_encrypted_resource_id.c
+++ /dev/null
@@ -1,109 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_encrypted_resource_id.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_encrypted_resource_id
- * @short_description: <disco:EncryptedResourceID>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "EncryptedData", SNIPPET_XMLNODE,
- G_STRUCT_OFFSET(LassoDiscoEncryptedResourceID, EncryptedData), NULL,
- LASSO_XMLENC_PREFIX, LASSO_XMLENC_HREF},
- { "EncryptedKey", SNIPPET_LIST_XMLNODES,
- G_STRUCT_OFFSET(LassoDiscoEncryptedResourceID, EncryptedKey), NULL,
- LASSO_XMLENC_PREFIX, LASSO_XMLENC_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoEncryptedResourceIDClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "EncryptedResourceID");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_encrypted_resource_id_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoEncryptedResourceIDClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoEncryptedResourceID),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoEncryptedResourceID",
- &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoEncryptedResourceID*
-lasso_disco_encrypted_resource_id_new()
-{
- LassoDiscoEncryptedResourceID *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_encrypted_resource_id.h b/lasso/xml/disco_encrypted_resource_id.h
deleted file mode 100644
index d48693be..00000000
--- a/lasso/xml/disco_encrypted_resource_id.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_ENCRYPTED_RESOURCE_ID_H__
-#define __LASSO_DISCO_ENCRYPTED_RESOURCE_ID_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID (lasso_disco_encrypted_resource_id_get_type())
-#define LASSO_DISCO_ENCRYPTED_RESOURCE_ID(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID, LassoDiscoEncryptedResourceID))
-#define LASSO_DISCO_ENCRYPTED_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID, \
- LassoDiscoEncryptedResourceIDClass))
-#define LASSO_IS_DISCO_ENCRYPTED_RESOURCE_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID))
-#define LASSO_IS_DISCO_ENCRYPTED_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID))
-#define LASSO_DISCO_ENCRYPTED_RESOURCE_ID_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_ENCRYPTED_RESOURCE_ID, \
- LassoDiscoEncryptedResourceIDClass))
-
-typedef struct _LassoDiscoEncryptedResourceID LassoDiscoEncryptedResourceID;
-typedef struct _LassoDiscoEncryptedResourceIDClass LassoDiscoEncryptedResourceIDClass;
-
-struct _LassoDiscoEncryptedResourceID {
- LassoNode parent;
-
- xmlNode *EncryptedData;
- GList *EncryptedKey; /* of xmlNode* */
-};
-
-struct _LassoDiscoEncryptedResourceIDClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_encrypted_resource_id_get_type(void);
-
-LASSO_EXPORT LassoDiscoEncryptedResourceID* lasso_disco_encrypted_resource_id_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_ENCRYPTED_RESOURCE_ID_H__ */
diff --git a/lasso/xml/disco_generate_bearer_token.c b/lasso/xml/disco_generate_bearer_token.c
deleted file mode 100644
index a25b0c0c..00000000
--- a/lasso/xml/disco_generate_bearer_token.c
+++ /dev/null
@@ -1,102 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_generate_bearer_token.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_generate_bearer_token
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoGenerateBearerToken, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoGenerateBearerTokenClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "GenerateBearerToken");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_generate_bearer_token_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoGenerateBearerTokenClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoGenerateBearerToken),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoGenerateBearerToken", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoGenerateBearerToken*
-lasso_disco_generate_bearer_token_new()
-{
- LassoDiscoGenerateBearerToken *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_generate_bearer_token.h b/lasso/xml/disco_generate_bearer_token.h
deleted file mode 100644
index 2480f09d..00000000
--- a/lasso/xml/disco_generate_bearer_token.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_GENERATE_BEARER_TOKEN_H__
-#define __LASSO_DISCO_GENERATE_BEARER_TOKEN_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN (lasso_disco_generate_bearer_token_get_type())
-#define LASSO_DISCO_GENERATE_BEARER_TOKEN(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN, LassoDiscoGenerateBearerToken))
-#define LASSO_DISCO_GENERATE_BEARER_TOKEN_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN, LassoDiscoGenerateBearerTokenClass))
-#define LASSO_IS_DISCO_GENERATE_BEARER_TOKEN(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN))
-#define LASSO_IS_DISCO_GENERATE_BEARER_TOKEN_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN))
-#define LASSO_DISCO_GENERATE_BEARER_TOKEN_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_GENERATE_BEARER_TOKEN, LassoDiscoGenerateBearerTokenClass))
-
-typedef struct _LassoDiscoGenerateBearerToken LassoDiscoGenerateBearerToken;
-typedef struct _LassoDiscoGenerateBearerTokenClass LassoDiscoGenerateBearerTokenClass;
-
-struct _LassoDiscoGenerateBearerToken {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoGenerateBearerTokenClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_generate_bearer_token_get_type(void);
-
-LASSO_EXPORT LassoDiscoGenerateBearerToken* lasso_disco_generate_bearer_token_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_GENERATE_BEARER_TOKEN_H__ */
diff --git a/lasso/xml/disco_insert_entry.c b/lasso/xml/disco_insert_entry.c
deleted file mode 100644
index bdd4993a..00000000
--- a/lasso/xml/disco_insert_entry.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_insert_entry.h"
-#include "idwsf_strings.h"
-#include "../utils.h"
-
-/**
- * SECTION:disco_insert_entry
- * @short_description: <disco:InsertEntryType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceOffering", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoInsertEntry, ResourceOffering), NULL, NULL, NULL},
- { "", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDiscoInsertEntry, any), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoInsertEntryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InsertEntry");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_insert_entry_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoInsertEntryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoInsertEntry),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoInsertEntry", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoInsertEntry*
-lasso_disco_insert_entry_new(LassoDiscoResourceOffering *resourceOffering)
-{
- LassoDiscoInsertEntry *insertEntry;
-
- g_return_val_if_fail(LASSO_IS_DISCO_RESOURCE_OFFERING(resourceOffering) == TRUE, NULL);
-
- insertEntry = g_object_new(LASSO_TYPE_DISCO_INSERT_ENTRY, NULL);
- lasso_assign_gobject(insertEntry->ResourceOffering, resourceOffering);
-
- return insertEntry;
-}
diff --git a/lasso/xml/disco_insert_entry.h b/lasso/xml/disco_insert_entry.h
deleted file mode 100644
index 0d67bbe5..00000000
--- a/lasso/xml/disco_insert_entry.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_INSERT_ENTRY_H__
-#define __LASSO_DISCO_INSERT_ENTRY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_resource_offering.h"
-
-#define LASSO_TYPE_DISCO_INSERT_ENTRY (lasso_disco_insert_entry_get_type())
-#define LASSO_DISCO_INSERT_ENTRY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_INSERT_ENTRY, LassoDiscoInsertEntry))
-#define LASSO_DISCO_INSERT_ENTRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_INSERT_ENTRY, \
- LassoDiscoInsertEntryClass))
-#define LASSO_IS_DISCO_INSERT_ENTRY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_INSERT_ENTRY))
-#define LASSO_IS_DISCO_INSERT_ENTRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_INSERT_ENTRY))
-#define LASSO_DISCO_INSERT_ENTRY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_INSERT_ENTRY, \
- LassoDiscoInsertEntryClass))
-
-typedef struct _LassoDiscoInsertEntry LassoDiscoInsertEntry;
-typedef struct _LassoDiscoInsertEntryClass LassoDiscoInsertEntryClass;
-
-struct _LassoDiscoInsertEntry {
- LassoNode parent;
-
- LassoDiscoResourceOffering *ResourceOffering;
- GList *any; /* of LassoNode */
-};
-
-struct _LassoDiscoInsertEntryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_insert_entry_get_type(void);
-LASSO_EXPORT LassoDiscoInsertEntry* lasso_disco_insert_entry_new(
- LassoDiscoResourceOffering *resourceOffering);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_INSERT_ENTRY_H__ */
diff --git a/lasso/xml/disco_modify.c b/lasso/xml/disco_modify.c
deleted file mode 100644
index c03f6fdf..00000000
--- a/lasso/xml/disco_modify.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_modify.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_modify
- * @short_description: <disco:Modify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDiscoModify, ResourceID), NULL, NULL, NULL},
- { "EncryptedResourceID", SNIPPET_NODE, \
- G_STRUCT_OFFSET(LassoDiscoModify, EncryptedResourceID), NULL, NULL, NULL},
- { "InsertEntry", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDiscoModify, InsertEntry), NULL, NULL, NULL},
- { "RemoveEntry", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDiscoModify, RemoveEntry), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoModify, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoModifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Modify");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_modify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoModifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoModify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoModify", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoModify*
-lasso_disco_modify_new()
-{
- LassoDiscoModify *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_MODIFY, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_modify.h b/lasso/xml/disco_modify.h
deleted file mode 100644
index cba5e7aa..00000000
--- a/lasso/xml/disco_modify.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_MODIFY_H__
-#define __LASSO_DISCO_MODIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_resource_id.h"
-#include "disco_encrypted_resource_id.h"
-
-#define LASSO_TYPE_DISCO_MODIFY (lasso_disco_modify_get_type())
-#define LASSO_DISCO_MODIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_MODIFY, LassoDiscoModify))
-#define LASSO_DISCO_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_MODIFY, LassoDiscoModifyClass))
-#define LASSO_IS_DISCO_MODIFY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_MODIFY))
-#define LASSO_IS_DISCO_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_MODIFY))
-#define LASSO_DISCO_MODIFY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_MODIFY, LassoDiscoModifyClass))
-
-typedef struct _LassoDiscoModify LassoDiscoModify;
-typedef struct _LassoDiscoModifyClass LassoDiscoModifyClass;
-
-struct _LassoDiscoModify {
- LassoNode parent;
-
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
-
- GList *InsertEntry; /* of LassoNode */
- GList *RemoveEntry; /* of LassoNode */
-
- char *id;
-};
-
-struct _LassoDiscoModifyClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_modify_get_type (void);
-
-LASSO_EXPORT LassoDiscoModify* lasso_disco_modify_new (void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_MODIFY_H__ */
diff --git a/lasso/xml/disco_modify_response.c b/lasso/xml/disco_modify_response.c
deleted file mode 100644
index d8bdc055..00000000
--- a/lasso/xml/disco_modify_response.c
+++ /dev/null
@@ -1,156 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_modify_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_modify_response
- * @short_description: <disco:ModifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDiscoModifyResponse, Status), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoModifyResponse, id), NULL, NULL, NULL},
- { "newEntryIDs", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoModifyResponse, newEntryIDs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL)
- insure_namespace(t, ns);
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_DISCO_HREF, (xmlChar*)LASSO_DISCO_PREFIX);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoModifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ModifyResponse");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_modify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoModifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoModifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoModifyResponse",
- &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoModifyResponse*
-lasso_disco_modify_response_new(LassoUtilityStatus *status)
-{
- LassoDiscoModifyResponse *response;
-
- g_return_val_if_fail(LASSO_IS_UTILITY_STATUS(status), NULL);
-
- response = g_object_new(LASSO_TYPE_DISCO_MODIFY_RESPONSE, NULL);
-
- response->Status = status;
-
- return response;
-}
diff --git a/lasso/xml/disco_modify_response.h b/lasso/xml/disco_modify_response.h
deleted file mode 100644
index effe7f8f..00000000
--- a/lasso/xml/disco_modify_response.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_MODIFY_RESPONSE_H__
-#define __LASSO_DISCO_MODIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "utility_status.h"
-
-#define LASSO_TYPE_DISCO_MODIFY_RESPONSE (lasso_disco_modify_response_get_type())
-#define LASSO_DISCO_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_MODIFY_RESPONSE, \
- LassoDiscoModifyResponse))
-#define LASSO_DISCO_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_MODIFY_RESPONSE, \
- LassoDiscoModifyResponseClass))
-#define LASSO_IS_DISCO_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_MODIFY_RESPONSE))
-#define LASSO_IS_DISCO_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_MODIFY_RESPONSE))
-#define LASSO_DISCO_MODIFY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_MODIFY_RESPONSE, \
- LassoDiscoModifyResponseClass))
-
-typedef struct _LassoDiscoModifyResponse LassoDiscoModifyResponse;
-typedef struct _LassoDiscoModifyResponseClass LassoDiscoModifyResponseClass;
-
-struct _LassoDiscoModifyResponse {
- LassoNode parent;
-
- /*
- * - QNames define in strings.h (LASSO_DISCO_STATUS_CODE_* ) are expected to appear in
- * the"code" attribute of Status elements used in Discovery Service protocol messages.
- * - The "ref" attribute on the Status element is not used in this specification,
- * so it MUST not appear on Status elements in Discovery Service protocol messages.
- * - The contents of the "comment" attribute are not defined by this specification,
- * but it may be used for additional descriptive text intended for human consumption
- * (for example, to carry information that will aid debugging).
- */
- LassoUtilityStatus *Status;
-
- char *id;
- char *newEntryIDs;
-};
-
-struct _LassoDiscoModifyResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_modify_response_get_type (void);
-
-LASSO_EXPORT LassoDiscoModifyResponse* lasso_disco_modify_response_new(LassoUtilityStatus *status);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_MODIFY_RESPONSE_H__ */
diff --git a/lasso/xml/disco_options.c b/lasso/xml/disco_options.c
deleted file mode 100644
index 10d33dea..00000000
--- a/lasso/xml/disco_options.c
+++ /dev/null
@@ -1,98 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_options.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_options
- * @short_description: <disco:Options>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Option", SNIPPET_LIST_CONTENT, G_STRUCT_OFFSET(LassoDiscoOptions, Option), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoOptionsClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Options");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_options_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoOptionsClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoOptions),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoOptions", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoOptions*
-lasso_disco_options_new()
-{
- return g_object_new(LASSO_TYPE_DISCO_OPTIONS, NULL);
-}
diff --git a/lasso/xml/disco_options.h b/lasso/xml/disco_options.h
deleted file mode 100644
index 06503a76..00000000
--- a/lasso/xml/disco_options.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_OPTIONS_H__
-#define __LASSO_DISCO_OPTIONS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_OPTIONS (lasso_disco_options_get_type())
-#define LASSO_DISCO_OPTIONS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_OPTIONS, LassoDiscoOptions))
-#define LASSO_DISCO_OPTIONS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_OPTIONS, LassoDiscoOptionsClass))
-#define LASSO_IS_DISCO_OPTIONS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_OPTIONS))
-#define LASSO_IS_DISCO_OPTIONS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_OPTIONS))
-#define LASSO_DISCO_OPTIONS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_OPTIONS, LassoDiscoOptionsClass))
-
-typedef struct _LassoDiscoOptions LassoDiscoOptions;
-typedef struct _LassoDiscoOptionsClass LassoDiscoOptionsClass;
-
-struct _LassoDiscoOptions {
- LassoNode parent;
-
- GList *Option; /* of strings */
-};
-
-struct _LassoDiscoOptionsClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_options_get_type(void);
-
-LASSO_EXPORT LassoDiscoOptions* lasso_disco_options_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_OPTIONS_H__ */
diff --git a/lasso/xml/disco_query.c b/lasso/xml/disco_query.c
deleted file mode 100644
index 905bb9b8..00000000
--- a/lasso/xml/disco_query.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_query.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_query
- * @short_description: <disco:Query>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDiscoQuery, ResourceID), NULL, NULL, NULL},
- { "EncryptedResourceID",
- SNIPPET_NODE, G_STRUCT_OFFSET(LassoDiscoQuery, EncryptedResourceID), NULL, NULL, NULL},
- { "RequestedServiceType", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoDiscoQuery, RequestedServiceType), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoQuery, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Query");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoQuery", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoQuery*
-lasso_disco_query_new()
-{
- LassoDiscoQuery *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_QUERY, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_query.h b/lasso/xml/disco_query.h
deleted file mode 100644
index ca41fd61..00000000
--- a/lasso/xml/disco_query.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_QUERY_H__
-#define __LASSO_DISCO_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_resource_id.h"
-#include "disco_encrypted_resource_id.h"
-#include "disco_requested_service_type.h"
-
-#define LASSO_TYPE_DISCO_QUERY (lasso_disco_query_get_type())
-#define LASSO_DISCO_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_QUERY, LassoDiscoQuery))
-#define LASSO_DISCO_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_QUERY, LassoDiscoQueryClass))
-#define LASSO_IS_DISCO_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_QUERY))
-#define LASSO_IS_DISCO_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_QUERY))
-#define LASSO_DISCO_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_QUERY, LassoDiscoQueryClass))
-
-typedef struct _LassoDiscoQuery LassoDiscoQuery;
-typedef struct _LassoDiscoQueryClass LassoDiscoQueryClass;
-
-struct _LassoDiscoQuery {
- LassoNode parent;
-
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
- GList *RequestedServiceType; /* of LassoNode */
- gchar *id;
-};
-
-struct _LassoDiscoQueryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_query_get_type(void);
-
-LASSO_EXPORT LassoDiscoQuery* lasso_disco_query_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_QUERY_H__ */
diff --git a/lasso/xml/disco_query_response.c b/lasso/xml/disco_query_response.c
deleted file mode 100644
index 937ec6d2..00000000
--- a/lasso/xml/disco_query_response.c
+++ /dev/null
@@ -1,152 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_query_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_query_response
- * @short_description: <disco:QueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoQueryResponse, Status), NULL, NULL, NULL},
- { "ResourceOffering", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoDiscoQueryResponse, ResourceOffering), NULL, NULL, NULL},
- { "Credentials", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoQueryResponse, Credentials), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoQueryResponse, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL)
- insure_namespace(t, ns);
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(NULL, (xmlChar*)LASSO_DISCO_HREF, (xmlChar*)LASSO_DISCO_PREFIX);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoQueryResponseClass *class, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(class);
-
- parent_class = g_type_class_peek_parent(class);
- nclass->get_xmlNode = get_xmlNode;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoQueryResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoQueryResponse*
-lasso_disco_query_response_new(LassoUtilityStatus *status)
-{
- LassoDiscoQueryResponse *node;
-
- g_return_val_if_fail(LASSO_IS_UTILITY_STATUS(status), NULL);
-
- node = g_object_new(LASSO_TYPE_DISCO_QUERY_RESPONSE, NULL);
-
- node->Status = status;
-
- return node;
-}
diff --git a/lasso/xml/disco_query_response.h b/lasso/xml/disco_query_response.h
deleted file mode 100644
index 79047f17..00000000
--- a/lasso/xml/disco_query_response.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_QUERY_RESPONSE_H__
-#define __LASSO_DISCO_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_credentials.h"
-#include "utility_status.h"
-
-#define LASSO_TYPE_DISCO_QUERY_RESPONSE (lasso_disco_query_response_get_type())
-#define LASSO_DISCO_QUERY_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_QUERY_RESPONSE, LassoDiscoQueryResponse))
-#define LASSO_DISCO_QUERY_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_QUERY_RESPONSE, LassoDiscoQueryResponseClass))
-#define LASSO_IS_DISCO_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_QUERY_RESPONSE))
-#define LASSO_IS_DISCO_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_QUERY_RESPONSE))
-#define LASSO_DISCO_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_QUERY_RESPONSE, \
- LassoDiscoQueryResponseClass))
-
-typedef struct _LassoDiscoQueryResponse LassoDiscoQueryResponse;
-typedef struct _LassoDiscoQueryResponseClass LassoDiscoQueryResponseClass;
-
-struct _LassoDiscoQueryResponse {
- LassoNode parent;
-
- LassoUtilityStatus *Status;
- GList *ResourceOffering; /* of LassoNode */
- LassoDiscoCredentials *Credentials;
-
- char *id;
-};
-
-struct _LassoDiscoQueryResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_query_response_get_type(void);
-
-LASSO_EXPORT LassoDiscoQueryResponse* lasso_disco_query_response_new(LassoUtilityStatus *status);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/disco_remove_entry.c b/lasso/xml/disco_remove_entry.c
deleted file mode 100644
index b599056e..00000000
--- a/lasso/xml/disco_remove_entry.c
+++ /dev/null
@@ -1,109 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_remove_entry.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_remove_entry
- * @short_description: <disco:RemoveEntryType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "entryID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoRemoveEntry, entryID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDiscoRemoveEntryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RemoveEntry");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_remove_entry_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoRemoveEntryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoRemoveEntry),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoRemoveEntry", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoRemoveEntry*
-lasso_disco_remove_entry_new(const gchar *entryID)
-{
- LassoDiscoRemoveEntry *entry;
-
- g_return_val_if_fail(entryID != NULL, NULL);
-
- entry = g_object_new(LASSO_TYPE_DISCO_REMOVE_ENTRY, NULL);
- entry->entryID = g_strdup(entryID);
-
- return entry;
-}
diff --git a/lasso/xml/disco_remove_entry.h b/lasso/xml/disco_remove_entry.h
deleted file mode 100644
index 80697197..00000000
--- a/lasso/xml/disco_remove_entry.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_REMOVE_ENTRY_H__
-#define __LASSO_DISCO_REMOVE_ENTRY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_REMOVE_ENTRY (lasso_disco_remove_entry_get_type())
-#define LASSO_DISCO_REMOVE_ENTRY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_REMOVE_ENTRY, LassoDiscoRemoveEntry))
-#define LASSO_DISCO_REMOVE_ENTRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_REMOVE_ENTRY, \
- LassoDiscoRemoveEntryClass))
-#define LASSO_IS_DISCO_REMOVE_ENTRY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_REMOVE_ENTRY))
-#define LASSO_IS_DISCO_REMOVE_ENTRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_REMOVE_ENTRY))
-#define LASSO_DISCO_REMOVE_ENTRY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_REMOVE_ENTRY, \
- LassoDiscoRemoveEntryClass))
-
-typedef struct _LassoDiscoRemoveEntry LassoDiscoRemoveEntry;
-typedef struct _LassoDiscoRemoveEntryClass LassoDiscoRemoveEntryClass;
-
-struct _LassoDiscoRemoveEntry {
- LassoNode parent;
-
- char *entryID;
-};
-
-struct _LassoDiscoRemoveEntryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_remove_entry_get_type(void);
-
-LASSO_EXPORT LassoDiscoRemoveEntry* lasso_disco_remove_entry_new(const gchar *entryID);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_REMOVE_ENTRY_H__ */
diff --git a/lasso/xml/disco_requested_service_type.c b/lasso/xml/disco_requested_service_type.c
deleted file mode 100644
index e7981fb5..00000000
--- a/lasso/xml/disco_requested_service_type.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_requested_service_type.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_requested_service_type
- * @short_description: <disco:RequestedServiceType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ServiceType", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoRequestedServiceType, ServiceType), NULL, NULL, NULL},
- { "Options", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoRequestedServiceType, Options), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoRequestedServiceTypeClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RequestedServiceType");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_requested_service_type_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoRequestedServiceTypeClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoRequestedServiceType),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoRequestedServiceType", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoRequestedServiceType*
-lasso_disco_requested_service_type_new(const char *serviceType)
-{
- LassoDiscoRequestedServiceType *node;
-
- g_return_val_if_fail(serviceType != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE, NULL);
-
- node->ServiceType = g_strdup(serviceType);
-
- return node;
-}
diff --git a/lasso/xml/disco_requested_service_type.h b/lasso/xml/disco_requested_service_type.h
deleted file mode 100644
index b0efc821..00000000
--- a/lasso/xml/disco_requested_service_type.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_REQUESTED_SERVICE_TYPE_H__
-#define __LASSO_DISCO_REQUESTED_SERVICE_TYPE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_options.h"
-
-#define LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE (lasso_disco_requested_service_type_get_type())
-#define LASSO_DISCO_REQUESTED_SERVICE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE, LassoDiscoRequestedServiceType))
-#define LASSO_DISCO_REQUESTED_SERVICE_TYPE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE, \
- LassoDiscoRequestedServiceTypeClass))
-#define LASSO_IS_DISCO_REQUESTED_SERVICE_TYPE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE))
-#define LASSO_IS_DISCO_REQUESTED_SERVICE_TYPE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE))
-#define LASSO_DISCO_REQUESTED_SERVICE_TYPE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_REQUESTED_SERVICE_TYPE, \
- LassoDiscoRequestedServiceTypeClass))
-
-typedef struct _LassoDiscoRequestedServiceType LassoDiscoRequestedServiceType;
-typedef struct _LassoDiscoRequestedServiceTypeClass LassoDiscoRequestedServiceTypeClass;
-
-struct _LassoDiscoRequestedServiceType {
- LassoNode parent;
-
- char *ServiceType;
- LassoDiscoOptions *Options;
-};
-
-struct _LassoDiscoRequestedServiceTypeClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_requested_service_type_get_type(void);
-LASSO_EXPORT LassoDiscoRequestedServiceType* lasso_disco_requested_service_type_new(
- const char *serviceType);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_REQUESTED_SERVICE_TYPE_H__ */
diff --git a/lasso/xml/disco_resource_id.c b/lasso/xml/disco_resource_id.c
deleted file mode 100644
index 089d944f..00000000
--- a/lasso/xml/disco_resource_id.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_resource_id.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_resource_id
- * @short_description: <disco:ResourceID>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDiscoResourceID, id), NULL, NULL, NULL},
- { "", SNIPPET_TEXT_CHILD, G_STRUCT_OFFSET(LassoDiscoResourceID, content), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoResourceIDClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResourceID");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_resource_id_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoResourceIDClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoResourceID),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoResourceID", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoResourceID*
-lasso_disco_resource_id_new(const gchar *content)
-{
- LassoDiscoResourceID *node;
-
- g_return_val_if_fail(content != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_DISCO_RESOURCE_ID, NULL);
- node->content = g_strdup(content);
-
- return node;
-}
diff --git a/lasso/xml/disco_resource_id.h b/lasso/xml/disco_resource_id.h
deleted file mode 100644
index 38ba8028..00000000
--- a/lasso/xml/disco_resource_id.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_RESOURCE_ID_H__
-#define __LASSO_DISCO_RESOURCE_ID_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_RESOURCE_ID (lasso_disco_resource_id_get_type())
-#define LASSO_DISCO_RESOURCE_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_RESOURCE_ID, LassoDiscoResourceID))
-#define LASSO_DISCO_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_RESOURCE_ID, \
- LassoDiscoResourceIDClass))
-#define LASSO_IS_DISCO_RESOURCE_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_RESOURCE_ID))
-#define LASSO_IS_DISCO_RESOURCE_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_RESOURCE_ID))
-#define LASSO_DISCO_RESOURCE_ID_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_RESOURCE_ID, \
- LassoDiscoResourceIDClass))
-
-typedef struct _LassoDiscoResourceID LassoDiscoResourceID;
-typedef struct _LassoDiscoResourceIDClass LassoDiscoResourceIDClass;
-
-struct _LassoDiscoResourceID {
- LassoNode parent;
-
- gchar *content;
-
- gchar *id;
-};
-
-struct _LassoDiscoResourceIDClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_resource_id_get_type(void);
-
-LASSO_EXPORT LassoDiscoResourceID* lasso_disco_resource_id_new(const gchar *content);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_RESOURCE_ID_H__ */
diff --git a/lasso/xml/disco_resource_offering.c b/lasso/xml/disco_resource_offering.c
deleted file mode 100644
index d2f1a90d..00000000
--- a/lasso/xml/disco_resource_offering.c
+++ /dev/null
@@ -1,127 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_resource_offering.h"
-#include "idwsf_strings.h"
-#include "../utils.h"
-
-/**
- * SECTION:disco_resource_offering
- * @short_description: <disco:ResourceOffering>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, ResourceID), NULL, NULL, NULL},
- { "EncryptedResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, EncryptedResourceID), NULL, NULL, NULL},
- { "ServiceInstance", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, ServiceInstance), NULL, NULL, NULL},
- { "Options", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, Options), NULL, NULL, NULL},
- { "Abstract", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, Abstract), NULL, NULL, NULL},
- { "entryID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoResourceOffering, entryID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoResourceOfferingClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResourceOffering");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_resource_offering_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoResourceOfferingClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoResourceOffering),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoResourceOffering", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoResourceOffering*
-lasso_disco_resource_offering_new(LassoDiscoServiceInstance *serviceInstance)
-{
- LassoDiscoResourceOffering *resource;
-
- g_return_val_if_fail(LASSO_IS_DISCO_SERVICE_INSTANCE(serviceInstance), NULL);
-
- resource = g_object_new(LASSO_TYPE_DISCO_RESOURCE_OFFERING, NULL);
- lasso_assign_gobject(resource->ServiceInstance, serviceInstance);
-
- return resource;
-}
diff --git a/lasso/xml/disco_resource_offering.h b/lasso/xml/disco_resource_offering.h
deleted file mode 100644
index 5573d5ff..00000000
--- a/lasso/xml/disco_resource_offering.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_RESOURCE_OFFERING_H__
-#define __LASSO_DISCO_RESOURCE_OFFERING_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_resource_id.h"
-#include "disco_encrypted_resource_id.h"
-#include "disco_service_instance.h"
-#include "disco_options.h"
-
-#define LASSO_TYPE_DISCO_RESOURCE_OFFERING (lasso_disco_resource_offering_get_type())
-#define LASSO_DISCO_RESOURCE_OFFERING(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_RESOURCE_OFFERING, \
- LassoDiscoResourceOffering))
-#define LASSO_DISCO_RESOURCE_OFFERING_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_RESOURCE_OFFERING, \
- LassoDiscoResourceOfferingClass))
-#define LASSO_IS_DISCO_RESOURCE_OFFERING(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_RESOURCE_OFFERING))
-#define LASSO_IS_DISCO_RESOURCE_OFFERING_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_RESOURCE_OFFERING))
-#define LASSO_DISCO_RESOURCE_OFFERING_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_RESOURCE_OFFERING, \
- LassoDiscoResourceOfferingClass))
-
-typedef struct _LassoDiscoResourceOffering LassoDiscoResourceOffering;
-typedef struct _LassoDiscoResourceOfferingClass LassoDiscoResourceOfferingClass;
-
-struct _LassoDiscoResourceOffering {
- LassoNode parent;
-
- /* elements */
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
- LassoDiscoServiceInstance *ServiceInstance;
-
- /*
- * If the Options element is present, but it is empty, it means that the service instance
- * explicitly advertises that none of the options are available.
- */
- LassoDiscoOptions *Options;
- gchar *Abstract;
-
- /* attributes */
- gchar *entryID;
-};
-
-struct _LassoDiscoResourceOfferingClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_resource_offering_get_type(void);
-
-LASSO_EXPORT LassoDiscoResourceOffering* lasso_disco_resource_offering_new(
- LassoDiscoServiceInstance *serviceInstance);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_RESOURCE_OFFERING_H__ */
diff --git a/lasso/xml/disco_send_single_logout.c b/lasso/xml/disco_send_single_logout.c
deleted file mode 100644
index b4378d32..00000000
--- a/lasso/xml/disco_send_single_logout.c
+++ /dev/null
@@ -1,105 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_send_single_logout.h"
-#include "idwsf_strings.h"
-#include "../registry.h"
-
-/**
- * SECTION:disco_send_single_logout
- * @short_description: <disco:DirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "descriptionIDRefs",SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDiscoSendSingleLogout, descriptionIDRefs), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoSendSingleLogoutClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SendSingleLogOut");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_send_single_logout_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoSendSingleLogoutClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoSendSingleLogout),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoSendSingleLogout", &this_info, 0);
- lasso_registry_default_add_direct_mapping(LASSO_DISCO_HREF, "SendSingleLogOut",
- LASSO_LASSO_HREF, "LassoDiscoSendSingleLogout");
- }
- return this_type;
-}
-
-LassoDiscoSendSingleLogout*
-lasso_disco_send_single_logout_new()
-{
- LassoDiscoSendSingleLogout *node;
-
- node = g_object_new(LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/disco_send_single_logout.h b/lasso/xml/disco_send_single_logout.h
deleted file mode 100644
index 9b4f5b31..00000000
--- a/lasso/xml/disco_send_single_logout.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_SEND_SINGLE_LOGOUT_H__
-#define __LASSO_DISCO_SEND_SINGLE_LOGOUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT (lasso_disco_send_single_logout_get_type())
-#define LASSO_DISCO_SEND_SINGLE_LOGOUT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT, LassoDiscoSendSingleLogout))
-#define LASSO_DISCO_SEND_SINGLE_LOGOUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT, LassoDiscoSendSingleLogoutClass))
-#define LASSO_IS_DISCO_SEND_SINGLE_LOGOUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT))
-#define LASSO_IS_DISCO_SEND_SINGLE_LOGOUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT))
-#define LASSO_DISCO_SEND_SINGLE_LOGOUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DISCO_SEND_SINGLE_LOGOUT, LassoDiscoSendSingleLogoutClass))
-
-typedef struct _LassoDiscoSendSingleLogout LassoDiscoSendSingleLogout;
-typedef struct _LassoDiscoSendSingleLogoutClass LassoDiscoSendSingleLogoutClass;
-
-struct _LassoDiscoSendSingleLogout {
- LassoNode parent;
-
- gchar *descriptionIDRefs;
-};
-
-struct _LassoDiscoSendSingleLogoutClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_send_single_logout_get_type(void);
-
-LASSO_EXPORT LassoDiscoSendSingleLogout* lasso_disco_send_single_logout_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_SEND_SINGLE_LOGOUT_H__ */
diff --git a/lasso/xml/disco_service_instance.c b/lasso/xml/disco_service_instance.c
deleted file mode 100644
index 46c51950..00000000
--- a/lasso/xml/disco_service_instance.c
+++ /dev/null
@@ -1,150 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "disco_service_instance.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:disco_service_instance
- * @short_description: <disco:ServiceInstanceType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ServiceType", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoServiceInstance, ServiceType), NULL, NULL, NULL},
- { "ProviderID", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoDiscoServiceInstance, ProviderID), NULL, NULL, NULL},
- { "Description", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoDiscoServiceInstance, Description), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoDiscoServiceInstanceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ServiceInstance");
- lasso_node_class_set_ns(nclass, LASSO_DISCO_HREF, LASSO_DISCO_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_disco_service_instance_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDiscoServiceInstanceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDiscoServiceInstance),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDiscoServiceInstance", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDiscoServiceInstance*
-lasso_disco_service_instance_new(const gchar *serviceType,
- const gchar *providerID,
- LassoDiscoDescription *description)
-{
- LassoDiscoServiceInstance *service_instance;
-
- g_return_val_if_fail (serviceType != NULL, NULL);
- g_return_val_if_fail (providerID != NULL, NULL);
- g_return_val_if_fail(LASSO_IS_DISCO_DESCRIPTION(description) == TRUE, NULL);
-
- g_object_ref(description);
-
- service_instance = g_object_new(LASSO_TYPE_DISCO_SERVICE_INSTANCE, NULL);
-
- service_instance->ServiceType = g_strdup(serviceType);
- service_instance->ProviderID = g_strdup(providerID);
-
- service_instance->Description = g_list_append(service_instance->Description,
- description);
-
- return service_instance;
-}
-
-LassoDiscoServiceInstance*
-lasso_disco_service_instance_copy(LassoDiscoServiceInstance *serviceInstance)
-{
- LassoDiscoServiceInstance *newServiceInstance;
- LassoDiscoDescription *newDescription;
- GList *description;
-
- g_return_val_if_fail(LASSO_IS_DISCO_SERVICE_INSTANCE(serviceInstance) == TRUE, NULL);
-
- newServiceInstance = g_object_new(LASSO_TYPE_DISCO_SERVICE_INSTANCE, NULL);
-
- newServiceInstance->ServiceType = g_strdup(serviceInstance->ServiceType);
- newServiceInstance->ProviderID = g_strdup(serviceInstance->ProviderID);
-
- description = serviceInstance->Description;
- while (description) {
- newDescription = lasso_disco_description_copy(
- LASSO_DISCO_DESCRIPTION(description->data));
- newServiceInstance->Description = g_list_append(newServiceInstance->Description,
- newDescription);
- description = description->next;
- }
-
- return newServiceInstance;
-}
diff --git a/lasso/xml/disco_service_instance.h b/lasso/xml/disco_service_instance.h
deleted file mode 100644
index ecd0ccb0..00000000
--- a/lasso/xml/disco_service_instance.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DISCO_SERVICE_INSTANCE_H__
-#define __LASSO_DISCO_SERVICE_INSTANCE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "disco_description.h"
-
-#define LASSO_TYPE_DISCO_SERVICE_INSTANCE (lasso_disco_service_instance_get_type())
-#define LASSO_DISCO_SERVICE_INSTANCE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DISCO_SERVICE_INSTANCE, \
- LassoDiscoServiceInstance))
-#define LASSO_DISCO_SERVICE_INSTANCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_DISCO_SERVICE_INSTANCE, \
- LassoDiscoServiceInstanceClass))
-#define LASSO_IS_DISCO_SERVICE_INSTANCE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DISCO_SERVICE_INSTANCE))
-#define LASSO_IS_DISCO_SERVICE_INSTANCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DISCO_SERVICE_INSTANCE))
-#define LASSO_DISCO_SERVICE_INSTANCE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_DISCO_SERVICE_INSTANCE, \
- LassoDiscoServiceInstanceClass))
-
-typedef struct _LassoDiscoServiceInstance LassoDiscoServiceInstance;
-typedef struct _LassoDiscoServiceInstanceClass LassoDiscoServiceInstanceClass;
-
-struct _LassoDiscoServiceInstance {
- LassoNode parent;
-
- char *ServiceType;
- char *ProviderID;
- GList *Description; /* of LassoNode */
-};
-
-struct _LassoDiscoServiceInstanceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_disco_service_instance_get_type(void);
-
-LASSO_EXPORT LassoDiscoServiceInstance *lasso_disco_service_instance_copy(
- LassoDiscoServiceInstance *serviceInstance);
-
-LASSO_EXPORT LassoDiscoServiceInstance* lasso_disco_service_instance_new(
- const gchar *serviceType, const gchar *providerID, LassoDiscoDescription *description);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DISCO_SERVICE_INSTANCE_H__ */
diff --git a/lasso/xml/dst_data.c b/lasso/xml/dst_data.c
deleted file mode 100644
index 24a2f6e9..00000000
--- a/lasso/xml/dst_data.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_data.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_data
- * @short_description: <dst:Data>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_XMLNODES, G_STRUCT_OFFSET(LassoDstData, any), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstData, id), NULL, NULL, NULL},
- { "itemIDRef", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstData, itemIDRef), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Data");
- /* no namespace */
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_dst_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstData", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstData*
-lasso_dst_data_new()
-{
- LassoDstData *data;
-
- data = g_object_new(LASSO_TYPE_DST_DATA, NULL);
-
- return data;
-}
-
diff --git a/lasso/xml/dst_data.h b/lasso/xml/dst_data.h
deleted file mode 100644
index d6e87ba5..00000000
--- a/lasso/xml/dst_data.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_DATA_H__
-#define __LASSO_DST_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DST_DATA (lasso_dst_data_get_type())
-#define LASSO_DST_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_DST_DATA, LassoDstData))
-#define LASSO_DST_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_DATA, LassoDstDataClass))
-#define LASSO_IS_DST_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DST_DATA))
-#define LASSO_IS_DST_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DST_DATA))
-#define LASSO_DST_DATA_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_DATA, LassoDstDataClass))
-
-typedef struct _LassoDstData LassoDstData;
-typedef struct _LassoDstDataClass LassoDstDataClass;
-
-struct _LassoDstData {
- LassoNode parent;
-
- GList *any; /* of xmlNode* */
-
- char *id;
- char *itemIDRef;
-};
-
-struct _LassoDstDataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_data_get_type(void);
-LASSO_EXPORT LassoDstData* lasso_dst_data_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_DATA_H__ */
diff --git a/lasso/xml/dst_modification.c b/lasso/xml/dst_modification.c
deleted file mode 100644
index 62596cb7..00000000
--- a/lasso/xml/dst_modification.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_modification.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_modification
- * @short_description: <dst:Modification>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoDstModification, Select), NULL, NULL, NULL},
- { "NewData", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModification, NewData), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModification, id), NULL, NULL, NULL},
- { "notChangedSince", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModification,
- notChangedSince), NULL, NULL, NULL },
- { "overrideAllowed", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN, G_STRUCT_OFFSET(LassoDstModification,
- overrideAllowed), NULL, NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstModificationClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nodeClass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nodeClass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nodeClass, "Modification");
- lasso_node_class_add_snippets(nodeClass, schema_snippets);
-}
-
-GType
-lasso_dst_modification_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstModificationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstModification),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstModification", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstModification*
-lasso_dst_modification_new(const char *select)
-{
- LassoDstModification *modification;
-
- g_return_val_if_fail(select != NULL, NULL);
-
- modification = g_object_new(LASSO_TYPE_DST_MODIFICATION, NULL);
-
- modification->Select = g_strdup(select);
-
- return modification;
-}
-
diff --git a/lasso/xml/dst_modification.h b/lasso/xml/dst_modification.h
deleted file mode 100644
index 6374beb9..00000000
--- a/lasso/xml/dst_modification.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_MODIFICATION_H__
-#define __LASSO_DST_MODIFICATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "dst_new_data.h"
-#include "xml.h"
-
-#define LASSO_TYPE_DST_MODIFICATION (lasso_dst_modification_get_type())
-#define LASSO_DST_MODIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_MODIFICATION, LassoDstModification))
-#define LASSO_DST_MODIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_MODIFICATION, LassoDstModificationClass))
-#define LASSO_IS_DST_MODIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DST_MODIFICATION))
-#define LASSO_IS_DST_MODIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DST_MODIFICATION))
-#define LASSO_DST_MODIFICATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_MODIFICATION, LassoDstModificationClass))
-
-typedef struct _LassoDstModification LassoDstModification;
-typedef struct _LassoDstModificationClass LassoDstModificationClass;
-
-struct _LassoDstModification {
- LassoNode parent;
-
- char *Select;
- LassoDstNewData *NewData;
-
- char *id;
- char *notChangedSince;
- gboolean overrideAllowed;
-};
-
-struct _LassoDstModificationClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_modification_get_type(void);
-
-LASSO_EXPORT LassoDstModification* lasso_dst_modification_new(const char *select);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_MODIFICATION_H__ */
diff --git a/lasso/xml/dst_modify.c b/lasso/xml/dst_modify.c
deleted file mode 100644
index 64bc571c..00000000
--- a/lasso/xml/dst_modify.c
+++ /dev/null
@@ -1,184 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_modify.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_modify
- * @short_description: <dst:Modify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModify, ResourceID), NULL, NULL, NULL},
- { "EncryptedResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModify,
- EncryptedResourceID), NULL, NULL, NULL },
- { "Modification", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstModify,
- Modification), NULL, NULL, NULL },
- { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstModify, Extension), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModify, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModify, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL) {
- insure_namespace(t, ns);
- }
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_DST_MODIFY(node)->hrefServiceType,
- (xmlChar*)LASSO_DST_MODIFY(node)->prefixServiceType);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoDstModify *modify = LASSO_DST_MODIFY(node);
- int rc = 0;
-
- rc = parent_class->init_from_xml(node, xmlnode);
- if (rc) {
- return rc;
- }
-
- modify->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- modify->prefixServiceType = lasso_get_prefix_for_dst_service_href(
- modify->hrefServiceType);
- if (modify->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstModifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Modify");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_dst_modify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstModifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstModify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstModify", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstModify*
-lasso_dst_modify_new()
-{
- LassoDstModify *modify;
-
- modify = g_object_new(LASSO_TYPE_DST_MODIFY, NULL);
-
- return modify;
-}
-
diff --git a/lasso/xml/dst_modify.h b/lasso/xml/dst_modify.h
deleted file mode 100644
index b1ae2eea..00000000
--- a/lasso/xml/dst_modify.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_MODIFY_H__
-#define __LASSO_DST_MODIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "disco_encrypted_resource_id.h"
-#include "disco_resource_id.h"
-#include "dst_modification.h"
-#include "xml.h"
-
-#define LASSO_TYPE_DST_MODIFY (lasso_dst_modify_get_type())
-#define LASSO_DST_MODIFY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_MODIFY, LassoDstModify))
-#define LASSO_DST_MODIFY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_MODIFY, LassoDstModifyClass))
-#define LASSO_IS_DST_MODIFY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DST_MODIFY))
-#define LASSO_IS_DST_MODIFY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DST_MODIFY))
-#define LASSO_DST_MODIFY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_MODIFY, LassoDstModifyClass))
-
-typedef struct _LassoDstModify LassoDstModify;
-typedef struct _LassoDstModifyClass LassoDstModifyClass;
-
-struct _LassoDstModify {
- LassoNode parent;
-
- /*< public >*/
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
- GList *Modification; /* of LassoNode */
- GList *Extension; /* of xmlNode* */
-
- char *id;
- char *itemID;
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-struct _LassoDstModifyClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_modify_get_type(void);
-
-LASSO_EXPORT LassoDstModify* lasso_dst_modify_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_MODIFY_H__ */
diff --git a/lasso/xml/dst_modify_response.c b/lasso/xml/dst_modify_response.c
deleted file mode 100644
index a4353bce..00000000
--- a/lasso/xml/dst_modify_response.c
+++ /dev/null
@@ -1,166 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_modify_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_modify_response
- * @short_description: <dst:ModifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstModifyResponse, Status), NULL, NULL, NULL},
- { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstModifyResponse, Extension), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, id), NULL, NULL, NULL},
- { "itemIDRef", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, itemIDRef), NULL, NULL, NULL},
- { "timeStamp", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstModifyResponse, timeStamp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL)
- insure_namespace(t, ns);
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_DST_MODIFY_RESPONSE(node)->hrefServiceType,
- (xmlChar*)LASSO_DST_MODIFY_RESPONSE(node)->prefixServiceType);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- int rc = 0;
- LassoDstModifyResponse *response = LASSO_DST_MODIFY_RESPONSE(node);
-
- rc = parent_class->init_from_xml(node, xmlnode);
- if (rc) return rc;
-
- response->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- response->prefixServiceType = lasso_get_prefix_for_dst_service_href(
- response->hrefServiceType);
- if (response->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstModifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- nclass->init_from_xml = init_from_xml;
- lasso_node_class_set_nodename(nclass, "ModifyResponse");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_dst_modify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstModifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstModifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstModifyResponse", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstModifyResponse*
-lasso_dst_modify_response_new(LassoUtilityStatus *status)
-{
- LassoDstModifyResponse *modify_response;
-
- g_return_val_if_fail(LASSO_IS_UTILITY_STATUS(status) == TRUE, NULL);
-
- modify_response = g_object_new(LASSO_TYPE_DST_MODIFY_RESPONSE, NULL);
-
- modify_response->Status = status;
-
- return modify_response;
-}
-
diff --git a/lasso/xml/dst_modify_response.h b/lasso/xml/dst_modify_response.h
deleted file mode 100644
index 595aa838..00000000
--- a/lasso/xml/dst_modify_response.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_MODIFY_RESPONSE_H__
-#define __LASSO_DST_MODIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "utility_status.h"
-#include "xml.h"
-
-#define LASSO_TYPE_DST_MODIFY_RESPONSE (lasso_dst_modify_response_get_type())
-#define LASSO_DST_MODIFY_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_MODIFY_RESPONSE, LassoDstModifyResponse))
-#define LASSO_DST_MODIFY_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_MODIFY_RESPONSE, LassoDstModifyResponseClass))
-#define LASSO_IS_DST_MODIFY_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DST_MODIFY_RESPONSE))
-#define LASSO_IS_DST_MODIFY_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DST_MODIFY_RESPONSE))
-#define LASSO_DST_MODIFY_RESPONSE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_MODIFY_RESPONSE, LassoDstModifyResponseClass))
-
-typedef struct _LassoDstModifyResponse LassoDstModifyResponse;
-typedef struct _LassoDstModifyResponseClass LassoDstModifyResponseClass;
-
-struct _LassoDstModifyResponse {
- LassoNode parent;
-
- /*< public >*/
- GList *Extension; /* of xmlNode* */
- LassoUtilityStatus *Status;
-
- char *id;
- char *itemIDRef;
- char *timeStamp;
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-struct _LassoDstModifyResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_modify_response_get_type(void);
-
-LASSO_EXPORT LassoDstModifyResponse* lasso_dst_modify_response_new(LassoUtilityStatus *status);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_MODIFY_RESPONSE_H__ */
diff --git a/lasso/xml/dst_new_data.c b/lasso/xml/dst_new_data.c
deleted file mode 100644
index 85f48cdc..00000000
--- a/lasso/xml/dst_new_data.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_new_data.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_new_data
- * @short_description: <dst:NewData>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_XMLNODES, G_STRUCT_OFFSET(LassoDstNewData, any), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstNewDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nodeClass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nodeClass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nodeClass, "NewData");
- lasso_node_class_add_snippets(nodeClass, schema_snippets);
-}
-
-GType
-lasso_dst_new_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstNewDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstNewData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstNewData", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstNewData*
-lasso_dst_new_data_new()
-{
- LassoDstNewData *newData;
-
- newData = g_object_new(LASSO_TYPE_DST_NEW_DATA, NULL);
-
- return newData;
-}
-
diff --git a/lasso/xml/dst_new_data.h b/lasso/xml/dst_new_data.h
deleted file mode 100644
index 2f96f7cc..00000000
--- a/lasso/xml/dst_new_data.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_NEW_DATA_H__
-#define __LASSO_DST_NEW_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DST_NEW_DATA (lasso_dst_new_data_get_type())
-#define LASSO_DST_NEW_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_NEW_DATA, LassoDstNewData))
-#define LASSO_DST_NEW_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_NEW_DATA, LassoDstNewDataClass))
-#define LASSO_IS_DST_NEW_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DST_NEW_DATA))
-#define LASSO_IS_DST_NEW_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DST_NEW_DATA))
-#define LASSO_DST_NEW_DATA_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_NEW_DATA, LassoDstNewDataClass))
-
-typedef struct _LassoDstNewData LassoDstNewData;
-typedef struct _LassoDstNewDataClass LassoDstNewDataClass;
-
-struct _LassoDstNewData {
- LassoNode parent;
-
- GList *any; /* of xmlNode* */
-};
-
-struct _LassoDstNewDataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_new_data_get_type(void);
-
-LASSO_EXPORT LassoDstNewData* lasso_dst_new_data_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_NEW_DATA_H__ */
diff --git a/lasso/xml/dst_query.c b/lasso/xml/dst_query.c
deleted file mode 100644
index d96f80f0..00000000
--- a/lasso/xml/dst_query.c
+++ /dev/null
@@ -1,189 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_query.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_query
- * @short_description: <dst:Query>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstQuery, ResourceID), NULL, NULL, NULL},
- { "EncryptedResourceID", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstQuery,
- EncryptedResourceID), NULL, NULL, NULL },
- { "QueryItem", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstQuery, QueryItem), NULL, NULL, NULL},
- { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstQuery, Extension), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQuery, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQuery, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL) {
- insure_namespace(t, ns);
- }
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_DST_QUERY(node)->hrefServiceType,
- (xmlChar*)LASSO_DST_QUERY(node)->prefixServiceType);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoDstQuery *query = LASSO_DST_QUERY(node);
- int rc = 0;
-
- rc = parent_class->init_from_xml(node, xmlnode);
- if (rc) {
- return rc;
- }
-
- query->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- query->prefixServiceType = lasso_get_prefix_for_dst_service_href(
- query->hrefServiceType);
- if (query->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Query");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_dst_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstQuery", &this_info, 0);
- }
- return this_type;
-}
-
-
-/**
- * lasso_dst_query_new:
- * @query_item: query item to embed in request (optional)
- *
- * Creates a new #LassoDstQuery object. If @query_item is set it is added to
- * the requested query items.
- *
- * Return value: a newly created #LassoDstQuery object.
- **/
-LassoDstQuery*
-lasso_dst_query_new(LassoDstQueryItem *queryItem)
-{
- LassoDstQuery *query;
-
- query = g_object_new(LASSO_TYPE_DST_QUERY, NULL);
-
- if (queryItem) {
- query->QueryItem = g_list_append(query->QueryItem, queryItem);
- }
-
- return query;
-}
-
diff --git a/lasso/xml/dst_query.h b/lasso/xml/dst_query.h
deleted file mode 100644
index 6c84284e..00000000
--- a/lasso/xml/dst_query.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_QUERY_H__
-#define __LASSO_DST_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "disco_encrypted_resource_id.h"
-#include "disco_resource_id.h"
-#include "dst_query_item.h"
-#include "xml.h"
-
-#define LASSO_TYPE_DST_QUERY (lasso_dst_query_get_type())
-#define LASSO_DST_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_QUERY, LassoDstQuery))
-#define LASSO_DST_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_QUERY, LassoDstQueryClass))
-#define LASSO_IS_DST_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_DST_QUERY))
-#define LASSO_IS_DST_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_DST_QUERY))
-#define LASSO_DST_QUERY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_QUERY, LassoDstQueryClass))
-
-typedef struct _LassoDstQuery LassoDstQuery;
-typedef struct _LassoDstQueryClass LassoDstQueryClass;
-
-struct _LassoDstQuery {
- LassoNode parent;
-
- /*< public >*/
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
- GList *QueryItem; /* of LassoNode */
- GList *Extension; /* of xmlNode* */
-
- char *id;
- char *itemID;
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-struct _LassoDstQueryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_query_get_type(void);
-LASSO_EXPORT LassoDstQuery* lasso_dst_query_new(LassoDstQueryItem *query_item);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_QUERY_H__ */
diff --git a/lasso/xml/dst_query_item.c b/lasso/xml/dst_query_item.c
deleted file mode 100644
index 4d901906..00000000
--- a/lasso/xml/dst_query_item.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_query_item.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_query_item
- * @short_description: <dst:QueryItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoDstQueryItem, Select), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryItem, id), NULL, NULL, NULL},
- { "includeCommonAttributes", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN, \
- G_STRUCT_OFFSET(LassoDstQueryItem, includeCommonAttributes), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryItem, itemID), NULL, NULL, NULL},
- { "changedSince", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryItem, changedSince), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstQueryItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nodeClass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nodeClass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nodeClass, "QueryItem");
- lasso_node_class_add_snippets(nodeClass, schema_snippets);
-}
-
-GType
-lasso_dst_query_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstQueryItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstQueryItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstQueryItem", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstQueryItem*
-lasso_dst_query_item_new(const char *select, const char *item_id)
-{
- LassoDstQueryItem *node;
-
- g_return_val_if_fail(select != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_DST_QUERY_ITEM, NULL);
-
- node->Select = g_strdup(select);
- node->itemID = g_strdup(item_id);
-
- return node;
-}
-
diff --git a/lasso/xml/dst_query_item.h b/lasso/xml/dst_query_item.h
deleted file mode 100644
index 1e8db1c3..00000000
--- a/lasso/xml/dst_query_item.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_QUERY_ITEM_H__
-#define __LASSO_DST_QUERY_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_DST_QUERY_ITEM (lasso_dst_query_item_get_type())
-#define LASSO_DST_QUERY_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_QUERY_ITEM, LassoDstQueryItem))
-#define LASSO_DST_QUERY_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_QUERY_ITEM, LassoDstQueryItemClass))
-#define LASSO_IS_DST_QUERY_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DST_QUERY_ITEM))
-#define LASSO_IS_DST_QUERY_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DST_QUERY_ITEM))
-#define LASSO_DST_QUERY_ITEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_QUERY_ITEM, LassoDstQueryItemClass))
-
-typedef struct _LassoDstQueryItem LassoDstQueryItem;
-typedef struct _LassoDstQueryItemClass LassoDstQueryItemClass;
-
-struct _LassoDstQueryItem {
- LassoNode parent;
-
- char *Select;
-
- char *id;
- gboolean includeCommonAttributes;
- char *itemID;
- char *changedSince;
-};
-
-struct _LassoDstQueryItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_query_item_get_type(void);
-LASSO_EXPORT LassoDstQueryItem* lasso_dst_query_item_new(const char *select, const char *item_id);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_QUERY_ITEM_H__ */
diff --git a/lasso/xml/dst_query_response.c b/lasso/xml/dst_query_response.c
deleted file mode 100644
index 661ffa5f..00000000
--- a/lasso/xml/dst_query_response.c
+++ /dev/null
@@ -1,181 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "dst_query_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:dst_query_response
- * @short_description: <dst:QueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoDstQueryResponse, Status), NULL, NULL, NULL},
- { "Data", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoDstQueryResponse, Data), NULL, NULL, NULL},
- { "Extension", SNIPPET_EXTENSION, G_STRUCT_OFFSET(LassoDstQueryResponse, Extension), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoDstQueryResponse, id), NULL, NULL, NULL},
- { "itemIDRef", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDstQueryResponse, itemIDRef), NULL, NULL, NULL},
- { "timeStamp", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoDstQueryResponse, timeStamp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL)
- insure_namespace(t, ns);
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_DST_QUERY_RESPONSE(node)->hrefServiceType,
- (xmlChar*)LASSO_DST_QUERY_RESPONSE(node)->prefixServiceType);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- int rc = 0;
- LassoDstQueryResponse *response = LASSO_DST_QUERY_RESPONSE(node);
-
- rc = parent_class->init_from_xml(node, xmlnode);
- if (rc) return rc;
-
- response->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- response->prefixServiceType = lasso_get_prefix_for_dst_service_href(
- response->hrefServiceType);
- if (response->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoDstQueryResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- nclass->init_from_xml = init_from_xml;
- lasso_node_class_set_nodename(nclass, "QueryResponse");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_dst_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoDstQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoDstQueryResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoDstQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-LassoDstQueryResponse*
-lasso_dst_query_response_new(LassoUtilityStatus *status)
-{
- LassoDstQueryResponse *node;
-
- g_return_val_if_fail(LASSO_IS_UTILITY_STATUS(status), NULL);
-
- node = g_object_new(LASSO_TYPE_DST_QUERY_RESPONSE, NULL);
-
- node->Status = status;
-
- return node;
-}
-
diff --git a/lasso/xml/dst_query_response.h b/lasso/xml/dst_query_response.h
deleted file mode 100644
index da26bb3d..00000000
--- a/lasso/xml/dst_query_response.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_DST_QUERY_RESPONSE_H__
-#define __LASSO_DST_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "dst_data.h"
-#include "utility_status.h"
-#include "xml.h"
-
-#define LASSO_TYPE_DST_QUERY_RESPONSE (lasso_dst_query_response_get_type())
-#define LASSO_DST_QUERY_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_DST_QUERY_RESPONSE, LassoDstQueryResponse))
-#define LASSO_DST_QUERY_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_DST_QUERY_RESPONSE, LassoDstQueryResponseClass))
-#define LASSO_IS_DST_QUERY_RESPONSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_DST_QUERY_RESPONSE))
-#define LASSO_IS_DST_QUERY_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_DST_QUERY_RESPONSE))
-#define LASSO_DST_QUERY_RESPONSE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_DST_QUERY_RESPONSE, LassoDstQueryResponseClass))
-
-typedef struct _LassoDstQueryResponse LassoDstQueryResponse;
-typedef struct _LassoDstQueryResponseClass LassoDstQueryResponseClass;
-
-struct _LassoDstQueryResponse {
- LassoNode parent;
-
- /*< public >*/
- LassoUtilityStatus *Status;
- GList *Data; /* of LassoNode */
- GList *Extension; /* of xmlNode* */
-
- char *id;
- char *itemIDRef;
- char *timeStamp;
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-struct _LassoDstQueryResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_dst_query_response_get_type(void);
-LASSO_EXPORT LassoDstQueryResponse* lasso_dst_query_response_new(LassoUtilityStatus *status);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_DST_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/Makefile.am b/lasso/xml/id-wsf-2.0/Makefile.am
deleted file mode 100644
index b3087f05..00000000
--- a/lasso/xml/id-wsf-2.0/Makefile.am
+++ /dev/null
@@ -1,287 +0,0 @@
-MAINTAINERCLEANFILES = Makefile.in
-liblassoincludedir = $(includedir)/lasso/xml/id-wsf-2.0
-
-AM_CPPFLAGS = \
- -I$(top_builddir) \
- -I$(top_srcdir) \
- $(LASSO_CORE_CFLAGS) \
- -DG_LOG_DOMAIN=\"lasso\"
-
-noinst_LTLIBRARIES = liblasso-xml-id-wsf-2.la
-
-liblasso_xml_id_wsf_2_la_SOURCES = \
- disco_abstract.c \
- disco_endpoint_context.c \
- disco_keys.c \
- disco_options.c \
- disco_provider_id.c \
- disco_query.c \
- disco_query_response.c \
- disco_requested_service.c \
- disco_security_context.c \
- disco_service_context.c \
- disco_service_type.c \
- disco_svc_md_association_add.c \
- disco_svc_md_association_add_response.c \
- disco_svc_md_association_delete.c \
- disco_svc_md_association_delete_response.c \
- disco_svc_md_association_query.c \
- disco_svc_md_association_query_response.c \
- disco_svc_md_delete.c \
- disco_svc_md_delete_response.c \
- disco_svc_md_query.c \
- disco_svc_md_query_response.c \
- disco_svc_md_register.c \
- disco_svc_md_register_response.c \
- disco_svc_md_replace.c \
- disco_svc_md_replace_response.c \
- disco_svc_metadata.c \
- dst_data_response_base.c \
- dst_delete_item_base.c \
- dst_delete_response.c \
- dst_request.c \
- dst_result_query_base.c \
- dst_test_item_base.c \
- dstref_app_data.c \
- dstref_create.c \
- dstref_create_item.c \
- dstref_create_response.c \
- dstref_data.c \
- dstref_data_response.c \
- dstref_delete.c \
- dstref_delete_item.c \
- dstref_delete_response.c \
- dstref_item_data.c \
- dstref_modify.c \
- dstref_modify_item.c \
- dstref_modify_response.c \
- dstref_query.c \
- dstref_query_item.c \
- dstref_query_response.c \
- dstref_result_query.c \
- dstref_test_item.c \
- ims_identity_mapping_request.c \
- ims_identity_mapping_response.c \
- ims_mapping_input.c \
- ims_mapping_output.c \
- is_help.c \
- is_inquiry.c \
- is_inquiry_element.c \
- is_interaction_request.c \
- is_interaction_response.c \
- is_interaction_statement.c \
- is_item.c \
- is_parameter.c \
- is_select.c \
- is_text.c \
- ps_add_collection_request.c \
- ps_add_collection_response.c \
- ps_add_entity_request.c \
- ps_add_entity_response.c \
- ps_add_known_entity_request.c \
- ps_add_known_entity_response.c \
- ps_add_to_collection_request.c \
- ps_get_object_info_request.c \
- ps_get_object_info_response.c \
- ps_item_data.c \
- ps_list_members_request.c \
- ps_list_members_response.c \
- ps_notification.c \
- ps_notify.c \
- ps_object.c \
- ps_query_objects_request.c \
- ps_query_objects_response.c \
- ps_remove_collection_request.c \
- ps_remove_entity_request.c \
- ps_remove_from_collection_request.c \
- ps_request_abstract.c \
- ps_resolve_identifier_request.c \
- ps_resolve_identifier_response.c \
- ps_resolve_input.c \
- ps_response_abstract.c \
- ps_set_object_info_request.c \
- ps_test_membership_request.c \
- ps_test_membership_response.c \
- sb2_consent.c \
- sb2_credentials_context.c \
- sb2_endpoint_update.c \
- sb2_redirect_request.c \
- sb2_sender.c \
- sb2_target_identity.c \
- sb2_timeout.c \
- sb2_usage_directive.c \
- sb2_user_interaction_header.c \
- sbf_framework.c \
- sec_token.c \
- sec_token_policy.c \
- sec_transited_provider_path.c \
- subs_notification.c \
- subs_notify_response.c \
- subs_ref_item.c \
- subs_subscription.c \
- subsref_app_data.c \
- subsref_create.c \
- subsref_create_item.c \
- subsref_create_response.c \
- subsref_data.c \
- subsref_data_response.c \
- subsref_delete.c \
- subsref_delete_item.c \
- subsref_delete_response.c \
- subsref_item_data.c \
- subsref_modify.c \
- subsref_modify_item.c \
- subsref_modify_response.c \
- subsref_notification.c \
- subsref_notify.c \
- subsref_notify_response.c \
- subsref_query.c \
- subsref_query_item.c \
- subsref_query_response.c \
- subsref_result_query.c \
- subsref_subscription.c \
- subsref_test_item.c \
- util_empty.c \
- util_extension.c \
- util_response.c \
- util_status.c
-
-liblassoinclude_HEADERS = \
- disco_abstract.h \
- disco_endpoint_context.h \
- disco_keys.h \
- disco_options.h \
- disco_provider_id.h \
- disco_query.h \
- disco_query_response.h \
- disco_requested_service.h \
- disco_security_context.h \
- disco_service_context.h \
- disco_service_type.h \
- disco_svc_md_association_add.h \
- disco_svc_md_association_add_response.h \
- disco_svc_md_association_delete.h \
- disco_svc_md_association_delete_response.h \
- disco_svc_md_association_query.h \
- disco_svc_md_association_query_response.h \
- disco_svc_md_delete.h \
- disco_svc_md_delete_response.h \
- disco_svc_md_query.h \
- disco_svc_md_query_response.h \
- disco_svc_md_register.h \
- disco_svc_md_register_response.h \
- disco_svc_md_replace.h \
- disco_svc_md_replace_response.h \
- disco_svc_metadata.h \
- dst_data_response_base.h \
- dst_delete_item_base.h \
- dst_delete_response.h \
- dst_request.h \
- dst_result_query_base.h \
- dst_test_item_base.h \
- dstref_app_data.h \
- dstref_create.h \
- dstref_create_item.h \
- dstref_create_response.h \
- dstref_data.h \
- dstref_data_response.h \
- dstref_delete.h \
- dstref_delete_item.h \
- dstref_delete_response.h \
- dstref_item_data.h \
- dstref_modify.h \
- dstref_modify_item.h \
- dstref_modify_response.h \
- dstref_query.h \
- dstref_query_item.h \
- dstref_query_response.h \
- dstref_result_query.h \
- dstref_test_item.h \
- ims_identity_mapping_request.h \
- ims_identity_mapping_response.h \
- ims_mapping_input.h \
- ims_mapping_output.h \
- is_help.h \
- is_inquiry.h \
- is_inquiry_element.h \
- is_interaction_request.h \
- is_interaction_response.h \
- is_interaction_statement.h \
- is_item.h \
- is_parameter.h \
- is_select.h \
- is_text.h \
- ps_add_collection_request.h \
- ps_add_collection_response.h \
- ps_add_entity_request.h \
- ps_add_entity_response.h \
- ps_add_known_entity_request.h \
- ps_add_known_entity_response.h \
- ps_add_to_collection_request.h \
- ps_get_object_info_request.h \
- ps_get_object_info_response.h \
- ps_item_data.h \
- ps_list_members_request.h \
- ps_list_members_response.h \
- ps_notification.h \
- ps_notify.h \
- ps_object.h \
- ps_query_objects_request.h \
- ps_query_objects_response.h \
- ps_remove_collection_request.h \
- ps_remove_entity_request.h \
- ps_remove_from_collection_request.h \
- ps_request_abstract.h \
- ps_resolve_identifier_request.h \
- ps_resolve_identifier_response.h \
- ps_resolve_input.h \
- ps_response_abstract.h \
- ps_set_object_info_request.h \
- ps_test_membership_request.h \
- ps_test_membership_response.h \
- sb2_consent.h \
- sb2_credentials_context.h \
- sb2_endpoint_update.h \
- sb2_redirect_request.h \
- sb2_sender.h \
- sb2_target_identity.h \
- sb2_timeout.h \
- sb2_usage_directive.h \
- sb2_user_interaction_header.h \
- sbf_framework.h \
- sec_token.h \
- sec_token_policy.h \
- sec_transited_provider_path.h \
- subs_notification.h \
- subs_notify_response.h \
- subs_ref_item.h \
- subs_subscription.h \
- subsref_app_data.h \
- subsref_create.h \
- subsref_create_item.h \
- subsref_create_response.h \
- subsref_data.h \
- subsref_data_response.h \
- subsref_delete.h \
- subsref_delete_item.h \
- subsref_delete_response.h \
- subsref_item_data.h \
- subsref_modify.h \
- subsref_modify_item.h \
- subsref_modify_response.h \
- subsref_notification.h \
- subsref_notify.h \
- subsref_notify_response.h \
- subsref_query.h \
- subsref_query_item.h \
- subsref_query_response.h \
- subsref_result_query.h \
- subsref_subscription.h \
- subsref_test_item.h \
- util_empty.h \
- util_extension.h \
- util_response.h \
- util_status.h \
- xml_idwsf2.h \
- idwsf2_strings.h
-
diff --git a/lasso/xml/id-wsf-2.0/disco_abstract.c b/lasso/xml/id-wsf-2.0/disco_abstract.c
deleted file mode 100644
index 3b47e68b..00000000
--- a/lasso/xml/id-wsf-2.0/disco_abstract.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/* $Id: disco_abstract.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_abstract.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_abstract
- * @short_description: <disco:Abstract>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoAbstract, content), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoAbstractClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Abstract");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_abstract_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoAbstractClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoAbstract),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoAbstract", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_abstract_new:
- *
- * Creates a new #LassoIdWsf2DiscoAbstract object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoAbstract object
- **/
-LassoIdWsf2DiscoAbstract*
-lasso_idwsf2_disco_abstract_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_ABSTRACT, NULL);
-}
-
-
-/**
- * lasso_idwsf2_disco_abstract_new_with_string:
- * @content: the content string
- *
- * Creates a new #LassoIdWsf2DiscoAbstract object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoIdWsf2DiscoAbstract object
- **/
-LassoIdWsf2DiscoAbstract*
-lasso_idwsf2_disco_abstract_new_with_string(const char *content)
-{
- LassoIdWsf2DiscoAbstract *object;
- object = g_object_new(LASSO_TYPE_IDWSF2_DISCO_ABSTRACT, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_abstract.h b/lasso/xml/id-wsf-2.0/disco_abstract.h
deleted file mode 100644
index 6d0f5d2c..00000000
--- a/lasso/xml/id-wsf-2.0/disco_abstract.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: disco_abstract.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_ABSTRACT_H__
-#define __LASSO_IDWSF2_DISCO_ABSTRACT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_ABSTRACT (lasso_idwsf2_disco_abstract_get_type())
-#define LASSO_IDWSF2_DISCO_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_ABSTRACT, \
- LassoIdWsf2DiscoAbstract))
-#define LASSO_IDWSF2_DISCO_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_ABSTRACT, \
- LassoIdWsf2DiscoAbstractClass))
-#define LASSO_IS_IDWSF2_DISCO_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_ABSTRACT))
-#define LASSO_IS_IDWSF2_DISCO_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_ABSTRACT))
-#define LASSO_IDWSF2_DISCO_ABSTRACT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_ABSTRACT, \
- LassoIdWsf2DiscoAbstractClass))
-
-
-typedef struct _LassoIdWsf2DiscoAbstract LassoIdWsf2DiscoAbstract;
-typedef struct _LassoIdWsf2DiscoAbstractClass LassoIdWsf2DiscoAbstractClass;
-
-
-struct _LassoIdWsf2DiscoAbstract {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
-};
-
-struct _LassoIdWsf2DiscoAbstractClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_abstract_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoAbstract* lasso_idwsf2_disco_abstract_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoAbstract*
- lasso_idwsf2_disco_abstract_new_with_string(const char *content);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_ABSTRACT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_endpoint_context.c b/lasso/xml/id-wsf-2.0/disco_endpoint_context.c
deleted file mode 100644
index 5b134e9b..00000000
--- a/lasso/xml/id-wsf-2.0/disco_endpoint_context.c
+++ /dev/null
@@ -1,137 +0,0 @@
-/* $Id: disco_endpoint_context.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_endpoint_context.h"
-#include "idwsf2_strings.h"
-#include "sbf_framework.h"
-
-/**
- * SECTION:disco_endpoint_context
- * @short_description: <disco:EndpointContext>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Address", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoEndpointContext, Address), NULL, NULL, NULL},
- { "Framework", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoEndpointContext, Framework), NULL,
- LASSO_IDWSF2_SBF_PREFIX, LASSO_IDWSF2_SBF_HREF},
- { "SecurityMechID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoEndpointContext, SecurityMechID), NULL, NULL, NULL},
- { "Action", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoEndpointContext, Action), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoEndpointContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "EndpointContext");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_endpoint_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoEndpointContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoEndpointContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoEndpointContext", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_endpoint_context_new:
- *
- * Creates a new #LassoIdWsf2DiscoEndpointContext object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoEndpointContext object
- **/
-LassoIdWsf2DiscoEndpointContext*
-lasso_idwsf2_disco_endpoint_context_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT, NULL);
-}
-
-
-LassoIdWsf2DiscoEndpointContext*
-lasso_idwsf2_disco_endpoint_context_new_full(const gchar *address)
-{
- LassoIdWsf2DiscoEndpointContext *context;
-
- context = lasso_idwsf2_disco_endpoint_context_new();
-
- context->Address = g_list_append(NULL, g_strdup(address));
- context->Framework = g_list_append(NULL, lasso_idwsf2_sbf_framework_new_full("2.0"));
-
- return context;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_endpoint_context.h b/lasso/xml/id-wsf-2.0/disco_endpoint_context.h
deleted file mode 100644
index 88531db7..00000000
--- a/lasso/xml/id-wsf-2.0/disco_endpoint_context.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: disco_endpoint_context.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_H__
-#define __LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT \
- (lasso_idwsf2_disco_endpoint_context_get_type())
-#define LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT, \
- LassoIdWsf2DiscoEndpointContext))
-#define LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT, \
- LassoIdWsf2DiscoEndpointContextClass))
-#define LASSO_IS_IDWSF2_DISCO_ENDPOINT_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT))
-#define LASSO_IS_IDWSF2_DISCO_ENDPOINT_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT))
-#define LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_ENDPOINT_CONTEXT, \
- LassoIdWsf2DiscoEndpointContextClass))
-
-
-typedef struct _LassoIdWsf2DiscoEndpointContext LassoIdWsf2DiscoEndpointContext;
-typedef struct _LassoIdWsf2DiscoEndpointContextClass LassoIdWsf2DiscoEndpointContextClass;
-
-
-struct _LassoIdWsf2DiscoEndpointContext {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Address; /* of strings */
- GList *Framework; /* of LassoNode */
- GList *SecurityMechID; /* of strings */
- GList *Action; /* of strings */
-};
-
-
-struct _LassoIdWsf2DiscoEndpointContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_endpoint_context_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoEndpointContext* lasso_idwsf2_disco_endpoint_context_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoEndpointContext* lasso_idwsf2_disco_endpoint_context_new_full(
- const gchar *address);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_ENDPOINT_CONTEXT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_keys.c b/lasso/xml/id-wsf-2.0/disco_keys.c
deleted file mode 100644
index 96a6a104..00000000
--- a/lasso/xml/id-wsf-2.0/disco_keys.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id: disco_keys.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_keys.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_keys
- * @short_description: <disco:Keys>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "KeyDescriptor", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoKeys, KeyDescriptor), NULL, LASSO_METADATA_PREFIX,
- LASSO_METADATA_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoKeysClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Keys");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_keys_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoKeysClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoKeys),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoKeys", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_keys_new:
- *
- * Creates a new #LassoIdWsf2DiscoKeys object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoKeys object
- **/
-LassoIdWsf2DiscoKeys*
-lasso_idwsf2_disco_keys_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_KEYS, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_keys.h b/lasso/xml/id-wsf-2.0/disco_keys.h
deleted file mode 100644
index 0fd83b02..00000000
--- a/lasso/xml/id-wsf-2.0/disco_keys.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: disco_keys.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_KEYS_H__
-#define __LASSO_IDWSF2_DISCO_KEYS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_KEYS (lasso_idwsf2_disco_keys_get_type())
-#define LASSO_IDWSF2_DISCO_KEYS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_KEYS, \
- LassoIdWsf2DiscoKeys))
-#define LASSO_IDWSF2_DISCO_KEYS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_KEYS, \
- LassoIdWsf2DiscoKeysClass))
-#define LASSO_IS_IDWSF2_DISCO_KEYS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_KEYS))
-#define LASSO_IS_IDWSF2_DISCO_KEYS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_KEYS))
-#define LASSO_IDWSF2_DISCO_KEYS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_KEYS, \
- LassoIdWsf2DiscoKeysClass))
-
-
-typedef struct _LassoIdWsf2DiscoKeys LassoIdWsf2DiscoKeys;
-typedef struct _LassoIdWsf2DiscoKeysClass LassoIdWsf2DiscoKeysClass;
-
-
-struct _LassoIdWsf2DiscoKeys {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *KeyDescriptor; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2DiscoKeysClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_keys_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoKeys* lasso_idwsf2_disco_keys_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_KEYS_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_options.c b/lasso/xml/id-wsf-2.0/disco_options.c
deleted file mode 100644
index 29c15dae..00000000
--- a/lasso/xml/id-wsf-2.0/disco_options.c
+++ /dev/null
@@ -1,111 +0,0 @@
-/* $Id: disco_options.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_options.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_options
- * @short_description: <disco:Options>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Option", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoOptions, Option), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoOptionsClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Options");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_options_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoOptionsClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoOptions),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoOptions", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_options_new:
- *
- * Creates a new #LassoIdWsf2DiscoOptions object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoOptions object
- **/
-LassoIdWsf2DiscoOptions*
-lasso_idwsf2_disco_options_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_OPTIONS, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_options.h b/lasso/xml/id-wsf-2.0/disco_options.h
deleted file mode 100644
index d7754592..00000000
--- a/lasso/xml/id-wsf-2.0/disco_options.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: disco_options.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_OPTIONS_H__
-#define __LASSO_IDWSF2_DISCO_OPTIONS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_OPTIONS (lasso_idwsf2_disco_options_get_type())
-#define LASSO_IDWSF2_DISCO_OPTIONS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_OPTIONS, \
- LassoIdWsf2DiscoOptions))
-#define LASSO_IDWSF2_DISCO_OPTIONS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_OPTIONS, \
- LassoIdWsf2DiscoOptionsClass))
-#define LASSO_IS_IDWSF2_DISCO_OPTIONS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_OPTIONS))
-#define LASSO_IS_IDWSF2_DISCO_OPTIONS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_OPTIONS))
-#define LASSO_IDWSF2_DISCO_OPTIONS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_OPTIONS, \
- LassoIdWsf2DiscoOptionsClass))
-
-
-typedef struct _LassoIdWsf2DiscoOptions LassoIdWsf2DiscoOptions;
-typedef struct _LassoIdWsf2DiscoOptionsClass LassoIdWsf2DiscoOptionsClass;
-
-
-struct _LassoIdWsf2DiscoOptions {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Option; /* of strings */
-};
-
-
-struct _LassoIdWsf2DiscoOptionsClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_options_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoOptions* lasso_idwsf2_disco_options_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_OPTIONS_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_provider_id.c b/lasso/xml/id-wsf-2.0/disco_provider_id.c
deleted file mode 100644
index aa31694e..00000000
--- a/lasso/xml/id-wsf-2.0/disco_provider_id.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/* $Id: disco_provider_id.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_provider_id.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_provider_id
- * @short_description: <disco:ProviderID>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoProviderID, content), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoProviderIDClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ProviderID");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_provider_id_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoProviderIDClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoProviderID),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoProviderID", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_provider_id_new:
- *
- * Creates a new #LassoIdWsf2DiscoProviderID object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoProviderID object
- **/
-LassoIdWsf2DiscoProviderID*
-lasso_idwsf2_disco_provider_id_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, NULL);
-}
-
-
-/**
- * lasso_idwsf2_disco_provider_id_new_with_string:
- * @content: the content string
- *
- * Creates a new #LassoIdWsf2DiscoProviderID object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoIdWsf2DiscoProviderID object
- **/
-LassoIdWsf2DiscoProviderID*
-lasso_idwsf2_disco_provider_id_new_with_string(const char *content)
-{
- LassoIdWsf2DiscoProviderID *object;
- object = g_object_new(LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_provider_id.h b/lasso/xml/id-wsf-2.0/disco_provider_id.h
deleted file mode 100644
index b6d6612d..00000000
--- a/lasso/xml/id-wsf-2.0/disco_provider_id.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: disco_provider_id.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_PROVIDER_ID_H__
-#define __LASSO_IDWSF2_DISCO_PROVIDER_ID_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID (lasso_idwsf2_disco_provider_id_get_type())
-#define LASSO_IDWSF2_DISCO_PROVIDER_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, \
- LassoIdWsf2DiscoProviderID))
-#define LASSO_IDWSF2_DISCO_PROVIDER_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, \
- LassoIdWsf2DiscoProviderIDClass))
-#define LASSO_IS_IDWSF2_DISCO_PROVIDER_ID(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID))
-#define LASSO_IS_IDWSF2_DISCO_PROVIDER_ID_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID))
-#define LASSO_IDWSF2_DISCO_PROVIDER_ID_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_PROVIDER_ID, \
- LassoIdWsf2DiscoProviderIDClass))
-
-
-typedef struct _LassoIdWsf2DiscoProviderID LassoIdWsf2DiscoProviderID;
-typedef struct _LassoIdWsf2DiscoProviderIDClass LassoIdWsf2DiscoProviderIDClass;
-
-
-struct _LassoIdWsf2DiscoProviderID {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
-};
-
-
-struct _LassoIdWsf2DiscoProviderIDClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_provider_id_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoProviderID* lasso_idwsf2_disco_provider_id_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoProviderID*
- lasso_idwsf2_disco_provider_id_new_with_string(const char *content);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_PROVIDER_ID_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_query.c b/lasso/xml/id-wsf-2.0/disco_query.c
deleted file mode 100644
index d38b1614..00000000
--- a/lasso/xml/id-wsf-2.0/disco_query.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id: disco_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_query
- * @short_description: <disco:Query>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "RequestedService", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoQuery, RequestedService),
- "LassoIdWsf2DiscoRequestedService", NULL, NULL },
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoQuery, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoQuery *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Query");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoQuery),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_query_new:
- *
- * Creates a new #LassoIdWsf2DiscoQuery object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoQuery object
- **/
-LassoIdWsf2DiscoQuery*
-lasso_idwsf2_disco_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_query.h b/lasso/xml/id-wsf-2.0/disco_query.h
deleted file mode 100644
index 67d23698..00000000
--- a/lasso/xml/id-wsf-2.0/disco_query.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_QUERY_H__
-#define __LASSO_IDWSF2_DISCO_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_QUERY (lasso_idwsf2_disco_query_get_type())
-#define LASSO_IDWSF2_DISCO_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY, \
- LassoIdWsf2DiscoQuery))
-#define LASSO_IDWSF2_DISCO_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY, \
- LassoIdWsf2DiscoQueryClass))
-#define LASSO_IS_IDWSF2_DISCO_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY))
-#define LASSO_IS_IDWSF2_DISCO_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY))
-#define LASSO_IDWSF2_DISCO_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY, \
- LassoIdWsf2DiscoQueryClass))
-
-
-typedef struct _LassoIdWsf2DiscoQuery LassoIdWsf2DiscoQuery;
-typedef struct _LassoIdWsf2DiscoQueryClass LassoIdWsf2DiscoQueryClass;
-
-
-struct _LassoIdWsf2DiscoQuery {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *RequestedService; /* of LassoIdWsf2DiscoRequestedService */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoQueryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoQuery* lasso_idwsf2_disco_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_query_response.c b/lasso/xml/id-wsf-2.0/disco_query_response.c
deleted file mode 100644
index 214acf4f..00000000
--- a/lasso/xml/id-wsf-2.0/disco_query_response.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* $Id: disco_query_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_query_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_query_response
- * @short_description: <disco:QueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoQueryResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_DISCOVERY_HREF},
- { "EndpointReference", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoQueryResponse, EndpointReference),
- "LassoWsAddrEndpointReference", LASSO_WSA_PREFIX, LASSO_WSA_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoQueryResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoQueryResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoQueryResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoQueryResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_query_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoQueryResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoQueryResponse object
- **/
-LassoIdWsf2DiscoQueryResponse*
-lasso_idwsf2_disco_query_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_query_response.h b/lasso/xml/id-wsf-2.0/disco_query_response.h
deleted file mode 100644
index 69d73d5f..00000000
--- a/lasso/xml/id-wsf-2.0/disco_query_response.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: disco_query_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_QUERY_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE (lasso_idwsf2_disco_query_response_get_type())
-#define LASSO_IDWSF2_DISCO_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE, \
- LassoIdWsf2DiscoQueryResponse))
-#define LASSO_IDWSF2_DISCO_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE, \
- LassoIdWsf2DiscoQueryResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE))
-#define LASSO_IDWSF2_DISCO_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_QUERY_RESPONSE, \
- LassoIdWsf2DiscoQueryResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoQueryResponse LassoIdWsf2DiscoQueryResponse;
-typedef struct _LassoIdWsf2DiscoQueryResponseClass LassoIdWsf2DiscoQueryResponseClass;
-
-
-struct _LassoIdWsf2DiscoQueryResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *EndpointReference; /* of LassoWsAddrEndpointReference */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoQueryResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_query_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoQueryResponse* lasso_idwsf2_disco_query_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_requested_service.c b/lasso/xml/id-wsf-2.0/disco_requested_service.c
deleted file mode 100644
index 8a0cefc3..00000000
--- a/lasso/xml/id-wsf-2.0/disco_requested_service.c
+++ /dev/null
@@ -1,148 +0,0 @@
-/* $Id: disco_requested_service.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_requested_service.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_requested_service
- * @short_description: <disco:RequestedService>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ServiceType", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, ServiceType), NULL, NULL, NULL},
- { "ProviderID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, ProviderID), NULL, NULL, NULL},
- { "Options", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, Options),
- "LassoIdWsf2DiscoOptions", NULL, NULL },
- { "SecurityMechID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, SecurityMechID), NULL, NULL, NULL},
- { "Framework", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, Framework), NULL, NULL, NULL},
- { "Action", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, Action), NULL, NULL, NULL},
- { "", SNIPPET_NODE | SNIPPET_ANY | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, any), NULL, NULL, NULL},
- { "reqID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, reqID), NULL, NULL, NULL},
- { "resultsType", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoRequestedService, resultsType), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoRequestedServiceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RequestedService");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_requested_service_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoRequestedServiceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoRequestedService),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoRequestedService", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_requested_service_new:
- *
- * Creates a new #LassoIdWsf2DiscoRequestedService object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoRequestedService object
- **/
-LassoIdWsf2DiscoRequestedService*
-lasso_idwsf2_disco_requested_service_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_requested_service.h b/lasso/xml/id-wsf-2.0/disco_requested_service.h
deleted file mode 100644
index 3aede2e7..00000000
--- a/lasso/xml/id-wsf-2.0/disco_requested_service.h
+++ /dev/null
@@ -1,90 +0,0 @@
-/* $Id: disco_requested_service.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_H__
-#define __LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE \
- (lasso_idwsf2_disco_requested_service_get_type())
-#define LASSO_IDWSF2_DISCO_REQUESTED_SERVICE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE, \
- LassoIdWsf2DiscoRequestedService))
-#define LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE, \
- LassoIdWsf2DiscoRequestedServiceClass))
-#define LASSO_IS_IDWSF2_DISCO_REQUESTED_SERVICE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE))
-#define LASSO_IS_IDWSF2_DISCO_REQUESTED_SERVICE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE))
-#define LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_REQUESTED_SERVICE, \
- LassoIdWsf2DiscoRequestedServiceClass))
-
-
-typedef struct _LassoIdWsf2DiscoRequestedService LassoIdWsf2DiscoRequestedService;
-typedef struct _LassoIdWsf2DiscoRequestedServiceClass LassoIdWsf2DiscoRequestedServiceClass;
-
-
-struct _LassoIdWsf2DiscoRequestedService {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *ServiceType; /* of strings */
- GList *ProviderID; /* of strings */
- GList *Options; /* of LassoIdWsf2DiscoOptions */
- GList *SecurityMechID; /* of strings */
- GList *Framework; /* of LassoIdWsf2SbfFramework */
- GList *Action; /* of strings */
- LassoNode *any;
- /* attributes */
- char *reqID;
- char *resultsType;
-};
-
-
-struct _LassoIdWsf2DiscoRequestedServiceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_requested_service_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoRequestedService* lasso_idwsf2_disco_requested_service_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_REQUESTED_SERVICE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_security_context.c b/lasso/xml/id-wsf-2.0/disco_security_context.c
deleted file mode 100644
index 15305b7c..00000000
--- a/lasso/xml/id-wsf-2.0/disco_security_context.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: disco_security_context.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_security_context.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_security_context
- * @short_description: <disco:SecurityContext>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SecurityMechID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSecurityContext, SecurityMechID), NULL, NULL, NULL},
- { "Token", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSecurityContext, Token), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoSecurityContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SecurityContext");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_security_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSecurityContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSecurityContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSecurityContext", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_security_context_new:
- *
- * Creates a new #LassoIdWsf2DiscoSecurityContext object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSecurityContext object
- **/
-LassoIdWsf2DiscoSecurityContext*
-lasso_idwsf2_disco_security_context_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_security_context.h b/lasso/xml/id-wsf-2.0/disco_security_context.h
deleted file mode 100644
index a2c2e7d6..00000000
--- a/lasso/xml/id-wsf-2.0/disco_security_context.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_security_context.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_H__
-#define __LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT \
- (lasso_idwsf2_disco_security_context_get_type())
-#define LASSO_IDWSF2_DISCO_SECURITY_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT, \
- LassoIdWsf2DiscoSecurityContext))
-#define LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT, \
- LassoIdWsf2DiscoSecurityContextClass))
-#define LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT))
-#define LASSO_IS_IDWSF2_DISCO_SECURITY_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT))
-#define LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SECURITY_CONTEXT, \
- LassoIdWsf2DiscoSecurityContextClass))
-
-
-typedef struct _LassoIdWsf2DiscoSecurityContext LassoIdWsf2DiscoSecurityContext;
-typedef struct _LassoIdWsf2DiscoSecurityContextClass LassoIdWsf2DiscoSecurityContextClass;
-
-
-struct _LassoIdWsf2DiscoSecurityContext {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SecurityMechID; /* of strings */
- GList *Token; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2DiscoSecurityContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_security_context_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSecurityContext* lasso_idwsf2_disco_security_context_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SECURITY_CONTEXT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_service_context.c b/lasso/xml/id-wsf-2.0/disco_service_context.c
deleted file mode 100644
index 930fe9bd..00000000
--- a/lasso/xml/id-wsf-2.0/disco_service_context.c
+++ /dev/null
@@ -1,135 +0,0 @@
-/* $Id: disco_service_context.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_service_context.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_service_context
- * @short_description: <disco:ServiceContext>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ServiceType", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoServiceContext, ServiceType), NULL, NULL, NULL},
- { "Options", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoServiceContext, Options),
- "LassoIdWsf2DiscoOptions", NULL, NULL },
- { "EndpointContext", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoServiceContext, EndpointContext),
- "LassoIdWsf2DiscoEndpointContext", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoServiceContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ServiceContext");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_service_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoServiceContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoServiceContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoServiceContext", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_service_context_new:
- *
- * Creates a new #LassoIdWsf2DiscoServiceContext object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoServiceContext object
- **/
-LassoIdWsf2DiscoServiceContext*
-lasso_idwsf2_disco_service_context_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT, NULL);
-}
-
-
-LassoIdWsf2DiscoServiceContext*
-lasso_idwsf2_disco_service_context_new_full(
- const gchar *serviceType, LassoIdWsf2DiscoEndpointContext *endpointContext)
-{
- LassoIdWsf2DiscoServiceContext *context;
-
- context = lasso_idwsf2_disco_service_context_new();
-
- context->ServiceType = g_list_append(NULL, g_strdup(serviceType));
- context->EndpointContext = g_list_append(NULL, g_object_ref(endpointContext));
-
- return context;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_service_context.h b/lasso/xml/id-wsf-2.0/disco_service_context.h
deleted file mode 100644
index c2f92526..00000000
--- a/lasso/xml/id-wsf-2.0/disco_service_context.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: disco_service_context.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_H__
-#define __LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "disco_endpoint_context.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT (lasso_idwsf2_disco_service_context_get_type())
-#define LASSO_IDWSF2_DISCO_SERVICE_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT, \
- LassoIdWsf2DiscoServiceContext))
-#define LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT, \
- LassoIdWsf2DiscoServiceContextClass))
-#define LASSO_IS_IDWSF2_DISCO_SERVICE_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT))
-#define LASSO_IS_IDWSF2_DISCO_SERVICE_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT))
-#define LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_CONTEXT, \
- LassoIdWsf2DiscoServiceContextClass))
-
-
-typedef struct _LassoIdWsf2DiscoServiceContext LassoIdWsf2DiscoServiceContext;
-typedef struct _LassoIdWsf2DiscoServiceContextClass LassoIdWsf2DiscoServiceContextClass;
-
-
-struct _LassoIdWsf2DiscoServiceContext {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *ServiceType; /* of strings */
- GList *Options; /* of LassoIdWsf2DiscoOptions */
- GList *EndpointContext; /* of LassoIdWsf2DiscoEndpointContext */
-};
-
-
-struct _LassoIdWsf2DiscoServiceContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_service_context_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoServiceContext* lasso_idwsf2_disco_service_context_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoServiceContext* lasso_idwsf2_disco_service_context_new_full(
- const gchar *serviceType, LassoIdWsf2DiscoEndpointContext *endpointContext);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SERVICE_CONTEXT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_service_type.c b/lasso/xml/id-wsf-2.0/disco_service_type.c
deleted file mode 100644
index 44d15cc7..00000000
--- a/lasso/xml/id-wsf-2.0/disco_service_type.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/* $Id: disco_service_type.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_service_type.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_service_type
- * @short_description: <disco:Service>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoServiceType, content), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoServiceTypeClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ServiceType");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_service_type_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoServiceTypeClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoServiceType),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoServiceType", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_service_type_new:
- *
- * Creates a new #LassoIdWsf2DiscoServiceType object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoServiceType object
- **/
-LassoIdWsf2DiscoServiceType*
-lasso_idwsf2_disco_service_type_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, NULL);
-}
-
-
-/**
- * lasso_idwsf2_disco_service_type_new_with_string:
- * @content: the content string
- *
- * Creates a new #LassoIdWsf2DiscoServiceType object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoIdWsf2DiscoServiceType object
- **/
-LassoIdWsf2DiscoServiceType*
-lasso_idwsf2_disco_service_type_new_with_string(const char *content)
-{
- LassoIdWsf2DiscoServiceType *object;
- object = g_object_new(LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_service_type.h b/lasso/xml/id-wsf-2.0/disco_service_type.h
deleted file mode 100644
index d4c4c828..00000000
--- a/lasso/xml/id-wsf-2.0/disco_service_type.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: disco_service_type.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SERVICE_TYPE_H__
-#define __LASSO_IDWSF2_DISCO_SERVICE_TYPE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE (lasso_idwsf2_disco_service_type_get_type())
-#define LASSO_IDWSF2_DISCO_SERVICE_TYPE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, \
- LassoIdWsf2DiscoServiceType))
-#define LASSO_IDWSF2_DISCO_SERVICE_TYPE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, \
- LassoIdWsf2DiscoServiceTypeClass))
-#define LASSO_IS_IDWSF2_DISCO_SERVICE_TYPE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE))
-#define LASSO_IS_IDWSF2_DISCO_SERVICE_TYPE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE))
-#define LASSO_IDWSF2_DISCO_SERVICE_TYPE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SERVICE_TYPE, \
- LassoIdWsf2DiscoServiceTypeClass))
-
-
-typedef struct _LassoIdWsf2DiscoServiceType LassoIdWsf2DiscoServiceType;
-typedef struct _LassoIdWsf2DiscoServiceTypeClass LassoIdWsf2DiscoServiceTypeClass;
-
-
-struct _LassoIdWsf2DiscoServiceType {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
-};
-
-
-struct _LassoIdWsf2DiscoServiceTypeClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_service_type_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoServiceType* lasso_idwsf2_disco_service_type_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoServiceType*
- lasso_idwsf2_disco_service_type_new_with_string(const char *content);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SERVICE_TYPE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.c
deleted file mode 100644
index 4139d2f2..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: disco_svc_md_association_add.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_add.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_add
- * @short_description: <disco:SvcMDAssociationAdd>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationAdd, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationAdd, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationAdd *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationAddClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationAdd");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_add_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationAddClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationAdd),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationAdd", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_add_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationAdd object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationAdd object
- **/
-LassoIdWsf2DiscoSvcMDAssociationAdd*
-lasso_idwsf2_disco_svc_md_association_add_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.h
deleted file mode 100644
index d42a125b..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: disco_svc_md_association_add.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD \
- (lasso_idwsf2_disco_svc_md_association_add_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD, \
- LassoIdWsf2DiscoSvcMDAssociationAdd))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD, \
- LassoIdWsf2DiscoSvcMDAssociationAddClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD, \
- LassoIdWsf2DiscoSvcMDAssociationAddClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationAdd LassoIdWsf2DiscoSvcMDAssociationAdd;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationAddClass LassoIdWsf2DiscoSvcMDAssociationAddClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationAdd {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDAssociationAddClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_add_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationAdd*
- lasso_idwsf2_disco_svc_md_association_add_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.c
deleted file mode 100644
index d1c3643d..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: disco_svc_md_association_add_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_add_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_add_response
- * @short_description: <disco:SvcMDAssociationAddResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationAddResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationAddResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationAddResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationAddResponseClass *klass,
- void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationAddResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_add_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationAddResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationAddResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationAddResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_add_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationAddResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationAddResponse object
- **/
-LassoIdWsf2DiscoSvcMDAssociationAddResponse*
-lasso_idwsf2_disco_svc_md_association_add_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.h
deleted file mode 100644
index e1ed74a8..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_add_response.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: disco_svc_md_association_add_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE \
- (lasso_idwsf2_disco_svc_md_association_add_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationAddResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationAddResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationAddResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationAddResponse \
- LassoIdWsf2DiscoSvcMDAssociationAddResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationAddResponseClass \
- LassoIdWsf2DiscoSvcMDAssociationAddResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationAddResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationAddResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_add_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationAddResponse*
- lasso_idwsf2_disco_svc_md_association_add_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_ADD_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.c
deleted file mode 100644
index d25f632d..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: disco_svc_md_association_delete.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_delete.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_delete
- * @short_description: <disco:SvcMDAssociationDelete>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationDelete, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationDelete, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationDelete *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationDeleteClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationDelete");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_delete_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationDeleteClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationDelete),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationDelete", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_delete_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationDelete object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationDelete object
- **/
-LassoIdWsf2DiscoSvcMDAssociationDelete*
-lasso_idwsf2_disco_svc_md_association_delete_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.h
deleted file mode 100644
index 53a957c8..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: disco_svc_md_association_delete.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE \
- (lasso_idwsf2_disco_svc_md_association_delete_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE, \
- LassoIdWsf2DiscoSvcMDAssociationDelete))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE, \
- LassoIdWsf2DiscoSvcMDAssociationDeleteClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE, \
- LassoIdWsf2DiscoSvcMDAssociationDeleteClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationDelete \
- LassoIdWsf2DiscoSvcMDAssociationDelete;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationDeleteClass \
- LassoIdWsf2DiscoSvcMDAssociationDeleteClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationDelete {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDAssociationDeleteClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_delete_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationDelete*
- lasso_idwsf2_disco_svc_md_association_delete_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.c
deleted file mode 100644
index 5935f8d8..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: disco_svc_md_association_delete_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_delete_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_delete_response
- * @short_description: <disco:SvcMDAssociationDeleteResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass *klass,
- void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationDeleteResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_delete_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationDeleteResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_delete_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationDeleteResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationDeleteResponse object
- **/
-LassoIdWsf2DiscoSvcMDAssociationDeleteResponse*
-lasso_idwsf2_disco_svc_md_association_delete_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.h
deleted file mode 100644
index 54afd3df..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_delete_response.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: disco_svc_md_association_delete_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE \
- (lasso_idwsf2_disco_svc_md_association_delete_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationDeleteResponse \
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass \
- LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationDeleteResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationDeleteResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_delete_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationDeleteResponse*
- lasso_idwsf2_disco_svc_md_association_delete_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_DELETE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.c
deleted file mode 100644
index 1e966c80..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: disco_svc_md_association_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_query
- * @short_description: <disco:SvcMDAssociationQuery>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationQuery, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationQuery, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationQuery *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationQuery");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationQuery),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_query_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationQuery object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationQuery object
- **/
-LassoIdWsf2DiscoSvcMDAssociationQuery*
-lasso_idwsf2_disco_svc_md_association_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.h
deleted file mode 100644
index 9b738870..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: disco_svc_md_association_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY \
- (lasso_idwsf2_disco_svc_md_association_query_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY, \
- LassoIdWsf2DiscoSvcMDAssociationQuery))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY, \
- LassoIdWsf2DiscoSvcMDAssociationQueryClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY, \
- LassoIdWsf2DiscoSvcMDAssociationQueryClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationQuery \
- LassoIdWsf2DiscoSvcMDAssociationQuery;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationQueryClass \
- LassoIdWsf2DiscoSvcMDAssociationQueryClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationQuery {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDAssociationQueryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationQuery*
- lasso_idwsf2_disco_svc_md_association_query_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.c
deleted file mode 100644
index 67bb7cc2..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id: disco_svc_md_association_query_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_association_query_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_association_query_response
- * @short_description: <disco:SvcMDAssociationQueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationQueryResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationQueryResponse, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDAssociationQueryResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDAssociationQueryResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass *klass,
- void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDAssociationQueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_association_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDAssociationQueryResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDAssociationQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_association_query_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDAssociationQueryResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDAssociationQueryResponse object
- **/
-LassoIdWsf2DiscoSvcMDAssociationQueryResponse*
-lasso_idwsf2_disco_svc_md_association_query_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.h
deleted file mode 100644
index b0f5f3cf..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_association_query_response.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: disco_svc_md_association_query_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE \
- (lasso_idwsf2_disco_svc_md_association_query_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationQueryResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationQueryResponse \
- LassoIdWsf2DiscoSvcMDAssociationQueryResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass \
- LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationQueryResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDAssociationQueryResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_association_query_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDAssociationQueryResponse*
- lasso_idwsf2_disco_svc_md_association_query_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_ASSOCIATION_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_delete.c b/lasso/xml/id-wsf-2.0/disco_svc_md_delete.c
deleted file mode 100644
index bd869857..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_delete.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: disco_svc_md_delete.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_delete.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_delete
- * @short_description: <disco:SvcMDDelete>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDDelete, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDDelete, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDDelete *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDDeleteClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDDelete");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_delete_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDDeleteClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDDelete),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDDelete", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_delete_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDDelete object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDDelete object
- **/
-LassoIdWsf2DiscoSvcMDDelete*
-lasso_idwsf2_disco_svc_md_delete_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_delete.h b/lasso/xml/id-wsf-2.0/disco_svc_md_delete.h
deleted file mode 100644
index 26e9a7d0..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_delete.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_svc_md_delete.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE (lasso_idwsf2_disco_svc_md_delete_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE, \
- LassoIdWsf2DiscoSvcMDDelete))
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE, \
- LassoIdWsf2DiscoSvcMDDeleteClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE, \
- LassoIdWsf2DiscoSvcMDDeleteClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDDelete LassoIdWsf2DiscoSvcMDDelete;
-typedef struct _LassoIdWsf2DiscoSvcMDDeleteClass LassoIdWsf2DiscoSvcMDDeleteClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDDelete {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDDeleteClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_delete_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDDelete* lasso_idwsf2_disco_svc_md_delete_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.c
deleted file mode 100644
index 34184079..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: disco_svc_md_delete_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_delete_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_delete_response
- * @short_description: <disco:SvcMDDeleteResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDDeleteResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDDeleteResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDDeleteResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDDeleteResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDDeleteResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_delete_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDDeleteResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDDeleteResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDDeleteResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_delete_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDDeleteResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDDeleteResponse object
- **/
-LassoIdWsf2DiscoSvcMDDeleteResponse*
-lasso_idwsf2_disco_svc_md_delete_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.h
deleted file mode 100644
index cad270e1..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_delete_response.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_svc_md_delete_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE \
- (lasso_idwsf2_disco_svc_md_delete_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDDeleteResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDDeleteResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDDeleteResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDDeleteResponse LassoIdWsf2DiscoSvcMDDeleteResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDDeleteResponseClass LassoIdWsf2DiscoSvcMDDeleteResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDDeleteResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDDeleteResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_delete_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDDeleteResponse*
- lasso_idwsf2_disco_svc_md_delete_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_DELETE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_query.c b/lasso/xml/id-wsf-2.0/disco_svc_md_query.c
deleted file mode 100644
index 1d728f29..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_query.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: disco_svc_md_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_query
- * @short_description: <disco:SvcMDQuery>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDQuery, SvcMDID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDQuery, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDQuery *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDQuery");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDQuery),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_query_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDQuery object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDQuery object
- **/
-LassoIdWsf2DiscoSvcMDQuery*
-lasso_idwsf2_disco_svc_md_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_query.h b/lasso/xml/id-wsf-2.0/disco_svc_md_query.h
deleted file mode 100644
index bd6de386..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_query.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_svc_md_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY (lasso_idwsf2_disco_svc_md_query_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY, \
- LassoIdWsf2DiscoSvcMDQuery))
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY, \
- LassoIdWsf2DiscoSvcMDQueryClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY))
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY, \
- LassoIdWsf2DiscoSvcMDQueryClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDQuery LassoIdWsf2DiscoSvcMDQuery;
-typedef struct _LassoIdWsf2DiscoSvcMDQueryClass LassoIdWsf2DiscoSvcMDQueryClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDQuery {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMDID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDQueryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDQuery* lasso_idwsf2_disco_svc_md_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.c
deleted file mode 100644
index a022ffe0..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id: disco_svc_md_query_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_query_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_query_response
- * @short_description: <disco:SvcMDQueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDQueryResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "SvcMD", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDQueryResponse, SvcMD),
- "LassoIdWsf2DiscoSvcMetadata", NULL, NULL },
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDQueryResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDQueryResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDQueryResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDQueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDQueryResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_query_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDQueryResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDQueryResponse object
- **/
-LassoIdWsf2DiscoSvcMDQueryResponse*
-lasso_idwsf2_disco_svc_md_query_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.h
deleted file mode 100644
index 8f6f42ad..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_query_response.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: disco_svc_md_query_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE \
- (lasso_idwsf2_disco_svc_md_query_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDQueryResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDQueryResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE, \
- LassoIdWsf2DiscoSvcMDQueryResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDQueryResponse LassoIdWsf2DiscoSvcMDQueryResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDQueryResponseClass LassoIdWsf2DiscoSvcMDQueryResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDQueryResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *SvcMD; /* of LassoIdWsf2DiscoSvcMetadata */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDQueryResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_query_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDQueryResponse* lasso_idwsf2_disco_svc_md_query_response_new(
- void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_register.c b/lasso/xml/id-wsf-2.0/disco_svc_md_register.c
deleted file mode 100644
index b0b8ae00..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_register.c
+++ /dev/null
@@ -1,151 +0,0 @@
-/* $Id: disco_svc_md_register.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_register.h"
-#include "idwsf2_strings.h"
-#include "disco_svc_metadata.h"
-
-/**
- * SECTION:disco_svc_md_register
- * @short_description: <disco:SvcMDRegister>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMD", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegister, SvcMD),
- "LassoIdWsf2DiscoSvcMetadata", NULL, NULL },
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegister, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDRegister *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDRegisterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDRegister");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_register_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDRegisterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDRegister),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDRegister", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_register_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDRegister object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDRegister object
- **/
-LassoIdWsf2DiscoSvcMDRegister*
-lasso_idwsf2_disco_svc_md_register_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER, NULL);
-}
-
-
-/**
- * lasso_idwsf2_disco_svc_md_register_new_full:
- * @service_type: the service type for the registered metadatas
- * @abstract: the human description for the service
- * @provider_id: the SAML provider id of the service
- * @soap_endpoint: the SOAP endpoint URL for the service
- *
- * Create and initialize a complete message for registering new metadatas at a discovery service.
- *
- * Return value: a new filled and initialized #LassoIdWsf2DiscoSvcMDRegister if successfull, NULL
- * otherwise.
- */
-LassoIdWsf2DiscoSvcMDRegister*
-lasso_idwsf2_disco_svc_md_register_new_full(const gchar *service_type, const gchar *abstract,
- const gchar *provider_id, const gchar *soap_endpoint)
-{
- LassoIdWsf2DiscoSvcMDRegister *metadata_register;
- LassoIdWsf2DiscoSvcMetadata *metadata;
-
- metadata_register = lasso_idwsf2_disco_svc_md_register_new();
- metadata = lasso_idwsf2_disco_svc_metadata_new_full(service_type, abstract, provider_id,
- soap_endpoint);
- metadata_register->SvcMD = g_list_append(
- metadata_register->SvcMD, metadata);
-
- return metadata_register;
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_register.h b/lasso/xml/id-wsf-2.0/disco_svc_md_register.h
deleted file mode 100644
index 55b31b81..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_register.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: disco_svc_md_register.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER (lasso_idwsf2_disco_svc_md_register_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER, \
- LassoIdWsf2DiscoSvcMDRegister))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER, \
- LassoIdWsf2DiscoSvcMDRegisterClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER, \
- LassoIdWsf2DiscoSvcMDRegisterClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDRegister LassoIdWsf2DiscoSvcMDRegister;
-typedef struct _LassoIdWsf2DiscoSvcMDRegisterClass LassoIdWsf2DiscoSvcMDRegisterClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDRegister {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMD; /* of LassoIdWsf2DiscoSvcMetadata */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDRegisterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_register_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDRegister* lasso_idwsf2_disco_svc_md_register_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDRegister* lasso_idwsf2_disco_svc_md_register_new_full(
- const gchar *service_type, const gchar *abstract,
- const gchar *provider_id, const gchar *soap_endpoint);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.c
deleted file mode 100644
index fa127f29..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.c
+++ /dev/null
@@ -1,130 +0,0 @@
-/* $Id: disco_svc_md_register_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_register_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_register_response
- * @short_description: <disco:SvcMDRegisterResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegisterResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_PREFIX},
- { "SvcMDID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegisterResponse, SvcMDID), NULL, NULL, NULL},
- { "Keys", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegisterResponse, Keys),
- "LassoIdWsf2DiscoKeys", NULL, NULL },
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDRegisterResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDRegisterResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDRegisterResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDRegisterResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_register_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDRegisterResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDRegisterResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDRegisterResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_register_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDRegisterResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDRegisterResponse object
- **/
-LassoIdWsf2DiscoSvcMDRegisterResponse*
-lasso_idwsf2_disco_svc_md_register_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.h
deleted file mode 100644
index 0724fd55..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_register_response.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: disco_svc_md_register_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE \
- (lasso_idwsf2_disco_svc_md_register_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE, \
- LassoIdWsf2DiscoSvcMDRegisterResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE, \
- LassoIdWsf2DiscoSvcMDRegisterResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE, \
- LassoIdWsf2DiscoSvcMDRegisterResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDRegisterResponse \
- LassoIdWsf2DiscoSvcMDRegisterResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDRegisterResponseClass \
- LassoIdWsf2DiscoSvcMDRegisterResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDRegisterResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *SvcMDID; /* of strings */
- GList *Keys; /* of LassoIdWsf2DiscoKeys */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDRegisterResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_register_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDRegisterResponse*
- lasso_idwsf2_disco_svc_md_register_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_REGISTER_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_replace.c b/lasso/xml/id-wsf-2.0/disco_svc_md_replace.c
deleted file mode 100644
index 4b41e1b6..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_replace.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: disco_svc_md_replace.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_replace.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_replace
- * @short_description: <disco:SvcMDReplace>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "SvcMD", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDReplace, SvcMD),
- "LassoIdWsf2DiscoSvcMetadata", NULL, NULL },
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDReplace, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDReplace *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDReplaceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDReplace");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_replace_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDReplaceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDReplace),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDReplace", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_replace_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDReplace object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDReplace object
- **/
-LassoIdWsf2DiscoSvcMDReplace*
-lasso_idwsf2_disco_svc_md_replace_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_replace.h b/lasso/xml/id-wsf-2.0/disco_svc_md_replace.h
deleted file mode 100644
index 6fe23baa..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_replace.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: disco_svc_md_replace.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE (lasso_idwsf2_disco_svc_md_replace_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE, \
- LassoIdWsf2DiscoSvcMDReplace))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE, \
- LassoIdWsf2DiscoSvcMDReplaceClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE, \
- LassoIdWsf2DiscoSvcMDReplaceClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDReplace LassoIdWsf2DiscoSvcMDReplace;
-typedef struct _LassoIdWsf2DiscoSvcMDReplaceClass LassoIdWsf2DiscoSvcMDReplaceClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDReplace {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *SvcMD; /* of LassoIdWsf2DiscoSvcMetadata */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMDReplaceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_replace_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDReplace* lasso_idwsf2_disco_svc_md_replace_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.c b/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.c
deleted file mode 100644
index abfff1f4..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: disco_svc_md_replace_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_md_replace_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:disco_svc_md_replace_response
- * @short_description: <disco:SvcMDReplaceResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDReplaceResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMDReplaceResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DiscoSvcMDReplaceResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DiscoSvcMDReplaceResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMDReplaceResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_md_replace_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMDReplaceResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMDReplaceResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMDReplaceResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_md_replace_response_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMDReplaceResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMDReplaceResponse object
- **/
-LassoIdWsf2DiscoSvcMDReplaceResponse*
-lasso_idwsf2_disco_svc_md_replace_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.h b/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.h
deleted file mode 100644
index f68781ef..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_md_replace_response.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: disco_svc_md_replace_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_H__
-#define __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE \
- (lasso_idwsf2_disco_svc_md_replace_response_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDReplaceResponse))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDReplaceResponseClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE))
-#define LASSO_IS_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE))
-#define LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE, \
- LassoIdWsf2DiscoSvcMDReplaceResponseClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMDReplaceResponse \
- LassoIdWsf2DiscoSvcMDReplaceResponse;
-typedef struct _LassoIdWsf2DiscoSvcMDReplaceResponseClass \
- LassoIdWsf2DiscoSvcMDReplaceResponseClass;
-
-
-struct _LassoIdWsf2DiscoSvcMDReplaceResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2DiscoSvcMDReplaceResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_md_replace_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMDReplaceResponse*
- lasso_idwsf2_disco_svc_md_replace_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_MD_REPLACE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_metadata.c b/lasso/xml/id-wsf-2.0/disco_svc_metadata.c
deleted file mode 100644
index a73fcd87..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_metadata.c
+++ /dev/null
@@ -1,145 +0,0 @@
-/* $Id: disco_svc_metadata.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "disco_svc_metadata.h"
-#include "idwsf2_strings.h"
-#include "disco_endpoint_context.h"
-#include "disco_service_context.h"
-
-/**
- * SECTION:disco_svc_metadata
- * @short_description: <disco:SvcMetadata>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Abstract", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMetadata, Abstract), NULL, NULL, NULL},
- { "ProviderID", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMetadata, ProviderID), NULL, NULL, NULL},
- { "ServiceContext", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMetadata, ServiceContext),
- "LassoIdWsf2DiscoServiceContext", NULL, NULL },
- { "svcMDID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DiscoSvcMetadata, svcMDID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DiscoSvcMetadataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SvcMD");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DISCOVERY_HREF, LASSO_IDWSF2_DISCOVERY_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_disco_svc_metadata_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DiscoSvcMetadataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DiscoSvcMetadata),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DiscoSvcMetadata", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_disco_svc_metadata_new:
- *
- * Creates a new #LassoIdWsf2DiscoSvcMetadata object.
- *
- * Return value: a newly created #LassoIdWsf2DiscoSvcMetadata object
- **/
-LassoIdWsf2DiscoSvcMetadata*
-lasso_idwsf2_disco_svc_metadata_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA, NULL);
-}
-
-
-LassoIdWsf2DiscoSvcMetadata*
-lasso_idwsf2_disco_svc_metadata_new_full(const gchar *service_type, const gchar *abstract,
- const gchar *provider_id, const gchar *soap_endpoint)
-{
- LassoIdWsf2DiscoSvcMetadata *metadata;
- LassoIdWsf2DiscoEndpointContext *endpoint_context;
-
- metadata = g_object_new(LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA, NULL);
-
- metadata->Abstract = g_strdup(abstract);
- metadata->ProviderID = g_strdup(provider_id);
-
- endpoint_context = lasso_idwsf2_disco_endpoint_context_new_full(soap_endpoint);
- metadata->ServiceContext = g_list_append(NULL,
- lasso_idwsf2_disco_service_context_new_full(service_type, endpoint_context));
- g_object_unref(endpoint_context);
-
- return metadata;
-}
-
diff --git a/lasso/xml/id-wsf-2.0/disco_svc_metadata.h b/lasso/xml/id-wsf-2.0/disco_svc_metadata.h
deleted file mode 100644
index 24e9c2e1..00000000
--- a/lasso/xml/id-wsf-2.0/disco_svc_metadata.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: disco_svc_metadata.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DISCO_SVC_METADATA_H__
-#define __LASSO_IDWSF2_DISCO_SVC_METADATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA (lasso_idwsf2_disco_svc_metadata_get_type())
-#define LASSO_IDWSF2_DISCO_SVC_METADATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA, \
- LassoIdWsf2DiscoSvcMetadata))
-#define LASSO_IDWSF2_DISCO_SVC_METADATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA, \
- LassoIdWsf2DiscoSvcMetadataClass))
-#define LASSO_IS_IDWSF2_DISCO_SVC_METADATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA))
-#define LASSO_IS_IDWSF2_DISCO_SVC_METADATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA))
-#define LASSO_IDWSF2_DISCO_SVC_METADATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DISCO_SVC_METADATA, \
- LassoIdWsf2DiscoSvcMetadataClass))
-
-
-typedef struct _LassoIdWsf2DiscoSvcMetadata LassoIdWsf2DiscoSvcMetadata;
-typedef struct _LassoIdWsf2DiscoSvcMetadataClass LassoIdWsf2DiscoSvcMetadataClass;
-
-
-struct _LassoIdWsf2DiscoSvcMetadata {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *Abstract;
- char *ProviderID;
- GList *ServiceContext; /* of LassoIdWsf2DiscoServiceContext */
- /* attributes */
- char *svcMDID;
-};
-
-
-struct _LassoIdWsf2DiscoSvcMetadataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_disco_svc_metadata_get_type(void);
-LASSO_EXPORT LassoIdWsf2DiscoSvcMetadata* lasso_idwsf2_disco_svc_metadata_new(void);
-
-LASSO_EXPORT LassoIdWsf2DiscoSvcMetadata* lasso_idwsf2_disco_svc_metadata_new_full(
- const gchar *service_type, const gchar *abstract,
- const gchar *provider_id, const gchar *soap_endpoint);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DISCO_SVC_METADATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_data_response_base.c b/lasso/xml/id-wsf-2.0/dst_data_response_base.c
deleted file mode 100644
index 75be6a9d..00000000
--- a/lasso/xml/id-wsf-2.0/dst_data_response_base.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id: dst_data_response_base.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_data_response_base.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_data_response_base
- * @short_description: <dst:DataResponseBase>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "timeStamp", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstDataResponseBase, timeStamp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstDataResponseBaseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DataResponseBase");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_data_response_base_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstDataResponseBaseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstDataResponseBase),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_UTIL_RESPONSE,
- "LassoIdWsf2DstDataResponseBase", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_data_response_base_new:
- *
- * Creates a new #LassoIdWsf2DstDataResponseBase object.
- *
- * Return value: a newly created #LassoIdWsf2DstDataResponseBase object
- **/
-LassoIdWsf2DstDataResponseBase*
-lasso_idwsf2_dst_data_response_base_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_data_response_base.h b/lasso/xml/id-wsf-2.0/dst_data_response_base.h
deleted file mode 100644
index b6c6223c..00000000
--- a/lasso/xml/id-wsf-2.0/dst_data_response_base.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: dst_data_response_base.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_H__
-#define __LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_response.h"
-
-#define LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE (lasso_idwsf2_dst_data_response_base_get_type())
-#define LASSO_IDWSF2_DST_DATA_RESPONSE_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE, \
- LassoIdWsf2DstDataResponseBase))
-#define LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE, \
- LassoIdWsf2DstDataResponseBaseClass))
-#define LASSO_IS_IDWSF2_DST_DATA_RESPONSE_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE))
-#define LASSO_IS_IDWSF2_DST_DATA_RESPONSE_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE))
-#define LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE, \
- LassoIdWsf2DstDataResponseBaseClass))
-
-
-typedef struct _LassoIdWsf2DstDataResponseBase LassoIdWsf2DstDataResponseBase;
-typedef struct _LassoIdWsf2DstDataResponseBaseClass LassoIdWsf2DstDataResponseBaseClass;
-
-
-struct _LassoIdWsf2DstDataResponseBase {
- LassoIdWsf2UtilResponse parent;
-
- /*< public >*/
- /* attributes */
- char *timeStamp;
-};
-
-
-struct _LassoIdWsf2DstDataResponseBaseClass {
- LassoIdWsf2UtilResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_data_response_base_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstDataResponseBase* lasso_idwsf2_dst_data_response_base_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_DATA_RESPONSE_BASE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_delete_item_base.c b/lasso/xml/id-wsf-2.0/dst_delete_item_base.c
deleted file mode 100644
index 529bfdbe..00000000
--- a/lasso/xml/id-wsf-2.0/dst_delete_item_base.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: dst_delete_item_base.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_delete_item_base.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_delete_item_base
- * @short_description: <dst:DeleteItemBase>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "notChangedSince", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstDeleteItemBase, notChangedSince), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstDeleteItemBase, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstDeleteItemBase, itemID), NULL, NULL, NULL},
- { "objectType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstDeleteItemBase, objectType), NULL, NULL, NULL},
- { "predefined", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstDeleteItemBase, predefined), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstDeleteItemBaseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteItemBase");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_delete_item_base_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstDeleteItemBaseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstDeleteItemBase),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstDeleteItemBase", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_delete_item_base_new:
- *
- * Creates a new #LassoIdWsf2DstDeleteItemBase object.
- *
- * Return value: a newly created #LassoIdWsf2DstDeleteItemBase object
- **/
-LassoIdWsf2DstDeleteItemBase*
-lasso_idwsf2_dst_delete_item_base_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_delete_item_base.h b/lasso/xml/id-wsf-2.0/dst_delete_item_base.h
deleted file mode 100644
index 529df194..00000000
--- a/lasso/xml/id-wsf-2.0/dst_delete_item_base.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: dst_delete_item_base.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_DELETE_ITEM_BASE_H__
-#define __LASSO_IDWSF2_DST_DELETE_ITEM_BASE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE (lasso_idwsf2_dst_delete_item_base_get_type())
-#define LASSO_IDWSF2_DST_DELETE_ITEM_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE, \
- LassoIdWsf2DstDeleteItemBase))
-#define LASSO_IDWSF2_DST_DELETE_ITEM_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE, \
- LassoIdWsf2DstDeleteItemBaseClass))
-#define LASSO_IS_IDWSF2_DST_DELETE_ITEM_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE))
-#define LASSO_IS_IDWSF2_DST_DELETE_ITEM_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE))
-#define LASSO_IDWSF2_DST_DELETE_ITEM_BASE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE, \
- LassoIdWsf2DstDeleteItemBaseClass))
-
-
-typedef struct _LassoIdWsf2DstDeleteItemBase LassoIdWsf2DstDeleteItemBase;
-typedef struct _LassoIdWsf2DstDeleteItemBaseClass LassoIdWsf2DstDeleteItemBaseClass;
-
-
-struct _LassoIdWsf2DstDeleteItemBase {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *notChangedSince;
- char *id;
- char *itemID;
- char *objectType;
- char *predefined;
-};
-
-
-struct _LassoIdWsf2DstDeleteItemBaseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_delete_item_base_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstDeleteItemBase* lasso_idwsf2_dst_delete_item_base_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_DELETE_ITEM_BASE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_delete_response.c b/lasso/xml/id-wsf-2.0/dst_delete_response.c
deleted file mode 100644
index ab529bae..00000000
--- a/lasso/xml/id-wsf-2.0/dst_delete_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: dst_delete_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_delete_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_delete_response
- * @short_description: <dst:DeleteResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2DstDeleteResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_delete_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstDeleteResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstDeleteResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_UTIL_RESPONSE,
- "LassoIdWsf2DstDeleteResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_delete_response_new:
- *
- * Creates a new #LassoIdWsf2DstDeleteResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstDeleteResponse object
- **/
-LassoIdWsf2DstDeleteResponse*
-lasso_idwsf2_dst_delete_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_delete_response.h b/lasso/xml/id-wsf-2.0/dst_delete_response.h
deleted file mode 100644
index ef3abc94..00000000
--- a/lasso/xml/id-wsf-2.0/dst_delete_response.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id: dst_delete_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_DELETE_RESPONSE_H__
-#define __LASSO_IDWSF2_DST_DELETE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_response.h"
-
-#define LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE (lasso_idwsf2_dst_delete_response_get_type())
-#define LASSO_IDWSF2_DST_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE, \
- LassoIdWsf2DstDeleteResponse))
-#define LASSO_IDWSF2_DST_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE, \
- LassoIdWsf2DstDeleteResponseClass))
-#define LASSO_IS_IDWSF2_DST_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE))
-#define LASSO_IS_IDWSF2_DST_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE))
-#define LASSO_IDWSF2_DST_DELETE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_DELETE_RESPONSE, \
- LassoIdWsf2DstDeleteResponseClass))
-
-
-typedef struct _LassoIdWsf2DstDeleteResponse LassoIdWsf2DstDeleteResponse;
-typedef struct _LassoIdWsf2DstDeleteResponseClass LassoIdWsf2DstDeleteResponseClass;
-
-
-struct _LassoIdWsf2DstDeleteResponse {
- LassoIdWsf2UtilResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2DstDeleteResponseClass {
- LassoIdWsf2UtilResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_delete_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstDeleteResponse* lasso_idwsf2_dst_delete_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_DELETE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_request.c b/lasso/xml/id-wsf-2.0/dst_request.c
deleted file mode 100644
index c2f9136e..00000000
--- a/lasso/xml/id-wsf-2.0/dst_request.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* $Id: dst_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_request
- * @short_description: <dst:Request>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Extension", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRequest, Extension),
- "LassoIdWsf2Utilextension", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "itemID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRequest, itemID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2DstRequest, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DstRequest *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2DstRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Request");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRequest),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_request_new:
- *
- * Creates a new #LassoIdWsf2DstRequest object.
- *
- * Return value: a newly created #LassoIdWsf2DstRequest object
- **/
-LassoIdWsf2DstRequest*
-lasso_idwsf2_dst_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_request.h b/lasso/xml/id-wsf-2.0/dst_request.h
deleted file mode 100644
index 2af3e637..00000000
--- a/lasso/xml/id-wsf-2.0/dst_request.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: dst_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_REQUEST_H__
-#define __LASSO_IDWSF2_DST_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DST_REQUEST (lasso_idwsf2_dst_request_get_type())
-#define LASSO_IDWSF2_DST_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_REQUEST, \
- LassoIdWsf2DstRequest))
-#define LASSO_IDWSF2_DST_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_REQUEST, \
- LassoIdWsf2DstRequestClass))
-#define LASSO_IS_IDWSF2_DST_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_REQUEST))
-#define LASSO_IS_IDWSF2_DST_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_REQUEST))
-#define LASSO_IDWSF2_DST_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_REQUEST, \
- LassoIdWsf2DstRequestClass))
-
-
-typedef struct _LassoIdWsf2DstRequest LassoIdWsf2DstRequest;
-typedef struct _LassoIdWsf2DstRequestClass LassoIdWsf2DstRequestClass;
-
-
-struct _LassoIdWsf2DstRequest {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Extension; /* of LassoIdWsf2Utilextension */
- /* attributes */
- char *itemID;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2DstRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRequest* lasso_idwsf2_dst_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_result_query_base.c b/lasso/xml/id-wsf-2.0/dst_result_query_base.c
deleted file mode 100644
index f0bd08da..00000000
--- a/lasso/xml/id-wsf-2.0/dst_result_query_base.c
+++ /dev/null
@@ -1,132 +0,0 @@
-/* $Id: dst_result_query_base.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_result_query_base.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_result_query_base
- * @short_description: <dst:ResultQueryBase>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ChangeFormat", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, ChangeFormat), NULL, NULL, NULL},
- { "itemIDRef", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, itemIDRef), NULL, NULL, NULL},
- { "contingency", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, contingency), NULL, NULL, NULL},
- { "includeCommonAttributes", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, includeCommonAttributes), NULL, NULL, NULL},
- { "changedSince", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, changedSince), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, itemID), NULL, NULL, NULL},
- { "objectType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, objectType), NULL, NULL, NULL},
- { "predefined", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstResultQueryBase, predefined), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstResultQueryBaseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResultQueryBase");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_result_query_base_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstResultQueryBaseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstResultQueryBase),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstResultQueryBase", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_result_query_base_new:
- *
- * Creates a new #LassoIdWsf2DstResultQueryBase object.
- *
- * Return value: a newly created #LassoIdWsf2DstResultQueryBase object
- **/
-LassoIdWsf2DstResultQueryBase*
-lasso_idwsf2_dst_result_query_base_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_result_query_base.h b/lasso/xml/id-wsf-2.0/dst_result_query_base.h
deleted file mode 100644
index 94b811d2..00000000
--- a/lasso/xml/id-wsf-2.0/dst_result_query_base.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* $Id: dst_result_query_base.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_RESULT_QUERY_BASE_H__
-#define __LASSO_IDWSF2_DST_RESULT_QUERY_BASE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE (lasso_idwsf2_dst_result_query_base_get_type())
-#define LASSO_IDWSF2_DST_RESULT_QUERY_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE, \
- LassoIdWsf2DstResultQueryBase))
-#define LASSO_IDWSF2_DST_RESULT_QUERY_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE, \
- LassoIdWsf2DstResultQueryBaseClass))
-#define LASSO_IS_IDWSF2_DST_RESULT_QUERY_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE))
-#define LASSO_IS_IDWSF2_DST_RESULT_QUERY_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE))
-#define LASSO_IDWSF2_DST_RESULT_QUERY_BASE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE, \
- LassoIdWsf2DstResultQueryBaseClass))
-
-
-typedef struct _LassoIdWsf2DstResultQueryBase LassoIdWsf2DstResultQueryBase;
-typedef struct _LassoIdWsf2DstResultQueryBaseClass LassoIdWsf2DstResultQueryBaseClass;
-
-
-struct _LassoIdWsf2DstResultQueryBase {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *ChangeFormat;
- /* attributes */
- char *itemIDRef;
- gboolean contingency;
- gboolean includeCommonAttributes;
- char *changedSince;
- char *itemID;
- char *objectType;
- char *predefined;
-};
-
-
-struct _LassoIdWsf2DstResultQueryBaseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_result_query_base_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstResultQueryBase* lasso_idwsf2_dst_result_query_base_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_RESULT_QUERY_BASE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dst_test_item_base.c b/lasso/xml/id-wsf-2.0/dst_test_item_base.c
deleted file mode 100644
index 30fe8626..00000000
--- a/lasso/xml/id-wsf-2.0/dst_test_item_base.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/* $Id: dst_test_item_base.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dst_test_item_base.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dst_test_item_base
- * @short_description: <dst:TestItemBase>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstTestItemBase, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstTestItemBase, itemID), NULL, NULL, NULL},
- { "objectType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstTestItemBase, objectType), NULL, NULL, NULL},
- { "predefined", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstTestItemBase, predefined), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstTestItemBaseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TestItemBase");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DST_HREF, LASSO_IDWSF2_DST_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dst_test_item_base_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstTestItemBaseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstTestItemBase),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstTestItemBase", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dst_test_item_base_new:
- *
- * Creates a new #LassoIdWsf2DstTestItemBase object.
- *
- * Return value: a newly created #LassoIdWsf2DstTestItemBase object
- **/
-LassoIdWsf2DstTestItemBase*
-lasso_idwsf2_dst_test_item_base_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dst_test_item_base.h b/lasso/xml/id-wsf-2.0/dst_test_item_base.h
deleted file mode 100644
index a71819e5..00000000
--- a/lasso/xml/id-wsf-2.0/dst_test_item_base.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: dst_test_item_base.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DST_TEST_ITEM_BASE_H__
-#define __LASSO_IDWSF2_DST_TEST_ITEM_BASE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE (lasso_idwsf2_dst_test_item_base_get_type())
-#define LASSO_IDWSF2_DST_TEST_ITEM_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE, \
- LassoIdWsf2DstTestItemBase))
-#define LASSO_IDWSF2_DST_TEST_ITEM_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE, \
- LassoIdWsf2DstTestItemBaseClass))
-#define LASSO_IS_IDWSF2_DST_TEST_ITEM_BASE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE))
-#define LASSO_IS_IDWSF2_DST_TEST_ITEM_BASE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE))
-#define LASSO_IDWSF2_DST_TEST_ITEM_BASE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE, \
- LassoIdWsf2DstTestItemBaseClass))
-
-
-typedef struct _LassoIdWsf2DstTestItemBase LassoIdWsf2DstTestItemBase;
-typedef struct _LassoIdWsf2DstTestItemBaseClass LassoIdWsf2DstTestItemBaseClass;
-
-
-struct _LassoIdWsf2DstTestItemBase {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *id;
- char *itemID;
- char *objectType;
- char *predefined;
-};
-
-
-struct _LassoIdWsf2DstTestItemBaseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dst_test_item_base_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstTestItemBase* lasso_idwsf2_dst_test_item_base_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DST_TEST_ITEM_BASE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_app_data.c b/lasso/xml/id-wsf-2.0/dstref_app_data.c
deleted file mode 100644
index 1a676a73..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_app_data.c
+++ /dev/null
@@ -1,111 +0,0 @@
-/* $Id: dstref_app_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_app_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_app_data
- * @short_description: <dstref:AppData>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_XMLNODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefAppData, any), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefAppDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "NewData");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_app_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefAppDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefAppData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstRefAppData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_app_data_new:
- *
- * Creates a new #LassoIdWsf2DstRefAppData object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefAppData object
- **/
-LassoIdWsf2DstRefAppData*
-lasso_idwsf2_dstref_app_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_APP_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_app_data.h b/lasso/xml/id-wsf-2.0/dstref_app_data.h
deleted file mode 100644
index 69f85c6a..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_app_data.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id: dstref_app_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_APP_DATA_H__
-#define __LASSO_IDWSF2_DSTREF_APP_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_APP_DATA (lasso_idwsf2_dstref_app_data_get_type())
-#define LASSO_IDWSF2_DSTREF_APP_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_APP_DATA, \
- LassoIdWsf2DstRefAppData))
-#define LASSO_IDWSF2_DSTREF_APP_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_APP_DATA, \
- LassoIdWsf2DstRefAppDataClass))
-#define LASSO_IS_IDWSF2_DSTREF_APP_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_APP_DATA))
-#define LASSO_IS_IDWSF2_DSTREF_APP_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_APP_DATA))
-#define LASSO_IDWSF2_DSTREF_APP_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_APP_DATA, \
- LassoIdWsf2DstRefAppDataClass))
-
-
-typedef struct _LassoIdWsf2DstRefAppData LassoIdWsf2DstRefAppData;
-typedef struct _LassoIdWsf2DstRefAppDataClass LassoIdWsf2DstRefAppDataClass;
-
-
-struct _LassoIdWsf2DstRefAppData {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of xmlNode* */
-};
-
-
-struct _LassoIdWsf2DstRefAppDataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_app_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefAppData* lasso_idwsf2_dstref_app_data_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_APP_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_create.c b/lasso/xml/id-wsf-2.0/dstref_create.c
deleted file mode 100644
index 94d59d07..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: dstref_create.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_create.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_create
- * @short_description: <dstref:Create>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "CreateItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreate, CreateItem),
- "LassoIdWsf2DstRefCreateItem", NULL, NULL },
- { "ResultQuery", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreate, ResultQuery),
- "LassoIdWsf2DstRefResultQuery", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefCreateClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Create");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_create_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefCreateClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefCreate),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2DstRefCreate", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_create_new:
- *
- * Creates a new #LassoIdWsf2DstRefCreate object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefCreate object
- **/
-LassoIdWsf2DstRefCreate*
-lasso_idwsf2_dstref_create_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_CREATE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_create.h b/lasso/xml/id-wsf-2.0/dstref_create.h
deleted file mode 100644
index 9322e3d2..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: dstref_create.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_CREATE_H__
-#define __LASSO_IDWSF2_DSTREF_CREATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_CREATE (lasso_idwsf2_dstref_create_get_type())
-#define LASSO_IDWSF2_DSTREF_CREATE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE, \
- LassoIdWsf2DstRefCreate))
-#define LASSO_IDWSF2_DSTREF_CREATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE, \
- LassoIdWsf2DstRefCreateClass))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE))
-#define LASSO_IDWSF2_DSTREF_CREATE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE, \
- LassoIdWsf2DstRefCreateClass))
-
-
-typedef struct _LassoIdWsf2DstRefCreate LassoIdWsf2DstRefCreate;
-typedef struct _LassoIdWsf2DstRefCreateClass LassoIdWsf2DstRefCreateClass;
-
-
-struct _LassoIdWsf2DstRefCreate {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *CreateItem; /* of LassoIdWsf2DstRefCreateItem */
- GList *ResultQuery; /* of LassoIdWsf2DstRefResultQuery */
-};
-
-
-struct _LassoIdWsf2DstRefCreateClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_create_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefCreate* lasso_idwsf2_dstref_create_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_CREATE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_create_item.c b/lasso/xml/id-wsf-2.0/dstref_create_item.c
deleted file mode 100644
index 92ff36d0..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create_item.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: dstref_create_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_create_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_create_item
- * @short_description: <dstref:CreateItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "NewData", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreateItem, NewData),
- "LassoIdWsf2DstRefAppData", NULL, NULL },
- { "objectType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreateItem, objectType), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreateItem, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefCreateItem, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefCreateItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CreateItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_create_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefCreateItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefCreateItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstRefCreateItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_create_item_new:
- *
- * Creates a new #LassoIdWsf2DstRefCreateItem object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefCreateItem object
- **/
-LassoIdWsf2DstRefCreateItem*
-lasso_idwsf2_dstref_create_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_create_item.h b/lasso/xml/id-wsf-2.0/dstref_create_item.h
deleted file mode 100644
index 0e6f87f6..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create_item.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: dstref_create_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_CREATE_ITEM_H__
-#define __LASSO_IDWSF2_DSTREF_CREATE_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM (lasso_idwsf2_dstref_create_item_get_type())
-#define LASSO_IDWSF2_DSTREF_CREATE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM, \
- LassoIdWsf2DstRefCreateItem))
-#define LASSO_IDWSF2_DSTREF_CREATE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM, \
- LassoIdWsf2DstRefCreateItemClass))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM))
-#define LASSO_IDWSF2_DSTREF_CREATE_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_ITEM, \
- LassoIdWsf2DstRefCreateItemClass))
-
-
-typedef struct _LassoIdWsf2DstRefCreateItem LassoIdWsf2DstRefCreateItem;
-typedef struct _LassoIdWsf2DstRefCreateItemClass LassoIdWsf2DstRefCreateItemClass;
-
-
-struct _LassoIdWsf2DstRefCreateItem {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2DstRefAppData *NewData;
- /* attributes */
- char *objectType;
- char *id;
- char *itemID;
-};
-
-
-struct _LassoIdWsf2DstRefCreateItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_create_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefCreateItem* lasso_idwsf2_dstref_create_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_CREATE_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_create_response.c b/lasso/xml/id-wsf-2.0/dstref_create_response.c
deleted file mode 100644
index 4d6113b3..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create_response.c
+++ /dev/null
@@ -1,107 +0,0 @@
-/* $Id: dstref_create_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_create_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_create_response
- * @short_description: <dstref:CreateResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2DstRefCreateResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CreateResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_create_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefCreateResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefCreateResponse),
- 0,
- NULL, NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE,
- "LassoIdWsf2DstRefCreateResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_create_response_new:
- *
- * Creates a new #LassoIdWsf2DstRefCreateResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefCreateResponse object
- **/
-LassoIdWsf2DstRefCreateResponse*
-lasso_idwsf2_dstref_create_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_create_response.h b/lasso/xml/id-wsf-2.0/dstref_create_response.h
deleted file mode 100644
index 6d7236b5..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_create_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: dstref_create_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_H__
-#define __LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_data_response.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE \
- (lasso_idwsf2_dstref_create_response_get_type())
-#define LASSO_IDWSF2_DSTREF_CREATE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE, \
- LassoIdWsf2DstRefCreateResponse))
-#define LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE, \
- LassoIdWsf2DstRefCreateResponseClass))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE))
-#define LASSO_IS_IDWSF2_DSTREF_CREATE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE))
-#define LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_CREATE_RESPONSE, \
- LassoIdWsf2DstRefCreateResponseClass))
-
-
-typedef struct _LassoIdWsf2DstRefCreateResponse LassoIdWsf2DstRefCreateResponse;
-typedef struct _LassoIdWsf2DstRefCreateResponseClass LassoIdWsf2DstRefCreateResponseClass;
-
-
-struct _LassoIdWsf2DstRefCreateResponse {
- LassoIdWsf2DstRefDataResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2DstRefCreateResponseClass {
- LassoIdWsf2DstRefDataResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_create_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefCreateResponse* lasso_idwsf2_dstref_create_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_CREATE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_data.c b/lasso/xml/id-wsf-2.0/dstref_data.c
deleted file mode 100644
index 447af220..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_data.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: dstref_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_data
- * @short_description: <dstref:Data>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "remaining", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefData, remaining), NULL, NULL, NULL},
- { "nextOffset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefData, nextOffset), NULL, NULL, NULL},
- { "setID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefData, setID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DstRefData *node)
-{
- node->nextOffset = -1;
-}
-
-static void
-class_init(LassoIdWsf2DstRefDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Data");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefData),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA,
- "LassoIdWsf2DstRefData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_data_new:
- *
- * Creates a new #LassoIdWsf2DstRefData object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefData object
- **/
-LassoIdWsf2DstRefData*
-lasso_idwsf2_dstref_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_data.h b/lasso/xml/id-wsf-2.0/dstref_data.h
deleted file mode 100644
index 17bb839a..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_data.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: dstref_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_DATA_H__
-#define __LASSO_IDWSF2_DSTREF_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_item_data.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_DATA (lasso_idwsf2_dstref_data_get_type())
-#define LASSO_IDWSF2_DSTREF_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA, \
- LassoIdWsf2DstRefData))
-#define LASSO_IDWSF2_DSTREF_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA, \
- LassoIdWsf2DstRefDataClass))
-#define LASSO_IS_IDWSF2_DSTREF_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA))
-#define LASSO_IS_IDWSF2_DSTREF_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA))
-#define LASSO_IDWSF2_DSTREF_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA, \
- LassoIdWsf2DstRefDataClass))
-
-
-typedef struct _LassoIdWsf2DstRefData LassoIdWsf2DstRefData;
-typedef struct _LassoIdWsf2DstRefDataClass LassoIdWsf2DstRefDataClass;
-
-
-struct _LassoIdWsf2DstRefData {
- LassoIdWsf2DstRefItemData parent;
-
- /*< public >*/
- /* attributes */
- int remaining;
- int nextOffset;
- char *setID;
-};
-
-
-struct _LassoIdWsf2DstRefDataClass {
- LassoIdWsf2DstRefItemDataClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefData* lasso_idwsf2_dstref_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_data_response.c b/lasso/xml/id-wsf-2.0/dstref_data_response.c
deleted file mode 100644
index 8a7b1431..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_data_response.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* $Id: dstref_data_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_data_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_data_response
- * @short_description: <dstref:DataResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ItemData", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefDataResponse, ItemData),
- "LassoIdWsf2DstRefItemData", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefDataResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DataResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_data_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefDataResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefDataResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE,
- "LassoIdWsf2DstRefDataResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_data_response_new:
- *
- * Creates a new #LassoIdWsf2DstRefDataResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefDataResponse object
- **/
-LassoIdWsf2DstRefDataResponse*
-lasso_idwsf2_dstref_data_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_data_response.h b/lasso/xml/id-wsf-2.0/dstref_data_response.h
deleted file mode 100644
index 91e6807d..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_data_response.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: dstref_data_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_DATA_RESPONSE_H__
-#define __LASSO_IDWSF2_DSTREF_DATA_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_data_response_base.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE (lasso_idwsf2_dstref_data_response_get_type())
-#define LASSO_IDWSF2_DSTREF_DATA_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE, \
- LassoIdWsf2DstRefDataResponse))
-#define LASSO_IDWSF2_DSTREF_DATA_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE, \
- LassoIdWsf2DstRefDataResponseClass))
-#define LASSO_IS_IDWSF2_DSTREF_DATA_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE))
-#define LASSO_IS_IDWSF2_DSTREF_DATA_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE))
-#define LASSO_IDWSF2_DSTREF_DATA_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE, \
- LassoIdWsf2DstRefDataResponseClass))
-
-
-typedef struct _LassoIdWsf2DstRefDataResponse LassoIdWsf2DstRefDataResponse;
-typedef struct _LassoIdWsf2DstRefDataResponseClass LassoIdWsf2DstRefDataResponseClass;
-
-
-struct _LassoIdWsf2DstRefDataResponse {
- LassoIdWsf2DstDataResponseBase parent;
-
- /*< public >*/
- /* elements */
- GList *ItemData; /* of LassoIdWsf2DstRefItemData */
-};
-
-
-struct _LassoIdWsf2DstRefDataResponseClass {
- LassoIdWsf2DstDataResponseBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_data_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefDataResponse* lasso_idwsf2_dstref_data_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_DATA_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete.c b/lasso/xml/id-wsf-2.0/dstref_delete.c
deleted file mode 100644
index d30b2009..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* $Id: dstref_delete.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_delete.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_delete
- * @short_description: <dstref:Delete>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "DeleteItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefDelete, DeleteItem),
- "LassoIdWsf2DstRefDeleteItem", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefDeleteClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Delete");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_delete_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefDeleteClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefDelete),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2DstRefDelete", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_delete_new:
- *
- * Creates a new #LassoIdWsf2DstRefDelete object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefDelete object
- **/
-LassoIdWsf2DstRefDelete*
-lasso_idwsf2_dstref_delete_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_DELETE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete.h b/lasso/xml/id-wsf-2.0/dstref_delete.h
deleted file mode 100644
index 852afb4a..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: dstref_delete.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_DELETE_H__
-#define __LASSO_IDWSF2_DSTREF_DELETE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_DELETE (lasso_idwsf2_dstref_delete_get_type())
-#define LASSO_IDWSF2_DSTREF_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE, \
- LassoIdWsf2DstRefDelete))
-#define LASSO_IDWSF2_DSTREF_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE, \
- LassoIdWsf2DstRefDeleteClass))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE))
-#define LASSO_IDWSF2_DSTREF_DELETE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE, \
- LassoIdWsf2DstRefDeleteClass))
-
-
-typedef struct _LassoIdWsf2DstRefDelete LassoIdWsf2DstRefDelete;
-typedef struct _LassoIdWsf2DstRefDeleteClass LassoIdWsf2DstRefDeleteClass;
-
-
-struct _LassoIdWsf2DstRefDelete {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *DeleteItem; /* of LassoIdWsf2DstRefDeleteItem */
-};
-
-
-struct _LassoIdWsf2DstRefDeleteClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_delete_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefDelete* lasso_idwsf2_dstref_delete_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_DELETE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete_item.c b/lasso/xml/id-wsf-2.0/dstref_delete_item.c
deleted file mode 100644
index 86219d72..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete_item.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: dstref_delete_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_delete_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_delete_item
- * @short_description: <dstref:DeleteItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefDeleteItem, Select), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefDeleteItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_delete_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefDeleteItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefDeleteItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE,
- "LassoIdWsf2DstRefDeleteItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_delete_item_new:
- *
- * Creates a new #LassoIdWsf2DstRefDeleteItem object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefDeleteItem object
- **/
-LassoIdWsf2DstRefDeleteItem*
-lasso_idwsf2_dstref_delete_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete_item.h b/lasso/xml/id-wsf-2.0/dstref_delete_item.h
deleted file mode 100644
index 31d3cf2b..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete_item.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: dstref_delete_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_DELETE_ITEM_H__
-#define __LASSO_IDWSF2_DSTREF_DELETE_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_delete_item_base.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM (lasso_idwsf2_dstref_delete_item_get_type())
-#define LASSO_IDWSF2_DSTREF_DELETE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM, \
- LassoIdWsf2DstRefDeleteItem))
-#define LASSO_IDWSF2_DSTREF_DELETE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM, \
- LassoIdWsf2DstRefDeleteItemClass))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM))
-#define LASSO_IDWSF2_DSTREF_DELETE_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_ITEM, \
- LassoIdWsf2DstRefDeleteItemClass))
-
-
-typedef struct _LassoIdWsf2DstRefDeleteItem LassoIdWsf2DstRefDeleteItem;
-typedef struct _LassoIdWsf2DstRefDeleteItemClass LassoIdWsf2DstRefDeleteItemClass;
-
-
-struct _LassoIdWsf2DstRefDeleteItem {
- LassoIdWsf2DstDeleteItemBase parent;
-
- /*< public >*/
- /* elements */
- char *Select;
-};
-
-
-struct _LassoIdWsf2DstRefDeleteItemClass {
- LassoIdWsf2DstDeleteItemBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_delete_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefDeleteItem* lasso_idwsf2_dstref_delete_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_DELETE_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete_response.c b/lasso/xml/id-wsf-2.0/dstref_delete_response.c
deleted file mode 100644
index e433c981..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: dstref_delete_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_delete_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_delete_response
- * @short_description: <dstref:DeleteResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2DstRefDeleteResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_delete_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefDeleteResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefDeleteResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_UTIL_RESPONSE,
- "LassoIdWsf2DstRefDeleteResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_delete_response_new:
- *
- * Creates a new #LassoIdWsf2DstRefDeleteResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefDeleteResponse object
- **/
-LassoIdWsf2DstRefDeleteResponse*
-lasso_idwsf2_dstref_delete_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_delete_response.h b/lasso/xml/id-wsf-2.0/dstref_delete_response.h
deleted file mode 100644
index f316841b..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_delete_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: dstref_delete_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_H__
-#define __LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_response.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE \
- (lasso_idwsf2_dstref_delete_response_get_type())
-#define LASSO_IDWSF2_DSTREF_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE, \
- LassoIdWsf2DstRefDeleteResponse))
-#define LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE, \
- LassoIdWsf2DstRefDeleteResponseClass))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE))
-#define LASSO_IS_IDWSF2_DSTREF_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE))
-#define LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_DELETE_RESPONSE, \
- LassoIdWsf2DstRefDeleteResponseClass))
-
-
-typedef struct _LassoIdWsf2DstRefDeleteResponse LassoIdWsf2DstRefDeleteResponse;
-typedef struct _LassoIdWsf2DstRefDeleteResponseClass LassoIdWsf2DstRefDeleteResponseClass;
-
-
-struct _LassoIdWsf2DstRefDeleteResponse {
- LassoIdWsf2UtilResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2DstRefDeleteResponseClass {
- LassoIdWsf2UtilResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_delete_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefDeleteResponse* lasso_idwsf2_dstref_delete_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_DELETE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_item_data.c b/lasso/xml/id-wsf-2.0/dstref_item_data.c
deleted file mode 100644
index 0c60394c..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_item_data.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/* $Id: dstref_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_item_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_item_data
- * @short_description: <dstref:ItemData>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "itemIDRef", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefItemData, itemIDRef), NULL, NULL, NULL},
- { "notSorted", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefItemData, notSorted), NULL, NULL, NULL},
- { "changeFormat", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefItemData, changeFormat), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefItemDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ItemData");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_item_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefItemDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefItemData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DSTREF_APP_DATA,
- "LassoIdWsf2DstRefItemData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_item_data_new:
- *
- * Creates a new #LassoIdWsf2DstRefItemData object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefItemData object
- **/
-LassoIdWsf2DstRefItemData*
-lasso_idwsf2_dstref_item_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_item_data.h b/lasso/xml/id-wsf-2.0/dstref_item_data.h
deleted file mode 100644
index 32d98032..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_item_data.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: dstref_item_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_ITEM_DATA_H__
-#define __LASSO_IDWSF2_DSTREF_ITEM_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA (lasso_idwsf2_dstref_item_data_get_type())
-#define LASSO_IDWSF2_DSTREF_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA, \
- LassoIdWsf2DstRefItemData))
-#define LASSO_IDWSF2_DSTREF_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA, \
- LassoIdWsf2DstRefItemDataClass))
-#define LASSO_IS_IDWSF2_DSTREF_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA))
-#define LASSO_IS_IDWSF2_DSTREF_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA))
-#define LASSO_IDWSF2_DSTREF_ITEM_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_ITEM_DATA, \
- LassoIdWsf2DstRefItemDataClass))
-
-
-typedef struct _LassoIdWsf2DstRefItemData LassoIdWsf2DstRefItemData;
-typedef struct _LassoIdWsf2DstRefItemDataClass LassoIdWsf2DstRefItemDataClass;
-
-
-struct _LassoIdWsf2DstRefItemData {
- LassoIdWsf2DstRefAppData parent;
-
- /*< public >*/
- /* attributes */
- char *itemIDRef;
- char *notSorted;
- char *changeFormat;
-};
-
-
-struct _LassoIdWsf2DstRefItemDataClass {
- LassoIdWsf2DstRefAppDataClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_item_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefItemData* lasso_idwsf2_dstref_item_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_ITEM_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify.c b/lasso/xml/id-wsf-2.0/dstref_modify.c
deleted file mode 100644
index eacc1740..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify.c
+++ /dev/null
@@ -1,155 +0,0 @@
-/* $Id: dstref_modify.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_modify.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_modify
- * @short_description: <dstref:Modify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ModifyItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModify, ModifyItem),
- "LassoIdWsf2DstRefModifyItem", NULL, NULL },
- { "ResultQuery", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModify, ResultQuery),
- "LassoIdWsf2DstRefResultQuery", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xml_insure_namespace(xmlnode, NULL, TRUE,
- LASSO_IDWSF2_DSTREF_MODIFY(node)->hrefServiceType,
- LASSO_IDWSF2_DSTREF_MODIFY(node)->prefixServiceType);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2DstRefModify *object = LASSO_IDWSF2_DSTREF_MODIFY(node);
- int res;
-
- res = parent_class->init_from_xml(node, xmlnode);
- if (res != 0) {
- return res;
- }
-
- object->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- object->prefixServiceType = lasso_get_prefix_for_idwsf2_dst_service_href(
- object->hrefServiceType);
- if (object->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefModifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Modify");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_modify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefModifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefModify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2DstRefModify", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_modify_new:
- *
- * Creates a new #LassoIdWsf2DstRefModify object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefModify object
- **/
-LassoIdWsf2DstRefModify*
-lasso_idwsf2_dstref_modify_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_MODIFY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify.h b/lasso/xml/id-wsf-2.0/dstref_modify.h
deleted file mode 100644
index fe3d1a87..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: dstref_modify.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_MODIFY_H__
-#define __LASSO_IDWSF2_DSTREF_MODIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_MODIFY (lasso_idwsf2_dstref_modify_get_type())
-#define LASSO_IDWSF2_DSTREF_MODIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY, \
- LassoIdWsf2DstRefModify))
-#define LASSO_IDWSF2_DSTREF_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY, \
- LassoIdWsf2DstRefModifyClass))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY))
-#define LASSO_IDWSF2_DSTREF_MODIFY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY, \
- LassoIdWsf2DstRefModifyClass))
-
-
-typedef struct _LassoIdWsf2DstRefModify LassoIdWsf2DstRefModify;
-typedef struct _LassoIdWsf2DstRefModifyClass LassoIdWsf2DstRefModifyClass;
-
-
-struct _LassoIdWsf2DstRefModify {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *ModifyItem; /* of LassoIdWsf2DstRefModifyItem */
- GList *ResultQuery; /* of LassoIdWsf2DstRefResultQuery */
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-
-struct _LassoIdWsf2DstRefModifyClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_modify_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefModify* lasso_idwsf2_dstref_modify_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_MODIFY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify_item.c b/lasso/xml/id-wsf-2.0/dstref_modify_item.c
deleted file mode 100644
index ef104170..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify_item.c
+++ /dev/null
@@ -1,141 +0,0 @@
-/* $Id: dstref_modify_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_modify_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_modify_item
- * @short_description: <dstref:ModifyItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, Select), NULL, NULL, NULL},
- { "NewData", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, NewData),
- "LassoIdWsf2DstRefAppData", NULL, NULL },
- { "notChangedSince", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, notChangedSince), NULL, NULL, NULL},
- { "overrideAllowed", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, overrideAllowed), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefModifyItem, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefModifyItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ModifyItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_modify_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefModifyItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefModifyItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2DstRefModifyItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_modify_item_new:
- *
- * Creates a new #LassoIdWsf2DstRefModifyItem object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefModifyItem object
- **/
-LassoIdWsf2DstRefModifyItem*
-lasso_idwsf2_dstref_modify_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM, NULL);
-}
-
-LassoIdWsf2DstRefModifyItem*
-lasso_idwsf2_dstref_modify_item_new_full(const gchar *item_xpath, const gchar *item_id,
- xmlNode *new_data, gboolean overrideAllowed)
-{
- LassoIdWsf2DstRefModifyItem *item;
-
- item = g_object_new(LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM, NULL);
- item->Select = g_strdup(item_xpath);
- item->id = g_strdup(item_id);
- item->NewData = lasso_idwsf2_dstref_app_data_new();
- item->NewData->any = g_list_append(item->NewData->any, new_data);
- item->overrideAllowed = overrideAllowed;
-
- return item;
-}
-
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify_item.h b/lasso/xml/id-wsf-2.0/dstref_modify_item.h
deleted file mode 100644
index 2ee7c91c..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify_item.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* $Id: dstref_modify_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_MODIFY_ITEM_H__
-#define __LASSO_IDWSF2_DSTREF_MODIFY_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM (lasso_idwsf2_dstref_modify_item_get_type())
-#define LASSO_IDWSF2_DSTREF_MODIFY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM, \
- LassoIdWsf2DstRefModifyItem))
-#define LASSO_IDWSF2_DSTREF_MODIFY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM, \
- LassoIdWsf2DstRefModifyItemClass))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM))
-#define LASSO_IDWSF2_DSTREF_MODIFY_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_ITEM, \
- LassoIdWsf2DstRefModifyItemClass))
-
-
-typedef struct _LassoIdWsf2DstRefModifyItem LassoIdWsf2DstRefModifyItem;
-typedef struct _LassoIdWsf2DstRefModifyItemClass LassoIdWsf2DstRefModifyItemClass;
-
-
-struct _LassoIdWsf2DstRefModifyItem {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *Select;
- LassoIdWsf2DstRefAppData *NewData;
- /* attributes */
- char *notChangedSince;
- gboolean overrideAllowed;
- char *id;
- char *itemID;
-};
-
-
-struct _LassoIdWsf2DstRefModifyItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_modify_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefModifyItem* lasso_idwsf2_dstref_modify_item_new(void);
-
-LASSO_EXPORT LassoIdWsf2DstRefModifyItem* lasso_idwsf2_dstref_modify_item_new_full(
- const gchar *item_xpath, const gchar *item_id, xmlNode *new_data,
- gboolean overrideAllowed);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_MODIFY_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify_response.c b/lasso/xml/id-wsf-2.0/dstref_modify_response.c
deleted file mode 100644
index 0fda5c90..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify_response.c
+++ /dev/null
@@ -1,146 +0,0 @@
-/* $Id: dstref_modify_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_modify_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_modify_response
- * @short_description: <dstref:ModifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xml_insure_namespace(xmlnode, NULL, TRUE,
- LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(node)->hrefServiceType,
- LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(node)->prefixServiceType);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2DstRefModifyResponse *object = LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(node);
- int res;
-
- res = parent_class->init_from_xml(node, xmlnode);
- if (res != 0) {
- return res;
- }
-
- object->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- object->prefixServiceType = lasso_get_prefix_for_idwsf2_dst_service_href(
- object->hrefServiceType);
- if (object->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefModifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ModifyResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_modify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefModifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefModifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DSTREF_DATA_RESPONSE,
- "LassoIdWsf2DstRefModifyResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_modify_response_new:
- *
- * Creates a new #LassoIdWsf2DstRefModifyResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefModifyResponse object
- **/
-LassoIdWsf2DstRefModifyResponse*
-lasso_idwsf2_dstref_modify_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_modify_response.h b/lasso/xml/id-wsf-2.0/dstref_modify_response.h
deleted file mode 100644
index d4976376..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_modify_response.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: dstref_modify_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_H__
-#define __LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_data_response.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE \
- (lasso_idwsf2_dstref_modify_response_get_type())
-#define LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE, \
- LassoIdWsf2DstRefModifyResponse))
-#define LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE, \
- LassoIdWsf2DstRefModifyResponseClass))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE))
-#define LASSO_IS_IDWSF2_DSTREF_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE))
-#define LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_MODIFY_RESPONSE, \
- LassoIdWsf2DstRefModifyResponseClass))
-
-
-typedef struct _LassoIdWsf2DstRefModifyResponse LassoIdWsf2DstRefModifyResponse;
-typedef struct _LassoIdWsf2DstRefModifyResponseClass LassoIdWsf2DstRefModifyResponseClass;
-
-
-struct _LassoIdWsf2DstRefModifyResponse {
- LassoIdWsf2DstRefDataResponse parent;
-
- /*< public >*/
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-
-struct _LassoIdWsf2DstRefModifyResponseClass {
- LassoIdWsf2DstRefDataResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_modify_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefModifyResponse* lasso_idwsf2_dstref_modify_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_query.c b/lasso/xml/id-wsf-2.0/dstref_query.c
deleted file mode 100644
index 13f4abc9..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query.c
+++ /dev/null
@@ -1,157 +0,0 @@
-/* $Id: dstref_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_query
- * @short_description: <dstref:Query>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQuery, TestItem),
- "LassoIdWsf2DstRefTestItem", NULL, NULL },
- { "QueryItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQuery, QueryItem),
- "LassoIdWsf2DstRefQueryItem", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xml_insure_namespace(xmlnode, NULL, TRUE,
- LASSO_IDWSF2_DSTREF_QUERY(node)->hrefServiceType,
- LASSO_IDWSF2_DSTREF_QUERY(node)->prefixServiceType);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2DstRefQuery *object = LASSO_IDWSF2_DSTREF_QUERY(node);
- int res;
-
- res = parent_class->init_from_xml(node, xmlnode);
- if (res != 0) {
- return res;
- }
-
- object->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- object->prefixServiceType = lasso_get_prefix_for_idwsf2_dst_service_href(
- object->hrefServiceType);
- if (object->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Query");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2DstRefQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_query_new:
- *
- * Creates a new #LassoIdWsf2DstRefQuery object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefQuery object
- **/
-LassoIdWsf2DstRefQuery*
-lasso_idwsf2_dstref_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_query.h b/lasso/xml/id-wsf-2.0/dstref_query.h
deleted file mode 100644
index 265fac2d..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: dstref_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_QUERY_H__
-#define __LASSO_IDWSF2_DSTREF_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_QUERY (lasso_idwsf2_dstref_query_get_type())
-#define LASSO_IDWSF2_DSTREF_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY, \
- LassoIdWsf2DstRefQuery))
-#define LASSO_IDWSF2_DSTREF_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY, \
- LassoIdWsf2DstRefQueryClass))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY))
-#define LASSO_IDWSF2_DSTREF_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY, \
- LassoIdWsf2DstRefQueryClass))
-
-
-typedef struct _LassoIdWsf2DstRefQuery LassoIdWsf2DstRefQuery;
-typedef struct _LassoIdWsf2DstRefQueryClass LassoIdWsf2DstRefQueryClass;
-
-
-struct _LassoIdWsf2DstRefQuery {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *TestItem; /* of LassoIdWsf2DstRefTestItem */
- GList *QueryItem; /* of LassoIdWsf2DstRefQueryItem */
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-
-struct _LassoIdWsf2DstRefQueryClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefQuery* lasso_idwsf2_dstref_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_query_item.c b/lasso/xml/id-wsf-2.0/dstref_query_item.c
deleted file mode 100644
index abba3414..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query_item.c
+++ /dev/null
@@ -1,140 +0,0 @@
-/* $Id: dstref_query_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_query_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_query_item
- * @short_description: <dstref:QueryItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "count", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryItem, count), NULL, NULL, NULL},
- { "offset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryItem, offset), NULL, NULL, NULL},
- { "setID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryItem, setID), NULL, NULL, NULL},
- { "setReq", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryItem, setReq), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2DstRefQueryItem *node)
-{
- node->count = -1;
- node->offset = -1;
-}
-
-static void
-class_init(LassoIdWsf2DstRefQueryItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_query_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefQueryItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefQueryItem),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY,
- "LassoIdWsf2DstRefQueryItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_query_item_new:
- *
- * Creates a new #LassoIdWsf2DstRefQueryItem object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefQueryItem object
- **/
-LassoIdWsf2DstRefQueryItem*
-lasso_idwsf2_dstref_query_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM, NULL);
-}
-
-
-LassoIdWsf2DstRefQueryItem*
-lasso_idwsf2_dstref_query_item_new_full(const gchar *item_xpath, const gchar *item_id)
-{
- LassoIdWsf2DstRefResultQuery *item_result_query = LASSO_IDWSF2_DSTREF_RESULT_QUERY(
- lasso_idwsf2_dstref_query_item_new());
- LassoIdWsf2DstResultQueryBase *item_result_query_base = LASSO_IDWSF2_DST_RESULT_QUERY_BASE(
- item_result_query);
-
- item_result_query->Select = g_strdup(item_xpath);
- item_result_query_base->itemID = g_strdup(item_id);
-
- return LASSO_IDWSF2_DSTREF_QUERY_ITEM(item_result_query);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_query_item.h b/lasso/xml/id-wsf-2.0/dstref_query_item.h
deleted file mode 100644
index a2583b32..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query_item.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: dstref_query_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_QUERY_ITEM_H__
-#define __LASSO_IDWSF2_DSTREF_QUERY_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dstref_result_query.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM (lasso_idwsf2_dstref_query_item_get_type())
-#define LASSO_IDWSF2_DSTREF_QUERY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM, \
- LassoIdWsf2DstRefQueryItem))
-#define LASSO_IDWSF2_DSTREF_QUERY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM, \
- LassoIdWsf2DstRefQueryItemClass))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM))
-#define LASSO_IDWSF2_DSTREF_QUERY_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_ITEM, \
- LassoIdWsf2DstRefQueryItemClass))
-
-
-typedef struct _LassoIdWsf2DstRefQueryItem LassoIdWsf2DstRefQueryItem;
-typedef struct _LassoIdWsf2DstRefQueryItemClass LassoIdWsf2DstRefQueryItemClass;
-
-
-struct _LassoIdWsf2DstRefQueryItem {
- LassoIdWsf2DstRefResultQuery parent;
-
- /*< public >*/
- /* attributes */
- int count;
- int offset;
- char *setID;
- char *setReq;
-};
-
-
-struct _LassoIdWsf2DstRefQueryItemClass {
- LassoIdWsf2DstRefResultQueryClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_query_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefQueryItem* lasso_idwsf2_dstref_query_item_new(void);
-
-LASSO_EXPORT LassoIdWsf2DstRefQueryItem* lasso_idwsf2_dstref_query_item_new_full(
- const gchar *item_xpath, const gchar *item_id);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_QUERY_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_query_response.c b/lasso/xml/id-wsf-2.0/dstref_query_response.c
deleted file mode 100644
index 8966cd03..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query_response.c
+++ /dev/null
@@ -1,157 +0,0 @@
-/* $Id: dstref_query_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_query_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_query_response
- * @short_description: <dstref:QueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestResult", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryResponse, TestResult), NULL,
- LASSO_IDWSF2_DST_PREFIX, LASSO_IDWSF2_DST_HREF},
- { "Data", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefQueryResponse, Data),
- "LassoIdWsf2DstRefData", NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- xml_insure_namespace(xmlnode, NULL, TRUE,
- LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(node)->hrefServiceType,
- LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(node)->prefixServiceType);
-
- return xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- LassoIdWsf2DstRefQueryResponse *object = LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(node);
- int res;
-
- res = parent_class->init_from_xml(node, xmlnode);
- if (res != 0) {
- return res;
- }
-
- object->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
- object->prefixServiceType = lasso_get_prefix_for_idwsf2_dst_service_href(
- object->hrefServiceType);
- if (object->prefixServiceType == NULL) {
- /* XXX: what to do here ? */
- }
-
- return 0;
-}
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefQueryResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->get_xmlNode = get_xmlNode;
- nclass->init_from_xml = init_from_xml;
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefQueryResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE,
- "LassoIdWsf2DstRefQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_query_response_new:
- *
- * Creates a new #LassoIdWsf2DstRefQueryResponse object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefQueryResponse object
- **/
-LassoIdWsf2DstRefQueryResponse*
-lasso_idwsf2_dstref_query_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_query_response.h b/lasso/xml/id-wsf-2.0/dstref_query_response.h
deleted file mode 100644
index 9ba4f08c..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_query_response.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: dstref_query_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_H__
-#define __LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_data_response_base.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE \
- (lasso_idwsf2_dstref_query_response_get_type())
-#define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \
- LassoIdWsf2DstRefQueryResponse))
-#define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \
- LassoIdWsf2DstRefQueryResponseClass))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE))
-#define LASSO_IS_IDWSF2_DSTREF_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE))
-#define LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_QUERY_RESPONSE, \
- LassoIdWsf2DstRefQueryResponseClass))
-
-
-typedef struct _LassoIdWsf2DstRefQueryResponse LassoIdWsf2DstRefQueryResponse;
-typedef struct _LassoIdWsf2DstRefQueryResponseClass LassoIdWsf2DstRefQueryResponseClass;
-
-
-struct _LassoIdWsf2DstRefQueryResponse {
- LassoIdWsf2DstDataResponseBase parent;
-
- /*< public >*/
- /* elements */
- GList *TestResult; /* of LassoNode */
- GList *Data; /* of LassoIdWsf2DstRefData */
-
- /*< private >*/
- char *prefixServiceType;
- char *hrefServiceType;
-};
-
-
-struct _LassoIdWsf2DstRefQueryResponseClass {
- LassoIdWsf2DstDataResponseBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_query_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefQueryResponse* lasso_idwsf2_dstref_query_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_result_query.c b/lasso/xml/id-wsf-2.0/dstref_result_query.c
deleted file mode 100644
index 1ca58cb5..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_result_query.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: dstref_result_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_result_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_result_query
- * @short_description: <dstref:ResultQuery>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefResultQuery, Select), NULL, NULL, NULL},
- { "Sort", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefResultQuery, Sort), NULL, NULL, NULL},
- { "", SNIPPET_COLLECT_NAMESPACES,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefResultQuery, namespaces),
- NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefResultQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResultQuery");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_result_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefResultQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefResultQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE,
- "LassoIdWsf2DstRefResultQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_result_query_new:
- *
- * Creates a new #LassoIdWsf2DstRefResultQuery object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefResultQuery object
- **/
-LassoIdWsf2DstRefResultQuery*
-lasso_idwsf2_dstref_result_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_result_query.h b/lasso/xml/id-wsf-2.0/dstref_result_query.h
deleted file mode 100644
index e47b5452..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_result_query.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: dstref_result_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_RESULT_QUERY_H__
-#define __LASSO_IDWSF2_DSTREF_RESULT_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_result_query_base.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY (lasso_idwsf2_dstref_result_query_get_type())
-#define LASSO_IDWSF2_DSTREF_RESULT_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY, \
- LassoIdWsf2DstRefResultQuery))
-#define LASSO_IDWSF2_DSTREF_RESULT_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY, \
- LassoIdWsf2DstRefResultQueryClass))
-#define LASSO_IS_IDWSF2_DSTREF_RESULT_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY))
-#define LASSO_IS_IDWSF2_DSTREF_RESULT_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY))
-#define LASSO_IDWSF2_DSTREF_RESULT_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_RESULT_QUERY, \
- LassoIdWsf2DstRefResultQueryClass))
-
-
-typedef struct _LassoIdWsf2DstRefResultQuery LassoIdWsf2DstRefResultQuery;
-typedef struct _LassoIdWsf2DstRefResultQueryClass LassoIdWsf2DstRefResultQueryClass;
-
-
-struct _LassoIdWsf2DstRefResultQuery {
- LassoIdWsf2DstResultQueryBase parent;
-
- /*< public >*/
- /* elements */
- char *Select;
- char *Sort;
- GHashTable *namespaces;
-};
-
-
-struct _LassoIdWsf2DstRefResultQueryClass {
- LassoIdWsf2DstResultQueryBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_result_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefResultQuery* lasso_idwsf2_dstref_result_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_RESULT_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/dstref_test_item.c b/lasso/xml/id-wsf-2.0/dstref_test_item.c
deleted file mode 100644
index ed652461..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_test_item.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: dstref_test_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "dstref_test_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:dstref_test_item
- * @short_description: <dstref:TestItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestOp", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2DstRefTestItem, TestOp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2DstRefTestItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TestItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_DSTREF_HREF, LASSO_IDWSF2_DSTREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_dstref_test_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2DstRefTestItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2DstRefTestItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE,
- "LassoIdWsf2DstRefTestItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_dstref_test_item_new:
- *
- * Creates a new #LassoIdWsf2DstRefTestItem object.
- *
- * Return value: a newly created #LassoIdWsf2DstRefTestItem object
- **/
-LassoIdWsf2DstRefTestItem*
-lasso_idwsf2_dstref_test_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/dstref_test_item.h b/lasso/xml/id-wsf-2.0/dstref_test_item.h
deleted file mode 100644
index 74061cf5..00000000
--- a/lasso/xml/id-wsf-2.0/dstref_test_item.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: dstref_test_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_DSTREF_TEST_ITEM_H__
-#define __LASSO_IDWSF2_DSTREF_TEST_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_test_item_base.h"
-
-#define LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM (lasso_idwsf2_dstref_test_item_get_type())
-#define LASSO_IDWSF2_DSTREF_TEST_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM, \
- LassoIdWsf2DstRefTestItem))
-#define LASSO_IDWSF2_DSTREF_TEST_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM, \
- LassoIdWsf2DstRefTestItemClass))
-#define LASSO_IS_IDWSF2_DSTREF_TEST_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM))
-#define LASSO_IS_IDWSF2_DSTREF_TEST_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM))
-#define LASSO_IDWSF2_DSTREF_TEST_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_DSTREF_TEST_ITEM, \
- LassoIdWsf2DstRefTestItemClass))
-
-
-typedef struct _LassoIdWsf2DstRefTestItem LassoIdWsf2DstRefTestItem;
-typedef struct _LassoIdWsf2DstRefTestItemClass LassoIdWsf2DstRefTestItemClass;
-
-
-struct _LassoIdWsf2DstRefTestItem {
- LassoIdWsf2DstTestItemBase parent;
-
- /*< public >*/
- /* elements */
- char *TestOp;
-};
-
-
-struct _LassoIdWsf2DstRefTestItemClass {
- LassoIdWsf2DstTestItemBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_dstref_test_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2DstRefTestItem* lasso_idwsf2_dstref_test_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_DSTREF_TEST_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/idwsf2_strings.h b/lasso/xml/id-wsf-2.0/idwsf2_strings.h
deleted file mode 100644
index b60fb6bd..00000000
--- a/lasso/xml/id-wsf-2.0/idwsf2_strings.h
+++ /dev/null
@@ -1,938 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- *
- */
-
-/**
- * SECTION:idwsf2-strings
- * @short_description: Useful string constants
- * @stability: Unstable
- *
- **/
-
-#ifndef __LASSO_IDWSF2_STRINGS_H__
-#define __LASSO_IDWSF2_STRINGS_H__
-
-/* ID-WSF 2.0 Soap Binding */
-
-/**
- * LASSO_IDWSF2_SB2_HREF:
- *
- * Namespace for ID-WSF 2.0 soap ninding
- *
- */
-#define LASSO_IDWSF2_SB2_HREF "urn:liberty:sb:2006-08"
-/**
- * LASSO_IDWSF2_SB2_PREFIX:
- *
- * Preferred prefix for namespace of ID-WSF 2.0 soap binding
- *
- */
-#define LASSO_IDWSF2_SB2_PREFIX "sb"
-
-/* Status Codes */
-
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_ACTOR:
- *
- * There is an issue with the actor attribute on the indicated header block in the indicated
- * message.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_ACTOR "InvalidActor"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_MUST_UNDERSTAND:
- *
- * There is an issue with the mustUnderstand attribute on the indicated header block in the indicated message.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_MUST_UNDERSTAND "InvalidMustUnderstand"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_STALE_MSG:
- *
- * The indicated inbound SOAP-bound ID-* message has a timestamp value outside of the receivers
- * allowable time window.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_STALE_MSG "StaleMsg"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_DUPLICATE_MSG:
- *
- * The indicated inbound SOAP-bound ID-* message appears to be a duplicate.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_DUPLICATE_MSG "DuplicateMsg"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_REF_TO_MSG_ID:
- *
- * The indicated inbound SOAP-bound ID-* message appears to incorrectly refer to the preceding
- * message in the message thread.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INVALID_REF_TO_MSG_ID "InvalidRefToMsgID"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_PROVIDER_ID_NOT_VALID:
- *
- * The receiver does not consider the claimed Provider ID to be valid.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_PROVIDER_ID_NOT_VALID "ProviderIDNotValid"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_AFFILIATION_ID_NOT_VALID:
- *
- * The receiver does not consider the claimed Affiliation ID to be valid.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_AFFILIATION_ID_NOT_VALID "AffiliationIDNotValid"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_TARGET_IDENTITY_NOT_VALID:
- *
- * The receiver does not consider the target identity to be valid.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_TARGET_IDENTITY_NOT_VALID "TargetIdentityNotValid"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_FRAMEWORK_VERSION_MISMATCH:
- *
- * The framework version used in the conveyed ID-* message does not match what was expected by the
- * receiver.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_FRAMEWORK_VERSION_MISMATCH "FrameworkVersionMismatch"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_ID_STAR_MSG_NOT_UNDERSTOOD:
- *
- * There was a problem with understanding/parsing the conveyed ID-* message.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_ID_STAR_MSG_NOT_UNDERSTOOD "IDStarMsgNotUnderstood"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROC_CTX_U_R_I_NOT_UNDERSTOOD:
- *
- * The receiver did not understand the processing context facet URI.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROC_CTX_U_R_I_NOT_UNDERSTOOD "ProcCtxURINotUnderstood"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROC_CTX_UNWILLING:
- *
- * The receiver is unwilling to apply the sender’s stipulated processing context.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROC_CTX_UNWILLING "ProcCtxUnwilling"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_CANNOT_HONOUR_USAGE_DIRECTIVE:
- *
- * The receiver is unable or unwilling to honor the stipulated usage directive.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_CANNOT_HONOUR_USAGE_DIRECTIVE "CannotHonourUsageDirective"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_ENDPOINT_UPDATED:
- *
- * The request cannot be processed at this endpoint. This is typically used in conjunction with the
- * <EndpointUpdate> header block to indicate the endpoint to which the request should be
- * resubmitted.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_ENDPOINT_UPDATED "EndpointUpdated"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INAPPROPRIATE_CREDENTIALS:
- *
- * The sender has submitted a request that does not meet the needs of the receiver. The receiver may
- * indicate credentials that are acceptable to them via a <CredentialsContext> or
- * header block.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_CLIENT_INAPPROPRIATE_CREDENTIALS "InappropriateCredentials"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROCESSING_TIMEOUT:
- *
- * The sender is indicating that processing of the request has failed due to the processing taking
- * longer than the maxProcessingTime specified on the request <Timeout> header block.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_PROCESSING_TIMEOUT "ProcessingTimeout"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED:
- *
- * The recipient has a need to start an interaction in order to satisfy the service request but the
- * interact attribute value was set to DoNotInteract.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED "InteractionRequired"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED_FOR_DATA:
- *
- * the service request could not be satisfied because the WSP would have to interact with the
- * requesting principal in order to obtain (some of) the requested data but the interact attribute
- * value was set to DoNotInteractForData.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_REQUIRED_FOR_DATA "InteractionRequiredForData"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_TIME_NOT_SUFFICIENT:
- *
- * The recipient has a need to start an interaction but has reason to believe that more time is
- * needed that allowed for by the value of the maxInteractTime attribute.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_TIME_NOT_SUFFICIENT "InteractionTimeNotSufficient"
-
-/**
- * LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_TIMEOUT:
- *
- * The recipient could not satisfy the service request due to an unfinished interaction.
- */
-#define LASSO_IDWSF2_SB2_STATUS_CODE_SERVER_INTERACTION_TIMEOUT "InteractionTimeout"
-
-
-
-/**
- * LASSO_IDWSF2_SBF_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_SBF_HREF "urn:liberty:sb"
-/**
- * LASSO_IDWSF2_SBF_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_SBF_PREFIX "sbf"
-
-/**
- * LASSO_IDWSF2_DST_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_DST_HREF "urn:liberty:dst:2006-08"
-/**
- * LASSO_IDWSF2_DST_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_DST_PREFIX "dst"
-
-/**
- * LASSO_IDWSF2_DSTREF_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_DSTREF_HREF "urn:liberty:dst:2006-08:ref"
-/**
- * LASSO_IDWSF2_DSTREF_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_DSTREF_PREFIX "dstref"
-
-/**
- * LASSO_IDWSF2_IMS_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_IMS_HREF "urn:liberty:ims:2006-08"
-/**
- * LASSO_IDWSF2_IMS_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_IMS_PREFIX "ims"
-
-/* Interaction Service */
-
-/**
- * LASSO_IDWSF2_IS_HREF:
- *
- * Namespace for ID-WSF 2.0 Interaction Service
- *
- */
-#define LASSO_IDWSF2_IS_HREF "urn:liberty:is:2006-08"
-/**
- * LASSO_IDWSF2_IS_PREFIX:
- *
- * Preferred prefix for namespace of ID-WSF 2.0 Interaction Service
- *
- */
-#define LASSO_IDWSF2_IS_PREFIX "is"
-
-/* Interaction hints */
-
-#define LASSO_SB2_USER_INTERACTION_INTERACT_IF_NEEDED "InteractIfNeeded"
-#define LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT "DoNotInteract"
-#define LASSO_SB2_USER_INTERACTION_DO_NOT_INTERACT_FOR_DATA "DoNotInteractForData"
-
-/**
- * LASSO_IDWSF2_PS_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_PS_HREF "urn:liberty:ps:2006-08"
-/**
- * LASSO_IDWSF2_PS_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_PS_PREFIX "ps"
-
-/**
- * LASSO_IDWSF2_SUBS_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_SUBS_HREF "urn:liberty:ssos:2006-08"
-/**
- * LASSO_IDWSF2_SUBS_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_SUBS_PREFIX "subs"
-
-/**
- * LASSO_IDWSF2_SUBSREF_HREF:
- *
- * Namespace for ID-WSF 2.0 subscription service
- *
- */
-#define LASSO_IDWSF2_SUBSREF_HREF "urn:liberty:ssos:2006-08:ref"
-/**
- * LASSO_IDWSF2_SUBSREF_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_SUBSREF_PREFIX "subsref"
-
-/* ID-WSF 2.0 Utils */
-
-/**
- * LASSO_IDWSF2_UTIL_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_UTIL_HREF "urn:liberty:util:2006-08"
-/**
- * LASSO_IDWSF2_UTIL_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_UTIL_PREFIX "util"
-
-/* ID-WSF 2.0 Security */
-
-/**
- * LASSO_IDWSF2_SEC_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IDWSF2_SEC_HREF "urn:liberty:security:2006-08"
-/**
- * LASSO_IDWSF2_SEC_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IDWSF2_SEC_PREFIX "sec"
-
-/*
- * Libert Security Mechanism, token usage */
-#define LASSO_IDWSF2_SEC_TOKEN_USAGE_SECURITY_TOKEN "urn:liberty:security:tokenusage:2006-08:SecurityToken"
-#define LASSO_IDWSF2_SEC_TOKEN_USAGE_TARGET_IDENTITY "urn:liberty:security:tokenusage:2006-08:TargetIdentity"
-#define LASSO_IDWSF2_SEC_TOKEN_USAGE_INVOCATION_IDENTITY "urn:liberty:security:tokenusage:2006-08:InvocationIdentity"
-
-/* Security mechanisms */
-#define LASSO_SECURITY_MECH_SAML2 "urn:liberty:security:2006-08:null:SAMLV2"
-#define LASSO_SECURITY_MECH_TLS_SAML2 "urn:liberty:security:2006-08:TLS:SAMLV2"
-#define LASSO_SECURITY_MECH_CLIENT_TLS_SAML2 "urn:liberty:security:2006-08:ClientTLS:SAMLV2"
-#define LASSO_SECURITY_MECH_CLIENT_TLS_PEER_SAML2 "urn:liberty:security:2006-08:ClientTLS:peerSAMLV2"
-
-/* Discovery Service */
-
-/**
- * LASSO_IDWSF2_DISCOVERY_HREF:
- *
- * Namespace for ID-WSF 2.0 Discovery service
- *
- */
-#define LASSO_IDWSF2_DISCOVERY_HREF "urn:liberty:disco:2006-08"
-/**
- * LASSO_IDWSF2_DISCOVERY_PREFIX:
- *
- * Preferred prefix for ID-WSF 2.0 Discovery service
- *
- */
-#define LASSO_IDWSF2_DISCOVERY_PREFIX "disco"
-
-/* Discovery Service Type */
-#define LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE LASSO_IDWSF2_DISCOVERY_HREF
-
-/* Discovery Actions */
-#define LASSO_IDWSF2_DISCOVERY_ACTION_QUERY LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":Query"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_QUERY_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":QueryResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_ADD LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationAdd"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_ADD_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationAddResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_QUERY LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationQuery"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_QUERY_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationQueryResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_DELETE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationDelete"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_ASSOCIATION_DELETE_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDAssociationDeleteResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_QUERY LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDQuery"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_QUERY_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDQueryResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_REGISTER LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDRegister"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_REGISTER_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDRegisterResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_REPLACE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDReplace"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_REPLACE_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDReplaceResponse"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_DELETE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDDelete"
-#define LASSO_IDWSF2_DISCOVERY_ACTION_SVC_MD_DELETE_RESPONSE LASSO_IDWSF2_DISCOVERY_SERVICE_TYPE ":SvcMDDeleteResponse"
-
-
-/* Disco Service Status Codes */
-
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK:
- *
- * message processing succeeded
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_OK "OK"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FAILED:
- *
- * general failure code
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FAILED "Failed"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FORBIDDEN:
- *
- * the request was denied based on policy
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_FORBIDDEN "Forbidden"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_DUPLICATE:
- *
- * the request was denied because it would result in duplicate data in the service
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_DUPLICATE "Duplicate"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_LOGICAL_DUPLICATE:
- *
- * the request was denied because it would result in logically duplicate data in the service
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_LOGICAL_DUPLICATE "LogicalDuplicate"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NO_RESULTS:
- *
- * the query had no matching results
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NO_RESULTS "NoResults"
-/**
- * LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NOT_FOUND:
- *
- * the specified item(s) were not found
- */
-#define LASSO_IDWSF2_DISCOVERY_STATUS_CODE_NOT_FOUND "NotFound"
-
-/* Result types */
-
-#define LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_BEST "best"
-#define LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_ALL "all"
-#define LASSO_IDWSF2_DISCOVERY_RESULT_TYPE_ONLY_ONE "only-one"
-
-/* Elements */
-
-#define LASSO_IDWSF2_DISCOVERY_ELEMENT_SVC_MD_REGISTER "SvcMDRegister"
-#define LASSO_IDWSF2_DISCOVERY_ELEMENT_SVC_MD_REGISTER_RESPONSE "SvcMDRegisterResponse"
-
-/* Data Service Template service */
-
-/*
- * ID-WSF 2.0 Data Service First Level Status codes
- */
-
-/**
- * LASSO_DST2_STATUS_CODE_OK:
- *
- * First level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE1_OK "OK"
-
-/**
- * LASSO_DST2_STATUS_CODE_PARTIAL:
- *
- * First level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE1_PARTIAL "Partial"
-
-/**
- * LASSO_DST2_STATUS_CODE_FAILED:
- *
- * First level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE1_FAILED "Failed"
-
-/*
- * ID-WSF 2.0 Data Service Second Level Status codes
- */
-
-/**
- * LASSO_DST2_STATUS_CODE2_ACTION_NOT_AUTHORIZED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_ACTION_NOT_AUTHORIZED "ActionNotAuthorized"
-
-/**
- * LASSO_DST2_STATUS_CODE2_AGGREGATION_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_AGGREGATION_NOT_SUPPORTED "AggregationNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_ALL_RETURNED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_ALL_RETURNED "AllReturned"
-
-/**
- * LASSO_DST2_STATUS_CODE2_CHANGE_HISTORY_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_CHANGE_HISTORY_NOT_SUPPORTED "ChangeHistoryNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_CHANGED_SINCE_RETURNS_ALL:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_CHANGED_SINCE_RETURNS_ALL "ChangedSinceReturnsAll"
-
-/**
- * LASSO_DST2_STATUS_CODE2_DATA_TOO_LONG:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_DATA_TOO_LONG "DataTooLong"
-
-/**
- * LASSO_DST2_STATUS_CODE2_DOES_NOT_EXIST:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_DOES_NOT_EXIST "DoesNotExist"
-
-/**
- * LASSO_DST2_STATUS_CODE2_EMPTY_REQUEST:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_EMPTY_REQUEST "EmptyRequest"
-
-/**
- * LASSO_DST2_STATUS_CODE2_EXISTS_ALREADY:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_EXISTS_ALREADY "ExistsAlready"
-
-/**
- * LASSO_DST2_STATUS_CODE2_EXTENSION_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_EXTENSION_NOT_SUPPORTED "ExtensionNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_FORMAT_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_FORMAT_NOT_SUPPORTED "FormatNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_DATA:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_DATA "InvalidData"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_EXPIRES:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_EXPIRES "InvalidExpires"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_ITEM_ID_REF:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_ITEM_ID_REF "InvalidItemIDRef"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_OBJECT_TYPE:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_OBJECT_TYPE "InvalidObjectType"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_PREDEFINED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_PREDEFINED "InvalidPredefined"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_SELECT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_SELECT "InvalidSelect"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_SET_ID:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_SET_ID "InvalidSetID"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_SET_REQ:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_SET_REQ "InvalidSetReq"
-
-/**
- * LASSO_DST2_STATUS_CODE2_INVALID_SORT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_INVALID_SORT "InvalidSort"
-
-/**
- * LASSO_DST2_STATUS_CODE2_ITEM_ID_DUPLICATED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_ITEM_ID_DUPLICATED "ItemIDDuplicated"
-
-/**
- * LASSO_DST2_STATUS_CODE2_RESULT_QUERY_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_RESULT_QUERY_NOT_SUPPORTED "ResultQueryNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_CREDENTIALS:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_CREDENTIALS "MissingCredentials"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_DATA_ELEMENT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_DATA_ELEMENT "MissingDataElement"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_EXPIRATION:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_EXPIRATION "MissingExpiration"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_ITEM_ID:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_ITEM_ID "MissingItemID"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_NEW_DATA_ELEMENT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_NEW_DATA_ELEMENT "MissingNewDataElement"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_OBJECT_TYPE:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_OBJECT_TYPE "MissingObjectType"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_SECURITY_MECH_ID_ELEMENT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_SECURITY_MECH_ID_ELEMENT "MissingSecurityMechIDElement"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MISSING_SELECT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MISSING_SELECT "MissingSelect"
-
-/**
- * LASSO_DST2_STATUS_CODE2_MODIFIED_SINCE:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_MODIFIED_SINCE "ModifiedSince"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NEW_OR_EXISTING:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NEW_OR_EXISTING "NewOrExisting"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NO_MORE_ELEMENTS:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NO_MORE_ELEMENTS "NoMoreElements"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NO_MORE_OBJECTS:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NO_MORE_OBJECTS "NoMoreObjects"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NO_MULTIPLE_ALLOWED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NO_MULTIPLE_ALLOWED "NoMultipleAllowed"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NO_MULTIPLE_RESOURCES:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NO_MULTIPLE_RESOURCES "NoMultipleResources"
-
-/**
- * LASSO_DST2_STATUS_CODE2_NO_SUCH_TEST:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_NO_SUCH_TEST "NoSuchTest"
-
-/**
- * LASSO_DST2_STATUS_CODE2_OBJECT_TYPE_MISMATCH:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_OBJECT_TYPE_MISMATCH "ObjectTypeMismatch"
-
-/**
- * LASSO_DST2_STATUS_CODE2_PAGINATION_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_PAGINATION_NOT_SUPPORTED "PaginationNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_REQUESTED_AGGREGATION_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_REQUESTED_AGGREGATION_NOT_SUPPORTED "RequestedAggregationNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_REQUESTED_PAGINATION_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_REQUESTED_PAGINATION_NOT_SUPPORTED "RequestedPaginationNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_REQUESTED_SORTING_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_REQUESTED_SORTING_NOT_SUPPORTED "RequestedSortingNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_REQUESTED_TRIGGER_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_REQUESTED_TRIGGER_NOT_SUPPORTED "RequestedTriggerNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_SECURITY_MECH_ID_NOT_ACCEPTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_SECURITY_MECH_ID_NOT_ACCEPTED "SecurityMechIDNotAccepted"
-
-/**
- * LASSO_DST2_STATUS_CODE2_SET_OR_NEW_QUERY:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_SET_OR_NEW_QUERY "SetOrNewQuery"
-
-/**
- * LASSO_DST2_STATUS_CODE2_SORT_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_SORT_NOT_SUPPORTED "SortNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_STATIC_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_STATIC_NOT_SUPPORTED "StaticNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_TIME_OUT:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_TIME_OUT "TimeOut"
-
-/**
- * LASSO_DST2_STATUS_CODE2_TRIGGER_NOT_SUPPORTED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_TRIGGER_NOT_SUPPORTED "TriggerNotSupported"
-
-/**
- * LASSO_DST2_STATUS_CODE2_UNEXPECTED_ERROR:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_UNEXPECTED_ERROR "UnexpectedError"
-
-/**
- * LASSO_DST2_STATUS_CODE2_UNSPECIFIED_ERROR:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_UNSPECIFIED_ERROR "UnspecifiedError"
-
-/**
- * LASSO_DST2_STATUS_CODE2_UNSUPPORTED_OBJECT_TYPE:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_UNSUPPORTED_OBJECT_TYPE "UnsupportedObjectType"
-
-/**
- * LASSO_DST2_STATUS_CODE2_UNSUPPORTED_PREDEFINED:
- *
- * Second level status code for ID-WSF 2.0 Data Service Template response.
- * FIXME: define me !
- */
-#define LASSO_DST2_STATUS_CODE2_UNSUPPORTED_PREDEFINED "UnsupportedPredefined"
-
-#endif /* __LASSO_IDWSF2_STRINGS_H__ */
-
diff --git a/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.c b/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.c
deleted file mode 100644
index 328e6ca9..00000000
--- a/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: ims_identity_mapping_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ims_identity_mapping_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ims_identity_mapping_request
- * @short_description: <ims:IdentityMappingRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "MappingInput", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2ImsIdentityMappingRequest, MappingInput), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2ImsIdentityMappingRequest, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2ImsIdentityMappingRequest *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2ImsIdentityMappingRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "IdentityMappingRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IMS_HREF, LASSO_IDWSF2_IMS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ims_identity_mapping_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2ImsIdentityMappingRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2ImsIdentityMappingRequest),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2ImsIdentityMappingRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ims_identity_mapping_request_new:
- *
- * Creates a new #LassoIdWsf2ImsIdentityMappingRequest object.
- *
- * Return value: a newly created #LassoIdWsf2ImsIdentityMappingRequest object
- **/
-LassoIdWsf2ImsIdentityMappingRequest*
-lasso_idwsf2_ims_identity_mapping_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.h b/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.h
deleted file mode 100644
index 968008ec..00000000
--- a/lasso/xml/id-wsf-2.0/ims_identity_mapping_request.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ims_identity_mapping_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_H__
-#define __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST \
- (lasso_idwsf2_ims_identity_mapping_request_get_type())
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST, \
- LassoIdWsf2ImsIdentityMappingRequest))
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST, \
- LassoIdWsf2ImsIdentityMappingRequestClass))
-#define LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST))
-#define LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST))
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST, \
- LassoIdWsf2ImsIdentityMappingRequestClass))
-
-
-typedef struct _LassoIdWsf2ImsIdentityMappingRequest \
- LassoIdWsf2ImsIdentityMappingRequest;
-typedef struct _LassoIdWsf2ImsIdentityMappingRequestClass \
- LassoIdWsf2ImsIdentityMappingRequestClass;
-
-
-struct _LassoIdWsf2ImsIdentityMappingRequest {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *MappingInput; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2ImsIdentityMappingRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ims_identity_mapping_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2ImsIdentityMappingRequest*
- lasso_idwsf2_ims_identity_mapping_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.c b/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.c
deleted file mode 100644
index 345e8b78..00000000
--- a/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* $Id: ims_identity_mapping_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ims_identity_mapping_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ims_identity_mapping_response
- * @short_description: <ims:IdentityMappingResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2ImsIdentityMappingResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "MappingOutput", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2ImsIdentityMappingResponse, MappingOutput), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2ImsIdentityMappingResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2ImsIdentityMappingResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2ImsIdentityMappingResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "IdentityMappingResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IMS_HREF, LASSO_IDWSF2_IMS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ims_identity_mapping_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2ImsIdentityMappingResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2ImsIdentityMappingResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2ImsIdentityMappingResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ims_identity_mapping_response_new:
- *
- * Creates a new #LassoIdWsf2ImsIdentityMappingResponse object.
- *
- * Return value: a newly created #LassoIdWsf2ImsIdentityMappingResponse object
- **/
-LassoIdWsf2ImsIdentityMappingResponse*
-lasso_idwsf2_ims_identity_mapping_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.h b/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.h
deleted file mode 100644
index 90d32fd9..00000000
--- a/lasso/xml/id-wsf-2.0/ims_identity_mapping_response.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: ims_identity_mapping_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_H__
-#define __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE \
- (lasso_idwsf2_ims_identity_mapping_response_get_type())
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE, \
- LassoIdWsf2ImsIdentityMappingResponse))
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE, \
- LassoIdWsf2ImsIdentityMappingResponseClass))
-#define LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE))
-#define LASSO_IS_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE))
-#define LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE, \
- LassoIdWsf2ImsIdentityMappingResponseClass))
-
-
-typedef struct _LassoIdWsf2ImsIdentityMappingResponse \
- LassoIdWsf2ImsIdentityMappingResponse;
-typedef struct _LassoIdWsf2ImsIdentityMappingResponseClass \
- LassoIdWsf2ImsIdentityMappingResponseClass;
-
-
-struct _LassoIdWsf2ImsIdentityMappingResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *MappingOutput; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2ImsIdentityMappingResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ims_identity_mapping_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2ImsIdentityMappingResponse*
- lasso_idwsf2_ims_identity_mapping_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IMS_IDENTITY_MAPPING_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ims_mapping_input.c b/lasso/xml/id-wsf-2.0/ims_mapping_input.c
deleted file mode 100644
index c2eaa319..00000000
--- a/lasso/xml/id-wsf-2.0/ims_mapping_input.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: ims_mapping_input.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ims_mapping_input.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ims_mapping_input
- * @short_description: <ims:MappingInput>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TokenPolicy", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2ImsMappingInput, TokenPolicy), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- { "Token", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2ImsMappingInput, Token), NULL, LASSO_IDWSF2_SEC_PREFIX,
- LASSO_IDWSF2_SEC_HREF},
- { "reqID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2ImsMappingInput, reqID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2ImsMappingInputClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "MappingInput");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IMS_HREF, LASSO_IDWSF2_IMS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ims_mapping_input_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2ImsMappingInputClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2ImsMappingInput),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2ImsMappingInput", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ims_mapping_input_new:
- *
- * Creates a new #LassoIdWsf2ImsMappingInput object.
- *
- * Return value: a newly created #LassoIdWsf2ImsMappingInput object
- **/
-LassoIdWsf2ImsMappingInput*
-lasso_idwsf2_ims_mapping_input_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ims_mapping_input.h b/lasso/xml/id-wsf-2.0/ims_mapping_input.h
deleted file mode 100644
index 57b10d62..00000000
--- a/lasso/xml/id-wsf-2.0/ims_mapping_input.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: ims_mapping_input.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__
-#define __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "sec_token_policy.h"
-#include "sec_token.h"
-
-#define LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT (lasso_idwsf2_ims_mapping_input_get_type())
-#define LASSO_IDWSF2_IMS_MAPPING_INPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \
- LassoIdWsf2ImsMappingInput))
-#define LASSO_IDWSF2_IMS_MAPPING_INPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \
- LassoIdWsf2ImsMappingInputClass))
-#define LASSO_IS_IDWSF2_IMS_MAPPING_INPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT))
-#define LASSO_IS_IDWSF2_IMS_MAPPING_INPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT))
-#define LASSO_IDWSF2_IMS_MAPPING_INPUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT, \
- LassoIdWsf2ImsMappingInputClass))
-
-
-typedef struct _LassoIdWsf2ImsMappingInput LassoIdWsf2ImsMappingInput;
-typedef struct _LassoIdWsf2ImsMappingInputClass LassoIdWsf2ImsMappingInputClass;
-
-
-struct _LassoIdWsf2ImsMappingInput {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TokenPolicy;
- /* XXX */ void *Token;
- /* attributes */
- char *reqID;
-};
-
-
-struct _LassoIdWsf2ImsMappingInputClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ims_mapping_input_get_type(void);
-LASSO_EXPORT LassoIdWsf2ImsMappingInput* lasso_idwsf2_ims_mapping_input_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IMS_MAPPING_INPUT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ims_mapping_output.c b/lasso/xml/id-wsf-2.0/ims_mapping_output.c
deleted file mode 100644
index a8ea8d05..00000000
--- a/lasso/xml/id-wsf-2.0/ims_mapping_output.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id: ims_mapping_output.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ims_mapping_output.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ims_mapping_output
- * @short_description: <ims:MappingOutput>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Token", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2ImsMappingOutput, Token), NULL, LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- { "reqRef", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2ImsMappingOutput, reqRef), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2ImsMappingOutputClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "MappingOutput");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IMS_HREF, LASSO_IDWSF2_IMS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ims_mapping_output_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2ImsMappingOutputClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2ImsMappingOutput),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2ImsMappingOutput", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ims_mapping_output_new:
- *
- * Creates a new #LassoIdWsf2ImsMappingOutput object.
- *
- * Return value: a newly created #LassoIdWsf2ImsMappingOutput object
- **/
-LassoIdWsf2ImsMappingOutput*
-lasso_idwsf2_ims_mapping_output_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ims_mapping_output.h b/lasso/xml/id-wsf-2.0/ims_mapping_output.h
deleted file mode 100644
index 2f88a8ae..00000000
--- a/lasso/xml/id-wsf-2.0/ims_mapping_output.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ims_mapping_output.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IMS_MAPPING_OUTPUT_H__
-#define __LASSO_IDWSF2_IMS_MAPPING_OUTPUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "sec_token.h"
-
-#define LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT (lasso_idwsf2_ims_mapping_output_get_type())
-#define LASSO_IDWSF2_IMS_MAPPING_OUTPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT, \
- LassoIdWsf2ImsMappingOutput))
-#define LASSO_IDWSF2_IMS_MAPPING_OUTPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT, \
- LassoIdWsf2ImsMappingOutputClass))
-#define LASSO_IS_IDWSF2_IMS_MAPPING_OUTPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT))
-#define LASSO_IS_IDWSF2_IMS_MAPPING_OUTPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT))
-#define LASSO_IDWSF2_IMS_MAPPING_OUTPUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IMS_MAPPING_OUTPUT, \
- LassoIdWsf2ImsMappingOutputClass))
-
-
-typedef struct _LassoIdWsf2ImsMappingOutput LassoIdWsf2ImsMappingOutput;
-typedef struct _LassoIdWsf2ImsMappingOutputClass LassoIdWsf2ImsMappingOutputClass;
-
-
-struct _LassoIdWsf2ImsMappingOutput {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Token;
- /* attributes */
- char *reqRef;
-};
-
-
-struct _LassoIdWsf2ImsMappingOutputClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ims_mapping_output_get_type(void);
-LASSO_EXPORT LassoIdWsf2ImsMappingOutput* lasso_idwsf2_ims_mapping_output_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IMS_MAPPING_OUTPUT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_help.c b/lasso/xml/id-wsf-2.0/is_help.c
deleted file mode 100644
index 6100154f..00000000
--- a/lasso/xml/id-wsf-2.0/is_help.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: is_help.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_help.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_help
- * @short_description: <is:Help>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "label", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsHelp, label), NULL, NULL, NULL},
- { "link", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsHelp, link), NULL, NULL, NULL},
- { "moreLink", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsHelp, moreLink), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsHelpClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Help");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_help_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsHelpClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsHelp),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsHelp", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_help_new:
- *
- * Creates a new #LassoIdWsf2IsHelp object.
- *
- * Return value: a newly created #LassoIdWsf2IsHelp object
- **/
-LassoIdWsf2IsHelp*
-lasso_idwsf2_is_help_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_HELP, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_help.h b/lasso/xml/id-wsf-2.0/is_help.h
deleted file mode 100644
index 6a65eda4..00000000
--- a/lasso/xml/id-wsf-2.0/is_help.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: is_help.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_HELP_H__
-#define __LASSO_IDWSF2_IS_HELP_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_IS_HELP (lasso_idwsf2_is_help_get_type())
-#define LASSO_IDWSF2_IS_HELP(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_HELP, \
- LassoIdWsf2IsHelp))
-#define LASSO_IDWSF2_IS_HELP_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_HELP, \
- LassoIdWsf2IsHelpClass))
-#define LASSO_IS_IDWSF2_IS_HELP(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_HELP))
-#define LASSO_IS_IDWSF2_IS_HELP_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_HELP))
-#define LASSO_IDWSF2_IS_HELP_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_HELP, \
- LassoIdWsf2IsHelpClass))
-
-
-typedef struct _LassoIdWsf2IsHelp LassoIdWsf2IsHelp;
-typedef struct _LassoIdWsf2IsHelpClass LassoIdWsf2IsHelpClass;
-
-
-struct _LassoIdWsf2IsHelp {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *label;
- char *link;
- char *moreLink;
-};
-
-
-struct _LassoIdWsf2IsHelpClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_help_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsHelp* lasso_idwsf2_is_help_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_HELP_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_inquiry.c b/lasso/xml/id-wsf-2.0/is_inquiry.c
deleted file mode 100644
index 2a4c5312..00000000
--- a/lasso/xml/id-wsf-2.0/is_inquiry.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/* $Id: is_inquiry.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_inquiry.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_inquiry
- * @short_description: <is:Inquiry>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Help", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, Help), NULL, NULL, NULL},
- { "Select", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, Select), NULL, NULL, NULL},
- { "Confirm", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, Confirm), NULL, NULL, NULL},
- { "Text", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, Text), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, id), NULL, NULL, NULL},
- { "title", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiry, title), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsInquiryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Inquiry");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_inquiry_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsInquiryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsInquiry),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsInquiry", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_inquiry_new:
- *
- * Creates a new #LassoIdWsf2IsInquiry object.
- *
- * Return value: a newly created #LassoIdWsf2IsInquiry object
- **/
-LassoIdWsf2IsInquiry*
-lasso_idwsf2_is_inquiry_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_INQUIRY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_inquiry.h b/lasso/xml/id-wsf-2.0/is_inquiry.h
deleted file mode 100644
index 2db09e95..00000000
--- a/lasso/xml/id-wsf-2.0/is_inquiry.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: is_inquiry.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_INQUIRY_H__
-#define __LASSO_IDWSF2_IS_INQUIRY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "is_help.h"
-
-#define LASSO_TYPE_IDWSF2_IS_INQUIRY (lasso_idwsf2_is_inquiry_get_type())
-#define LASSO_IDWSF2_IS_INQUIRY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY, \
- LassoIdWsf2IsInquiry))
-#define LASSO_IDWSF2_IS_INQUIRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY, \
- LassoIdWsf2IsInquiryClass))
-#define LASSO_IS_IDWSF2_IS_INQUIRY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY))
-#define LASSO_IS_IDWSF2_IS_INQUIRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY))
-#define LASSO_IDWSF2_IS_INQUIRY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY, \
- LassoIdWsf2IsInquiryClass))
-
-
-typedef struct _LassoIdWsf2IsInquiry LassoIdWsf2IsInquiry;
-typedef struct _LassoIdWsf2IsInquiryClass LassoIdWsf2IsInquiryClass;
-
-
-struct _LassoIdWsf2IsInquiry {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Help;
- GList *Select; /* of LassoNode */
- GList *Confirm; /* of LassoNode */
- GList *Text; /* of LassoNode */
- /* attributes */
- char *id;
- char *title;
-};
-
-
-struct _LassoIdWsf2IsInquiryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_inquiry_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsInquiry* lasso_idwsf2_is_inquiry_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_INQUIRY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_inquiry_element.c b/lasso/xml/id-wsf-2.0/is_inquiry_element.c
deleted file mode 100644
index 5bee9c9d..00000000
--- a/lasso/xml/id-wsf-2.0/is_inquiry_element.c
+++ /dev/null
@@ -1,123 +0,0 @@
-/* $Id: is_inquiry_element.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_inquiry_element.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_inquiry_element
- * @short_description: <is:InquiryElement>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Help", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiryElement, Help), NULL, NULL, NULL},
- { "Hint", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiryElement, Hint), NULL, NULL, NULL},
- { "Label", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiryElement, Label), NULL, NULL, NULL},
- { "Value", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiryElement, Value), NULL, NULL, NULL},
- { "name", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2IsInquiryElement, name), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsInquiryElementClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Confirm");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_inquiry_element_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsInquiryElementClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsInquiryElement),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsInquiryElement", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_inquiry_element_new:
- *
- * Creates a new #LassoIdWsf2IsInquiryElement object.
- *
- * Return value: a newly created #LassoIdWsf2IsInquiryElement object
- **/
-LassoIdWsf2IsInquiryElement*
-lasso_idwsf2_is_inquiry_element_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_inquiry_element.h b/lasso/xml/id-wsf-2.0/is_inquiry_element.h
deleted file mode 100644
index 3782897f..00000000
--- a/lasso/xml/id-wsf-2.0/is_inquiry_element.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: is_inquiry_element.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_INQUIRY_ELEMENT_H__
-#define __LASSO_IDWSF2_IS_INQUIRY_ELEMENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "is_help.h"
-
-#define LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT (lasso_idwsf2_is_inquiry_element_get_type())
-#define LASSO_IDWSF2_IS_INQUIRY_ELEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT, \
- LassoIdWsf2IsInquiryElement))
-#define LASSO_IDWSF2_IS_INQUIRY_ELEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT, \
- LassoIdWsf2IsInquiryElementClass))
-#define LASSO_IS_IDWSF2_IS_INQUIRY_ELEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT))
-#define LASSO_IS_IDWSF2_IS_INQUIRY_ELEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT))
-#define LASSO_IDWSF2_IS_INQUIRY_ELEMENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT, \
- LassoIdWsf2IsInquiryElementClass))
-
-
-typedef struct _LassoIdWsf2IsInquiryElement LassoIdWsf2IsInquiryElement;
-typedef struct _LassoIdWsf2IsInquiryElementClass LassoIdWsf2IsInquiryElementClass;
-
-
-struct _LassoIdWsf2IsInquiryElement {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Help;
- char *Hint;
- char *Label;
- char *Value;
- /* attributes */
- char *name;
-};
-
-
-struct _LassoIdWsf2IsInquiryElementClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_inquiry_element_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsInquiryElement* lasso_idwsf2_is_inquiry_element_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_INQUIRY_ELEMENT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_request.c b/lasso/xml/id-wsf-2.0/is_interaction_request.c
deleted file mode 100644
index 81464868..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_request.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/* $Id: is_interaction_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_interaction_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_interaction_request
- * @short_description: <is:InteractionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Inquiry", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, Inquiry), NULL, NULL, NULL},
- { "KeyInfo", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, KeyInfo), NULL, LASSO_DS_PREFIX, LASSO_DS_HREF},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, id), NULL, NULL, NULL},
- { "language", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, language), NULL, NULL, NULL},
- { "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, maxInteractTime), NULL, NULL, NULL},
- { "signed", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionRequest, signed_), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsInteractionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_interaction_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsInteractionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsInteractionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsInteractionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_interaction_request_new:
- *
- * Creates a new #LassoIdWsf2IsInteractionRequest object.
- *
- * Return value: a newly created #LassoIdWsf2IsInteractionRequest object
- **/
-LassoIdWsf2IsInteractionRequest*
-lasso_idwsf2_is_interaction_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_request.h b/lasso/xml/id-wsf-2.0/is_interaction_request.h
deleted file mode 100644
index 5b72ac4d..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_request.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: is_interaction_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_INTERACTION_REQUEST_H__
-#define __LASSO_IDWSF2_IS_INTERACTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "is_inquiry.h"
-
-#define LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST (lasso_idwsf2_is_interaction_request_get_type())
-#define LASSO_IDWSF2_IS_INTERACTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST, \
- LassoIdWsf2IsInteractionRequest))
-#define LASSO_IDWSF2_IS_INTERACTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST, \
- LassoIdWsf2IsInteractionRequestClass))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST))
-#define LASSO_IDWSF2_IS_INTERACTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_REQUEST, \
- LassoIdWsf2IsInteractionRequestClass))
-
-
-typedef struct _LassoIdWsf2IsInteractionRequest LassoIdWsf2IsInteractionRequest;
-typedef struct _LassoIdWsf2IsInteractionRequestClass LassoIdWsf2IsInteractionRequestClass;
-
-
-struct _LassoIdWsf2IsInteractionRequest {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Inquiry; /* of LassoNode */
- /* XXX */ void *KeyInfo;
- /* attributes */
- char *id;
- char *language;
- int maxInteractTime;
- char *signed_;
-};
-
-
-struct _LassoIdWsf2IsInteractionRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_interaction_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsInteractionRequest* lasso_idwsf2_is_interaction_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_INTERACTION_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_response.c b/lasso/xml/id-wsf-2.0/is_interaction_response.c
deleted file mode 100644
index 25c6abc1..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_response.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: is_interaction_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_interaction_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_interaction_response
- * @short_description: <is:InteractionResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionResponse, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "InteractionStatement", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionResponse, InteractionStatement), NULL, NULL, NULL},
- { "Parameter", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionResponse, Parameter), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsInteractionResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_interaction_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsInteractionResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsInteractionResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsInteractionResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_interaction_response_new:
- *
- * Creates a new #LassoIdWsf2IsInteractionResponse object.
- *
- * Return value: a newly created #LassoIdWsf2IsInteractionResponse object
- **/
-LassoIdWsf2IsInteractionResponse*
-lasso_idwsf2_is_interaction_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_response.h b/lasso/xml/id-wsf-2.0/is_interaction_response.h
deleted file mode 100644
index 0758ffd2..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_response.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: is_interaction_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_INTERACTION_RESPONSE_H__
-#define __LASSO_IDWSF2_IS_INTERACTION_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE (lasso_idwsf2_is_interaction_response_get_type())
-#define LASSO_IDWSF2_IS_INTERACTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE, \
- LassoIdWsf2IsInteractionResponse))
-#define LASSO_IDWSF2_IS_INTERACTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE, \
- LassoIdWsf2IsInteractionResponseClass))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE))
-#define LASSO_IDWSF2_IS_INTERACTION_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_RESPONSE, \
- LassoIdWsf2IsInteractionResponseClass))
-
-
-typedef struct _LassoIdWsf2IsInteractionResponse LassoIdWsf2IsInteractionResponse;
-typedef struct _LassoIdWsf2IsInteractionResponseClass LassoIdWsf2IsInteractionResponseClass;
-
-
-struct _LassoIdWsf2IsInteractionResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *InteractionStatement; /* of LassoNode */
- GList *Parameter; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2IsInteractionResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_interaction_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsInteractionResponse* lasso_idwsf2_is_interaction_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_INTERACTION_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_statement.c b/lasso/xml/id-wsf-2.0/is_interaction_statement.c
deleted file mode 100644
index 72cd814a..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_statement.c
+++ /dev/null
@@ -1,142 +0,0 @@
-/* $Id: is_interaction_statement.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-
-#include "../private.h"
-#include
-#include
-
-#include "is_interaction_statement.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_interaction_statement
- * @short_description: <is:InteractionStatement>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Inquiry", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionStatement, Inquiry), NULL, NULL, NULL},
- { "Signature", SNIPPET_SIGNATURE, 0, NULL, LASSO_DS_PREFIX, LASSO_DS_HREF },
-
- /* hidden fields; used in lasso dumps */
- { "SignType", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_LASSO_DUMP,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionStatement, sign_type), NULL, NULL, NULL},
- { "SignMethod", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_LASSO_DUMP,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionStatement, sign_method), NULL, NULL, NULL},
- { "PrivateKeyFile", SNIPPET_CONTENT | SNIPPET_LASSO_DUMP,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionStatement, private_key_file), NULL, NULL, NULL},
- { "CertificateFile", SNIPPET_CONTENT | SNIPPET_LASSO_DUMP,
- G_STRUCT_OFFSET(LassoIdWsf2IsInteractionStatement, certificate_file), NULL, NULL, NULL},
-
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2IsInteractionStatement *node)
-{
- node->sign_type = LASSO_SIGNATURE_TYPE_NONE;
-}
-
-static void
-class_init(LassoIdWsf2IsInteractionStatementClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionStatement");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-
- nclass->node_data->sign_type_offset = G_STRUCT_OFFSET(
- LassoIdWsf2IsInteractionStatement, sign_type);
- nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
- LassoIdWsf2IsInteractionStatement, sign_method);
- nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(
- LassoIdWsf2IsInteractionStatement, private_key_file);
- nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(
- LassoIdWsf2IsInteractionStatement, certificate_file);
-}
-
-GType
-lasso_idwsf2_is_interaction_statement_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsInteractionStatementClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsInteractionStatement),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsInteractionStatement", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_interaction_statement_new:
- *
- * Creates a new #LassoIdWsf2IsInteractionStatement object.
- *
- * Return value: a newly created #LassoIdWsf2IsInteractionStatement object
- **/
-LassoIdWsf2IsInteractionStatement*
-lasso_idwsf2_is_interaction_statement_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_statement.h b/lasso/xml/id-wsf-2.0/is_interaction_statement.h
deleted file mode 100644
index 4158d8a2..00000000
--- a/lasso/xml/id-wsf-2.0/is_interaction_statement.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: is_interaction_statement.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_INTERACTION_STATEMENT_H__
-#define __LASSO_IDWSF2_IS_INTERACTION_STATEMENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT \
- (lasso_idwsf2_is_interaction_statement_get_type())
-#define LASSO_IDWSF2_IS_INTERACTION_STATEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT, \
- LassoIdWsf2IsInteractionStatement))
-#define LASSO_IDWSF2_IS_INTERACTION_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT, \
- LassoIdWsf2IsInteractionStatementClass))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_STATEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT))
-#define LASSO_IS_IDWSF2_IS_INTERACTION_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT))
-#define LASSO_IDWSF2_IS_INTERACTION_STATEMENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_INTERACTION_STATEMENT, \
- LassoIdWsf2IsInteractionStatementClass))
-
-
-typedef struct _LassoIdWsf2IsInteractionStatement LassoIdWsf2IsInteractionStatement;
-typedef struct _LassoIdWsf2IsInteractionStatementClass LassoIdWsf2IsInteractionStatementClass;
-
-
-struct _LassoIdWsf2IsInteractionStatement {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Inquiry; /* of LassoNode */
- /*< private >*/
- /* ds:Signature stuffs */
- LassoSignatureType sign_type;
- LassoSignatureMethod sign_method;
- char *private_key_file;
- char *certificate_file;
-
-};
-
-struct _LassoIdWsf2IsInteractionStatementClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_interaction_statement_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsInteractionStatement* lasso_idwsf2_is_interaction_statement_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_INTERACTION_STATEMENT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_item.c b/lasso/xml/id-wsf-2.0/is_item.c
deleted file mode 100644
index f3be8206..00000000
--- a/lasso/xml/id-wsf-2.0/is_item.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: is_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_item
- * @short_description: <is:Item>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Hint", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2IsItem, Hint), NULL, NULL, NULL},
- { "label", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsItem, label), NULL, NULL, NULL},
- { "value", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2IsItem, value), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Item");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_item_new:
- *
- * Creates a new #LassoIdWsf2IsItem object.
- *
- * Return value: a newly created #LassoIdWsf2IsItem object
- **/
-LassoIdWsf2IsItem*
-lasso_idwsf2_is_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_item.h b/lasso/xml/id-wsf-2.0/is_item.h
deleted file mode 100644
index 77180482..00000000
--- a/lasso/xml/id-wsf-2.0/is_item.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: is_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_ITEM_H__
-#define __LASSO_IDWSF2_IS_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_IS_ITEM (lasso_idwsf2_is_item_get_type())
-#define LASSO_IDWSF2_IS_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_ITEM, \
- LassoIdWsf2IsItem))
-#define LASSO_IDWSF2_IS_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_ITEM, \
- LassoIdWsf2IsItemClass))
-#define LASSO_IS_IDWSF2_IS_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_ITEM))
-#define LASSO_IS_IDWSF2_IS_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_ITEM))
-#define LASSO_IDWSF2_IS_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_ITEM, \
- LassoIdWsf2IsItemClass))
-
-
-typedef struct _LassoIdWsf2IsItem LassoIdWsf2IsItem;
-typedef struct _LassoIdWsf2IsItemClass LassoIdWsf2IsItemClass;
-
-
-struct _LassoIdWsf2IsItem {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *Hint;
- /* attributes */
- char *label;
- char *value;
-};
-
-
-struct _LassoIdWsf2IsItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsItem* lasso_idwsf2_is_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_parameter.c b/lasso/xml/id-wsf-2.0/is_parameter.c
deleted file mode 100644
index 9d2fa7c7..00000000
--- a/lasso/xml/id-wsf-2.0/is_parameter.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id: is_parameter.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_parameter.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_parameter
- * @short_description: <is:Parameter>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "name", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2IsParameter, name), NULL, NULL, NULL},
- { "value", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2IsParameter, value), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsParameterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Parameter");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_parameter_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsParameterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsParameter),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2IsParameter", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_parameter_new:
- *
- * Creates a new #LassoIdWsf2IsParameter object.
- *
- * Return value: a newly created #LassoIdWsf2IsParameter object
- **/
-LassoIdWsf2IsParameter*
-lasso_idwsf2_is_parameter_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_PARAMETER, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_parameter.h b/lasso/xml/id-wsf-2.0/is_parameter.h
deleted file mode 100644
index 438ea88a..00000000
--- a/lasso/xml/id-wsf-2.0/is_parameter.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: is_parameter.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_PARAMETER_H__
-#define __LASSO_IDWSF2_IS_PARAMETER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_IS_PARAMETER (lasso_idwsf2_is_parameter_get_type())
-#define LASSO_IDWSF2_IS_PARAMETER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_PARAMETER, \
- LassoIdWsf2IsParameter))
-#define LASSO_IDWSF2_IS_PARAMETER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_PARAMETER, \
- LassoIdWsf2IsParameterClass))
-#define LASSO_IS_IDWSF2_IS_PARAMETER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_PARAMETER))
-#define LASSO_IS_IDWSF2_IS_PARAMETER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_PARAMETER))
-#define LASSO_IDWSF2_IS_PARAMETER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_PARAMETER, \
- LassoIdWsf2IsParameterClass))
-
-
-typedef struct _LassoIdWsf2IsParameter LassoIdWsf2IsParameter;
-typedef struct _LassoIdWsf2IsParameterClass LassoIdWsf2IsParameterClass;
-
-
-struct _LassoIdWsf2IsParameter {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *name;
- char *value;
-};
-
-
-struct _LassoIdWsf2IsParameterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_parameter_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsParameter* lasso_idwsf2_is_parameter_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_PARAMETER_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_select.c b/lasso/xml/id-wsf-2.0/is_select.c
deleted file mode 100644
index c0a48067..00000000
--- a/lasso/xml/id-wsf-2.0/is_select.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: is_select.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_select.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_select
- * @short_description: <is:Select>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Item", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2IsSelect, Item), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsSelectClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Select");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_select_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsSelectClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsSelect),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT,
- "LassoIdWsf2IsSelect", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_select_new:
- *
- * Creates a new #LassoIdWsf2IsSelect object.
- *
- * Return value: a newly created #LassoIdWsf2IsSelect object
- **/
-LassoIdWsf2IsSelect*
-lasso_idwsf2_is_select_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_SELECT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_select.h b/lasso/xml/id-wsf-2.0/is_select.h
deleted file mode 100644
index d71c8023..00000000
--- a/lasso/xml/id-wsf-2.0/is_select.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: is_select.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_SELECT_H__
-#define __LASSO_IDWSF2_IS_SELECT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "is_inquiry_element.h"
-
-#define LASSO_TYPE_IDWSF2_IS_SELECT (lasso_idwsf2_is_select_get_type())
-#define LASSO_IDWSF2_IS_SELECT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_SELECT, \
- LassoIdWsf2IsSelect))
-#define LASSO_IDWSF2_IS_SELECT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_SELECT, \
- LassoIdWsf2IsSelectClass))
-#define LASSO_IS_IDWSF2_IS_SELECT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_SELECT))
-#define LASSO_IS_IDWSF2_IS_SELECT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_SELECT))
-#define LASSO_IDWSF2_IS_SELECT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_SELECT, \
- LassoIdWsf2IsSelectClass))
-
-
-typedef struct _LassoIdWsf2IsSelect LassoIdWsf2IsSelect;
-typedef struct _LassoIdWsf2IsSelectClass LassoIdWsf2IsSelectClass;
-
-
-struct _LassoIdWsf2IsSelect {
- LassoIdWsf2IsInquiryElement parent;
-
- /*< public >*/
- /* elements */
- GList *Item; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2IsSelectClass {
- LassoIdWsf2IsInquiryElementClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_select_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsSelect* lasso_idwsf2_is_select_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_SELECT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/is_text.c b/lasso/xml/id-wsf-2.0/is_text.c
deleted file mode 100644
index e9537574..00000000
--- a/lasso/xml/id-wsf-2.0/is_text.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: is_text.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "is_text.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:is_text
- * @short_description: <is:Text>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "minChars", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsText, minChars), NULL, NULL, NULL},
- { "maxChars", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsText, maxChars), NULL, NULL, NULL},
- { "format", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2IsText, format), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2IsTextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Text");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_IS_HREF, LASSO_IDWSF2_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_is_text_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2IsTextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2IsText),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_IS_INQUIRY_ELEMENT,
- "LassoIdWsf2IsText", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_is_text_new:
- *
- * Creates a new #LassoIdWsf2IsText object.
- *
- * Return value: a newly created #LassoIdWsf2IsText object
- **/
-LassoIdWsf2IsText*
-lasso_idwsf2_is_text_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_IS_TEXT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/is_text.h b/lasso/xml/id-wsf-2.0/is_text.h
deleted file mode 100644
index dd534e84..00000000
--- a/lasso/xml/id-wsf-2.0/is_text.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: is_text.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_IS_TEXT_H__
-#define __LASSO_IDWSF2_IS_TEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "is_inquiry_element.h"
-
-#define LASSO_TYPE_IDWSF2_IS_TEXT (lasso_idwsf2_is_text_get_type())
-#define LASSO_IDWSF2_IS_TEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_IS_TEXT, \
- LassoIdWsf2IsText))
-#define LASSO_IDWSF2_IS_TEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_IS_TEXT, \
- LassoIdWsf2IsTextClass))
-#define LASSO_IS_IDWSF2_IS_TEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_IS_TEXT))
-#define LASSO_IS_IDWSF2_IS_TEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_IS_TEXT))
-#define LASSO_IDWSF2_IS_TEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_IS_TEXT, \
- LassoIdWsf2IsTextClass))
-
-
-typedef struct _LassoIdWsf2IsText LassoIdWsf2IsText;
-typedef struct _LassoIdWsf2IsTextClass LassoIdWsf2IsTextClass;
-
-
-struct _LassoIdWsf2IsText {
- LassoIdWsf2IsInquiryElement parent;
-
- /*< public >*/
- /* attributes */
- int minChars;
- int maxChars;
- char *format;
-};
-
-
-struct _LassoIdWsf2IsTextClass {
- LassoIdWsf2IsInquiryElementClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_is_text_get_type(void);
-LASSO_EXPORT LassoIdWsf2IsText* lasso_idwsf2_is_text_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_IS_TEXT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_collection_request.c b/lasso/xml/id-wsf-2.0/ps_add_collection_request.c
deleted file mode 100644
index 950718cf..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_collection_request.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: ps_add_collection_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_collection_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_collection_request
- * @short_description: <ps:AddCollectionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddCollectionRequest, Object), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddCollectionRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddCollectionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddCollectionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_collection_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddCollectionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddCollectionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsAddCollectionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_collection_request_new:
- *
- * Creates a new #LassoIdWsf2PsAddCollectionRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddCollectionRequest object
- **/
-LassoIdWsf2PsAddCollectionRequest*
-lasso_idwsf2_ps_add_collection_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_collection_request.h b/lasso/xml/id-wsf-2.0/ps_add_collection_request.h
deleted file mode 100644
index dfff8e63..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_collection_request.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: ps_add_collection_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_H__
-#define __LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_object.h"
-#include "ps_request_abstract.h"
-#include "subs_subscription.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST \
- (lasso_idwsf2_ps_add_collection_request_get_type())
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddCollectionRequest))
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddCollectionRequestClass))
-#define LASSO_IS_IDWSF2_PS_ADD_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST))
-#define LASSO_IS_IDWSF2_PS_ADD_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST))
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddCollectionRequestClass))
-
-
-typedef struct _LassoIdWsf2PsAddCollectionRequest LassoIdWsf2PsAddCollectionRequest;
-typedef struct _LassoIdWsf2PsAddCollectionRequestClass LassoIdWsf2PsAddCollectionRequestClass;
-
-
-struct _LassoIdWsf2PsAddCollectionRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
- /* XXX */ void *Subscription;
-};
-
-
-struct _LassoIdWsf2PsAddCollectionRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_collection_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddCollectionRequest* lasso_idwsf2_ps_add_collection_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_COLLECTION_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_collection_response.c b/lasso/xml/id-wsf-2.0/ps_add_collection_response.c
deleted file mode 100644
index e9db2542..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_collection_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_add_collection_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_collection_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_collection_response
- * @short_description: <ps:AddCollectionResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddCollectionResponse, Object), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddCollectionResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddCollectionResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_collection_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddCollectionResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddCollectionResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsAddCollectionResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_collection_response_new:
- *
- * Creates a new #LassoIdWsf2PsAddCollectionResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddCollectionResponse object
- **/
-LassoIdWsf2PsAddCollectionResponse*
-lasso_idwsf2_ps_add_collection_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_collection_response.h b/lasso/xml/id-wsf-2.0/ps_add_collection_response.h
deleted file mode 100644
index 8c0c80ea..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_collection_response.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ps_add_collection_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-#include "ps_object.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE \
- (lasso_idwsf2_ps_add_collection_response_get_type())
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE, \
- LassoIdWsf2PsAddCollectionResponse))
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE, \
- LassoIdWsf2PsAddCollectionResponseClass))
-#define LASSO_IS_IDWSF2_PS_ADD_COLLECTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_ADD_COLLECTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE))
-#define LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_COLLECTION_RESPONSE, \
- LassoIdWsf2PsAddCollectionResponseClass))
-
-
-typedef struct _LassoIdWsf2PsAddCollectionResponse LassoIdWsf2PsAddCollectionResponse;
-typedef struct _LassoIdWsf2PsAddCollectionResponseClass LassoIdWsf2PsAddCollectionResponseClass;
-
-
-struct _LassoIdWsf2PsAddCollectionResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
-};
-
-
-struct _LassoIdWsf2PsAddCollectionResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_collection_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddCollectionResponse* lasso_idwsf2_ps_add_collection_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_COLLECTION_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_entity_request.c b/lasso/xml/id-wsf-2.0/ps_add_entity_request.c
deleted file mode 100644
index c1ea8199..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_entity_request.c
+++ /dev/null
@@ -1,128 +0,0 @@
-/* $Id: ps_add_entity_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_entity_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_entity_request
- * @short_description: <ps:AddEntityRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityRequest, Object), NULL, NULL, NULL},
- { "PStoSPRedirectURL", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityRequest, PStoSPRedirectURL), NULL, NULL, NULL},
- { "CreatePSObject", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityRequest, CreatePSObject), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityRequest, Subscription), NULL, NULL, NULL},
- { "TokenPolicy", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityRequest, TokenPolicy), NULL,
- LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddEntityRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddEntityRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_entity_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddEntityRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddEntityRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsAddEntityRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_entity_request_new:
- *
- * Creates a new #LassoIdWsf2PsAddEntityRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddEntityRequest object
- **/
-LassoIdWsf2PsAddEntityRequest*
-lasso_idwsf2_ps_add_entity_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_entity_request.h b/lasso/xml/id-wsf-2.0/ps_add_entity_request.h
deleted file mode 100644
index 5da06435..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_entity_request.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* $Id: ps_add_entity_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_H__
-#define __LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "sec_token_policy.h"
-#include "ps_object.h"
-#include "ps_request_abstract.h"
-#include "subs_subscription.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST (lasso_idwsf2_ps_add_entity_request_get_type())
-#define LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST, \
- LassoIdWsf2PsAddEntityRequest))
-#define LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST, \
- LassoIdWsf2PsAddEntityRequestClass))
-#define LASSO_IS_IDWSF2_PS_ADD_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST))
-#define LASSO_IS_IDWSF2_PS_ADD_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST))
-#define LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_REQUEST, \
- LassoIdWsf2PsAddEntityRequestClass))
-
-
-typedef struct _LassoIdWsf2PsAddEntityRequest LassoIdWsf2PsAddEntityRequest;
-typedef struct _LassoIdWsf2PsAddEntityRequestClass LassoIdWsf2PsAddEntityRequestClass;
-
-
-struct _LassoIdWsf2PsAddEntityRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
- /* XXX */ void *PStoSPRedirectURL;
- char *CreatePSObject;
- /* XXX */ void *Subscription;
- /* XXX */ void *TokenPolicy;
-};
-
-
-struct _LassoIdWsf2PsAddEntityRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_entity_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddEntityRequest* lasso_idwsf2_ps_add_entity_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_ENTITY_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_entity_response.c b/lasso/xml/id-wsf-2.0/ps_add_entity_response.c
deleted file mode 100644
index 9f51fea2..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_entity_response.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: ps_add_entity_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_entity_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_entity_response
- * @short_description: <ps:AddEntityResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityResponse, Object), NULL, NULL, NULL},
- { "SPtoPSRedirectURL", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityResponse, SPtoPSRedirectURL), NULL, NULL, NULL},
- { "QueryString", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddEntityResponse, QueryString), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddEntityResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddEntityResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_entity_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddEntityResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddEntityResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsAddEntityResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_entity_response_new:
- *
- * Creates a new #LassoIdWsf2PsAddEntityResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddEntityResponse object
- **/
-LassoIdWsf2PsAddEntityResponse*
-lasso_idwsf2_ps_add_entity_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_entity_response.h b/lasso/xml/id-wsf-2.0/ps_add_entity_response.h
deleted file mode 100644
index 97d4b16f..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_entity_response.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: ps_add_entity_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-#include "ps_object.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE (lasso_idwsf2_ps_add_entity_response_get_type())
-#define LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddEntityResponse))
-#define LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddEntityResponseClass))
-#define LASSO_IS_IDWSF2_PS_ADD_ENTITY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_ADD_ENTITY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE))
-#define LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddEntityResponseClass))
-
-
-typedef struct _LassoIdWsf2PsAddEntityResponse LassoIdWsf2PsAddEntityResponse;
-typedef struct _LassoIdWsf2PsAddEntityResponseClass LassoIdWsf2PsAddEntityResponseClass;
-
-
-struct _LassoIdWsf2PsAddEntityResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
- /* XXX */ void *SPtoPSRedirectURL;
- /* XXX */ void *QueryString;
-};
-
-
-struct _LassoIdWsf2PsAddEntityResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_entity_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddEntityResponse* lasso_idwsf2_ps_add_entity_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_ENTITY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.c b/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.c
deleted file mode 100644
index 9f4622ca..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.c
+++ /dev/null
@@ -1,129 +0,0 @@
-/* $Id: ps_add_known_entity_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_known_entity_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_known_entity_request
- * @short_description: <ps:AddKnownEntityRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityRequest, Object), NULL, NULL, NULL},
- { "Token", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityRequest, Token), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- { "CreatePSObject", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityRequest, CreatePSObject), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityRequest, Subscription), NULL, NULL, NULL},
- { "TokenPolicy", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityRequest, TokenPolicy), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddKnownEntityRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddKnownEntityRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_known_entity_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddKnownEntityRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddKnownEntityRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsAddKnownEntityRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_known_entity_request_new:
- *
- * Creates a new #LassoIdWsf2PsAddKnownEntityRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddKnownEntityRequest object
- **/
-LassoIdWsf2PsAddKnownEntityRequest*
-lasso_idwsf2_ps_add_known_entity_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.h b/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.h
deleted file mode 100644
index 4e207300..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_known_entity_request.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/* $Id: ps_add_known_entity_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_H__
-#define __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "sec_token_policy.h"
-#include "sec_token.h"
-#include "ps_object.h"
-#include "ps_request_abstract.h"
-#include "subs_subscription.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST \
- (lasso_idwsf2_ps_add_known_entity_request_get_type())
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST, \
- LassoIdWsf2PsAddKnownEntityRequest))
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST, \
- LassoIdWsf2PsAddKnownEntityRequestClass))
-#define LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST))
-#define LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST))
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST, \
- LassoIdWsf2PsAddKnownEntityRequestClass))
-
-
-typedef struct _LassoIdWsf2PsAddKnownEntityRequest LassoIdWsf2PsAddKnownEntityRequest;
-typedef struct _LassoIdWsf2PsAddKnownEntityRequestClass LassoIdWsf2PsAddKnownEntityRequestClass;
-
-
-struct _LassoIdWsf2PsAddKnownEntityRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
- /* XXX */ void *Token;
- char *CreatePSObject;
- /* XXX */ void *Subscription;
- /* XXX */ void *TokenPolicy;
-};
-
-
-struct _LassoIdWsf2PsAddKnownEntityRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_known_entity_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddKnownEntityRequest* lasso_idwsf2_ps_add_known_entity_request_new(
- void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.c b/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.c
deleted file mode 100644
index e0dc3bcc..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: ps_add_known_entity_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_known_entity_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_known_entity_response
- * @short_description: <ps:AddKnownEntityResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityResponse, Object), NULL, NULL, NULL},
- { "SPtoPSRedirectURL", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityResponse, SPtoPSRedirectURL), NULL, NULL, NULL},
- { "QueryString", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddKnownEntityResponse, QueryString), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddKnownEntityResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddKnownEntityResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_known_entity_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddKnownEntityResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddKnownEntityResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsAddKnownEntityResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_known_entity_response_new:
- *
- * Creates a new #LassoIdWsf2PsAddKnownEntityResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddKnownEntityResponse object
- **/
-LassoIdWsf2PsAddKnownEntityResponse*
-lasso_idwsf2_ps_add_known_entity_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.h b/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.h
deleted file mode 100644
index cfff0c98..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_known_entity_response.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ps_add_known_entity_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-#include "ps_object.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE \
- (lasso_idwsf2_ps_add_known_entity_response_get_type())
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddKnownEntityResponse))
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddKnownEntityResponseClass))
-#define LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE))
-#define LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE, \
- LassoIdWsf2PsAddKnownEntityResponseClass))
-
-
-typedef struct _LassoIdWsf2PsAddKnownEntityResponse LassoIdWsf2PsAddKnownEntityResponse;
-typedef struct _LassoIdWsf2PsAddKnownEntityResponseClass LassoIdWsf2PsAddKnownEntityResponseClass;
-
-
-struct _LassoIdWsf2PsAddKnownEntityResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
- /* XXX */ void *SPtoPSRedirectURL;
- /* XXX */ void *QueryString;
-};
-
-struct _LassoIdWsf2PsAddKnownEntityResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_known_entity_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddKnownEntityResponse*
- lasso_idwsf2_ps_add_known_entity_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_KNOWN_ENTITY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.c b/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.c
deleted file mode 100644
index d69d926a..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: ps_add_to_collection_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_add_to_collection_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_add_to_collection_request
- * @short_description: <ps:AddToCollectionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddToCollectionRequest, TargetObjectID), NULL, NULL, NULL},
- { "ObjectID", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddToCollectionRequest, ObjectID), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsAddToCollectionRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsAddToCollectionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AddToCollectionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_add_to_collection_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsAddToCollectionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsAddToCollectionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsAddToCollectionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_add_to_collection_request_new:
- *
- * Creates a new #LassoIdWsf2PsAddToCollectionRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsAddToCollectionRequest object
- **/
-LassoIdWsf2PsAddToCollectionRequest*
-lasso_idwsf2_ps_add_to_collection_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.h b/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.h
deleted file mode 100644
index c54beec4..00000000
--- a/lasso/xml/id-wsf-2.0/ps_add_to_collection_request.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ps_add_to_collection_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_H__
-#define __LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST \
- (lasso_idwsf2_ps_add_to_collection_request_get_type())
-#define LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddToCollectionRequest))
-#define LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddToCollectionRequestClass))
-#define LASSO_IS_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST))
-#define LASSO_IS_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST))
-#define LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST, \
- LassoIdWsf2PsAddToCollectionRequestClass))
-
-
-typedef struct _LassoIdWsf2PsAddToCollectionRequest LassoIdWsf2PsAddToCollectionRequest;
-typedef struct _LassoIdWsf2PsAddToCollectionRequestClass LassoIdWsf2PsAddToCollectionRequestClass;
-
-
-struct _LassoIdWsf2PsAddToCollectionRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
- GList *ObjectID; /* of LassoNode */
- /* XXX */ void *Subscription;
-};
-
-struct _LassoIdWsf2PsAddToCollectionRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_add_to_collection_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsAddToCollectionRequest*
- lasso_idwsf2_ps_add_to_collection_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ADD_TO_COLLECTION_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_get_object_info_request.c b/lasso/xml/id-wsf-2.0/ps_get_object_info_request.c
deleted file mode 100644
index 04dbfe49..00000000
--- a/lasso/xml/id-wsf-2.0/ps_get_object_info_request.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: ps_get_object_info_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_get_object_info_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_get_object_info_request
- * @short_description: <ps:GetObjectInfoRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsGetObjectInfoRequest, TargetObjectID), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsGetObjectInfoRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsGetObjectInfoRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "GetObjectInfoRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_get_object_info_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsGetObjectInfoRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsGetObjectInfoRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsGetObjectInfoRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_get_object_info_request_new:
- *
- * Creates a new #LassoIdWsf2PsGetObjectInfoRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsGetObjectInfoRequest object
- **/
-LassoIdWsf2PsGetObjectInfoRequest*
-lasso_idwsf2_ps_get_object_info_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_get_object_info_request.h b/lasso/xml/id-wsf-2.0/ps_get_object_info_request.h
deleted file mode 100644
index df795e54..00000000
--- a/lasso/xml/id-wsf-2.0/ps_get_object_info_request.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: ps_get_object_info_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_H__
-#define __LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST \
- (lasso_idwsf2_ps_get_object_info_request_get_type())
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsGetObjectInfoRequest))
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsGetObjectInfoRequestClass))
-#define LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST))
-#define LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST))
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsGetObjectInfoRequestClass))
-
-
-typedef struct _LassoIdWsf2PsGetObjectInfoRequest LassoIdWsf2PsGetObjectInfoRequest;
-typedef struct _LassoIdWsf2PsGetObjectInfoRequestClass LassoIdWsf2PsGetObjectInfoRequestClass;
-
-
-struct _LassoIdWsf2PsGetObjectInfoRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
- /* XXX */ void *Subscription;
-};
-
-
-struct _LassoIdWsf2PsGetObjectInfoRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_get_object_info_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsGetObjectInfoRequest* lasso_idwsf2_ps_get_object_info_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_GET_OBJECT_INFO_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_get_object_info_response.c b/lasso/xml/id-wsf-2.0/ps_get_object_info_response.c
deleted file mode 100644
index 49cc9a50..00000000
--- a/lasso/xml/id-wsf-2.0/ps_get_object_info_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_get_object_info_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_get_object_info_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_get_object_info_response
- * @short_description: <ps:GetObjectInfoResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsGetObjectInfoResponse, Object), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsGetObjectInfoResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "GetObjectInfoResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_get_object_info_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsGetObjectInfoResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsGetObjectInfoResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsGetObjectInfoResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_get_object_info_response_new:
- *
- * Creates a new #LassoIdWsf2PsGetObjectInfoResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsGetObjectInfoResponse object
- **/
-LassoIdWsf2PsGetObjectInfoResponse*
-lasso_idwsf2_ps_get_object_info_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_get_object_info_response.h b/lasso/xml/id-wsf-2.0/ps_get_object_info_response.h
deleted file mode 100644
index 386c4f2b..00000000
--- a/lasso/xml/id-wsf-2.0/ps_get_object_info_response.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: ps_get_object_info_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-#include "ps_object.h"
-
-#define LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE \
- (lasso_idwsf2_ps_get_object_info_response_get_type())
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE, \
- LassoIdWsf2PsGetObjectInfoResponse))
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE, \
- LassoIdWsf2PsGetObjectInfoResponseClass))
-#define LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE))
-#define LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE, \
- LassoIdWsf2PsGetObjectInfoResponseClass))
-
-
-typedef struct _LassoIdWsf2PsGetObjectInfoResponse LassoIdWsf2PsGetObjectInfoResponse;
-typedef struct _LassoIdWsf2PsGetObjectInfoResponseClass LassoIdWsf2PsGetObjectInfoResponseClass;
-
-
-struct _LassoIdWsf2PsGetObjectInfoResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
-};
-
-
-struct _LassoIdWsf2PsGetObjectInfoResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_get_object_info_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsGetObjectInfoResponse* lasso_idwsf2_ps_get_object_info_response_new(
- void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_GET_OBJECT_INFO_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_item_data.c b/lasso/xml/id-wsf-2.0/ps_item_data.c
deleted file mode 100644
index d66e6ffc..00000000
--- a/lasso/xml/id-wsf-2.0/ps_item_data.c
+++ /dev/null
@@ -1,111 +0,0 @@
-/* $Id: ps_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_item_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_item_data
- * @short_description: <ps:ItemData>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsItemData, Object), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsItemDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ItemData");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_item_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsItemDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsItemData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2PsItemData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_item_data_new:
- *
- * Creates a new #LassoIdWsf2PsItemData object.
- *
- * Return value: a newly created #LassoIdWsf2PsItemData object
- **/
-LassoIdWsf2PsItemData*
-lasso_idwsf2_ps_item_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_ITEM_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_item_data.h b/lasso/xml/id-wsf-2.0/ps_item_data.h
deleted file mode 100644
index acc98260..00000000
--- a/lasso/xml/id-wsf-2.0/ps_item_data.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: ps_item_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_ITEM_DATA_H__
-#define __LASSO_IDWSF2_PS_ITEM_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_object.h"
-
-#define LASSO_TYPE_IDWSF2_PS_ITEM_DATA (lasso_idwsf2_ps_item_data_get_type())
-#define LASSO_IDWSF2_PS_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_ITEM_DATA, \
- LassoIdWsf2PsItemData))
-#define LASSO_IDWSF2_PS_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_ITEM_DATA, \
- LassoIdWsf2PsItemDataClass))
-#define LASSO_IS_IDWSF2_PS_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_ITEM_DATA))
-#define LASSO_IS_IDWSF2_PS_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_ITEM_DATA))
-#define LASSO_IDWSF2_PS_ITEM_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_ITEM_DATA, \
- LassoIdWsf2PsItemDataClass))
-
-
-typedef struct _LassoIdWsf2PsItemData LassoIdWsf2PsItemData;
-typedef struct _LassoIdWsf2PsItemDataClass LassoIdWsf2PsItemDataClass;
-
-
-struct _LassoIdWsf2PsItemData {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Object;
-};
-
-
-struct _LassoIdWsf2PsItemDataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_item_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsItemData* lasso_idwsf2_ps_item_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_ITEM_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_list_members_request.c b/lasso/xml/id-wsf-2.0/ps_list_members_request.c
deleted file mode 100644
index 76391c6a..00000000
--- a/lasso/xml/id-wsf-2.0/ps_list_members_request.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/* $Id: ps_list_members_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_list_members_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_list_members_request
- * @short_description: <ps:ListMembersRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersRequest, TargetObjectID), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersRequest, Subscription), NULL, NULL, NULL},
- { "Structured", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersRequest, Structured), NULL, NULL, NULL},
- { "Count", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersRequest, Count), NULL, NULL, NULL},
- { "Offset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersRequest, Offset), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2PsListMembersRequest *node)
-{
- node->Count = -1;
- node->Offset = -1;
-}
-
-static void
-class_init(LassoIdWsf2PsListMembersRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ListMembersRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_list_members_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsListMembersRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsListMembersRequest),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsListMembersRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_list_members_request_new:
- *
- * Creates a new #LassoIdWsf2PsListMembersRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsListMembersRequest object
- **/
-LassoIdWsf2PsListMembersRequest*
-lasso_idwsf2_ps_list_members_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_list_members_request.h b/lasso/xml/id-wsf-2.0/ps_list_members_request.h
deleted file mode 100644
index e294aac9..00000000
--- a/lasso/xml/id-wsf-2.0/ps_list_members_request.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: ps_list_members_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_H__
-#define __LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST (lasso_idwsf2_ps_list_members_request_get_type())
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST, \
- LassoIdWsf2PsListMembersRequest))
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST, \
- LassoIdWsf2PsListMembersRequestClass))
-#define LASSO_IS_IDWSF2_PS_LIST_MEMBERS_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST))
-#define LASSO_IS_IDWSF2_PS_LIST_MEMBERS_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST))
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_REQUEST, \
- LassoIdWsf2PsListMembersRequestClass))
-
-
-typedef struct _LassoIdWsf2PsListMembersRequest LassoIdWsf2PsListMembersRequest;
-typedef struct _LassoIdWsf2PsListMembersRequestClass LassoIdWsf2PsListMembersRequestClass;
-
-
-struct _LassoIdWsf2PsListMembersRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
- /* XXX */ void *Subscription;
- /* attributes */
- char *Structured;
- int Count;
- int Offset;
-};
-
-
-struct _LassoIdWsf2PsListMembersRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_list_members_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsListMembersRequest* lasso_idwsf2_ps_list_members_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_LIST_MEMBERS_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_list_members_response.c b/lasso/xml/id-wsf-2.0/ps_list_members_response.c
deleted file mode 100644
index 1505eb0b..00000000
--- a/lasso/xml/id-wsf-2.0/ps_list_members_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_list_members_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_list_members_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_list_members_response
- * @short_description: <ps:ListMembersResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsListMembersResponse, Object), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsListMembersResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ListMembersResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_list_members_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsListMembersResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsListMembersResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsListMembersResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_list_members_response_new:
- *
- * Creates a new #LassoIdWsf2PsListMembersResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsListMembersResponse object
- **/
-LassoIdWsf2PsListMembersResponse*
-lasso_idwsf2_ps_list_members_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_list_members_response.h b/lasso/xml/id-wsf-2.0/ps_list_members_response.h
deleted file mode 100644
index 65e52cdf..00000000
--- a/lasso/xml/id-wsf-2.0/ps_list_members_response.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id: ps_list_members_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE \
- (lasso_idwsf2_ps_list_members_response_get_type())
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE, \
- LassoIdWsf2PsListMembersResponse))
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE, \
- LassoIdWsf2PsListMembersResponseClass))
-#define LASSO_IS_IDWSF2_PS_LIST_MEMBERS_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_LIST_MEMBERS_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE))
-#define LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_LIST_MEMBERS_RESPONSE, \
- LassoIdWsf2PsListMembersResponseClass))
-
-
-typedef struct _LassoIdWsf2PsListMembersResponse LassoIdWsf2PsListMembersResponse;
-typedef struct _LassoIdWsf2PsListMembersResponseClass LassoIdWsf2PsListMembersResponseClass;
-
-
-struct _LassoIdWsf2PsListMembersResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *Object; /* of LassoNode */
-};
-
-struct _LassoIdWsf2PsListMembersResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_list_members_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsListMembersResponse* lasso_idwsf2_ps_list_members_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_LIST_MEMBERS_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_notification.c b/lasso/xml/id-wsf-2.0/ps_notification.c
deleted file mode 100644
index 71886b65..00000000
--- a/lasso/xml/id-wsf-2.0/ps_notification.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_notification.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_notification.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_notification
- * @short_description: <ps:Notification>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ItemData", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsNotification, ItemData), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsNotificationClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Notification");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_notification_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsNotificationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsNotification),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION,
- "LassoIdWsf2PsNotification", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_notification_new:
- *
- * Creates a new #LassoIdWsf2PsNotification object.
- *
- * Return value: a newly created #LassoIdWsf2PsNotification object
- **/
-LassoIdWsf2PsNotification*
-lasso_idwsf2_ps_notification_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_NOTIFICATION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_notification.h b/lasso/xml/id-wsf-2.0/ps_notification.h
deleted file mode 100644
index d03635da..00000000
--- a/lasso/xml/id-wsf-2.0/ps_notification.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: ps_notification.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_NOTIFICATION_H__
-#define __LASSO_IDWSF2_PS_NOTIFICATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_notification.h"
-
-#define LASSO_TYPE_IDWSF2_PS_NOTIFICATION (lasso_idwsf2_ps_notification_get_type())
-#define LASSO_IDWSF2_PS_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_NOTIFICATION, \
- LassoIdWsf2PsNotification))
-#define LASSO_IDWSF2_PS_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_NOTIFICATION, \
- LassoIdWsf2PsNotificationClass))
-#define LASSO_IS_IDWSF2_PS_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_NOTIFICATION))
-#define LASSO_IS_IDWSF2_PS_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_NOTIFICATION))
-#define LASSO_IDWSF2_PS_NOTIFICATION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_NOTIFICATION, \
- LassoIdWsf2PsNotificationClass))
-
-
-typedef struct _LassoIdWsf2PsNotification LassoIdWsf2PsNotification;
-typedef struct _LassoIdWsf2PsNotificationClass LassoIdWsf2PsNotificationClass;
-
-
-struct _LassoIdWsf2PsNotification {
- LassoIdWsf2SubsNotification parent;
-
- /*< public >*/
- /* elements */
- GList *ItemData; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2PsNotificationClass {
- LassoIdWsf2SubsNotificationClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_notification_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsNotification* lasso_idwsf2_ps_notification_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_NOTIFICATION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_notify.c b/lasso/xml/id-wsf-2.0/ps_notify.c
deleted file mode 100644
index 93e140e0..00000000
--- a/lasso/xml/id-wsf-2.0/ps_notify.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: ps_notify.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_notify.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_notify
- * @short_description: <ps:Notify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Notification", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsNotify, Notification), NULL, NULL, NULL},
- { "timeStamp", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2PsNotify, timeStamp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsNotifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Notify");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_notify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsNotifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsNotify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsNotify", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_notify_new:
- *
- * Creates a new #LassoIdWsf2PsNotify object.
- *
- * Return value: a newly created #LassoIdWsf2PsNotify object
- **/
-LassoIdWsf2PsNotify*
-lasso_idwsf2_ps_notify_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_NOTIFY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_notify.h b/lasso/xml/id-wsf-2.0/ps_notify.h
deleted file mode 100644
index 0999ea1a..00000000
--- a/lasso/xml/id-wsf-2.0/ps_notify.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ps_notify.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_NOTIFY_H__
-#define __LASSO_IDWSF2_PS_NOTIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_NOTIFY (lasso_idwsf2_ps_notify_get_type())
-#define LASSO_IDWSF2_PS_NOTIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_NOTIFY, \
- LassoIdWsf2PsNotify))
-#define LASSO_IDWSF2_PS_NOTIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_NOTIFY, \
- LassoIdWsf2PsNotifyClass))
-#define LASSO_IS_IDWSF2_PS_NOTIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_NOTIFY))
-#define LASSO_IS_IDWSF2_PS_NOTIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_NOTIFY))
-#define LASSO_IDWSF2_PS_NOTIFY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_NOTIFY, \
- LassoIdWsf2PsNotifyClass))
-
-
-typedef struct _LassoIdWsf2PsNotify LassoIdWsf2PsNotify;
-typedef struct _LassoIdWsf2PsNotifyClass LassoIdWsf2PsNotifyClass;
-
-
-struct _LassoIdWsf2PsNotify {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *Notification; /* of LassoNode */
- /* attributes */
- char *timeStamp;
-};
-
-
-struct _LassoIdWsf2PsNotifyClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_notify_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsNotify* lasso_idwsf2_ps_notify_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_NOTIFY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_object.c b/lasso/xml/id-wsf-2.0/ps_object.c
deleted file mode 100644
index ffca0f04..00000000
--- a/lasso/xml/id-wsf-2.0/ps_object.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/* $Id: ps_object.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_object.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_object
- * @short_description: <ps:Object>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, ObjectID), NULL, NULL, NULL},
- { "DisplayName", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, DisplayName), NULL, NULL, NULL},
- { "Tag", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, Tag), NULL, NULL, NULL},
- { "Object", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, Object), NULL, NULL, NULL},
- { "ObjectRef", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, ObjectRef), NULL, NULL, NULL},
- { "NodeType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, NodeType), NULL, NULL, NULL},
- { "CreatedDateTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, CreatedDateTime), NULL, NULL, NULL},
- { "ModifiedDateTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2PsObject, ModifiedDateTime), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsObjectClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Object");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_object_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsObjectClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsObject),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2PsObject", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_object_new:
- *
- * Creates a new #LassoIdWsf2PsObject object.
- *
- * Return value: a newly created #LassoIdWsf2PsObject object
- **/
-LassoIdWsf2PsObject*
-lasso_idwsf2_ps_object_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_OBJECT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_object.h b/lasso/xml/id-wsf-2.0/ps_object.h
deleted file mode 100644
index 10e16648..00000000
--- a/lasso/xml/id-wsf-2.0/ps_object.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* $Id: ps_object.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_OBJECT_H__
-#define __LASSO_IDWSF2_PS_OBJECT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_PS_OBJECT (lasso_idwsf2_ps_object_get_type())
-#define LASSO_IDWSF2_PS_OBJECT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_OBJECT, \
- LassoIdWsf2PsObject))
-#define LASSO_IDWSF2_PS_OBJECT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_OBJECT, \
- LassoIdWsf2PsObjectClass))
-#define LASSO_IS_IDWSF2_PS_OBJECT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_OBJECT))
-#define LASSO_IS_IDWSF2_PS_OBJECT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_OBJECT))
-#define LASSO_IDWSF2_PS_OBJECT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_OBJECT, \
- LassoIdWsf2PsObjectClass))
-
-
-typedef struct _LassoIdWsf2PsObject LassoIdWsf2PsObject;
-typedef struct _LassoIdWsf2PsObjectClass LassoIdWsf2PsObjectClass;
-
-
-struct _LassoIdWsf2PsObject {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *ObjectID;
- GList *DisplayName; /* of LassoNode */
- /* XXX */ void *Tag;
- GList *Object; /* of LassoNode */
- GList *ObjectRef; /* of LassoNode */
- /* attributes */
- char *NodeType;
- char *CreatedDateTime;
- char *ModifiedDateTime;
-};
-
-
-struct _LassoIdWsf2PsObjectClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_object_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsObject* lasso_idwsf2_ps_object_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_OBJECT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_query_objects_request.c b/lasso/xml/id-wsf-2.0/ps_query_objects_request.c
deleted file mode 100644
index 178ea611..00000000
--- a/lasso/xml/id-wsf-2.0/ps_query_objects_request.c
+++ /dev/null
@@ -1,130 +0,0 @@
-/* $Id: ps_query_objects_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_query_objects_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_query_objects_request
- * @short_description: <ps:QueryObjectsRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Filter", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2PsQueryObjectsRequest, Filter), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsQueryObjectsRequest, Subscription), NULL, NULL, NULL},
- { "Count", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2PsQueryObjectsRequest, Count), NULL, NULL, NULL},
- { "Offset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2PsQueryObjectsRequest, Offset), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2PsQueryObjectsRequest *node)
-{
- node->Count = -1;
- node->Offset = -1;
-}
-
-static void
-class_init(LassoIdWsf2PsQueryObjectsRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryObjectsRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_query_objects_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsQueryObjectsRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsQueryObjectsRequest),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsQueryObjectsRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_query_objects_request_new:
- *
- * Creates a new #LassoIdWsf2PsQueryObjectsRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsQueryObjectsRequest object
- **/
-LassoIdWsf2PsQueryObjectsRequest*
-lasso_idwsf2_ps_query_objects_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_query_objects_request.h b/lasso/xml/id-wsf-2.0/ps_query_objects_request.h
deleted file mode 100644
index 1ed7342d..00000000
--- a/lasso/xml/id-wsf-2.0/ps_query_objects_request.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: ps_query_objects_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_H__
-#define __LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST \
- (lasso_idwsf2_ps_query_objects_request_get_type())
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST, \
- LassoIdWsf2PsQueryObjectsRequest))
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST, \
- LassoIdWsf2PsQueryObjectsRequestClass))
-#define LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST))
-#define LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST))
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_REQUEST, \
- LassoIdWsf2PsQueryObjectsRequestClass))
-
-
-typedef struct _LassoIdWsf2PsQueryObjectsRequest LassoIdWsf2PsQueryObjectsRequest;
-typedef struct _LassoIdWsf2PsQueryObjectsRequestClass LassoIdWsf2PsQueryObjectsRequestClass;
-
-
-struct _LassoIdWsf2PsQueryObjectsRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- char *Filter;
- /* XXX */ void *Subscription;
- /* attributes */
- int Count;
- int Offset;
-};
-
-struct _LassoIdWsf2PsQueryObjectsRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_query_objects_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsQueryObjectsRequest* lasso_idwsf2_ps_query_objects_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_QUERY_OBJECTS_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_query_objects_response.c b/lasso/xml/id-wsf-2.0/ps_query_objects_response.c
deleted file mode 100644
index 3a7ac543..00000000
--- a/lasso/xml/id-wsf-2.0/ps_query_objects_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_query_objects_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_query_objects_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_query_objects_response
- * @short_description: <ps:QueryObjectsResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsQueryObjectsResponse, Object), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsQueryObjectsResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryObjectsResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_query_objects_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsQueryObjectsResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsQueryObjectsResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsQueryObjectsResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_query_objects_response_new:
- *
- * Creates a new #LassoIdWsf2PsQueryObjectsResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsQueryObjectsResponse object
- **/
-LassoIdWsf2PsQueryObjectsResponse*
-lasso_idwsf2_ps_query_objects_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_query_objects_response.h b/lasso/xml/id-wsf-2.0/ps_query_objects_response.h
deleted file mode 100644
index 71a83bc1..00000000
--- a/lasso/xml/id-wsf-2.0/ps_query_objects_response.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: ps_query_objects_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE \
- (lasso_idwsf2_ps_query_objects_response_get_type())
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE, \
- LassoIdWsf2PsQueryObjectsResponse))
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE, \
- LassoIdWsf2PsQueryObjectsResponseClass))
-#define LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE))
-#define LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_QUERY_OBJECTS_RESPONSE, \
- LassoIdWsf2PsQueryObjectsResponseClass))
-
-
-typedef struct _LassoIdWsf2PsQueryObjectsResponse LassoIdWsf2PsQueryObjectsResponse;
-typedef struct _LassoIdWsf2PsQueryObjectsResponseClass LassoIdWsf2PsQueryObjectsResponseClass;
-
-
-struct _LassoIdWsf2PsQueryObjectsResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *Object; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2PsQueryObjectsResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_query_objects_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsQueryObjectsResponse* lasso_idwsf2_ps_query_objects_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_QUERY_OBJECTS_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_collection_request.c b/lasso/xml/id-wsf-2.0/ps_remove_collection_request.c
deleted file mode 100644
index 46e1099d..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_collection_request.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_remove_collection_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_remove_collection_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_remove_collection_request
- * @short_description: <ps:RemoveCollectionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsRemoveCollectionRequest, TargetObjectID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsRemoveCollectionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RemoveCollectionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_remove_collection_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsRemoveCollectionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsRemoveCollectionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsRemoveCollectionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_remove_collection_request_new:
- *
- * Creates a new #LassoIdWsf2PsRemoveCollectionRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsRemoveCollectionRequest object
- **/
-LassoIdWsf2PsRemoveCollectionRequest*
-lasso_idwsf2_ps_remove_collection_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_collection_request.h b/lasso/xml/id-wsf-2.0/ps_remove_collection_request.h
deleted file mode 100644
index 99716018..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_collection_request.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: ps_remove_collection_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_H__
-#define __LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST \
- (lasso_idwsf2_ps_remove_collection_request_get_type())
-#define LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveCollectionRequest))
-#define LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveCollectionRequestClass))
-#define LASSO_IS_IDWSF2_PS_REMOVE_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST))
-#define LASSO_IS_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST))
-#define LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveCollectionRequestClass))
-
-
-typedef struct _LassoIdWsf2PsRemoveCollectionRequest \
- LassoIdWsf2PsRemoveCollectionRequest;
-typedef struct _LassoIdWsf2PsRemoveCollectionRequestClass \
- LassoIdWsf2PsRemoveCollectionRequestClass;
-
-
-struct _LassoIdWsf2PsRemoveCollectionRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *TargetObjectID; /* of LassoNode */
-};
-
-struct _LassoIdWsf2PsRemoveCollectionRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_remove_collection_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsRemoveCollectionRequest*
- lasso_idwsf2_ps_remove_collection_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_REMOVE_COLLECTION_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_entity_request.c b/lasso/xml/id-wsf-2.0/ps_remove_entity_request.c
deleted file mode 100644
index 7b11410f..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_entity_request.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_remove_entity_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_remove_entity_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_remove_entity_request
- * @short_description: <ps:RemoveEntityRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsRemoveEntityRequest, TargetObjectID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsRemoveEntityRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RemoveEntityRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_remove_entity_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsRemoveEntityRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsRemoveEntityRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsRemoveEntityRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_remove_entity_request_new:
- *
- * Creates a new #LassoIdWsf2PsRemoveEntityRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsRemoveEntityRequest object
- **/
-LassoIdWsf2PsRemoveEntityRequest*
-lasso_idwsf2_ps_remove_entity_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_entity_request.h b/lasso/xml/id-wsf-2.0/ps_remove_entity_request.h
deleted file mode 100644
index af2cdd6a..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_entity_request.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id: ps_remove_entity_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_H__
-#define __LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST \
- (lasso_idwsf2_ps_remove_entity_request_get_type())
-#define LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST, \
- LassoIdWsf2PsRemoveEntityRequest))
-#define LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST, \
- LassoIdWsf2PsRemoveEntityRequestClass))
-#define LASSO_IS_IDWSF2_PS_REMOVE_ENTITY_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST))
-#define LASSO_IS_IDWSF2_PS_REMOVE_ENTITY_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST))
-#define LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_ENTITY_REQUEST, \
- LassoIdWsf2PsRemoveEntityRequestClass))
-
-
-typedef struct _LassoIdWsf2PsRemoveEntityRequest LassoIdWsf2PsRemoveEntityRequest;
-typedef struct _LassoIdWsf2PsRemoveEntityRequestClass LassoIdWsf2PsRemoveEntityRequestClass;
-
-
-struct _LassoIdWsf2PsRemoveEntityRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *TargetObjectID; /* of LassoNode */
-};
-
-struct _LassoIdWsf2PsRemoveEntityRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_remove_entity_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsRemoveEntityRequest* lasso_idwsf2_ps_remove_entity_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_REMOVE_ENTITY_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.c b/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.c
deleted file mode 100644
index ba1f689d..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: ps_remove_from_collection_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_remove_from_collection_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_remove_from_collection_request
- * @short_description: <ps:RemoveFromCollectionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsRemoveFromCollectionRequest, TargetObjectID), NULL, NULL, NULL},
- { "ObjectID", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsRemoveFromCollectionRequest, ObjectID), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsRemoveFromCollectionRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsRemoveFromCollectionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RemoveFromCollectionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_remove_from_collection_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsRemoveFromCollectionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsRemoveFromCollectionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsRemoveFromCollectionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_remove_from_collection_request_new:
- *
- * Creates a new #LassoIdWsf2PsRemoveFromCollectionRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsRemoveFromCollectionRequest object
- **/
-LassoIdWsf2PsRemoveFromCollectionRequest*
-lasso_idwsf2_ps_remove_from_collection_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.h b/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.h
deleted file mode 100644
index 926c332a..00000000
--- a/lasso/xml/id-wsf-2.0/ps_remove_from_collection_request.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: ps_remove_from_collection_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_H__
-#define __LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST \
- (lasso_idwsf2_ps_remove_from_collection_request_get_type())
-#define LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveFromCollectionRequest))
-#define LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveFromCollectionRequestClass))
-#define LASSO_IS_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST))
-#define LASSO_IS_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST))
-#define LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST, \
- LassoIdWsf2PsRemoveFromCollectionRequestClass))
-
-
-typedef struct _LassoIdWsf2PsRemoveFromCollectionRequest \
- LassoIdWsf2PsRemoveFromCollectionRequest;
-typedef struct _LassoIdWsf2PsRemoveFromCollectionRequestClass \
- LassoIdWsf2PsRemoveFromCollectionRequestClass;
-
-
-struct _LassoIdWsf2PsRemoveFromCollectionRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
- GList *ObjectID; /* of LassoNode */
- /* XXX */ void *Subscription;
-};
-
-struct _LassoIdWsf2PsRemoveFromCollectionRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_remove_from_collection_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsRemoveFromCollectionRequest*
- lasso_idwsf2_ps_remove_from_collection_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_REMOVE_FROM_COLLECTION_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_request_abstract.c b/lasso/xml/id-wsf-2.0/ps_request_abstract.c
deleted file mode 100644
index fd54642c..00000000
--- a/lasso/xml/id-wsf-2.0/ps_request_abstract.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_request_abstract.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_request_abstract.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_request_abstract
- * @short_description: <ps:RequestAbstract>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2PsRequestAbstract, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2PsRequestAbstract *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2PsRequestAbstractClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RequestAbstract");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_request_abstract_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsRequestAbstractClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsRequestAbstract),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2PsRequestAbstract", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_request_abstract_new:
- *
- * Creates a new #LassoIdWsf2PsRequestAbstract object.
- *
- * Return value: a newly created #LassoIdWsf2PsRequestAbstract object
- **/
-LassoIdWsf2PsRequestAbstract*
-lasso_idwsf2_ps_request_abstract_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_request_abstract.h b/lasso/xml/id-wsf-2.0/ps_request_abstract.h
deleted file mode 100644
index f2792551..00000000
--- a/lasso/xml/id-wsf-2.0/ps_request_abstract.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: ps_request_abstract.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_REQUEST_ABSTRACT_H__
-#define __LASSO_IDWSF2_PS_REQUEST_ABSTRACT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT (lasso_idwsf2_ps_request_abstract_get_type())
-#define LASSO_IDWSF2_PS_REQUEST_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT, \
- LassoIdWsf2PsRequestAbstract))
-#define LASSO_IDWSF2_PS_REQUEST_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT, \
- LassoIdWsf2PsRequestAbstractClass))
-#define LASSO_IS_IDWSF2_PS_REQUEST_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT))
-#define LASSO_IS_IDWSF2_PS_REQUEST_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT))
-#define LASSO_IDWSF2_PS_REQUEST_ABSTRACT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT, \
- LassoIdWsf2PsRequestAbstractClass))
-
-
-typedef struct _LassoIdWsf2PsRequestAbstract LassoIdWsf2PsRequestAbstract;
-typedef struct _LassoIdWsf2PsRequestAbstractClass LassoIdWsf2PsRequestAbstractClass;
-
-
-struct _LassoIdWsf2PsRequestAbstract {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2PsRequestAbstractClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_request_abstract_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsRequestAbstract* lasso_idwsf2_ps_request_abstract_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_REQUEST_ABSTRACT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.c b/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.c
deleted file mode 100644
index c24ab332..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_resolve_identifier_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_resolve_identifier_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_resolve_identifier_request
- * @short_description: <ps:ResolveIdentifierRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResolveInput", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsResolveIdentifierRequest, ResolveInput), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsResolveIdentifierRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResolveIdentifierRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_resolve_identifier_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsResolveIdentifierRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsResolveIdentifierRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsResolveIdentifierRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_resolve_identifier_request_new:
- *
- * Creates a new #LassoIdWsf2PsResolveIdentifierRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsResolveIdentifierRequest object
- **/
-LassoIdWsf2PsResolveIdentifierRequest*
-lasso_idwsf2_ps_resolve_identifier_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.h b/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.h
deleted file mode 100644
index 8e3910b1..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_request.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: ps_resolve_identifier_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_H__
-#define __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST \
- (lasso_idwsf2_ps_resolve_identifier_request_get_type())
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST, \
- LassoIdWsf2PsResolveIdentifierRequest))
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST, \
- LassoIdWsf2PsResolveIdentifierRequestClass))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST))
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST, \
- LassoIdWsf2PsResolveIdentifierRequestClass))
-
-
-typedef struct _LassoIdWsf2PsResolveIdentifierRequest \
- LassoIdWsf2PsResolveIdentifierRequest;
-typedef struct _LassoIdWsf2PsResolveIdentifierRequestClass \
- LassoIdWsf2PsResolveIdentifierRequestClass;
-
-
-struct _LassoIdWsf2PsResolveIdentifierRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *ResolveInput; /* of LassoNode */
-};
-
-struct _LassoIdWsf2PsResolveIdentifierRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_resolve_identifier_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsResolveIdentifierRequest*
- lasso_idwsf2_ps_resolve_identifier_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.c b/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.c
deleted file mode 100644
index 2029f954..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_resolve_identifier_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_resolve_identifier_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_resolve_identifier_response
- * @short_description: <ps:ResolveIdentifierResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResolveOutput", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsResolveIdentifierResponse, ResolveOutput), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsResolveIdentifierResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResolveIdentifierResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_resolve_identifier_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsResolveIdentifierResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsResolveIdentifierResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsResolveIdentifierResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_resolve_identifier_response_new:
- *
- * Creates a new #LassoIdWsf2PsResolveIdentifierResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsResolveIdentifierResponse object
- **/
-LassoIdWsf2PsResolveIdentifierResponse*
-lasso_idwsf2_ps_resolve_identifier_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.h b/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.h
deleted file mode 100644
index 3d51c95c..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_identifier_response.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: ps_resolve_identifier_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE \
- (lasso_idwsf2_ps_resolve_identifier_response_get_type())
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE, \
- LassoIdWsf2PsResolveIdentifierResponse))
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE, \
- LassoIdWsf2PsResolveIdentifierResponseClass))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE))
-#define LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE, \
- LassoIdWsf2PsResolveIdentifierResponseClass))
-
-
-typedef struct _LassoIdWsf2PsResolveIdentifierResponse \
- LassoIdWsf2PsResolveIdentifierResponse;
-typedef struct _LassoIdWsf2PsResolveIdentifierResponseClass \
- LassoIdWsf2PsResolveIdentifierResponseClass;
-
-
-struct _LassoIdWsf2PsResolveIdentifierResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *ResolveOutput; /* of LassoNode */
-};
-
-struct _LassoIdWsf2PsResolveIdentifierResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_resolve_identifier_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsResolveIdentifierResponse*
- lasso_idwsf2_ps_resolve_identifier_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_RESOLVE_IDENTIFIER_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_input.c b/lasso/xml/id-wsf-2.0/ps_resolve_input.c
deleted file mode 100644
index 103670c9..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_input.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_resolve_input.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_resolve_input.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_resolve_input
- * @short_description: <ps:ResolveInput>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsResolveInput, TargetObjectID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsResolveInputClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResolveInput");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_resolve_input_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsResolveInputClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsResolveInput),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_IMS_MAPPING_INPUT,
- "LassoIdWsf2PsResolveInput", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_resolve_input_new:
- *
- * Creates a new #LassoIdWsf2PsResolveInput object.
- *
- * Return value: a newly created #LassoIdWsf2PsResolveInput object
- **/
-LassoIdWsf2PsResolveInput*
-lasso_idwsf2_ps_resolve_input_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_resolve_input.h b/lasso/xml/id-wsf-2.0/ps_resolve_input.h
deleted file mode 100644
index 8413862f..00000000
--- a/lasso/xml/id-wsf-2.0/ps_resolve_input.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: ps_resolve_input.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_RESOLVE_INPUT_H__
-#define __LASSO_IDWSF2_PS_RESOLVE_INPUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ims_mapping_input.h"
-
-#define LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT (lasso_idwsf2_ps_resolve_input_get_type())
-#define LASSO_IDWSF2_PS_RESOLVE_INPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT, \
- LassoIdWsf2PsResolveInput))
-#define LASSO_IDWSF2_PS_RESOLVE_INPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT, \
- LassoIdWsf2PsResolveInputClass))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_INPUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT))
-#define LASSO_IS_IDWSF2_PS_RESOLVE_INPUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT))
-#define LASSO_IDWSF2_PS_RESOLVE_INPUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_RESOLVE_INPUT, \
- LassoIdWsf2PsResolveInputClass))
-
-
-typedef struct _LassoIdWsf2PsResolveInput LassoIdWsf2PsResolveInput;
-typedef struct _LassoIdWsf2PsResolveInputClass LassoIdWsf2PsResolveInputClass;
-
-
-struct _LassoIdWsf2PsResolveInput {
- LassoIdWsf2ImsMappingInput parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
-};
-
-
-struct _LassoIdWsf2PsResolveInputClass {
- LassoIdWsf2ImsMappingInputClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_resolve_input_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsResolveInput* lasso_idwsf2_ps_resolve_input_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_RESOLVE_INPUT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_response_abstract.c b/lasso/xml/id-wsf-2.0/ps_response_abstract.c
deleted file mode 100644
index 9c78283b..00000000
--- a/lasso/xml/id-wsf-2.0/ps_response_abstract.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: ps_response_abstract.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_response_abstract.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_response_abstract
- * @short_description: <ps:ResponseAbstract>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsResponseAbstract, Status),
- "LassoIdWsf2UtilStatus", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2PsResponseAbstract, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2PsResponseAbstract *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2PsResponseAbstractClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResponseAbstract");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_response_abstract_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsResponseAbstractClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsResponseAbstract),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2PsResponseAbstract", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_response_abstract_new:
- *
- * Creates a new #LassoIdWsf2PsResponseAbstract object.
- *
- * Return value: a newly created #LassoIdWsf2PsResponseAbstract object
- **/
-LassoIdWsf2PsResponseAbstract*
-lasso_idwsf2_ps_response_abstract_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_response_abstract.h b/lasso/xml/id-wsf-2.0/ps_response_abstract.h
deleted file mode 100644
index c0133dfe..00000000
--- a/lasso/xml/id-wsf-2.0/ps_response_abstract.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: ps_response_abstract.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_H__
-#define __LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT (lasso_idwsf2_ps_response_abstract_get_type())
-#define LASSO_IDWSF2_PS_RESPONSE_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT, \
- LassoIdWsf2PsResponseAbstract))
-#define LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT, \
- LassoIdWsf2PsResponseAbstractClass))
-#define LASSO_IS_IDWSF2_PS_RESPONSE_ABSTRACT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT))
-#define LASSO_IS_IDWSF2_PS_RESPONSE_ABSTRACT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT))
-#define LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT, \
- LassoIdWsf2PsResponseAbstractClass))
-
-
-typedef struct _LassoIdWsf2PsResponseAbstract LassoIdWsf2PsResponseAbstract;
-typedef struct _LassoIdWsf2PsResponseAbstractClass LassoIdWsf2PsResponseAbstractClass;
-
-
-struct _LassoIdWsf2PsResponseAbstract {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2PsResponseAbstractClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_response_abstract_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsResponseAbstract* lasso_idwsf2_ps_response_abstract_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_RESPONSE_ABSTRACT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_set_object_info_request.c b/lasso/xml/id-wsf-2.0/ps_set_object_info_request.c
deleted file mode 100644
index 3451b472..00000000
--- a/lasso/xml/id-wsf-2.0/ps_set_object_info_request.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: ps_set_object_info_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_set_object_info_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_set_object_info_request
- * @short_description: <ps:SetObjectInfoRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Object", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2PsSetObjectInfoRequest, Object), NULL, NULL, NULL},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsSetObjectInfoRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsSetObjectInfoRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SetObjectInfoRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_set_object_info_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsSetObjectInfoRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsSetObjectInfoRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsSetObjectInfoRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_set_object_info_request_new:
- *
- * Creates a new #LassoIdWsf2PsSetObjectInfoRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsSetObjectInfoRequest object
- **/
-LassoIdWsf2PsSetObjectInfoRequest*
-lasso_idwsf2_ps_set_object_info_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_set_object_info_request.h b/lasso/xml/id-wsf-2.0/ps_set_object_info_request.h
deleted file mode 100644
index f6b54459..00000000
--- a/lasso/xml/id-wsf-2.0/ps_set_object_info_request.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: ps_set_object_info_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_H__
-#define __LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST \
- (lasso_idwsf2_ps_set_object_info_request_get_type())
-#define LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsSetObjectInfoRequest))
-#define LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsSetObjectInfoRequestClass))
-#define LASSO_IS_IDWSF2_PS_SET_OBJECT_INFO_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST))
-#define LASSO_IS_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST))
-#define LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_SET_OBJECT_INFO_REQUEST, \
- LassoIdWsf2PsSetObjectInfoRequestClass))
-
-
-typedef struct _LassoIdWsf2PsSetObjectInfoRequest LassoIdWsf2PsSetObjectInfoRequest;
-typedef struct _LassoIdWsf2PsSetObjectInfoRequestClass LassoIdWsf2PsSetObjectInfoRequestClass;
-
-
-struct _LassoIdWsf2PsSetObjectInfoRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- GList *Object; /* of LassoNode */
- /* XXX */ void *Subscription;
-};
-
-
-struct _LassoIdWsf2PsSetObjectInfoRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_set_object_info_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsSetObjectInfoRequest* lasso_idwsf2_ps_set_object_info_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_SET_OBJECT_INFO_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_test_membership_request.c b/lasso/xml/id-wsf-2.0/ps_test_membership_request.c
deleted file mode 100644
index b9877f07..00000000
--- a/lasso/xml/id-wsf-2.0/ps_test_membership_request.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: ps_test_membership_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_test_membership_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_test_membership_request
- * @short_description: <ps:TestMembershipRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TargetObjectID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsTestMembershipRequest, TargetObjectID), NULL, NULL, NULL},
- { "Token", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsTestMembershipRequest, Token), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_TOKEN},
- { "Subscription", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsTestMembershipRequest, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsTestMembershipRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TestMembershipRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_test_membership_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsTestMembershipRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsTestMembershipRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_REQUEST_ABSTRACT,
- "LassoIdWsf2PsTestMembershipRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_test_membership_request_new:
- *
- * Creates a new #LassoIdWsf2PsTestMembershipRequest object.
- *
- * Return value: a newly created #LassoIdWsf2PsTestMembershipRequest object
- **/
-LassoIdWsf2PsTestMembershipRequest*
-lasso_idwsf2_ps_test_membership_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_test_membership_request.h b/lasso/xml/id-wsf-2.0/ps_test_membership_request.h
deleted file mode 100644
index 9f83dc26..00000000
--- a/lasso/xml/id-wsf-2.0/ps_test_membership_request.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: ps_test_membership_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_H__
-#define __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-#include "ps_request_abstract.h"
-#include "sec_token.h"
-
-#define LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST \
- (lasso_idwsf2_ps_test_membership_request_get_type())
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST, \
- LassoIdWsf2PsTestMembershipRequest))
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST, \
- LassoIdWsf2PsTestMembershipRequestClass))
-#define LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST))
-#define LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST))
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST, \
- LassoIdWsf2PsTestMembershipRequestClass))
-
-
-typedef struct _LassoIdWsf2PsTestMembershipRequest LassoIdWsf2PsTestMembershipRequest;
-typedef struct _LassoIdWsf2PsTestMembershipRequestClass LassoIdWsf2PsTestMembershipRequestClass;
-
-
-struct _LassoIdWsf2PsTestMembershipRequest {
- LassoIdWsf2PsRequestAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TargetObjectID;
- /* XXX */ void *Token;
- /* XXX */ void *Subscription;
-};
-
-
-struct _LassoIdWsf2PsTestMembershipRequestClass {
- LassoIdWsf2PsRequestAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_test_membership_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsTestMembershipRequest* lasso_idwsf2_ps_test_membership_request_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/ps_test_membership_response.c b/lasso/xml/id-wsf-2.0/ps_test_membership_response.c
deleted file mode 100644
index 8b0391cf..00000000
--- a/lasso/xml/id-wsf-2.0/ps_test_membership_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: ps_test_membership_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "ps_test_membership_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:ps_test_membership_response
- * @short_description: <ps:TestMembershipResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Result", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2PsTestMembershipResponse, Result), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2PsTestMembershipResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TestMembershipResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_PS_HREF, LASSO_IDWSF2_PS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_ps_test_membership_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2PsTestMembershipResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2PsTestMembershipResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_PS_RESPONSE_ABSTRACT,
- "LassoIdWsf2PsTestMembershipResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_ps_test_membership_response_new:
- *
- * Creates a new #LassoIdWsf2PsTestMembershipResponse object.
- *
- * Return value: a newly created #LassoIdWsf2PsTestMembershipResponse object
- **/
-LassoIdWsf2PsTestMembershipResponse*
-lasso_idwsf2_ps_test_membership_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/ps_test_membership_response.h b/lasso/xml/id-wsf-2.0/ps_test_membership_response.h
deleted file mode 100644
index e7ff171f..00000000
--- a/lasso/xml/id-wsf-2.0/ps_test_membership_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: ps_test_membership_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_H__
-#define __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "ps_response_abstract.h"
-
-#define LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE \
- (lasso_idwsf2_ps_test_membership_response_get_type())
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE, \
- LassoIdWsf2PsTestMembershipResponse))
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE, \
- LassoIdWsf2PsTestMembershipResponseClass))
-#define LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE))
-#define LASSO_IS_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE))
-#define LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE, \
- LassoIdWsf2PsTestMembershipResponseClass))
-
-
-typedef struct _LassoIdWsf2PsTestMembershipResponse LassoIdWsf2PsTestMembershipResponse;
-typedef struct _LassoIdWsf2PsTestMembershipResponseClass LassoIdWsf2PsTestMembershipResponseClass;
-
-
-struct _LassoIdWsf2PsTestMembershipResponse {
- LassoIdWsf2PsResponseAbstract parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Result;
-};
-
-struct _LassoIdWsf2PsTestMembershipResponseClass {
- LassoIdWsf2PsResponseAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_ps_test_membership_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2PsTestMembershipResponse*
- lasso_idwsf2_ps_test_membership_response_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_PS_TEST_MEMBERSHIP_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_consent.c b/lasso/xml/id-wsf-2.0/sb2_consent.c
deleted file mode 100644
index adba49de..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_consent.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: sb2_consent.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_consent.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_consent
- * @short_description: <sb2:Consent>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "uri", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Consent, uri), NULL, NULL, NULL},
- { "timestamp", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Consent, timestamp), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Consent, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2Consent *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2ConsentClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Consent");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_consent_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2ConsentClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2Consent),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2Consent", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_consent_new:
- *
- * Creates a new #LassoIdWsf2Sb2Consent object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2Consent object
- **/
-LassoIdWsf2Sb2Consent*
-lasso_idwsf2_sb2_consent_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_CONSENT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_consent.h b/lasso/xml/id-wsf-2.0/sb2_consent.h
deleted file mode 100644
index 7ef8af54..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_consent.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: sb2_consent.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_CONSENT_H__
-#define __LASSO_IDWSF2_SB2_CONSENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_CONSENT (lasso_idwsf2_sb2_consent_get_type())
-#define LASSO_IDWSF2_SB2_CONSENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_CONSENT, \
- LassoIdWsf2Sb2Consent))
-#define LASSO_IDWSF2_SB2_CONSENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_CONSENT, \
- LassoIdWsf2Sb2ConsentClass))
-#define LASSO_IS_IDWSF2_SB2_CONSENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_CONSENT))
-#define LASSO_IS_IDWSF2_SB2_CONSENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_CONSENT))
-#define LASSO_IDWSF2_SB2_CONSENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_CONSENT, \
- LassoIdWsf2Sb2ConsentClass))
-
-
-typedef struct _LassoIdWsf2Sb2Consent LassoIdWsf2Sb2Consent;
-typedef struct _LassoIdWsf2Sb2ConsentClass LassoIdWsf2Sb2ConsentClass;
-
-
-struct _LassoIdWsf2Sb2Consent {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *uri;
- char *timestamp;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2Sb2ConsentClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_consent_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2Consent* lasso_idwsf2_sb2_consent_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_CONSENT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_credentials_context.c b/lasso/xml/id-wsf-2.0/sb2_credentials_context.c
deleted file mode 100644
index 145d4a78..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_credentials_context.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* $Id: sb2_credentials_context.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_credentials_context.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_credentials_context
- * @short_description: <sb2:CredentialsContext>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "RequestedAuthnContext", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2CredentialsContext, RequestedAuthnContext),
- "LassoSamlp2RequestedAuthnContext", LASSO_SAML_PROTOCOL_PREFIX, LASSO_SAML_PROTOCOL_HREF},
- { "SecurityMechID", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2CredentialsContext, SecurityMechID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2CredentialsContext, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2CredentialsContext *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2CredentialsContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CredentialsContext");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_credentials_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2CredentialsContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2CredentialsContext),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2CredentialsContext", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_credentials_context_new:
- *
- * Creates a new #LassoIdWsf2Sb2CredentialsContext object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2CredentialsContext object
- **/
-LassoIdWsf2Sb2CredentialsContext*
-lasso_idwsf2_sb2_credentials_context_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_credentials_context.h b/lasso/xml/id-wsf-2.0/sb2_credentials_context.h
deleted file mode 100644
index f0135ae0..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_credentials_context.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: sb2_credentials_context.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_H__
-#define __LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "../saml-2.0/samlp2_requested_authn_context.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT (lasso_idwsf2_sb2_credentials_context_get_type())
-#define LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT, \
- LassoIdWsf2Sb2CredentialsContext))
-#define LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT, \
- LassoIdWsf2Sb2CredentialsContextClass))
-#define LASSO_IS_IDWSF2_SB2_CREDENTIALS_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT))
-#define LASSO_IS_IDWSF2_SB2_CREDENTIALS_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT))
-#define LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_CREDENTIALS_CONTEXT, \
- LassoIdWsf2Sb2CredentialsContextClass))
-
-
-typedef struct _LassoIdWsf2Sb2CredentialsContext LassoIdWsf2Sb2CredentialsContext;
-typedef struct _LassoIdWsf2Sb2CredentialsContextClass LassoIdWsf2Sb2CredentialsContextClass;
-
-
-struct _LassoIdWsf2Sb2CredentialsContext {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
- GList *SecurityMechID; /* of strings */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2Sb2CredentialsContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_credentials_context_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2CredentialsContext* lasso_idwsf2_sb2_credentials_context_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_CREDENTIALS_CONTEXT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_endpoint_update.c b/lasso/xml/id-wsf-2.0/sb2_endpoint_update.c
deleted file mode 100644
index 680a81b5..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_endpoint_update.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id: sb2_endpoint_update.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_endpoint_update.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_endpoint_update
- * @short_description: <sb2:EndpointUpdate>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "updateType", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2EndpointUpdate, updateType), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2Sb2EndpointUpdateClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "EndpointUpdate");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_endpoint_update_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2EndpointUpdateClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2EndpointUpdate),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_WSA_ENDPOINT_REFERENCE,
- "LassoIdWsf2Sb2EndpointUpdate", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_endpoint_update_new:
- *
- * Creates a new #LassoIdWsf2Sb2EndpointUpdate object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2EndpointUpdate object
- **/
-LassoIdWsf2Sb2EndpointUpdate*
-lasso_idwsf2_sb2_endpoint_update_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_endpoint_update.h b/lasso/xml/id-wsf-2.0/sb2_endpoint_update.h
deleted file mode 100644
index 5da0dad8..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_endpoint_update.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: sb2_endpoint_update.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_H__
-#define __LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "../ws/wsa_endpoint_reference.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE (lasso_idwsf2_sb2_endpoint_update_get_type())
-#define LASSO_IDWSF2_SB2_ENDPOINT_UPDATE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE, \
- LassoIdWsf2Sb2EndpointUpdate))
-#define LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE, \
- LassoIdWsf2Sb2EndpointUpdateClass))
-#define LASSO_IS_IDWSF2_SB2_ENDPOINT_UPDATE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE))
-#define LASSO_IS_IDWSF2_SB2_ENDPOINT_UPDATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE))
-#define LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_ENDPOINT_UPDATE, \
- LassoIdWsf2Sb2EndpointUpdateClass))
-
-
-typedef struct _LassoIdWsf2Sb2EndpointUpdate LassoIdWsf2Sb2EndpointUpdate;
-typedef struct _LassoIdWsf2Sb2EndpointUpdateClass LassoIdWsf2Sb2EndpointUpdateClass;
-
-
-struct _LassoIdWsf2Sb2EndpointUpdate {
- LassoWsAddrEndpointReference parent;
-
- /*< public >*/
- /* attributes */
- char *updateType;
-};
-
-
-struct _LassoIdWsf2Sb2EndpointUpdateClass {
- LassoWsAddrEndpointReferenceClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_endpoint_update_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2EndpointUpdate* lasso_idwsf2_sb2_endpoint_update_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_ENDPOINT_UPDATE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_redirect_request.c b/lasso/xml/id-wsf-2.0/sb2_redirect_request.c
deleted file mode 100644
index 006848ab..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_redirect_request.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: sb2_redirect_request.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_redirect_request.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_redirect_request
- * @short_description: <sb2:RedirectRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "redirectURL", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2RedirectRequest, redirectURL), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2Sb2RedirectRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RedirectRequest");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_redirect_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2RedirectRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2RedirectRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2RedirectRequest", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_redirect_request_new:
- *
- * Creates a new #LassoIdWsf2Sb2RedirectRequest object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2RedirectRequest object
- **/
-LassoIdWsf2Sb2RedirectRequest*
-lasso_idwsf2_sb2_redirect_request_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST, NULL);
-}
-
-
-LassoIdWsf2Sb2RedirectRequest*
-lasso_idwsf2_sb2_redirect_request_new_full(const gchar *redirect_url)
-{
- LassoIdWsf2Sb2RedirectRequest *request;
-
- request = lasso_idwsf2_sb2_redirect_request_new();
- request->redirectURL = g_strdup(redirect_url);
-
- return request;
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_redirect_request.h b/lasso/xml/id-wsf-2.0/sb2_redirect_request.h
deleted file mode 100644
index 3c723447..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_redirect_request.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: sb2_redirect_request.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_REDIRECT_REQUEST_H__
-#define __LASSO_IDWSF2_SB2_REDIRECT_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST (lasso_idwsf2_sb2_redirect_request_get_type())
-#define LASSO_IDWSF2_SB2_REDIRECT_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST, \
- LassoIdWsf2Sb2RedirectRequest))
-#define LASSO_IDWSF2_SB2_REDIRECT_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST, \
- LassoIdWsf2Sb2RedirectRequestClass))
-#define LASSO_IS_IDWSF2_SB2_REDIRECT_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST))
-#define LASSO_IS_IDWSF2_SB2_REDIRECT_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST))
-#define LASSO_IDWSF2_SB2_REDIRECT_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_REDIRECT_REQUEST, \
- LassoIdWsf2Sb2RedirectRequestClass))
-
-
-typedef struct _LassoIdWsf2Sb2RedirectRequest LassoIdWsf2Sb2RedirectRequest;
-typedef struct _LassoIdWsf2Sb2RedirectRequestClass LassoIdWsf2Sb2RedirectRequestClass;
-
-
-struct _LassoIdWsf2Sb2RedirectRequest {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *redirectURL;
-};
-
-
-struct _LassoIdWsf2Sb2RedirectRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_redirect_request_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2RedirectRequest* lasso_idwsf2_sb2_redirect_request_new(void);
-
-LASSO_EXPORT LassoIdWsf2Sb2RedirectRequest* lasso_idwsf2_sb2_redirect_request_new_full(
- const gchar *redirect_url);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_REDIRECT_REQUEST_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_sender.c b/lasso/xml/id-wsf-2.0/sb2_sender.c
deleted file mode 100644
index f54e39ad..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_sender.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: sb2_sender.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_sender.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_sender
- * @short_description: <sb2:Sender>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "providerID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Sender, providerID), NULL, NULL, NULL},
- { "affiliationID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Sender, affiliationID), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Sender, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2Sender *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2SenderClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Sender");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_sender_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2SenderClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2Sender),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2Sender", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_sender_new:
- *
- * Creates a new #LassoIdWsf2Sb2Sender object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2Sender object
- **/
-LassoIdWsf2Sb2Sender*
-lasso_idwsf2_sb2_sender_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_SENDER, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_sender.h b/lasso/xml/id-wsf-2.0/sb2_sender.h
deleted file mode 100644
index 1db16b30..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_sender.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: sb2_sender.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_SENDER_H__
-#define __LASSO_IDWSF2_SB2_SENDER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_SENDER (lasso_idwsf2_sb2_sender_get_type())
-#define LASSO_IDWSF2_SB2_SENDER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_SENDER, \
- LassoIdWsf2Sb2Sender))
-#define LASSO_IDWSF2_SB2_SENDER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_SENDER, \
- LassoIdWsf2Sb2SenderClass))
-#define LASSO_IS_IDWSF2_SB2_SENDER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_SENDER))
-#define LASSO_IS_IDWSF2_SB2_SENDER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_SENDER))
-#define LASSO_IDWSF2_SB2_SENDER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_SENDER, \
- LassoIdWsf2Sb2SenderClass))
-
-
-typedef struct _LassoIdWsf2Sb2Sender LassoIdWsf2Sb2Sender;
-typedef struct _LassoIdWsf2Sb2SenderClass LassoIdWsf2Sb2SenderClass;
-
-
-struct _LassoIdWsf2Sb2Sender {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *providerID;
- char *affiliationID;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2Sb2SenderClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_sender_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2Sender* lasso_idwsf2_sb2_sender_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_SENDER_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_target_identity.c b/lasso/xml/id-wsf-2.0/sb2_target_identity.c
deleted file mode 100644
index aa4b0432..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_target_identity.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id: sb2_target_identity.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_target_identity.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_target_identity
- * @short_description: <sb2:TargetIdentity>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2TargetIdentity, attributes), NULL, NULL, NULL},
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY, G_STRUCT_OFFSET(LassoIdWsf2Sb2TargetIdentity, any),
- NULL, NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2TargetIdentity *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2TargetIdentityClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TargetIdentity");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_target_identity_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2TargetIdentityClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2TargetIdentity),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2TargetIdentity", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_target_identity_new:
- *
- * Creates a new #LassoIdWsf2Sb2TargetIdentity object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2TargetIdentity object
- **/
-LassoIdWsf2Sb2TargetIdentity*
-lasso_idwsf2_sb2_target_identity_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_target_identity.h b/lasso/xml/id-wsf-2.0/sb2_target_identity.h
deleted file mode 100644
index 63b20f0f..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_target_identity.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: sb2_target_identity.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_TARGET_IDENTITY_H__
-#define __LASSO_IDWSF2_SB2_TARGET_IDENTITY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY (lasso_idwsf2_sb2_target_identity_get_type())
-#define LASSO_IDWSF2_SB2_TARGET_IDENTITY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY, \
- LassoIdWsf2Sb2TargetIdentity))
-#define LASSO_IDWSF2_SB2_TARGET_IDENTITY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY, \
- LassoIdWsf2Sb2TargetIdentityClass))
-#define LASSO_IS_IDWSF2_SB2_TARGET_IDENTITY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY))
-#define LASSO_IS_IDWSF2_SB2_TARGET_IDENTITY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY))
-#define LASSO_IDWSF2_SB2_TARGET_IDENTITY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_TARGET_IDENTITY, \
- LassoIdWsf2Sb2TargetIdentityClass))
-
-
-typedef struct _LassoIdWsf2Sb2TargetIdentity LassoIdWsf2Sb2TargetIdentity;
-typedef struct _LassoIdWsf2Sb2TargetIdentityClass LassoIdWsf2Sb2TargetIdentityClass;
-
-
-struct _LassoIdWsf2Sb2TargetIdentity {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- GHashTable *attributes;
- GList *any; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2Sb2TargetIdentityClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_target_identity_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2TargetIdentity* lasso_idwsf2_sb2_target_identity_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_TARGET_IDENTITY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_timeout.c b/lasso/xml/id-wsf-2.0/sb2_timeout.c
deleted file mode 100644
index 48fd3440..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_timeout.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: sb2_timeout.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_timeout.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_timeout
- * @short_description: <sb2:Timeout>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "maxProcessingTime", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Timeout, maxProcessingTime), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2Timeout, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2Timeout *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2TimeoutClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Timeout");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_timeout_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2TimeoutClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2Timeout),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2Timeout", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_timeout_new:
- *
- * Creates a new #LassoIdWsf2Sb2Timeout object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2Timeout object
- **/
-LassoIdWsf2Sb2Timeout*
-lasso_idwsf2_sb2_timeout_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_TIMEOUT, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_timeout.h b/lasso/xml/id-wsf-2.0/sb2_timeout.h
deleted file mode 100644
index ceebc26e..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_timeout.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: sb2_timeout.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_TIMEOUT_H__
-#define __LASSO_IDWSF2_SB2_TIMEOUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_TIMEOUT (lasso_idwsf2_sb2_timeout_get_type())
-#define LASSO_IDWSF2_SB2_TIMEOUT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_TIMEOUT, \
- LassoIdWsf2Sb2Timeout))
-#define LASSO_IDWSF2_SB2_TIMEOUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_TIMEOUT, \
- LassoIdWsf2Sb2TimeoutClass))
-#define LASSO_IS_IDWSF2_SB2_TIMEOUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_TIMEOUT))
-#define LASSO_IS_IDWSF2_SB2_TIMEOUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_TIMEOUT))
-#define LASSO_IDWSF2_SB2_TIMEOUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_TIMEOUT, \
- LassoIdWsf2Sb2TimeoutClass))
-
-
-typedef struct _LassoIdWsf2Sb2Timeout LassoIdWsf2Sb2Timeout;
-typedef struct _LassoIdWsf2Sb2TimeoutClass LassoIdWsf2Sb2TimeoutClass;
-
-
-struct _LassoIdWsf2Sb2Timeout {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- int maxProcessingTime;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2Sb2TimeoutClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_timeout_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2Timeout* lasso_idwsf2_sb2_timeout_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_TIMEOUT_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_usage_directive.c b/lasso/xml/id-wsf-2.0/sb2_usage_directive.c
deleted file mode 100644
index 71839f1b..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_usage_directive.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: sb2_usage_directive.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_usage_directive.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sb2_usage_directive
- * @short_description: <sb2:UsageDirective>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ref", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UsageDirective, ref), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UsageDirective, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2UsageDirective *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2UsageDirectiveClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "UsageDirective");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_usage_directive_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2UsageDirectiveClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2UsageDirective),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2UsageDirective", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_usage_directive_new:
- *
- * Creates a new #LassoIdWsf2Sb2UsageDirective object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2UsageDirective object
- **/
-LassoIdWsf2Sb2UsageDirective*
-lasso_idwsf2_sb2_usage_directive_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_usage_directive.h b/lasso/xml/id-wsf-2.0/sb2_usage_directive.h
deleted file mode 100644
index 32f77ad2..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_usage_directive.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: sb2_usage_directive.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_H__
-#define __LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE (lasso_idwsf2_sb2_usage_directive_get_type())
-#define LASSO_IDWSF2_SB2_USAGE_DIRECTIVE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE, \
- LassoIdWsf2Sb2UsageDirective))
-#define LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE, \
- LassoIdWsf2Sb2UsageDirectiveClass))
-#define LASSO_IS_IDWSF2_SB2_USAGE_DIRECTIVE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE))
-#define LASSO_IS_IDWSF2_SB2_USAGE_DIRECTIVE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE))
-#define LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_USAGE_DIRECTIVE, \
- LassoIdWsf2Sb2UsageDirectiveClass))
-
-
-typedef struct _LassoIdWsf2Sb2UsageDirective LassoIdWsf2Sb2UsageDirective;
-typedef struct _LassoIdWsf2Sb2UsageDirectiveClass LassoIdWsf2Sb2UsageDirectiveClass;
-
-
-struct _LassoIdWsf2Sb2UsageDirective {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *ref;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2Sb2UsageDirectiveClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_usage_directive_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2UsageDirective* lasso_idwsf2_sb2_usage_directive_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_USAGE_DIRECTIVE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.c b/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.c
deleted file mode 100644
index bda99ec5..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.c
+++ /dev/null
@@ -1,137 +0,0 @@
-/* $Id: sb2_user_interaction_header.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sb2_user_interaction_header.h"
-#include "idwsf2_strings.h"
-#include "../../registry.h"
-
-/**
- * SECTION:sb2_user_interaction_header
- * @short_description: <sb2:UserInteractionHeader>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "InteractionService", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, InteractionService), NULL, NULL, NULL},
- { "interact", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, interact), NULL, NULL, NULL},
- { "language", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, language), NULL, NULL, NULL},
- { "redirect", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, redirect), NULL, NULL, NULL},
- { "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, maxInteractTime), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2Sb2UserInteractionHeader, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2Sb2UserInteractionHeader *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2Sb2UserInteractionHeaderClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "UserInteraction");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SB2_HREF, LASSO_IDWSF2_SB2_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sb2_user_interaction_header_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2Sb2UserInteractionHeaderClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Sb2UserInteractionHeader),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Sb2UserInteractionHeader", &this_info, 0);
- lasso_registry_default_add_direct_mapping(LASSO_IDWSF2_SB2_HREF, "UserInteraction",
- LASSO_LASSO_HREF, "LassoIdWsf2Sb2UserInteractionHeader");
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sb2_user_interaction_header_new:
- *
- * Creates a new #LassoIdWsf2Sb2UserInteractionHeader object.
- *
- * Return value: a newly created #LassoIdWsf2Sb2UserInteractionHeader object
- **/
-LassoIdWsf2Sb2UserInteractionHeader*
-lasso_idwsf2_sb2_user_interaction_header_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.h b/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.h
deleted file mode 100644
index 8bae32d3..00000000
--- a/lasso/xml/id-wsf-2.0/sb2_user_interaction_header.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: sb2_user_interaction_header.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_H__
-#define __LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER \
- (lasso_idwsf2_sb2_user_interaction_header_get_type())
-#define LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER, \
- LassoIdWsf2Sb2UserInteractionHeader))
-#define LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER, \
- LassoIdWsf2Sb2UserInteractionHeaderClass))
-#define LASSO_IS_IDWSF2_SB2_USER_INTERACTION_HEADER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER))
-#define LASSO_IS_IDWSF2_SB2_USER_INTERACTION_HEADER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER))
-#define LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SB2_USER_INTERACTION_HEADER, \
- LassoIdWsf2Sb2UserInteractionHeaderClass))
-
-
-typedef struct _LassoIdWsf2Sb2UserInteractionHeader LassoIdWsf2Sb2UserInteractionHeader;
-typedef struct _LassoIdWsf2Sb2UserInteractionHeaderClass LassoIdWsf2Sb2UserInteractionHeaderClass;
-
-
-struct _LassoIdWsf2Sb2UserInteractionHeader {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *InteractionService; /* of LassoNode */
- /* attributes */
- char *interact;
- char *language;
- gboolean redirect;
- int maxInteractTime;
- GHashTable *attributes;
-};
-
-struct _LassoIdWsf2Sb2UserInteractionHeaderClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sb2_user_interaction_header_get_type(void);
-LASSO_EXPORT LassoIdWsf2Sb2UserInteractionHeader*
- lasso_idwsf2_sb2_user_interaction_header_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SB2_USER_INTERACTION_HEADER_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sbf_framework.c b/lasso/xml/id-wsf-2.0/sbf_framework.c
deleted file mode 100644
index fbb7d090..00000000
--- a/lasso/xml/id-wsf-2.0/sbf_framework.c
+++ /dev/null
@@ -1,132 +0,0 @@
-/* $Id: sbf_framework.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sbf_framework.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sbf_framework
- * @short_description: <sbf:Framework>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "version", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SbfFramework, version), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2SbfFramework, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2SbfFramework *node)
-{
- node->attributes = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2SbfFrameworkClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Framework");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SBF_HREF, LASSO_IDWSF2_SBF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sbf_framework_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SbfFrameworkClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SbfFramework),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SbfFramework", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sbf_framework_new:
- *
- * Creates a new #LassoIdWsf2SbfFramework object.
- *
- * Return value: a newly created #LassoIdWsf2SbfFramework object
- **/
-LassoIdWsf2SbfFramework*
-lasso_idwsf2_sbf_framework_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SBF_FRAMEWORK, NULL);
-}
-
-LassoIdWsf2SbfFramework*
-lasso_idwsf2_sbf_framework_new_full(const char *version)
-{
- LassoIdWsf2SbfFramework* framework;
-
- framework = g_object_new(LASSO_TYPE_IDWSF2_SBF_FRAMEWORK, NULL);
-
- framework->version = g_strdup(version);
-
- return framework;
-}
diff --git a/lasso/xml/id-wsf-2.0/sbf_framework.h b/lasso/xml/id-wsf-2.0/sbf_framework.h
deleted file mode 100644
index 954391f9..00000000
--- a/lasso/xml/id-wsf-2.0/sbf_framework.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: sbf_framework.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SBF_FRAMEWORK_H__
-#define __LASSO_IDWSF2_SBF_FRAMEWORK_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SBF_FRAMEWORK (lasso_idwsf2_sbf_framework_get_type())
-#define LASSO_IDWSF2_SBF_FRAMEWORK(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SBF_FRAMEWORK, \
- LassoIdWsf2SbfFramework))
-#define LASSO_IDWSF2_SBF_FRAMEWORK_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SBF_FRAMEWORK, \
- LassoIdWsf2SbfFrameworkClass))
-#define LASSO_IS_IDWSF2_SBF_FRAMEWORK(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SBF_FRAMEWORK))
-#define LASSO_IS_IDWSF2_SBF_FRAMEWORK_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SBF_FRAMEWORK))
-#define LASSO_IDWSF2_SBF_FRAMEWORK_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SBF_FRAMEWORK, \
- LassoIdWsf2SbfFrameworkClass))
-
-
-typedef struct _LassoIdWsf2SbfFramework LassoIdWsf2SbfFramework;
-typedef struct _LassoIdWsf2SbfFrameworkClass LassoIdWsf2SbfFrameworkClass;
-
-
-struct _LassoIdWsf2SbfFramework {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *version;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2SbfFrameworkClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sbf_framework_get_type(void);
-LASSO_EXPORT LassoIdWsf2SbfFramework* lasso_idwsf2_sbf_framework_new(void);
-
-LASSO_EXPORT LassoIdWsf2SbfFramework* lasso_idwsf2_sbf_framework_new_full(const char *version);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SBF_FRAMEWORK_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sec_token.c b/lasso/xml/id-wsf-2.0/sec_token.c
deleted file mode 100644
index 2e88edab..00000000
--- a/lasso/xml/id-wsf-2.0/sec_token.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: sec_token.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sec_token.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sec_token
- * @short_description: <sec:Token>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_NODE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2SecToken, any), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecToken, id), NULL, NULL, NULL},
- { "ref", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecToken, ref), NULL, NULL, NULL},
- { "usage", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecToken, usage), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SecTokenClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Token");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SEC_HREF, LASSO_IDWSF2_SEC_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sec_token_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SecTokenClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SecToken),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SecToken", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sec_token_new:
- *
- * Creates a new #LassoIdWsf2SecToken object.
- *
- * Return value: a newly created #LassoIdWsf2SecToken object
- **/
-LassoIdWsf2SecToken*
-lasso_idwsf2_sec_token_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SEC_TOKEN, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sec_token.h b/lasso/xml/id-wsf-2.0/sec_token.h
deleted file mode 100644
index f710d2ef..00000000
--- a/lasso/xml/id-wsf-2.0/sec_token.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: sec_token.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SEC_TOKEN_H__
-#define __LASSO_IDWSF2_SEC_TOKEN_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SEC_TOKEN (lasso_idwsf2_sec_token_get_type())
-#define LASSO_IDWSF2_SEC_TOKEN(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN, \
- LassoIdWsf2SecToken))
-#define LASSO_IDWSF2_SEC_TOKEN_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN, \
- LassoIdWsf2SecTokenClass))
-#define LASSO_IS_IDWSF2_SEC_TOKEN(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN))
-#define LASSO_IS_IDWSF2_SEC_TOKEN_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN))
-#define LASSO_IDWSF2_SEC_TOKEN_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN, \
- LassoIdWsf2SecTokenClass))
-
-
-typedef struct _LassoIdWsf2SecToken LassoIdWsf2SecToken;
-typedef struct _LassoIdWsf2SecTokenClass LassoIdWsf2SecTokenClass;
-
-
-struct _LassoIdWsf2SecToken {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoNode *any;
- /* attributes */
- char *id;
- char *ref;
- char *usage;
-};
-
-
-struct _LassoIdWsf2SecTokenClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sec_token_get_type(void);
-LASSO_EXPORT LassoIdWsf2SecToken* lasso_idwsf2_sec_token_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SEC_TOKEN_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sec_token_policy.c b/lasso/xml/id-wsf-2.0/sec_token_policy.c
deleted file mode 100644
index 4026719b..00000000
--- a/lasso/xml/id-wsf-2.0/sec_token_policy.c
+++ /dev/null
@@ -1,132 +0,0 @@
-/* $Id: sec_token_policy.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sec_token_policy.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sec_token_policy
- * @short_description: <sec:TokenPolicy>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_NODE | SNIPPET_ANY | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, any), NULL, NULL, NULL},
- { "validUntil", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, validUntil), NULL, NULL, NULL},
- { "issueTo", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, issueTo), NULL, NULL, NULL},
- { "type", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, type), NULL, NULL, NULL},
- { "wantDSEPR", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, wantDSEPR), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2SecTokenPolicy, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2SecTokenPolicy *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2SecTokenPolicyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TokenPolicy");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SEC_HREF, LASSO_IDWSF2_SEC_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sec_token_policy_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SecTokenPolicyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SecTokenPolicy),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SecTokenPolicy", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sec_token_policy_new:
- *
- * Creates a new #LassoIdWsf2SecTokenPolicy object.
- *
- * Return value: a newly created #LassoIdWsf2SecTokenPolicy object
- **/
-LassoIdWsf2SecTokenPolicy*
-lasso_idwsf2_sec_token_policy_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sec_token_policy.h b/lasso/xml/id-wsf-2.0/sec_token_policy.h
deleted file mode 100644
index 3fe64fcb..00000000
--- a/lasso/xml/id-wsf-2.0/sec_token_policy.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id: sec_token_policy.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SEC_TOKEN_POLICY_H__
-#define __LASSO_IDWSF2_SEC_TOKEN_POLICY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY (lasso_idwsf2_sec_token_policy_get_type())
-#define LASSO_IDWSF2_SEC_TOKEN_POLICY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY, \
- LassoIdWsf2SecTokenPolicy))
-#define LASSO_IDWSF2_SEC_TOKEN_POLICY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY, \
- LassoIdWsf2SecTokenPolicyClass))
-#define LASSO_IS_IDWSF2_SEC_TOKEN_POLICY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY))
-#define LASSO_IS_IDWSF2_SEC_TOKEN_POLICY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY))
-#define LASSO_IDWSF2_SEC_TOKEN_POLICY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SEC_TOKEN_POLICY, \
- LassoIdWsf2SecTokenPolicyClass))
-
-
-typedef struct _LassoIdWsf2SecTokenPolicy LassoIdWsf2SecTokenPolicy;
-typedef struct _LassoIdWsf2SecTokenPolicyClass LassoIdWsf2SecTokenPolicyClass;
-
-
-struct _LassoIdWsf2SecTokenPolicy {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoNode *any;
- /* attributes */
- char *validUntil;
- char *issueTo;
- char *type;
- gboolean wantDSEPR;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2SecTokenPolicyClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sec_token_policy_get_type(void);
-LASSO_EXPORT LassoIdWsf2SecTokenPolicy* lasso_idwsf2_sec_token_policy_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SEC_TOKEN_POLICY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/sec_transited_provider_path.c b/lasso/xml/id-wsf-2.0/sec_transited_provider_path.c
deleted file mode 100644
index 8d134764..00000000
--- a/lasso/xml/id-wsf-2.0/sec_transited_provider_path.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id: sec_transited_provider_path.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "sec_transited_provider_path.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:sec_transited_provider_path
- * @short_description: <sec:TransitedProviderPath>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TransitedProvider", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SecTransitedProviderPath, TransitedProvider), NULL,
- LASSO_IDWSF2_SEC_PREFIX, LASSO_IDWSF2_SEC_HREF},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SecTransitedProviderPathClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TransitedProviderPath");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SEC_HREF, LASSO_IDWSF2_SEC_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_sec_transited_provider_path_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SecTransitedProviderPathClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SecTransitedProviderPath),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SecTransitedProviderPath", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_sec_transited_provider_path_new:
- *
- * Creates a new #LassoIdWsf2SecTransitedProviderPath object.
- *
- * Return value: a newly created #LassoIdWsf2SecTransitedProviderPath object
- **/
-LassoIdWsf2SecTransitedProviderPath*
-lasso_idwsf2_sec_transited_provider_path_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/sec_transited_provider_path.h b/lasso/xml/id-wsf-2.0/sec_transited_provider_path.h
deleted file mode 100644
index 59b03cf0..00000000
--- a/lasso/xml/id-wsf-2.0/sec_transited_provider_path.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id: sec_transited_provider_path.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_H__
-#define __LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH \
- (lasso_idwsf2_sec_transited_provider_path_get_type())
-#define LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH, \
- LassoIdWsf2SecTransitedProviderPath))
-#define LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH, \
- LassoIdWsf2SecTransitedProviderPathClass))
-#define LASSO_IS_IDWSF2_SEC_TRANSITED_PROVIDER_PATH(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH))
-#define LASSO_IS_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH))
-#define LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SEC_TRANSITED_PROVIDER_PATH, \
- LassoIdWsf2SecTransitedProviderPathClass))
-
-
-typedef struct _LassoIdWsf2SecTransitedProviderPath LassoIdWsf2SecTransitedProviderPath;
-typedef struct _LassoIdWsf2SecTransitedProviderPathClass LassoIdWsf2SecTransitedProviderPathClass;
-
-
-struct _LassoIdWsf2SecTransitedProviderPath {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *TransitedProvider; /* of LassoNode */
-};
-
-struct _LassoIdWsf2SecTransitedProviderPathClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_sec_transited_provider_path_get_type(void);
-LASSO_EXPORT LassoIdWsf2SecTransitedProviderPath*
- lasso_idwsf2_sec_transited_provider_path_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SEC_TRANSITED_PROVIDER_PATH_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subs_notification.c b/lasso/xml/id-wsf-2.0/subs_notification.c
deleted file mode 100644
index ac2217db..00000000
--- a/lasso/xml/id-wsf-2.0/subs_notification.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* $Id: subs_notification.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subs_notification.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subs_notification
- * @short_description: <subs:Notification>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestResult", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsNotification, TestResult),
- "LassoIdWsf2UtilTestResult", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsNotification, id), NULL, NULL, NULL},
- { "subscriptionID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsNotification, subscriptionID), NULL, NULL, NULL},
- { "expires", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsNotification, expires), NULL, NULL, NULL},
- { "endReason", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsNotification, endReason), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsNotificationClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Notification");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBS_HREF, LASSO_IDWSF2_SUBS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subs_notification_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsNotificationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsNotification),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsNotification", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subs_notification_new:
- *
- * Creates a new #LassoIdWsf2SubsNotification object.
- *
- * Return value: a newly created #LassoIdWsf2SubsNotification object
- **/
-LassoIdWsf2SubsNotification*
-lasso_idwsf2_subs_notification_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subs_notification.h b/lasso/xml/id-wsf-2.0/subs_notification.h
deleted file mode 100644
index d816389a..00000000
--- a/lasso/xml/id-wsf-2.0/subs_notification.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: subs_notification.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBS_NOTIFICATION_H__
-#define __LASSO_IDWSF2_SUBS_NOTIFICATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION (lasso_idwsf2_subs_notification_get_type())
-#define LASSO_IDWSF2_SUBS_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION, \
- LassoIdWsf2SubsNotification))
-#define LASSO_IDWSF2_SUBS_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION, \
- LassoIdWsf2SubsNotificationClass))
-#define LASSO_IS_IDWSF2_SUBS_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION))
-#define LASSO_IS_IDWSF2_SUBS_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION))
-#define LASSO_IDWSF2_SUBS_NOTIFICATION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION, \
- LassoIdWsf2SubsNotificationClass))
-
-
-typedef struct _LassoIdWsf2SubsNotification LassoIdWsf2SubsNotification;
-typedef struct _LassoIdWsf2SubsNotificationClass LassoIdWsf2SubsNotificationClass;
-
-
-struct _LassoIdWsf2SubsNotification {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *TestResult; /* of LassoNode */
- /* attributes */
- char *id;
- char *subscriptionID;
- char *expires;
- char *endReason;
-};
-
-
-struct _LassoIdWsf2SubsNotificationClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subs_notification_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsNotification* lasso_idwsf2_subs_notification_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBS_NOTIFICATION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subs_notify_response.c b/lasso/xml/id-wsf-2.0/subs_notify_response.c
deleted file mode 100644
index a52a2585..00000000
--- a/lasso/xml/id-wsf-2.0/subs_notify_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: subs_notify_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subs_notify_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subs_notify_response
- * @short_description: <subs:NotifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2SubsNotifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "NotifyResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBS_HREF, LASSO_IDWSF2_SUBS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subs_notify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsNotifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsNotifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_UTIL_RESPONSE,
- "LassoIdWsf2SubsNotifyResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subs_notify_response_new:
- *
- * Creates a new #LassoIdWsf2SubsNotifyResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsNotifyResponse object
- **/
-LassoIdWsf2SubsNotifyResponse*
-lasso_idwsf2_subs_notify_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subs_notify_response.h b/lasso/xml/id-wsf-2.0/subs_notify_response.h
deleted file mode 100644
index 9a83be40..00000000
--- a/lasso/xml/id-wsf-2.0/subs_notify_response.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id: subs_notify_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_response.h"
-
-#define LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE (lasso_idwsf2_subs_notify_response_get_type())
-#define LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsNotifyResponse))
-#define LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsNotifyResponseClass))
-#define LASSO_IS_IDWSF2_SUBS_NOTIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBS_NOTIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE))
-#define LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsNotifyResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsNotifyResponse LassoIdWsf2SubsNotifyResponse;
-typedef struct _LassoIdWsf2SubsNotifyResponseClass LassoIdWsf2SubsNotifyResponseClass;
-
-
-struct _LassoIdWsf2SubsNotifyResponse {
- LassoIdWsf2UtilResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2SubsNotifyResponseClass {
- LassoIdWsf2UtilResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subs_notify_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsNotifyResponse* lasso_idwsf2_subs_notify_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBS_NOTIFY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subs_ref_item.c b/lasso/xml/id-wsf-2.0/subs_ref_item.c
deleted file mode 100644
index 8c93ee56..00000000
--- a/lasso/xml/id-wsf-2.0/subs_ref_item.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id: subs_ref_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subs_ref_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subs_ref_item
- * @short_description: <subs:RefItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "subscriptionID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefItem, subscriptionID), NULL, NULL, NULL},
- { "itemIDRef", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefItem, itemIDRef), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RefItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBS_HREF, LASSO_IDWSF2_SUBS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subs_ref_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsRefItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subs_ref_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefItem object
- **/
-LassoIdWsf2SubsRefItem*
-lasso_idwsf2_subs_ref_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBS_REF_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subs_ref_item.h b/lasso/xml/id-wsf-2.0/subs_ref_item.h
deleted file mode 100644
index 6d48a425..00000000
--- a/lasso/xml/id-wsf-2.0/subs_ref_item.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: subs_ref_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBS_REF_ITEM_H__
-#define __LASSO_IDWSF2_SUBS_REF_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SUBS_REF_ITEM (lasso_idwsf2_subs_ref_item_get_type())
-#define LASSO_IDWSF2_SUBS_REF_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBS_REF_ITEM, \
- LassoIdWsf2SubsRefItem))
-#define LASSO_IDWSF2_SUBS_REF_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBS_REF_ITEM, \
- LassoIdWsf2SubsRefItemClass))
-#define LASSO_IS_IDWSF2_SUBS_REF_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBS_REF_ITEM))
-#define LASSO_IS_IDWSF2_SUBS_REF_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBS_REF_ITEM))
-#define LASSO_IDWSF2_SUBS_REF_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBS_REF_ITEM, \
- LassoIdWsf2SubsRefItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefItem LassoIdWsf2SubsRefItem;
-typedef struct _LassoIdWsf2SubsRefItemClass LassoIdWsf2SubsRefItemClass;
-
-
-struct _LassoIdWsf2SubsRefItem {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *subscriptionID;
- char *itemIDRef;
-};
-
-
-struct _LassoIdWsf2SubsRefItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subs_ref_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefItem* lasso_idwsf2_subs_ref_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBS_REF_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subs_subscription.c b/lasso/xml/id-wsf-2.0/subs_subscription.c
deleted file mode 100644
index feb7fd69..00000000
--- a/lasso/xml/id-wsf-2.0/subs_subscription.c
+++ /dev/null
@@ -1,144 +0,0 @@
-/* $Id: subs_subscription.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subs_subscription.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subs_subscription
- * @short_description: <subs:Subscription>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "RefItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, RefItem), NULL, NULL, NULL},
- { "Extension", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, Extension),
- "LassoIdWsf2Utilextension", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "subscriptionID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, subscriptionID), NULL, NULL, NULL},
- { "notifyToRef", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, notifyToRef), NULL, NULL, NULL},
- { "adminNotifyToRef", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, adminNotifyToRef), NULL, NULL, NULL},
- { "starts", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, starts), NULL, NULL, NULL},
- { "expires", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, expires), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, id), NULL, NULL, NULL},
- { "includeData", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsSubscription, includeData), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsSubscriptionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Subscription");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBS_HREF, LASSO_IDWSF2_SUBS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subs_subscription_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsSubscriptionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsSubscription),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsSubscription", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subs_subscription_new:
- *
- * Creates a new #LassoIdWsf2SubsSubscription object.
- *
- * Return value: a newly created #LassoIdWsf2SubsSubscription object
- **/
-LassoIdWsf2SubsSubscription*
-lasso_idwsf2_subs_subscription_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subs_subscription.h b/lasso/xml/id-wsf-2.0/subs_subscription.h
deleted file mode 100644
index 32b4328f..00000000
--- a/lasso/xml/id-wsf-2.0/subs_subscription.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* $Id: subs_subscription.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBS_SUBSCRIPTION_H__
-#define __LASSO_IDWSF2_SUBS_SUBSCRIPTION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION (lasso_idwsf2_subs_subscription_get_type())
-#define LASSO_IDWSF2_SUBS_SUBSCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION, \
- LassoIdWsf2SubsSubscription))
-#define LASSO_IDWSF2_SUBS_SUBSCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION, \
- LassoIdWsf2SubsSubscriptionClass))
-#define LASSO_IS_IDWSF2_SUBS_SUBSCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION))
-#define LASSO_IS_IDWSF2_SUBS_SUBSCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION))
-#define LASSO_IDWSF2_SUBS_SUBSCRIPTION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION, \
- LassoIdWsf2SubsSubscriptionClass))
-
-
-typedef struct _LassoIdWsf2SubsSubscription LassoIdWsf2SubsSubscription;
-typedef struct _LassoIdWsf2SubsSubscriptionClass LassoIdWsf2SubsSubscriptionClass;
-
-
-struct _LassoIdWsf2SubsSubscription {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *RefItem; /* of LassoNode */
- GList *Extension; /* of LassoIdWsf2Utilextension */
- /* attributes */
- char *subscriptionID;
- char *notifyToRef;
- char *adminNotifyToRef;
- char *starts;
- char *expires;
- char *id;
- char *includeData;
-};
-
-
-struct _LassoIdWsf2SubsSubscriptionClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subs_subscription_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsSubscription* lasso_idwsf2_subs_subscription_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBS_SUBSCRIPTION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_app_data.c b/lasso/xml/id-wsf-2.0/subsref_app_data.c
deleted file mode 100644
index 3ea29d50..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_app_data.c
+++ /dev/null
@@ -1,106 +0,0 @@
-/* $Id: subsref_app_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_app_data.h"
-#include "idwsf2_strings.h"
-#include "../../registry.h"
-
-/**
- * SECTION:subsref_app_data
- * @short_description: <subsref:AppData>
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_XMLNODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefAppData, any), NULL, NULL, NULL},
- { "Subscription", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefAppData, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefAppDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "NewData");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_app_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefAppDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefAppData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsRefAppData", &this_info, 0);
- lasso_registry_default_add_direct_mapping(LASSO_IDWSF2_SUBSREF_HREF, "NewData",
- LASSO_LASSO_HREF, "LassoIdWsf2SubsRefAppData");
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_app_data_new:
- *
- * Creates a new #LassoIdWsf2SubsRefAppData object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefAppData object
- **/
-LassoIdWsf2SubsRefAppData*
-lasso_idwsf2_subsref_app_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_app_data.h b/lasso/xml/id-wsf-2.0/subsref_app_data.h
deleted file mode 100644
index e35d082e..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_app_data.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: subsref_app_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_APP_DATA_H__
-#define __LASSO_IDWSF2_SUBSREF_APP_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA (lasso_idwsf2_subsref_app_data_get_type())
-#define LASSO_IDWSF2_SUBSREF_APP_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA, \
- LassoIdWsf2SubsRefAppData))
-#define LASSO_IDWSF2_SUBSREF_APP_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA, \
- LassoIdWsf2SubsRefAppDataClass))
-#define LASSO_IS_IDWSF2_SUBSREF_APP_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA))
-#define LASSO_IS_IDWSF2_SUBSREF_APP_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA))
-#define LASSO_IDWSF2_SUBSREF_APP_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA, \
- LassoIdWsf2SubsRefAppDataClass))
-
-
-typedef struct _LassoIdWsf2SubsRefAppData LassoIdWsf2SubsRefAppData;
-typedef struct _LassoIdWsf2SubsRefAppDataClass LassoIdWsf2SubsRefAppDataClass;
-
-
-struct _LassoIdWsf2SubsRefAppData {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of xmlNode* */
- GList *Subscription; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefAppDataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_app_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefAppData* lasso_idwsf2_subsref_app_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_APP_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_create.c b/lasso/xml/id-wsf-2.0/subsref_create.c
deleted file mode 100644
index e2e5728e..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: subsref_create.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_create.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_create
- * @short_description: <subsref:Create>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Subscription", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreate, Subscription), NULL, NULL, NULL},
- { "CreateItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreate, CreateItem), NULL, NULL, NULL},
- { "ResultQuery", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreate, ResultQuery), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefCreateClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Create");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_create_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefCreateClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefCreate),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2SubsRefCreate", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_create_new:
- *
- * Creates a new #LassoIdWsf2SubsRefCreate object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefCreate object
- **/
-LassoIdWsf2SubsRefCreate*
-lasso_idwsf2_subsref_create_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_CREATE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_create.h b/lasso/xml/id-wsf-2.0/subsref_create.h
deleted file mode 100644
index 778e46c8..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_create.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_CREATE_H__
-#define __LASSO_IDWSF2_SUBSREF_CREATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_CREATE (lasso_idwsf2_subsref_create_get_type())
-#define LASSO_IDWSF2_SUBSREF_CREATE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE, \
- LassoIdWsf2SubsRefCreate))
-#define LASSO_IDWSF2_SUBSREF_CREATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE, \
- LassoIdWsf2SubsRefCreateClass))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE))
-#define LASSO_IDWSF2_SUBSREF_CREATE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE, \
- LassoIdWsf2SubsRefCreateClass))
-
-
-typedef struct _LassoIdWsf2SubsRefCreate LassoIdWsf2SubsRefCreate;
-typedef struct _LassoIdWsf2SubsRefCreateClass LassoIdWsf2SubsRefCreateClass;
-
-
-struct _LassoIdWsf2SubsRefCreate {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *Subscription; /* of LassoNode */
- GList *CreateItem; /* of LassoNode */
- GList *ResultQuery; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefCreateClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_create_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefCreate* lasso_idwsf2_subsref_create_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_CREATE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_create_item.c b/lasso/xml/id-wsf-2.0/subsref_create_item.c
deleted file mode 100644
index 27140b13..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create_item.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: subsref_create_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_create_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_create_item
- * @short_description: <subsref:CreateItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "NewData", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreateItem, NewData), NULL, NULL, NULL},
- { "objectType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreateItem, objectType), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreateItem, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefCreateItem, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefCreateItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CreateItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_create_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefCreateItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefCreateItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsRefCreateItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_create_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefCreateItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefCreateItem object
- **/
-LassoIdWsf2SubsRefCreateItem*
-lasso_idwsf2_subsref_create_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_create_item.h b/lasso/xml/id-wsf-2.0/subsref_create_item.h
deleted file mode 100644
index b3636d84..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create_item.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: subsref_create_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_CREATE_ITEM_H__
-#define __LASSO_IDWSF2_SUBSREF_CREATE_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM (lasso_idwsf2_subsref_create_item_get_type())
-#define LASSO_IDWSF2_SUBSREF_CREATE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM, \
- LassoIdWsf2SubsRefCreateItem))
-#define LASSO_IDWSF2_SUBSREF_CREATE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM, \
- LassoIdWsf2SubsRefCreateItemClass))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM))
-#define LASSO_IDWSF2_SUBSREF_CREATE_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_ITEM, \
- LassoIdWsf2SubsRefCreateItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefCreateItem LassoIdWsf2SubsRefCreateItem;
-typedef struct _LassoIdWsf2SubsRefCreateItemClass LassoIdWsf2SubsRefCreateItemClass;
-
-
-struct _LassoIdWsf2SubsRefCreateItem {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *NewData;
- /* attributes */
- char *objectType;
- char *id;
- char *itemID;
-};
-
-
-struct _LassoIdWsf2SubsRefCreateItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_create_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefCreateItem* lasso_idwsf2_subsref_create_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_CREATE_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_create_response.c b/lasso/xml/id-wsf-2.0/subsref_create_response.c
deleted file mode 100644
index 25d476e3..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: subsref_create_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_create_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_create_response
- * @short_description: <subsref:CreateResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2SubsRefCreateResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CreateResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_create_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefCreateResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefCreateResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE,
- "LassoIdWsf2SubsRefCreateResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_create_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefCreateResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefCreateResponse object
- **/
-LassoIdWsf2SubsRefCreateResponse*
-lasso_idwsf2_subsref_create_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_create_response.h b/lasso/xml/id-wsf-2.0/subsref_create_response.h
deleted file mode 100644
index 9f637f34..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_create_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: subsref_create_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_data_response.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE \
- (lasso_idwsf2_subsref_create_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE, \
- LassoIdWsf2SubsRefCreateResponse))
-#define LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE, \
- LassoIdWsf2SubsRefCreateResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_CREATE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_CREATE_RESPONSE, \
- LassoIdWsf2SubsRefCreateResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefCreateResponse LassoIdWsf2SubsRefCreateResponse;
-typedef struct _LassoIdWsf2SubsRefCreateResponseClass LassoIdWsf2SubsRefCreateResponseClass;
-
-
-struct _LassoIdWsf2SubsRefCreateResponse {
- LassoIdWsf2SubsRefDataResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2SubsRefCreateResponseClass {
- LassoIdWsf2SubsRefDataResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_create_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefCreateResponse* lasso_idwsf2_subsref_create_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_CREATE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_data.c b/lasso/xml/id-wsf-2.0/subsref_data.c
deleted file mode 100644
index 457e891d..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_data.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: subsref_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_data
- * @short_description: <subsref:Data>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "remaining", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefData, remaining), NULL, NULL, NULL},
- { "nextOffset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefData, nextOffset), NULL, NULL, NULL},
- { "setID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefData, setID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2SubsRefData *node)
-{
- node->nextOffset = -1;
-}
-
-static void
-class_init(LassoIdWsf2SubsRefDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Data");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefData),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA,
- "LassoIdWsf2SubsRefData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_data_new:
- *
- * Creates a new #LassoIdWsf2SubsRefData object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefData object
- **/
-LassoIdWsf2SubsRefData*
-lasso_idwsf2_subsref_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_data.h b/lasso/xml/id-wsf-2.0/subsref_data.h
deleted file mode 100644
index 293fdcbd..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_data.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_DATA_H__
-#define __LASSO_IDWSF2_SUBSREF_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_item_data.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_DATA (lasso_idwsf2_subsref_data_get_type())
-#define LASSO_IDWSF2_SUBSREF_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA, \
- LassoIdWsf2SubsRefData))
-#define LASSO_IDWSF2_SUBSREF_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA, \
- LassoIdWsf2SubsRefDataClass))
-#define LASSO_IS_IDWSF2_SUBSREF_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA))
-#define LASSO_IS_IDWSF2_SUBSREF_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA))
-#define LASSO_IDWSF2_SUBSREF_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA, \
- LassoIdWsf2SubsRefDataClass))
-
-
-typedef struct _LassoIdWsf2SubsRefData LassoIdWsf2SubsRefData;
-typedef struct _LassoIdWsf2SubsRefDataClass LassoIdWsf2SubsRefDataClass;
-
-
-struct _LassoIdWsf2SubsRefData {
- LassoIdWsf2SubsRefItemData parent;
-
- /*< public >*/
- /* attributes */
- int remaining;
- int nextOffset;
- char *setID;
-};
-
-
-struct _LassoIdWsf2SubsRefDataClass {
- LassoIdWsf2SubsRefItemDataClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefData* lasso_idwsf2_subsref_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_data_response.c b/lasso/xml/id-wsf-2.0/subsref_data_response.c
deleted file mode 100644
index 2022c381..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_data_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: subsref_data_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_data_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_data_response
- * @short_description: <subsref:DataResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ItemData", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefDataResponse, ItemData), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefDataResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DataResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_data_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefDataResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefDataResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE,
- "LassoIdWsf2SubsRefDataResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_data_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefDataResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefDataResponse object
- **/
-LassoIdWsf2SubsRefDataResponse*
-lasso_idwsf2_subsref_data_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_data_response.h b/lasso/xml/id-wsf-2.0/subsref_data_response.h
deleted file mode 100644
index 3ec09af4..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_data_response.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: subsref_data_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_data_response_base.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE \
- (lasso_idwsf2_subsref_data_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_DATA_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE, \
- LassoIdWsf2SubsRefDataResponse))
-#define LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE, \
- LassoIdWsf2SubsRefDataResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_DATA_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_DATA_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE, \
- LassoIdWsf2SubsRefDataResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefDataResponse LassoIdWsf2SubsRefDataResponse;
-typedef struct _LassoIdWsf2SubsRefDataResponseClass LassoIdWsf2SubsRefDataResponseClass;
-
-
-struct _LassoIdWsf2SubsRefDataResponse {
- LassoIdWsf2DstDataResponseBase parent;
-
- /*< public >*/
- /* elements */
- GList *ItemData; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefDataResponseClass {
- LassoIdWsf2DstDataResponseBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_data_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefDataResponse* lasso_idwsf2_subsref_data_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_DATA_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete.c b/lasso/xml/id-wsf-2.0/subsref_delete.c
deleted file mode 100644
index e28eb926..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: subsref_delete.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_delete.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_delete
- * @short_description: <subsref:Delete>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "DeleteItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefDelete, DeleteItem), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefDeleteClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Delete");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_delete_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefDeleteClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefDelete),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2SubsRefDelete", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_delete_new:
- *
- * Creates a new #LassoIdWsf2SubsRefDelete object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefDelete object
- **/
-LassoIdWsf2SubsRefDelete*
-lasso_idwsf2_subsref_delete_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_DELETE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete.h b/lasso/xml/id-wsf-2.0/subsref_delete.h
deleted file mode 100644
index 3e159b06..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: subsref_delete.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_DELETE_H__
-#define __LASSO_IDWSF2_SUBSREF_DELETE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_DELETE (lasso_idwsf2_subsref_delete_get_type())
-#define LASSO_IDWSF2_SUBSREF_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE, \
- LassoIdWsf2SubsRefDelete))
-#define LASSO_IDWSF2_SUBSREF_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE, \
- LassoIdWsf2SubsRefDeleteClass))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE))
-#define LASSO_IDWSF2_SUBSREF_DELETE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE, \
- LassoIdWsf2SubsRefDeleteClass))
-
-
-typedef struct _LassoIdWsf2SubsRefDelete LassoIdWsf2SubsRefDelete;
-typedef struct _LassoIdWsf2SubsRefDeleteClass LassoIdWsf2SubsRefDeleteClass;
-
-
-struct _LassoIdWsf2SubsRefDelete {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *DeleteItem; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefDeleteClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_delete_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefDelete* lasso_idwsf2_subsref_delete_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_DELETE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete_item.c b/lasso/xml/id-wsf-2.0/subsref_delete_item.c
deleted file mode 100644
index bb1045bd..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete_item.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: subsref_delete_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_delete_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_delete_item
- * @short_description: <subsref:DeleteItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefDeleteItem, Select), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefDeleteItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_delete_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefDeleteItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefDeleteItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DELETE_ITEM_BASE,
- "LassoIdWsf2SubsRefDeleteItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_delete_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefDeleteItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefDeleteItem object
- **/
-LassoIdWsf2SubsRefDeleteItem*
-lasso_idwsf2_subsref_delete_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete_item.h b/lasso/xml/id-wsf-2.0/subsref_delete_item.h
deleted file mode 100644
index 6dbbe40a..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete_item.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: subsref_delete_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_DELETE_ITEM_H__
-#define __LASSO_IDWSF2_SUBSREF_DELETE_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_delete_item_base.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM (lasso_idwsf2_subsref_delete_item_get_type())
-#define LASSO_IDWSF2_SUBSREF_DELETE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM, \
- LassoIdWsf2SubsRefDeleteItem))
-#define LASSO_IDWSF2_SUBSREF_DELETE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM, \
- LassoIdWsf2SubsRefDeleteItemClass))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM))
-#define LASSO_IDWSF2_SUBSREF_DELETE_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_ITEM, \
- LassoIdWsf2SubsRefDeleteItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefDeleteItem LassoIdWsf2SubsRefDeleteItem;
-typedef struct _LassoIdWsf2SubsRefDeleteItemClass LassoIdWsf2SubsRefDeleteItemClass;
-
-
-struct _LassoIdWsf2SubsRefDeleteItem {
- LassoIdWsf2DstDeleteItemBase parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Select;
-};
-
-
-struct _LassoIdWsf2SubsRefDeleteItemClass {
- LassoIdWsf2DstDeleteItemBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_delete_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefDeleteItem* lasso_idwsf2_subsref_delete_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_DELETE_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete_response.c b/lasso/xml/id-wsf-2.0/subsref_delete_response.c
deleted file mode 100644
index 7e49bf2d..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: subsref_delete_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_delete_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_delete_response
- * @short_description: <subsref:DeleteResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2SubsRefDeleteResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "DeleteResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_delete_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefDeleteResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefDeleteResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_UTIL_RESPONSE,
- "LassoIdWsf2SubsRefDeleteResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_delete_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefDeleteResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefDeleteResponse object
- **/
-LassoIdWsf2SubsRefDeleteResponse*
-lasso_idwsf2_subsref_delete_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_delete_response.h b/lasso/xml/id-wsf-2.0/subsref_delete_response.h
deleted file mode 100644
index 0025773a..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_delete_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: subsref_delete_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_response.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE \
- (lasso_idwsf2_subsref_delete_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE, \
- LassoIdWsf2SubsRefDeleteResponse))
-#define LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE, \
- LassoIdWsf2SubsRefDeleteResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_DELETE_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_DELETE_RESPONSE, \
- LassoIdWsf2SubsRefDeleteResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefDeleteResponse LassoIdWsf2SubsRefDeleteResponse;
-typedef struct _LassoIdWsf2SubsRefDeleteResponseClass LassoIdWsf2SubsRefDeleteResponseClass;
-
-
-struct _LassoIdWsf2SubsRefDeleteResponse {
- LassoIdWsf2UtilResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2SubsRefDeleteResponseClass {
- LassoIdWsf2UtilResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_delete_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefDeleteResponse* lasso_idwsf2_subsref_delete_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_DELETE_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_item_data.c b/lasso/xml/id-wsf-2.0/subsref_item_data.c
deleted file mode 100644
index 4959c665..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_item_data.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/* $Id: subsref_item_data.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_item_data.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_item_data
- * @short_description: <subsref:ItemData>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "itemIDRef", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefItemData, itemIDRef), NULL, NULL, NULL},
- { "notSorted", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefItemData, notSorted), NULL, NULL, NULL},
- { "changeFormat", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefItemData, changeFormat), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefItemDataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ItemData");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_item_data_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefItemDataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefItemData),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBSREF_APP_DATA,
- "LassoIdWsf2SubsRefItemData", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_item_data_new:
- *
- * Creates a new #LassoIdWsf2SubsRefItemData object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefItemData object
- **/
-LassoIdWsf2SubsRefItemData*
-lasso_idwsf2_subsref_item_data_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_item_data.h b/lasso/xml/id-wsf-2.0/subsref_item_data.h
deleted file mode 100644
index 38769ad7..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_item_data.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_item_data.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_ITEM_DATA_H__
-#define __LASSO_IDWSF2_SUBSREF_ITEM_DATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA (lasso_idwsf2_subsref_item_data_get_type())
-#define LASSO_IDWSF2_SUBSREF_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA, \
- LassoIdWsf2SubsRefItemData))
-#define LASSO_IDWSF2_SUBSREF_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA, \
- LassoIdWsf2SubsRefItemDataClass))
-#define LASSO_IS_IDWSF2_SUBSREF_ITEM_DATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA))
-#define LASSO_IS_IDWSF2_SUBSREF_ITEM_DATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA))
-#define LASSO_IDWSF2_SUBSREF_ITEM_DATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_ITEM_DATA, \
- LassoIdWsf2SubsRefItemDataClass))
-
-
-typedef struct _LassoIdWsf2SubsRefItemData LassoIdWsf2SubsRefItemData;
-typedef struct _LassoIdWsf2SubsRefItemDataClass LassoIdWsf2SubsRefItemDataClass;
-
-
-struct _LassoIdWsf2SubsRefItemData {
- LassoIdWsf2SubsRefAppData parent;
-
- /*< public >*/
- /* attributes */
- char *itemIDRef;
- char *notSorted;
- char *changeFormat;
-};
-
-
-struct _LassoIdWsf2SubsRefItemDataClass {
- LassoIdWsf2SubsRefAppDataClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_item_data_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefItemData* lasso_idwsf2_subsref_item_data_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_ITEM_DATA_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify.c b/lasso/xml/id-wsf-2.0/subsref_modify.c
deleted file mode 100644
index 1c3a3ffd..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: subsref_modify.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_modify.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_modify
- * @short_description: <subsref:Modify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Subscription", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModify, Subscription), NULL, NULL, NULL},
- { "ModifyItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModify, ModifyItem), NULL, NULL, NULL},
- { "ResultQuery", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModify, ResultQuery), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefModifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Modify");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_modify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefModifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefModify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2SubsRefModify", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_modify_new:
- *
- * Creates a new #LassoIdWsf2SubsRefModify object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefModify object
- **/
-LassoIdWsf2SubsRefModify*
-lasso_idwsf2_subsref_modify_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_MODIFY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify.h b/lasso/xml/id-wsf-2.0/subsref_modify.h
deleted file mode 100644
index 51640c5f..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_modify.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_MODIFY_H__
-#define __LASSO_IDWSF2_SUBSREF_MODIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_MODIFY (lasso_idwsf2_subsref_modify_get_type())
-#define LASSO_IDWSF2_SUBSREF_MODIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY, \
- LassoIdWsf2SubsRefModify))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY, \
- LassoIdWsf2SubsRefModifyClass))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY, \
- LassoIdWsf2SubsRefModifyClass))
-
-
-typedef struct _LassoIdWsf2SubsRefModify LassoIdWsf2SubsRefModify;
-typedef struct _LassoIdWsf2SubsRefModifyClass LassoIdWsf2SubsRefModifyClass;
-
-
-struct _LassoIdWsf2SubsRefModify {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *Subscription; /* of LassoNode */
- GList *ModifyItem; /* of LassoNode */
- GList *ResultQuery; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefModifyClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_modify_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefModify* lasso_idwsf2_subsref_modify_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_MODIFY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify_item.c b/lasso/xml/id-wsf-2.0/subsref_modify_item.c
deleted file mode 100644
index 5193382b..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify_item.c
+++ /dev/null
@@ -1,123 +0,0 @@
-/* $Id: subsref_modify_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_modify_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_modify_item
- * @short_description: <subsref:ModifyItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, Select), NULL, NULL, NULL},
- { "NewData", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, NewData), NULL, NULL, NULL},
- { "notChangedSince", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, notChangedSince), NULL, NULL, NULL},
- { "overrideAllowed", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, overrideAllowed), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, id), NULL, NULL, NULL},
- { "itemID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefModifyItem, itemID), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefModifyItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ModifyItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_modify_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefModifyItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefModifyItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2SubsRefModifyItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_modify_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefModifyItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefModifyItem object
- **/
-LassoIdWsf2SubsRefModifyItem*
-lasso_idwsf2_subsref_modify_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify_item.h b/lasso/xml/id-wsf-2.0/subsref_modify_item.h
deleted file mode 100644
index e152767f..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify_item.h
+++ /dev/null
@@ -1,87 +0,0 @@
-/* $Id: subsref_modify_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_H__
-#define __LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_app_data.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM (lasso_idwsf2_subsref_modify_item_get_type())
-#define LASSO_IDWSF2_SUBSREF_MODIFY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM, \
- LassoIdWsf2SubsRefModifyItem))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM, \
- LassoIdWsf2SubsRefModifyItemClass))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_ITEM, \
- LassoIdWsf2SubsRefModifyItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefModifyItem LassoIdWsf2SubsRefModifyItem;
-typedef struct _LassoIdWsf2SubsRefModifyItemClass LassoIdWsf2SubsRefModifyItemClass;
-
-
-struct _LassoIdWsf2SubsRefModifyItem {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Select;
- /* XXX */ void *NewData;
- /* attributes */
- char *notChangedSince;
- gboolean overrideAllowed;
- char *id;
- char *itemID;
-};
-
-
-struct _LassoIdWsf2SubsRefModifyItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_modify_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefModifyItem* lasso_idwsf2_subsref_modify_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_MODIFY_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify_response.c b/lasso/xml/id-wsf-2.0/subsref_modify_response.c
deleted file mode 100644
index b0de69af..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: subsref_modify_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_modify_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_modify_response
- * @short_description: <subsref:ModifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2SubsRefModifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ModifyResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_modify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefModifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefModifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBSREF_DATA_RESPONSE,
- "LassoIdWsf2SubsRefModifyResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_modify_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefModifyResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefModifyResponse object
- **/
-LassoIdWsf2SubsRefModifyResponse*
-lasso_idwsf2_subsref_modify_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_modify_response.h b/lasso/xml/id-wsf-2.0/subsref_modify_response.h
deleted file mode 100644
index 1058a8ba..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_modify_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: subsref_modify_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_data_response.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE \
- (lasso_idwsf2_subsref_modify_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE, \
- LassoIdWsf2SubsRefModifyResponse))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE, \
- LassoIdWsf2SubsRefModifyResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_MODIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_MODIFY_RESPONSE, \
- LassoIdWsf2SubsRefModifyResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefModifyResponse LassoIdWsf2SubsRefModifyResponse;
-typedef struct _LassoIdWsf2SubsRefModifyResponseClass LassoIdWsf2SubsRefModifyResponseClass;
-
-
-struct _LassoIdWsf2SubsRefModifyResponse {
- LassoIdWsf2SubsRefDataResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2SubsRefModifyResponseClass {
- LassoIdWsf2SubsRefDataResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_modify_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefModifyResponse* lasso_idwsf2_subsref_modify_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_MODIFY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_notification.c b/lasso/xml/id-wsf-2.0/subsref_notification.c
deleted file mode 100644
index 35b6867a..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notification.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: subsref_notification.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_notification.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_notification
- * @short_description: <subsref:Notification>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ItemData", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefNotification, ItemData), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefNotificationClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Notification");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_notification_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefNotificationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefNotification),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBS_NOTIFICATION,
- "LassoIdWsf2SubsRefNotification", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_notification_new:
- *
- * Creates a new #LassoIdWsf2SubsRefNotification object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefNotification object
- **/
-LassoIdWsf2SubsRefNotification*
-lasso_idwsf2_subsref_notification_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_notification.h b/lasso/xml/id-wsf-2.0/subsref_notification.h
deleted file mode 100644
index 5d60378a..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notification.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: subsref_notification.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_NOTIFICATION_H__
-#define __LASSO_IDWSF2_SUBSREF_NOTIFICATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_notification.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION \
- (lasso_idwsf2_subsref_notification_get_type())
-#define LASSO_IDWSF2_SUBSREF_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION, \
- LassoIdWsf2SubsRefNotification))
-#define LASSO_IDWSF2_SUBSREF_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION, \
- LassoIdWsf2SubsRefNotificationClass))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFICATION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFICATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION))
-#define LASSO_IDWSF2_SUBSREF_NOTIFICATION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFICATION, \
- LassoIdWsf2SubsRefNotificationClass))
-
-
-typedef struct _LassoIdWsf2SubsRefNotification LassoIdWsf2SubsRefNotification;
-typedef struct _LassoIdWsf2SubsRefNotificationClass LassoIdWsf2SubsRefNotificationClass;
-
-
-struct _LassoIdWsf2SubsRefNotification {
- LassoIdWsf2SubsNotification parent;
-
- /*< public >*/
- /* elements */
- GList *ItemData; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefNotificationClass {
- LassoIdWsf2SubsNotificationClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_notification_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefNotification* lasso_idwsf2_subsref_notification_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_NOTIFICATION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_notify.c b/lasso/xml/id-wsf-2.0/subsref_notify.c
deleted file mode 100644
index 97e20eca..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notify.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: subsref_notify.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_notify.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_notify
- * @short_description: <subsref:Notify>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Notification", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefNotify, Notification), NULL, NULL, NULL},
- { "timeStamp", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefNotify, timeStamp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefNotifyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Notify");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_notify_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefNotifyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefNotify),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2SubsRefNotify", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_notify_new:
- *
- * Creates a new #LassoIdWsf2SubsRefNotify object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefNotify object
- **/
-LassoIdWsf2SubsRefNotify*
-lasso_idwsf2_subsref_notify_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_notify.h b/lasso/xml/id-wsf-2.0/subsref_notify.h
deleted file mode 100644
index 2182c338..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notify.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_notify.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_NOTIFY_H__
-#define __LASSO_IDWSF2_SUBSREF_NOTIFY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY (lasso_idwsf2_subsref_notify_get_type())
-#define LASSO_IDWSF2_SUBSREF_NOTIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY, \
- LassoIdWsf2SubsRefNotify))
-#define LASSO_IDWSF2_SUBSREF_NOTIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY, \
- LassoIdWsf2SubsRefNotifyClass))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY))
-#define LASSO_IDWSF2_SUBSREF_NOTIFY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY, \
- LassoIdWsf2SubsRefNotifyClass))
-
-
-typedef struct _LassoIdWsf2SubsRefNotify LassoIdWsf2SubsRefNotify;
-typedef struct _LassoIdWsf2SubsRefNotifyClass LassoIdWsf2SubsRefNotifyClass;
-
-
-struct _LassoIdWsf2SubsRefNotify {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *Notification; /* of LassoNode */
- /* attributes */
- char *timeStamp;
-};
-
-
-struct _LassoIdWsf2SubsRefNotifyClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_notify_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefNotify* lasso_idwsf2_subsref_notify_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_NOTIFY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_notify_response.c b/lasso/xml/id-wsf-2.0/subsref_notify_response.c
deleted file mode 100644
index 4ec69dfd..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notify_response.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id: subsref_notify_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_notify_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_notify_response
- * @short_description: <subsref:NotifyResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2SubsRefNotifyResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "NotifyResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_notify_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefNotifyResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefNotifyResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBS_NOTIFY_RESPONSE,
- "LassoIdWsf2SubsRefNotifyResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_notify_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefNotifyResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefNotifyResponse object
- **/
-LassoIdWsf2SubsRefNotifyResponse*
-lasso_idwsf2_subsref_notify_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_notify_response.h b/lasso/xml/id-wsf-2.0/subsref_notify_response.h
deleted file mode 100644
index 1f30a628..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_notify_response.h
+++ /dev/null
@@ -1,80 +0,0 @@
-/* $Id: subsref_notify_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_notify_response.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE \
- (lasso_idwsf2_subsref_notify_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsRefNotifyResponse))
-#define LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsRefNotifyResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_NOTIFY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_NOTIFY_RESPONSE, \
- LassoIdWsf2SubsRefNotifyResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefNotifyResponse LassoIdWsf2SubsRefNotifyResponse;
-typedef struct _LassoIdWsf2SubsRefNotifyResponseClass LassoIdWsf2SubsRefNotifyResponseClass;
-
-
-struct _LassoIdWsf2SubsRefNotifyResponse {
- LassoIdWsf2SubsNotifyResponse parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2SubsRefNotifyResponseClass {
- LassoIdWsf2SubsNotifyResponseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_notify_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefNotifyResponse* lasso_idwsf2_subsref_notify_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_NOTIFY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_query.c b/lasso/xml/id-wsf-2.0/subsref_query.c
deleted file mode 100644
index ca23a078..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: subsref_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_query
- * @short_description: <subsref:Query>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQuery, TestItem), NULL, NULL, NULL},
- { "QueryItem", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQuery, QueryItem), NULL, NULL, NULL},
- { "Subscription", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQuery, Subscription), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Query");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_REQUEST,
- "LassoIdWsf2SubsRefQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_query_new:
- *
- * Creates a new #LassoIdWsf2SubsRefQuery object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefQuery object
- **/
-LassoIdWsf2SubsRefQuery*
-lasso_idwsf2_subsref_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_query.h b/lasso/xml/id-wsf-2.0/subsref_query.h
deleted file mode 100644
index c86c7ca7..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_QUERY_H__
-#define __LASSO_IDWSF2_SUBSREF_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_request.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_QUERY (lasso_idwsf2_subsref_query_get_type())
-#define LASSO_IDWSF2_SUBSREF_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY, \
- LassoIdWsf2SubsRefQuery))
-#define LASSO_IDWSF2_SUBSREF_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY, \
- LassoIdWsf2SubsRefQueryClass))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY))
-#define LASSO_IDWSF2_SUBSREF_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY, \
- LassoIdWsf2SubsRefQueryClass))
-
-
-typedef struct _LassoIdWsf2SubsRefQuery LassoIdWsf2SubsRefQuery;
-typedef struct _LassoIdWsf2SubsRefQueryClass LassoIdWsf2SubsRefQueryClass;
-
-
-struct _LassoIdWsf2SubsRefQuery {
- LassoIdWsf2DstRequest parent;
-
- /*< public >*/
- /* elements */
- GList *TestItem; /* of LassoNode */
- GList *QueryItem; /* of LassoNode */
- GList *Subscription; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefQueryClass {
- LassoIdWsf2DstRequestClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefQuery* lasso_idwsf2_subsref_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_query_item.c b/lasso/xml/id-wsf-2.0/subsref_query_item.c
deleted file mode 100644
index bb96e5ce..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query_item.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id: subsref_query_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_query_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_query_item
- * @short_description: <subsref:QueryItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "count", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryItem, count), NULL, NULL, NULL},
- { "offset", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_OPTIONAL_NEG,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryItem, offset), NULL, NULL, NULL},
- { "setID", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryItem, setID), NULL, NULL, NULL},
- { "setReq", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryItem, setReq), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2SubsRefQueryItem *node)
-{
- node->count = -1;
- node->offset = -1;
-}
-
-static void
-class_init(LassoIdWsf2SubsRefQueryItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_query_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefQueryItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefQueryItem),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY,
- "LassoIdWsf2SubsRefQueryItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_query_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefQueryItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefQueryItem object
- **/
-LassoIdWsf2SubsRefQueryItem*
-lasso_idwsf2_subsref_query_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_query_item.h b/lasso/xml/id-wsf-2.0/subsref_query_item.h
deleted file mode 100644
index 6c5629f5..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query_item.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: subsref_query_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_QUERY_ITEM_H__
-#define __LASSO_IDWSF2_SUBSREF_QUERY_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subsref_result_query.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM (lasso_idwsf2_subsref_query_item_get_type())
-#define LASSO_IDWSF2_SUBSREF_QUERY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM, \
- LassoIdWsf2SubsRefQueryItem))
-#define LASSO_IDWSF2_SUBSREF_QUERY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM, \
- LassoIdWsf2SubsRefQueryItemClass))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM))
-#define LASSO_IDWSF2_SUBSREF_QUERY_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_ITEM, \
- LassoIdWsf2SubsRefQueryItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefQueryItem LassoIdWsf2SubsRefQueryItem;
-typedef struct _LassoIdWsf2SubsRefQueryItemClass LassoIdWsf2SubsRefQueryItemClass;
-
-
-struct _LassoIdWsf2SubsRefQueryItem {
- LassoIdWsf2SubsRefResultQuery parent;
-
- /*< public >*/
- /* attributes */
- int count;
- int offset;
- char *setID;
- char *setReq;
-};
-
-
-struct _LassoIdWsf2SubsRefQueryItemClass {
- LassoIdWsf2SubsRefResultQueryClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_query_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefQueryItem* lasso_idwsf2_subsref_query_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_QUERY_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_query_response.c b/lasso/xml/id-wsf-2.0/subsref_query_response.c
deleted file mode 100644
index b6de3f11..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query_response.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: subsref_query_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_query_response.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_query_response
- * @short_description: <subsref:QueryResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestResult", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryResponse, TestResult),
- "LassoIdWsf2UtilTestResult", LASSO_IDWSF2_UTIL_PREFIX, LASSO_IDWSF2_UTIL_HREF},
- { "Data", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefQueryResponse, Data), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefQueryResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "QueryResponse");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_query_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefQueryResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefQueryResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_DATA_RESPONSE_BASE,
- "LassoIdWsf2SubsRefQueryResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_query_response_new:
- *
- * Creates a new #LassoIdWsf2SubsRefQueryResponse object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefQueryResponse object
- **/
-LassoIdWsf2SubsRefQueryResponse*
-lasso_idwsf2_subsref_query_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_query_response.h b/lasso/xml/id-wsf-2.0/subsref_query_response.h
deleted file mode 100644
index a1de7db9..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_query_response.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_query_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_H__
-#define __LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_data_response_base.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE \
- (lasso_idwsf2_subsref_query_response_get_type())
-#define LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE, \
- LassoIdWsf2SubsRefQueryResponse))
-#define LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE, \
- LassoIdWsf2SubsRefQueryResponseClass))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE))
-#define LASSO_IS_IDWSF2_SUBSREF_QUERY_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE))
-#define LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_QUERY_RESPONSE, \
- LassoIdWsf2SubsRefQueryResponseClass))
-
-
-typedef struct _LassoIdWsf2SubsRefQueryResponse LassoIdWsf2SubsRefQueryResponse;
-typedef struct _LassoIdWsf2SubsRefQueryResponseClass LassoIdWsf2SubsRefQueryResponseClass;
-
-
-struct _LassoIdWsf2SubsRefQueryResponse {
- LassoIdWsf2DstDataResponseBase parent;
-
- /*< public >*/
- /* elements */
- GList *TestResult; /* of LassoNode */
- GList *Data; /* of LassoNode */
-};
-
-
-struct _LassoIdWsf2SubsRefQueryResponseClass {
- LassoIdWsf2DstDataResponseBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_query_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefQueryResponse* lasso_idwsf2_subsref_query_response_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_QUERY_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_result_query.c b/lasso/xml/id-wsf-2.0/subsref_result_query.c
deleted file mode 100644
index 86ff279c..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_result_query.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: subsref_result_query.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_result_query.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_result_query
- * @short_description: <subsref:ResultQuery>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Select", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefResultQuery, Select), NULL, NULL, NULL},
- { "Sort", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefResultQuery, Sort), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefResultQueryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResultQuery");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_result_query_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefResultQueryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefResultQuery),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_RESULT_QUERY_BASE,
- "LassoIdWsf2SubsRefResultQuery", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_result_query_new:
- *
- * Creates a new #LassoIdWsf2SubsRefResultQuery object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefResultQuery object
- **/
-LassoIdWsf2SubsRefResultQuery*
-lasso_idwsf2_subsref_result_query_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_result_query.h b/lasso/xml/id-wsf-2.0/subsref_result_query.h
deleted file mode 100644
index a02ee4f6..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_result_query.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: subsref_result_query.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_RESULT_QUERY_H__
-#define __LASSO_IDWSF2_SUBSREF_RESULT_QUERY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_result_query_base.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY \
- (lasso_idwsf2_subsref_result_query_get_type())
-#define LASSO_IDWSF2_SUBSREF_RESULT_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY, \
- LassoIdWsf2SubsRefResultQuery))
-#define LASSO_IDWSF2_SUBSREF_RESULT_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY, \
- LassoIdWsf2SubsRefResultQueryClass))
-#define LASSO_IS_IDWSF2_SUBSREF_RESULT_QUERY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY))
-#define LASSO_IS_IDWSF2_SUBSREF_RESULT_QUERY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY))
-#define LASSO_IDWSF2_SUBSREF_RESULT_QUERY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_RESULT_QUERY, \
- LassoIdWsf2SubsRefResultQueryClass))
-
-
-typedef struct _LassoIdWsf2SubsRefResultQuery LassoIdWsf2SubsRefResultQuery;
-typedef struct _LassoIdWsf2SubsRefResultQueryClass LassoIdWsf2SubsRefResultQueryClass;
-
-
-struct _LassoIdWsf2SubsRefResultQuery {
- LassoIdWsf2DstResultQueryBase parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *Select;
- /* XXX */ void *Sort;
-};
-
-
-struct _LassoIdWsf2SubsRefResultQueryClass {
- LassoIdWsf2DstResultQueryBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_result_query_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefResultQuery* lasso_idwsf2_subsref_result_query_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_RESULT_QUERY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_subscription.c b/lasso/xml/id-wsf-2.0/subsref_subscription.c
deleted file mode 100644
index 0fc25434..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_subscription.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: subsref_subscription.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_subscription.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_subscription
- * @short_description: <subsref:Subscription>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResultQuery", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefSubscription, ResultQuery), NULL, NULL, NULL},
- { "Aggregation", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefSubscription, Aggregation), NULL, NULL, NULL},
- { "Trigger", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefSubscription, Trigger), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefSubscriptionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Subscription");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_subscription_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefSubscriptionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefSubscription),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_SUBS_SUBSCRIPTION,
- "LassoIdWsf2SubsRefSubscription", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_subscription_new:
- *
- * Creates a new #LassoIdWsf2SubsRefSubscription object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefSubscription object
- **/
-LassoIdWsf2SubsRefSubscription*
-lasso_idwsf2_subsref_subscription_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_subscription.h b/lasso/xml/id-wsf-2.0/subsref_subscription.h
deleted file mode 100644
index 65d49e4b..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_subscription.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: subsref_subscription.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__
-#define __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "subs_subscription.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION \
- (lasso_idwsf2_subsref_subscription_get_type())
-#define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \
- LassoIdWsf2SubsRefSubscription))
-#define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \
- LassoIdWsf2SubsRefSubscriptionClass))
-#define LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION))
-#define LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION))
-#define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \
- LassoIdWsf2SubsRefSubscriptionClass))
-
-
-typedef struct _LassoIdWsf2SubsRefSubscription LassoIdWsf2SubsRefSubscription;
-typedef struct _LassoIdWsf2SubsRefSubscriptionClass LassoIdWsf2SubsRefSubscriptionClass;
-
-
-struct _LassoIdWsf2SubsRefSubscription {
- LassoIdWsf2SubsSubscription parent;
-
- /*< public >*/
- /* elements */
- GList *ResultQuery; /* of LassoNode */
- /* XXX */ void *Aggregation;
- /* XXX */ void *Trigger;
-};
-
-
-struct _LassoIdWsf2SubsRefSubscriptionClass {
- LassoIdWsf2SubsSubscriptionClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_subscription_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefSubscription* lasso_idwsf2_subsref_subscription_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/subsref_test_item.c b/lasso/xml/id-wsf-2.0/subsref_test_item.c
deleted file mode 100644
index d4b31583..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_test_item.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: subsref_test_item.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "subsref_test_item.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:subsref_test_item
- * @short_description: <subsref:TestItem>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "TestOp", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2SubsRefTestItem, TestOp), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2SubsRefTestItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TestItem");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_SUBSREF_HREF, LASSO_IDWSF2_SUBSREF_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_subsref_test_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2SubsRefTestItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2SubsRefTestItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_IDWSF2_DST_TEST_ITEM_BASE,
- "LassoIdWsf2SubsRefTestItem", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_subsref_test_item_new:
- *
- * Creates a new #LassoIdWsf2SubsRefTestItem object.
- *
- * Return value: a newly created #LassoIdWsf2SubsRefTestItem object
- **/
-LassoIdWsf2SubsRefTestItem*
-lasso_idwsf2_subsref_test_item_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/subsref_test_item.h b/lasso/xml/id-wsf-2.0/subsref_test_item.h
deleted file mode 100644
index 20fcd887..00000000
--- a/lasso/xml/id-wsf-2.0/subsref_test_item.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: subsref_test_item.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_SUBSREF_TEST_ITEM_H__
-#define __LASSO_IDWSF2_SUBSREF_TEST_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "dst_test_item_base.h"
-
-#define LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM (lasso_idwsf2_subsref_test_item_get_type())
-#define LASSO_IDWSF2_SUBSREF_TEST_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM, \
- LassoIdWsf2SubsRefTestItem))
-#define LASSO_IDWSF2_SUBSREF_TEST_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM, \
- LassoIdWsf2SubsRefTestItemClass))
-#define LASSO_IS_IDWSF2_SUBSREF_TEST_ITEM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM))
-#define LASSO_IS_IDWSF2_SUBSREF_TEST_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM))
-#define LASSO_IDWSF2_SUBSREF_TEST_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_SUBSREF_TEST_ITEM, \
- LassoIdWsf2SubsRefTestItemClass))
-
-
-typedef struct _LassoIdWsf2SubsRefTestItem LassoIdWsf2SubsRefTestItem;
-typedef struct _LassoIdWsf2SubsRefTestItemClass LassoIdWsf2SubsRefTestItemClass;
-
-
-struct _LassoIdWsf2SubsRefTestItem {
- LassoIdWsf2DstTestItemBase parent;
-
- /*< public >*/
- /* elements */
- /* XXX */ void *TestOp;
-};
-
-
-struct _LassoIdWsf2SubsRefTestItemClass {
- LassoIdWsf2DstTestItemBaseClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_subsref_test_item_get_type(void);
-LASSO_EXPORT LassoIdWsf2SubsRefTestItem* lasso_idwsf2_subsref_test_item_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_SUBSREF_TEST_ITEM_H__ */
diff --git a/lasso/xml/id-wsf-2.0/util_empty.c b/lasso/xml/id-wsf-2.0/util_empty.c
deleted file mode 100644
index 5b26fd1e..00000000
--- a/lasso/xml/id-wsf-2.0/util_empty.c
+++ /dev/null
@@ -1,111 +0,0 @@
-/* $Id: util_empty.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "util_empty.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:util_empty
- * @short_description: <util:Empty>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2UtilEmptyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Empty");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_UTIL_HREF, LASSO_IDWSF2_UTIL_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_util_empty_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2UtilEmptyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2UtilEmpty),
- 0,
- NULL,
- NULL,
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2UtilEmpty", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_util_empty_new:
- *
- * Creates a new #LassoIdWsf2UtilEmpty object.
- *
- * Return value: a newly created #LassoIdWsf2UtilEmpty object
- **/
-LassoIdWsf2UtilEmpty*
-lasso_idwsf2_util_empty_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_UTIL_EMPTY, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/util_empty.h b/lasso/xml/id-wsf-2.0/util_empty.h
deleted file mode 100644
index b78dfbda..00000000
--- a/lasso/xml/id-wsf-2.0/util_empty.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id: util_empty.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_UTIL_EMPTY_H__
-#define __LASSO_IDWSF2_UTIL_EMPTY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_UTIL_EMPTY (lasso_idwsf2_util_empty_get_type())
-#define LASSO_IDWSF2_UTIL_EMPTY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_UTIL_EMPTY, \
- LassoIdWsf2UtilEmpty))
-#define LASSO_IDWSF2_UTIL_EMPTY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_UTIL_EMPTY, \
- LassoIdWsf2UtilEmptyClass))
-#define LASSO_IS_IDWSF2_UTIL_EMPTY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_UTIL_EMPTY))
-#define LASSO_IS_IDWSF2_UTIL_EMPTY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_UTIL_EMPTY))
-#define LASSO_IDWSF2_UTIL_EMPTY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_UTIL_EMPTY, \
- LassoIdWsf2UtilEmptyClass))
-
-
-typedef struct _LassoIdWsf2UtilEmpty LassoIdWsf2UtilEmpty;
-typedef struct _LassoIdWsf2UtilEmptyClass LassoIdWsf2UtilEmptyClass;
-
-
-struct _LassoIdWsf2UtilEmpty {
- LassoNode parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2UtilEmptyClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_util_empty_get_type(void);
-LASSO_EXPORT LassoIdWsf2UtilEmpty* lasso_idwsf2_util_empty_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_UTIL_EMPTY_H__ */
diff --git a/lasso/xml/id-wsf-2.0/util_extension.c b/lasso/xml/id-wsf-2.0/util_extension.c
deleted file mode 100644
index e16c9ff5..00000000
--- a/lasso/xml/id-wsf-2.0/util_extension.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id: util_extension.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "util_extension.h"
-#include "idwsf2_strings.h"
-
-/**
- * SECTION:util_extension
- * @short_description: <util:extension>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoIdWsf2UtilextensionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "extension");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_UTIL_HREF, LASSO_IDWSF2_UTIL_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_util_extension_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2UtilextensionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2Utilextension),
- 0,
- NULL,
- NULL,
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2Utilextension", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_util_extension_new:
- *
- * Creates a new #LassoIdWsf2Utilextension object.
- *
- * Return value: a newly created #LassoIdWsf2Utilextension object
- **/
-LassoIdWsf2Utilextension*
-lasso_idwsf2_util_extension_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_UTIL_EXTENSION, NULL);
-}
diff --git a/lasso/xml/id-wsf-2.0/util_extension.h b/lasso/xml/id-wsf-2.0/util_extension.h
deleted file mode 100644
index 51500799..00000000
--- a/lasso/xml/id-wsf-2.0/util_extension.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/* $Id: util_extension.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_UTIL_EXTENSION_H__
-#define __LASSO_IDWSF2_UTIL_EXTENSION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_UTIL_EXTENSION (lasso_idwsf2_util_extension_get_type())
-#define LASSO_IDWSF2_UTIL_EXTENSION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_UTIL_EXTENSION, \
- LassoIdWsf2Utilextension))
-#define LASSO_IDWSF2_UTIL_EXTENSION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_UTIL_EXTENSION, \
- LassoIdWsf2UtilextensionClass))
-#define LASSO_IS_IDWSF2_UTIL_EXTENSION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_UTIL_EXTENSION))
-#define LASSO_IS_IDWSF2_UTIL_EXTENSION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_UTIL_EXTENSION))
-#define LASSO_IDWSF2_UTIL_EXTENSION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_UTIL_EXTENSION, \
- LassoIdWsf2UtilextensionClass))
-
-
-typedef struct _LassoIdWsf2Utilextension LassoIdWsf2Utilextension;
-typedef struct _LassoIdWsf2UtilextensionClass LassoIdWsf2UtilextensionClass;
-
-
-struct _LassoIdWsf2Utilextension {
- LassoNode parent;
-
- /*< public >*/
-};
-
-
-struct _LassoIdWsf2UtilextensionClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_util_extension_get_type(void);
-LASSO_EXPORT LassoIdWsf2Utilextension* lasso_idwsf2_util_extension_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_UTIL_EXTENSION_H__ */
diff --git a/lasso/xml/id-wsf-2.0/util_response.c b/lasso/xml/id-wsf-2.0/util_response.c
deleted file mode 100644
index e8c1c4ef..00000000
--- a/lasso/xml/id-wsf-2.0/util_response.c
+++ /dev/null
@@ -1,183 +0,0 @@
-/* $Id: util_response.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "util_response.h"
-#include "idwsf2_strings.h"
-#include "../../utils.h"
-
-/**
- * SECTION:util_response
- * @short_description: <util:Response>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIdWsf2UtilResponse, Status),
- "LassoIdWsf2UtilStatus", NULL, NULL },
- { "Extension", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2UtilResponse, Extension),
- "LassoIdWsf2Utilextension", NULL, NULL },
- { "itemIDRef", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2UtilResponse, itemIDRef), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoIdWsf2UtilResponse, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIdWsf2UtilResponse *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoIdWsf2UtilResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Response");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_UTIL_HREF, LASSO_IDWSF2_UTIL_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_util_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2UtilResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2UtilResponse),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2UtilResponse", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_util_response_new:
- *
- * Creates a new #LassoIdWsf2UtilResponse object.
- *
- * Return value: a newly created #LassoIdWsf2UtilResponse object
- **/
-LassoIdWsf2UtilResponse*
-lasso_idwsf2_util_response_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_UTIL_RESPONSE, NULL);
-}
-
-/**
- * lasso_idwsf2_util_response_set_status:
- * @idwsf2_util_response: a #LassoIdWsf2UtilResponse object
- * @status: a status code identifier
- *
- * Set the first level status code and no second level status code.
- */
-void
-lasso_idwsf2_util_response_set_status(LassoIdWsf2UtilResponse *idwsf2_util_response,
- const char *status)
-{
- LassoIdWsf2UtilStatus *idwsf2_util_status;
-
- if (! LASSO_IS_IDWSF2_UTIL_RESPONSE(idwsf2_util_response))
- return;
- if (status == NULL || status[0] == '\0')
- return;
-
- idwsf2_util_status = lasso_idwsf2_util_status_new();
- lasso_assign_string(idwsf2_util_status->code, status);
- lasso_assign_new_gobject(idwsf2_util_response->Status, idwsf2_util_status);
-}
-
-void
-lasso_idwsf2_util_response_set_status2(LassoIdWsf2UtilResponse *idwsf2_util_response,
- const char *status, const char *status2)
-{
- LassoIdWsf2UtilStatus *idwsf2_util_status = NULL;
- LassoIdWsf2UtilStatus *idwsf2_util_status2 = NULL;
-
- if (! LASSO_IS_IDWSF2_UTIL_RESPONSE(idwsf2_util_response))
- return;
- if (status2 == NULL || status2[0] == '\0')
- return;
-
- if (status) {
- idwsf2_util_status = lasso_idwsf2_util_status_new();
- lasso_assign_string(idwsf2_util_status->code, status);
- } else {
- if (LASSO_IS_IDWSF2_UTIL_STATUS(idwsf2_util_response->Status)) {
- idwsf2_util_status = idwsf2_util_response->Status;
- } else {
- return;
- }
- }
-
- if (idwsf2_util_status) {
- idwsf2_util_status2 = lasso_idwsf2_util_status_new();
- lasso_assign_string(idwsf2_util_status2->code, status2);
- lasso_list_add_new_gobject(idwsf2_util_status->Status, idwsf2_util_status2);
- lasso_assign_new_gobject(idwsf2_util_response->Status, idwsf2_util_status);
- }
-}
diff --git a/lasso/xml/id-wsf-2.0/util_response.h b/lasso/xml/id-wsf-2.0/util_response.h
deleted file mode 100644
index 409402f7..00000000
--- a/lasso/xml/id-wsf-2.0/util_response.h
+++ /dev/null
@@ -1,89 +0,0 @@
-/* $Id: util_response.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_UTIL_RESPONSE_H__
-#define __LASSO_IDWSF2_UTIL_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "util_status.h"
-
-#define LASSO_TYPE_IDWSF2_UTIL_RESPONSE (lasso_idwsf2_util_response_get_type())
-#define LASSO_IDWSF2_UTIL_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_UTIL_RESPONSE, \
- LassoIdWsf2UtilResponse))
-#define LASSO_IDWSF2_UTIL_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_UTIL_RESPONSE, \
- LassoIdWsf2UtilResponseClass))
-#define LASSO_IS_IDWSF2_UTIL_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_UTIL_RESPONSE))
-#define LASSO_IS_IDWSF2_UTIL_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_UTIL_RESPONSE))
-#define LASSO_IDWSF2_UTIL_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_UTIL_RESPONSE, \
- LassoIdWsf2UtilResponseClass))
-
-
-typedef struct _LassoIdWsf2UtilResponse LassoIdWsf2UtilResponse;
-typedef struct _LassoIdWsf2UtilResponseClass LassoIdWsf2UtilResponseClass;
-
-
-struct _LassoIdWsf2UtilResponse {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoIdWsf2UtilStatus *Status;
- GList *Extension; /* of LassoIdWsf2Utilextension */
- /* attributes */
- char *itemIDRef;
- GHashTable *attributes;
-};
-
-
-struct _LassoIdWsf2UtilResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_util_response_get_type(void);
-LASSO_EXPORT LassoIdWsf2UtilResponse* lasso_idwsf2_util_response_new(void);
-LASSO_EXPORT void lasso_idwsf2_util_response_set_status(
- LassoIdWsf2UtilResponse *idwsf2_util_response, const char *status);
-LASSO_EXPORT void lasso_idwsf2_util_response_set_status2(
- LassoIdWsf2UtilResponse *idwsf2_util_response, const char *status, const char *status2);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_UTIL_RESPONSE_H__ */
diff --git a/lasso/xml/id-wsf-2.0/util_status.c b/lasso/xml/id-wsf-2.0/util_status.c
deleted file mode 100644
index 88a3e9ca..00000000
--- a/lasso/xml/id-wsf-2.0/util_status.c
+++ /dev/null
@@ -1,153 +0,0 @@
-/* $Id: util_status.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "util_status.h"
-#include "idwsf2_strings.h"
-#include "../../utils.h"
-
-/**
- * SECTION:util_status
- * @short_description: <util:Status>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIdWsf2UtilStatus, Status),
- "LassoIdWsf2UtilStatus", NULL, NULL },
- { "code", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIdWsf2UtilStatus, code), NULL, NULL, NULL},
- { "ref", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2UtilStatus, ref), NULL, NULL, NULL},
- { "comment", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIdWsf2UtilStatus, comment), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIdWsf2UtilStatusClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Status");
- lasso_node_class_set_ns(nclass, LASSO_IDWSF2_UTIL_HREF, LASSO_IDWSF2_UTIL_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_idwsf2_util_status_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIdWsf2UtilStatusClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIdWsf2UtilStatus),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIdWsf2UtilStatus", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_idwsf2_util_status_new:
- *
- * Creates a new #LassoIdWsf2UtilStatus object.
- *
- * Return value: a newly created #LassoIdWsf2UtilStatus object
- **/
-LassoIdWsf2UtilStatus*
-lasso_idwsf2_util_status_new()
-{
- return g_object_new(LASSO_TYPE_IDWSF2_UTIL_STATUS, NULL);
-}
-
-
-/**
- * lasso_idwsf2_util_status_new_with_code:
- * @code1: first level code
- * @code2: second level code
- *
- * Creates a new #LassoIdWsf2UtilStatus containing code1 and if code2 is not-NULL a nested
- * #LassoIdWsf2UtilStatus containing code2.
- *
- * Return value: a newly created #LassoIdWsf2UtilStatus object
- **/
-LassoIdWsf2UtilStatus*
-lasso_idwsf2_util_status_new_with_code(const gchar *code1, const gchar *code2)
-{
- LassoIdWsf2UtilStatus *status1 = lasso_idwsf2_util_status_new();
-
- lasso_assign_string(status1->code, code1);
- if (code2 != NULL) {
- LassoIdWsf2UtilStatus *status2 = lasso_idwsf2_util_status_new();
- lasso_assign_string(status2->code, code2);
- lasso_list_add_gobject(status1->Status, status2);
- }
-
- return status1;
-}
diff --git a/lasso/xml/id-wsf-2.0/util_status.h b/lasso/xml/id-wsf-2.0/util_status.h
deleted file mode 100644
index 5a52e08e..00000000
--- a/lasso/xml/id-wsf-2.0/util_status.h
+++ /dev/null
@@ -1,85 +0,0 @@
-/* $Id: util_status.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IDWSF2_UTIL_STATUS_H__
-#define __LASSO_IDWSF2_UTIL_STATUS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_IDWSF2_UTIL_STATUS (lasso_idwsf2_util_status_get_type())
-#define LASSO_IDWSF2_UTIL_STATUS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_IDWSF2_UTIL_STATUS, \
- LassoIdWsf2UtilStatus))
-#define LASSO_IDWSF2_UTIL_STATUS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IDWSF2_UTIL_STATUS, \
- LassoIdWsf2UtilStatusClass))
-#define LASSO_IS_IDWSF2_UTIL_STATUS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_IDWSF2_UTIL_STATUS))
-#define LASSO_IS_IDWSF2_UTIL_STATUS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_IDWSF2_UTIL_STATUS))
-#define LASSO_IDWSF2_UTIL_STATUS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_IDWSF2_UTIL_STATUS, \
- LassoIdWsf2UtilStatusClass))
-
-
-typedef struct _LassoIdWsf2UtilStatus LassoIdWsf2UtilStatus;
-typedef struct _LassoIdWsf2UtilStatusClass LassoIdWsf2UtilStatusClass;
-
-
-struct _LassoIdWsf2UtilStatus {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *Status; /* of LassoIdWsf2UtilStatus */
- /* attributes */
- char *code;
- char *ref;
- char *comment;
-};
-
-
-struct _LassoIdWsf2UtilStatusClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_idwsf2_util_status_get_type(void);
-LASSO_EXPORT LassoIdWsf2UtilStatus* lasso_idwsf2_util_status_new(void);
-LASSO_EXPORT LassoIdWsf2UtilStatus* lasso_idwsf2_util_status_new_with_code(const gchar *code1, const gchar *code2);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IDWSF2_UTIL_STATUS_H__ */
diff --git a/lasso/xml/id-wsf-2.0/xml_idwsf2.h b/lasso/xml/id-wsf-2.0/xml_idwsf2.h
deleted file mode 100644
index 4c5b7cf5..00000000
--- a/lasso/xml/id-wsf-2.0/xml_idwsf2.h
+++ /dev/null
@@ -1,164 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_XML_IDWSF2_H__
-#define __LASSO_XML_IDWSF2_H__
-
-#include "disco_abstract.h"
-#include "disco_endpoint_context.h"
-#include "disco_keys.h"
-#include "disco_options.h"
-#include "disco_provider_id.h"
-#include "disco_query.h"
-#include "disco_query_response.h"
-#include "disco_requested_service.h"
-#include "disco_security_context.h"
-#include "disco_service_context.h"
-#include "disco_service_type.h"
-#include "disco_svc_md_association_add.h"
-#include "disco_svc_md_association_add_response.h"
-#include "disco_svc_md_association_delete.h"
-#include "disco_svc_md_association_delete_response.h"
-#include "disco_svc_md_association_query.h"
-#include "disco_svc_md_association_query_response.h"
-#include "disco_svc_md_delete.h"
-#include "disco_svc_md_delete_response.h"
-#include "disco_svc_md_query.h"
-#include "disco_svc_md_query_response.h"
-#include "disco_svc_md_register.h"
-#include "disco_svc_md_register_response.h"
-#include "disco_svc_md_replace.h"
-#include "disco_svc_md_replace_response.h"
-#include "disco_svc_metadata.h"
-#include "dst_data_response_base.h"
-#include "dst_delete_item_base.h"
-#include "dst_delete_response.h"
-#include "dstref_app_data.h"
-#include "dstref_create.h"
-#include "dstref_create_item.h"
-#include "dstref_create_response.h"
-#include "dstref_data.h"
-#include "dstref_data_response.h"
-#include "dstref_delete.h"
-#include "dstref_delete_item.h"
-#include "dstref_delete_response.h"
-#include "dstref_item_data.h"
-#include "dstref_modify.h"
-#include "dstref_modify_item.h"
-#include "dstref_modify_response.h"
-#include "dstref_query.h"
-#include "dstref_query_item.h"
-#include "dstref_query_response.h"
-#include "dstref_result_query.h"
-#include "dstref_test_item.h"
-#include "dst_request.h"
-#include "dst_result_query_base.h"
-#include "dst_test_item_base.h"
-#include "ims_identity_mapping_request.h"
-#include "ims_identity_mapping_response.h"
-#include "ims_mapping_input.h"
-#include "ims_mapping_output.h"
-#include "is_help.h"
-#include "is_inquiry_element.h"
-#include "is_inquiry.h"
-#include "is_interaction_request.h"
-#include "is_interaction_response.h"
-#include "is_interaction_statement.h"
-#include "is_item.h"
-#include "is_parameter.h"
-#include "is_select.h"
-#include "is_text.h"
-#include "ps_add_collection_request.h"
-#include "ps_add_collection_response.h"
-#include "ps_add_entity_request.h"
-#include "ps_add_entity_response.h"
-#include "ps_add_known_entity_request.h"
-#include "ps_add_known_entity_response.h"
-#include "ps_add_to_collection_request.h"
-#include "ps_get_object_info_request.h"
-#include "ps_get_object_info_response.h"
-#include "ps_item_data.h"
-#include "ps_list_members_request.h"
-#include "ps_list_members_response.h"
-#include "ps_notification.h"
-#include "ps_notify.h"
-#include "ps_object.h"
-#include "ps_query_objects_request.h"
-#include "ps_query_objects_response.h"
-#include "ps_remove_collection_request.h"
-#include "ps_remove_entity_request.h"
-#include "ps_remove_from_collection_request.h"
-#include "ps_request_abstract.h"
-#include "ps_resolve_identifier_request.h"
-#include "ps_resolve_identifier_response.h"
-#include "ps_resolve_input.h"
-#include "ps_response_abstract.h"
-#include "ps_set_object_info_request.h"
-#include "ps_test_membership_request.h"
-#include "ps_test_membership_response.h"
-#include "sb2_consent.h"
-#include "sb2_credentials_context.h"
-#include "sb2_endpoint_update.h"
-#include "sb2_redirect_request.h"
-#include "sb2_sender.h"
-#include "sb2_target_identity.h"
-#include "sb2_timeout.h"
-#include "sb2_usage_directive.h"
-#include "sb2_user_interaction_header.h"
-#include "sbf_framework.h"
-#include "sec_token.h"
-#include "sec_token_policy.h"
-#include "sec_transited_provider_path.h"
-#include "subs_notification.h"
-#include "subs_notify_response.h"
-#include "subsref_app_data.h"
-#include "subsref_create.h"
-#include "subsref_create_item.h"
-#include "subsref_create_response.h"
-#include "subsref_data.h"
-#include "subsref_data_response.h"
-#include "subsref_delete.h"
-#include "subsref_delete_item.h"
-#include "subsref_delete_response.h"
-#include "subsref_item_data.h"
-#include "subs_ref_item.h"
-#include "subsref_modify.h"
-#include "subsref_modify_item.h"
-#include "subsref_modify_response.h"
-#include "subsref_notification.h"
-#include "subsref_notify.h"
-#include "subsref_notify_response.h"
-#include "subsref_query.h"
-#include "subsref_query_item.h"
-#include "subsref_query_response.h"
-#include "subsref_result_query.h"
-#include "subsref_subscription.h"
-#include "subsref_test_item.h"
-#include "subs_subscription.h"
-#include "util_empty.h"
-#include "util_extension.h"
-#include "util_response.h"
-#include "util_status.h"
-#include "xml_idwsf2.h"
-
-#endif
diff --git a/lasso/xml/idwsf_strings.h b/lasso/xml/idwsf_strings.h
deleted file mode 100644
index 3d1408f4..00000000
--- a/lasso/xml/idwsf_strings.h
+++ /dev/null
@@ -1,450 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- *
- */
-
-/*
- * This header file copy part of the SOAP 1.1 specification you can found there:
- * http://www.w3.org/TR/soap12-part1/
- * whom copyright is:
- * Copyright © 2007 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and
- * document use rules apply.
- */
-
-
-/**
- * SECTION:idwsf-strings
- * @short_description: Useful string constants
- *
- **/
-
-#ifndef __LASSO_IDWSF_STRINGS_H__
-#define __LASSO_IDWSF_STRINGS_H__
-
-/*****************************************************************************/
-/* Liberty Alliance ID-WSF */
-/*****************************************************************************/
-
-/* Liberty Security Mechanisms - 1st version */
-#define LASSO_SECURITY_MECH_NULL "urn:liberty:security:2003-08:null:null"
-
-#define LASSO_SECURITY_MECH_X509 "urn:liberty:security:2005-02:null:X509"
-#define LASSO_SECURITY_MECH_SAML "urn:liberty:security:2005-02:null:SAML"
-#define LASSO_SECURITY_MECH_BEARER "urn:liberty:security:2005-02:null:Bearer"
-
-#define LASSO_SECURITY_MECH_TLS "urn:liberty:security:2003-08:TLS:null"
-#define LASSO_SECURITY_MECH_TLS_X509 "urn:liberty:security:2005-02:TLS:X509"
-#define LASSO_SECURITY_MECH_TLS_SAML "urn:liberty:security:2005-02:TLS:SAML"
-#define LASSO_SECURITY_MECH_TLS_BEARER "urn:liberty:security:2005-02:TLS:Bearer"
-
-#define LASSO_SECURITY_MECH_CLIENT_TLS "urn:liberty:security:2003-08:ClientTLS:null"
-#define LASSO_SECURITY_MECH_CLIENT_TLS_X509 "urn:liberty:security:2005-02:ClientTLS:X509"
-#define LASSO_SECURITY_MECH_CLIENT_TLS_SAML "urn:liberty:security:2005-02:ClientTLS:SAML"
-#define LASSO_SECURITY_MECH_CLIENT_TLS_BEARER "urn:liberty:security:2005-02:ClientTLS:Bearer"
-
-
-/* Liberty Security Mechanisms - latest version */
-
-#define LASSO_SECURITY11_MECH_X509 "urn:liberty:security:2005-02:null:X509"
-#define LASSO_SECURITY11_MECH_SAML "urn:liberty:security:2005-02:null:SAML"
-#define LASSO_SECURITY11_MECH_BEARER "urn:liberty:security:2005-02:null:Bearer"
-
-#define LASSO_SECURITY11_MECH_TLS_X509 "urn:liberty:security:2005-02:TLS:X509"
-#define LASSO_SECURITY11_MECH_TLS_SAML "urn:liberty:security:2005-02:TLS:SAML"
-#define LASSO_SECURITY11_MECH_TLS_BEARER "urn:liberty:security:2005-02:TLS:Bearer"
-
-/* liberty wsf prefix & href */
-/**
- * LASSO_DISCO_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_DISCO_HREF "urn:liberty:disco:2003-08"
-/**
- * LASSO_DISCO_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_DISCO_PREFIX "disco"
-
-/**
- * LASSO_EP_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_EP_HREF "urn:liberty:id-sis-ep:2003-08"
-/**
- * LASSO_EP_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_EP_PREFIX "ep"
-
-/**
- * LASSO_PP10_HREF:
- *
- * Namespace for ID-SIS Personal Profile
- *
- */
-#define LASSO_PP10_HREF "urn:liberty:id-sis-pp:2003-08"
-/**
- * LASSO_PP10_PREFIX:
- *
- * Preferred prefix for namespace of ID-SIS Personal Profile
- *
- */
-#define LASSO_PP10_PREFIX "pp10"
-
-/**
- * LASSO_PP11_HREF:
- *
- * Namespace for ID-SIS Personal Profile
- *
- */
-#define LASSO_PP11_HREF "urn:liberty:id-sis-pp:2005-05"
-/**
- * LASSO_PP11_PREFIX:
- *
- * Preferred prefix for namespace of ID-SIS Personal Profile
- *
- */
-#define LASSO_PP11_PREFIX "pp11"
-
-/**
- * LASSO_IS_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_IS_HREF "urn:liberty:is:2003-08"
-/**
- * LASSO_IS_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_IS_PREFIX "is"
-
-/**
- * LASSO_SA_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_SA_HREF "urn:liberty:sa:2004-04"
-/**
- * LASSO_SA_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_SA_PREFIX "sa"
-
-/**
- * LASSO_SEC_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_SEC_HREF "urn:liberty:sec:2003-08"
-/**
- * LASSO_SEC_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_SEC_PREFIX "sec"
-
-#define LASSO_SA_SASL_SERVICE_NAME "idwsf"
-
-/* Interaction Service (interact attribute of is:UserInteraction element ) */
-#define LASSO_IS_INTERACT_ATTR_INTERACT_IF_NEEDED "is:interactIfNeeded"
-#define LASSO_IS_INTERACT_ATTR_DO_NOT_INTERACT "is:doNotInteract"
-#define LASSO_IS_INTERACT_ATTR_DO_NOT_INTERACT_FOR_DATA "is:doNotInteractForData"
-
-/* status code */
-#define LASSO_DISCO_STATUS_CODE_OK "OK"
-#define LASSO_DISCO_STATUS_CODE_DISCO_OK "disco:OK"
-#define LASSO_DISCO_STATUS_CODE_FAILED "Failed"
-#define LASSO_DISCO_STATUS_CODE_REMOVE_ENTRY "RemoveEntry"
-#define LASSO_DISCO_STATUS_CODE_FORBIDDEN "Forbidden"
-#define LASSO_DISCO_STATUS_CODE_NO_RESULTS "NoResults"
-#define LASSO_DISCO_STATUS_CODE_DIRECTIVES "Directive"
-
-#define LASSO_DST_STATUS_CODE_OK "OK"
-#define LASSO_DST_STATUS_CODE_FAILED "Failed"
-#define LASSO_DST_STATUS_CODE_PARTIAL "Partial"
-#define LASSO_DST_STATUS_CODE_ACTION_NOT_AUTHORIZED "ActionNotAuthorized"
-#define LASSO_DST_STATUS_CODE_ACTION_NOT_SUPPORTED "ActionNotSupported"
-#define LASSO_DST_STATUS_CODE_ALL_RETURNED "AllReturned"
-#define LASSO_DST_STATUS_CODE_CHANGE_HISTORY_NOT_SUPPORTED "ChangeHistoryNotSupported"
-#define LASSO_DST_STATUS_CODE_CHANGED_SINCE_RETURNS_ALL "ChangedSinceReturnsAll"
-#define LASSO_DST_STATUS_CODE_DATA_TOO_LONG "DataTooLong"
-#define LASSO_DST_STATUS_CODE_EXISTS_ALREADY "ExistsAlready"
-#define LASSO_DST_STATUS_CODE_EXTENSION_NOT_SUPPORTED "ExtensionNotSupported"
-#define LASSO_DST_STATUS_CODE_INVALID_DATA "InvalidData"
-#define LASSO_DST_STATUS_CODE_INVALID_RESOURCE_ID "InvalidResourceID"
-#define LASSO_DST_STATUS_CODE_INVALID_SELECT "InvalidSelect"
-#define LASSO_DST_STATUS_CODE_MISSING_NEW_DATA_ELEMENT "MissingNewDataElement"
-#define LASSO_DST_STATUS_CODE_MISSING_RESOURCE_ID_ELEMENT "MissingResourceIDElement"
-#define LASSO_DST_STATUS_CODE_MISSING_SELECT "MissingSelect"
-#define LASSO_DST_STATUS_CODE_MODIFIED_SINCE "ModifiedSince"
-#define LASSO_DST_STATUS_CODE_NO_MORE_ELEMENTS "NoMoreElements"
-#define LASSO_DST_STATUS_CODE_NO_MULTIPLE_ALLOWED "NoMultipleAllowed"
-#define LASSO_DST_STATUS_CODE_NO_MULTIPLE_RESOURCES "NoMultipleResources"
-#define LASSO_DST_STATUS_CODE_TIME_OUT "TimeOut"
-#define LASSO_DST_STATUS_CODE_UNEXPECTED_ERROR "UnexpectedError"
-
-#define LASSO_SA_STATUS_CODE_OK "OK"
-#define LASSO_SA_STATUS_CODE_CONTINUE "continue"
-#define LASSO_SA_STATUS_CODE_ABORT "abort"
-
-/*****************************************************************************/
-/* SOAP BINDING */
-/*****************************************************************************/
-
-/**
- * LASSO_SOAP_BINDING_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_SOAP_BINDING_HREF "urn:liberty:sb:2003-08"
-/**
- * LASSO_SOAP_BINDING_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_SOAP_BINDING_PREFIX "sb"
-
-/**
- * LASSO_SOAP_BINDING_EXT_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_SOAP_BINDING_EXT_HREF "urn:liberty:sb:2004-04"
-/**
- * LASSO_SOAP_BINDING_EXT_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_SOAP_BINDING_EXT_PREFIX "sbe"
-
-#define LASSO_SOAP_BINDING_PROCESS_CONTEXT_PRINCIPAL_OFFLINE \
- "urn:liberty:sb:2003-08:ProcessingContext:PrincipalOffline"
-#define LASSO_SOAP_BINDING_PROCESS_CONTEXT_PRINCIPAL_ONLINE \
- "urn:liberty:sb:2003-08:ProcessingContext:PrincipalOnline"
-#define LASSO_SOAP_BINDING_PROCESS_CONTEXT_SIMULATE \
- "urn:liberty:sb:2003-08:ProcessingContext:Simulate"
-
-#define LASSO_SOAP_FAULT_STRING_SERVER "Server Error"
-#define LASSO_SOAP_FAULT_STRING_IDENTITY_NOT_FOUND "Identity not found"
-
-
-/*****************************************************************************/
-/* WS-* */
-/*****************************************************************************/
-
-/**
- * LASSO_WSSE_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_WSSE_HREF "http://schemas.xmlsoap.org/ws/2002/07/secext"
-/**
- * LASSO_WSSE_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_WSSE_PREFIX "wsse"
-
-/**
- * LASSO_WSSE1_HREF:
- *
- * Namespace for WS-Security 1.0
- *
- */
-#define LASSO_WSSE1_HREF \
- "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
-/**
- * LASSO_WSSE1_PREFIX:
- *
- * Preferred prefix for namespace of WS-Security 1.0
- *
- */
-#define LASSO_WSSE1_PREFIX "wsse"
-
-/**
- * LASSO_WSSE11_HREF:
- *
- * Namespace for WS-Security 1.1
- */
-#define LASSO_WSSE11_HREF \
- "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd"
-
-/* LASSO_WSSE11_PREFIX:
- *
- * Preferred prefix for namespace of WS-Security 1.1
- *
- */
-#define LASSO_WSSE11_PREFIX "wsse"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_SECURITY_TOKEN:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_SECURITY_TOKEN \
- "wsse:UnsupportedSecurityToken"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_ALGORITHM:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_UNSUPPORTED_ALGORITHM \
- "wsse:UnsupportedAlgorithm"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY \
- "wsse:InvalidSecurity"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY_TOKEN:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_INVALID_SECURITY_TOKEN \
- "wsse:InvalidSecurityToken"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_AUTHENTICATION:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_AUTHENTICATION \
- "wsse:FailedAuthentication"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_CHECK:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_FAILED_CHECK \
- "wsse:FailedCheck"
-
-/**
- * LASSO_WSSE_SECEXT_FAULT_CODE_SECURITY_TOKEN_UNAVAILABLE:
- *
- * Fault code for WS-Security tokens handling
- */
-#define LASSO_WSSE_SECEXT_FAULT_CODE_SECURITY_TOKEN_UNAVAILABLE \
- "wsse:SecurityTokenUnavailable"
-
-/*
- * Username token profile
- */
-
-/**
- * LASSO_WSSE_USERNAME_TOKEN_PROFILE_HREF:
- */
-#define LASSO_WSSE_USERNAME_TOKEN_PROFILE_HREF \
- "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0"
-
-/**
- * LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_DIGEST:
- *
- * Identifier for a UsernameToken of type PasswordDigest
- */
-#define LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_DIGEST \
- LASSO_WSSE_USERNAME_TOKEN_PROFILE_HREF "#PasswordDigest"
-
-/**
- * LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_TEXT:
- *
- * Identifier for a UsernameToken of type PasswordText
- */
-#define LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_TEXT \
- LASSO_WSSE_USERNAME_TOKEN_PROFILE_HREF "#PasswordText"
-
-/* WS-Addressing */
-/**
- * LASSO_WSA_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_WSA_HREF "http://www.w3.org/2005/08/addressing"
-/**
- * LASSO_WSA_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_WSA_PREFIX "wsa"
-
-/**
- * LASSO_WSA_ELEMENT_MESSAGE_ID:
- *
- * Name of the element representing SOAP MessageID in the WS-Addressing specification.
- */
-#define LASSO_WSA_ELEMENT_MESSAGE_ID "MessageID"
-/**
- * LASSO_WSA_ELEMENT_RELATES_TO:
- *
- * Name of the element representing SOAP messages inter-relationships in the WS-Addressing
- * specification.
- */
-#define LASSO_WSA_ELEMENT_RELATES_TO "RelatesTo"
-
-/* WS-Utility */
-/**
- * LASSO_WSU_HREF:
- *
- * Namespace for FIXME
- *
- */
-#define LASSO_WSU_HREF \
- "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
-/**
- * LASSO_WSU_PREFIX:
- *
- * Preferred prefix for namespace of FIXME
- *
- */
-#define LASSO_WSU_PREFIX "wsu"
-
-#endif /* __LASSO_IDWSF_STRINGS_H__ */
-
diff --git a/lasso/xml/is_help.c b/lasso/xml/is_help.c
deleted file mode 100644
index 1e24fb69..00000000
--- a/lasso/xml/is_help.c
+++ /dev/null
@@ -1,105 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_help.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_help
- * @short_description: <is:Help>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "label", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsHelp, label), NULL, NULL, NULL},
- { "link", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsHelp, link), NULL, NULL, NULL},
- { "moreLink", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsHelp, moreLink), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsHelpClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Help");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_help_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsHelpClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsHelp),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsHelp", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsHelp*
-lasso_is_help_new()
-{
- LassoIsHelp *node;
-
- node = g_object_new(LASSO_TYPE_IS_HELP, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_help.h b/lasso/xml/is_help.h
deleted file mode 100644
index 591e671d..00000000
--- a/lasso/xml/is_help.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_HELP_H__
-#define __LASSO_IS_HELP_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_HELP (lasso_is_help_get_type())
-#define LASSO_IS_HELP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_HELP, LassoIsHelp))
-#define LASSO_IS_HELP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_IS_HELP, LassoIsHelpClass))
-#define LASSO_IS_IS_HELP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_HELP))
-#define LASSO_IS_IS_HELP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_HELP))
-#define LASSO_IS_HELP_GET_CLASS(o) \(G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_HELP, \
- LassoIsHelpClass))
-
-typedef struct _LassoIsHelp LassoIsHelp;
-typedef struct _LassoIsHelpClass LassoIsHelpClass;
-
-struct _LassoIsHelp {
- LassoNode parent;
-
- char *label;
- char *link;
- char *moreLink;
-};
-
-struct _LassoIsHelpClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_help_get_type(void);
-
-LASSO_EXPORT LassoIsHelp* lasso_is_help_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_HELP_H__ */
diff --git a/lasso/xml/is_inquiry.c b/lasso/xml/is_inquiry.c
deleted file mode 100644
index a231c82d..00000000
--- a/lasso/xml/is_inquiry.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_inquiry.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_inquiry
- * @short_description: <is:Inquiry>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Help", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInquiry, Help), NULL, NULL, NULL},
- { "Select", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInquiry, Select), NULL, NULL, NULL},
- { "Confirm", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInquiry, Confirm), NULL, NULL, NULL},
- { "Text", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInquiry, Text), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInquiry, id), NULL, NULL, NULL},
- { "title", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInquiry, title), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsInquiryClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Inquiry");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_inquiry_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsInquiryClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsInquiry),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsInquiry", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsInquiry*
-lasso_is_inquiry_new()
-{
- LassoIsInquiry *node;
-
- node = g_object_new(LASSO_TYPE_IS_INQUIRY, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_inquiry.h b/lasso/xml/is_inquiry.h
deleted file mode 100644
index 618f101f..00000000
--- a/lasso/xml/is_inquiry.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_INQUIRY_H__
-#define __LASSO_IS_INQUIRY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_INQUIRY (lasso_is_inquiry_get_type())
-#define LASSO_IS_INQUIRY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_INQUIRY, LassoIsInquiry))
-#define LASSO_IS_INQUIRY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_INQUIRY, LassoIsInquiryClass))
-#define LASSO_IS_IS_INQUIRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_INQUIRY))
-#define LASSO_IS_IS_INQUIRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_INQUIRY))
-#define LASSO_IS_INQUIRY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_INQUIRY, LassoIsInquiryClass))
-
-typedef struct _LassoIsInquiry LassoIsInquiry;
-typedef struct _LassoIsInquiryClass LassoIsInquiryClass;
-
-struct _LassoIsInquiry {
- LassoNode parent;
-
- GList *Help; /* of LassoNode */
- GList *Select; /* of LassoNode */
- GList *Confirm; /* of LassoNode */
- GList *Text; /* of LassoNode */
-
- char *id;
- char *title;
-};
-
-struct _LassoIsInquiryClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_inquiry_get_type(void);
-
-LASSO_EXPORT LassoIsInquiry* lasso_is_inquiry_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_INQUIRY_H__ */
diff --git a/lasso/xml/is_inquiry_element.c b/lasso/xml/is_inquiry_element.c
deleted file mode 100644
index 25575f95..00000000
--- a/lasso/xml/is_inquiry_element.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_inquiry_element.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_inquiry_element
- * @short_description: <is:InquiryElementType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Help", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInquiryElement, Help), NULL, NULL, NULL},
- { "Hint", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoIsInquiryElement, Hint), NULL, NULL, NULL},
- { "Label", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoIsInquiryElement, Label), NULL, NULL, NULL},
- { "Value", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoIsInquiryElement, Value), NULL, NULL, NULL},
- { "name", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsInquiryElement, name), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsInquiryElementClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InquiryElement");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_inquiry_element_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsInquiryElementClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsInquiryElement),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsInquiryElement", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsInquiryElement*
-lasso_is_inquiry_element_new(const char *name)
-{
- LassoIsInquiryElement *node;
-
- node = g_object_new(LASSO_TYPE_IS_INQUIRY_ELEMENT, NULL);
-
- node->name = g_strdup(name);
-
- return node;
-}
diff --git a/lasso/xml/is_inquiry_element.h b/lasso/xml/is_inquiry_element.h
deleted file mode 100644
index 043c7330..00000000
--- a/lasso/xml/is_inquiry_element.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_INQUIRY_ELEMENT_H__
-#define __LASSO_IS_INQUIRY_ELEMENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "is_help.h"
-#include "xml.h"
-
-#define LASSO_TYPE_IS_INQUIRY_ELEMENT (lasso_is_inquiry_element_get_type())
-#define LASSO_IS_INQUIRY_ELEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_INQUIRY_ELEMENT, LassoIsInquiryElement))
-#define LASSO_IS_INQUIRY_ELEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_INQUIRY_ELEMENT, \
- LassoIsInquiryElementClass))
-#define LASSO_IS_IS_INQUIRY_ELEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_INQUIRY_ELEMENT))
-#define LASSO_IS_IS_INQUIRY_ELEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_INQUIRY_ELEMENT))
-#define LASSO_IS_INQUIRY_ELEMENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_INQUIRY_ELEMENT, LassoIsInquiryElementClass))
-
-typedef struct _LassoIsInquiryElement LassoIsInquiryElement;
-typedef struct _LassoIsInquiryElementClass LassoIsInquiryElementClass;
-
-struct _LassoIsInquiryElement {
- LassoNode parent;
-
- LassoIsHelp *Help;
- char *Hint;
- char *Label;
- char *Value;
-
- char *name;
-};
-
-struct _LassoIsInquiryElementClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_inquiry_element_get_type(void);
-
-LASSO_EXPORT LassoIsInquiryElement* lasso_is_inquiry_element_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_INQUIRY_ELEMENT_H__ */
diff --git a/lasso/xml/is_interaction_request.c b/lasso/xml/is_interaction_request.c
deleted file mode 100644
index 9ad7ad99..00000000
--- a/lasso/xml/is_interaction_request.c
+++ /dev/null
@@ -1,126 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_interaction_request.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_interaction_request
- * @short_description: <is:InteractionRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "ResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, ResourceID), NULL,
- LASSO_DISCO_PREFIX, LASSO_DISCO_HREF},
- { "EncryptedResourceID", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, EncryptedResourceID), NULL,
- LASSO_DISCO_PREFIX, LASSO_DISCO_HREF},
- { "Inquiry", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, Inquiry), NULL, NULL, NULL},
- { "KeyInfo", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionRequest, KeyInfo), NULL,
- LASSO_DS_PREFIX, LASSO_DS_HREF},
- { "id", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, id), NULL, NULL, NULL},
- { "language", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, language), NULL, NULL, NULL},
- { "maxInteractTime", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, maxInteractTime), NULL, NULL, NULL},
- { "signed", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoIsInteractionRequest, signed_attribute), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsInteractionRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionRequest");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_interaction_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsInteractionRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsInteractionRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsInteractionRequest", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsInteractionRequest*
-lasso_is_interaction_request_new()
-{
- LassoIsInteractionRequest *node;
-
- node = g_object_new(LASSO_TYPE_IS_INTERACTION_REQUEST, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_interaction_request.h b/lasso/xml/is_interaction_request.h
deleted file mode 100644
index 112ce0f7..00000000
--- a/lasso/xml/is_interaction_request.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_INTERACTION_REQUEST_H__
-#define __LASSO_IS_INTERACTION_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "disco_encrypted_resource_id.h"
-#include "disco_resource_id.h"
-#include "is_inquiry.h"
-#include "xml.h"
-
-
-#define LASSO_TYPE_IS_INTERACTION_REQUEST (lasso_is_interaction_request_get_type())
-#define LASSO_IS_INTERACTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_INTERACTION_REQUEST, \
- LassoIsInteractionRequest))
-#define LASSO_IS_INTERACTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_INTERACTION_REQUEST, \
- LassoIsInteractionRequestClass))
-#define LASSO_IS_IS_INTERACTION_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_INTERACTION_REQUEST))
-#define LASSO_IS_IS_INTERACTION_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_INTERACTION_REQUEST))
-#define LASSO_IS_INTERACTION_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_INTERACTION_REQUEST, \
- LassoIsInteractionRequestClass))
-
-typedef struct _LassoIsInteractionRequest LassoIsInteractionRequest;
-typedef struct _LassoIsInteractionRequestClass LassoIsInteractionRequestClass;
-
-struct _LassoIsInteractionRequest {
- LassoNode parent;
-
- LassoDiscoResourceID *ResourceID;
- LassoDiscoEncryptedResourceID *EncryptedResourceID;
- GList *Inquiry; /* of LassoNode */
-
- char *id;
- char *language;
- int maxInteractTime;
- LassoDsKeyInfo *KeyInfo;
- char *signed_attribute;
-};
-
-struct _LassoIsInteractionRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_interaction_request_get_type(void);
-
-LASSO_EXPORT LassoIsInteractionRequest* lasso_is_interaction_request_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_INTERACTION_REQUEST_H__ */
diff --git a/lasso/xml/is_interaction_response.c b/lasso/xml/is_interaction_response.c
deleted file mode 100644
index ac435801..00000000
--- a/lasso/xml/is_interaction_response.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_interaction_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_interaction_response
- * @short_description: <is:InteractionResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionResponse, Status), NULL, NULL, NULL},
- { "InteractionStatement", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInteractionResponse,
- InteractionStatement), NULL, NULL, NULL },
- { "Parameter", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsInteractionResponse,
- Parameter), NULL, NULL, NULL },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsInteractionResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionResponse");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_interaction_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsInteractionResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsInteractionResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsInteractionResponse", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsInteractionResponse*
-lasso_is_interaction_response_new(LassoUtilityStatus *status)
-{
- LassoIsInteractionResponse *node;
-
- node = g_object_new(LASSO_TYPE_IS_INTERACTION_RESPONSE, NULL);
-
- node->Status = status;
-
- return node;
-}
diff --git a/lasso/xml/is_interaction_response.h b/lasso/xml/is_interaction_response.h
deleted file mode 100644
index a2a6413f..00000000
--- a/lasso/xml/is_interaction_response.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_INTERACTION_RESPONSE_H__
-#define __LASSO_IS_INTERACTION_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "utility_status.h"
-#include "xml.h"
-
-#define LASSO_TYPE_IS_INTERACTION_RESPONSE (lasso_is_interaction_response_get_type())
-#define LASSO_IS_INTERACTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_INTERACTION_RESPONSE, LassoIsText))
-#define LASSO_IS_INTERACTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_INTERACTION_RESPONSE, \
- LassoIsInteractionResponseClass))
-#define LASSO_IS_IS_INTERACTION_RESPONSE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_INTERACTION_RESPONSE))
-#define LASSO_IS_IS_INTERACTION_RESPONSE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_INTERACTION_RESPONSE))
-#define LASSO_IS_INTERACTION_RESPONSE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_INTERACTION_RESPONSE, \
- LassoIsInteractionResponseClass))
-
-typedef struct _LassoIsInteractionResponse LassoIsInteractionResponse;
-typedef struct _LassoIsInteractionResponseClass LassoIsInteractionResponseClass;
-
-struct _LassoIsInteractionResponse {
- LassoNode parent; /* FIXME : inherit of LassoIsInquiryElement */
-
- LassoUtilityStatus *Status;
- GList *InteractionStatement; /* of LassoNode */
- GList *Parameter; /* of LassoNode */
-};
-
-struct _LassoIsInteractionResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_interaction_response_get_type(void);
-
-LASSO_EXPORT LassoIsInteractionResponse* lasso_is_interaction_response_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_INTERACTION_RESPONSE_H__ */
diff --git a/lasso/xml/is_interaction_statement.c b/lasso/xml/is_interaction_statement.c
deleted file mode 100644
index 43441d98..00000000
--- a/lasso/xml/is_interaction_statement.c
+++ /dev/null
@@ -1,108 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_interaction_statement.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_interaction_statement
- * @short_description: <is:InteractionStatementType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Inquiry", SNIPPET_NODE, G_STRUCT_OFFSET(LassoIsInteractionStatement, Inquiry), NULL,
- NULL, NULL},
- { "Signature", SNIPPET_SIGNATURE, 0, NULL, LASSO_DS_PREFIX, LASSO_DS_HREF },
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsInteractionStatementClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "InteractionStatement");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_interaction_statement_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsInteractionStatementClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsInteractionStatement),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsInteractionStatement", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsInteractionStatement*
-lasso_is_interaction_statement_new(LassoIsInquiry *inquiry)
-{
- LassoIsInteractionStatement *node;
-
- node = g_object_new(LASSO_TYPE_IS_INTERACTION_STATEMENT, NULL);
-
- node->Inquiry = inquiry;
-
- return node;
-}
diff --git a/lasso/xml/is_interaction_statement.h b/lasso/xml/is_interaction_statement.h
deleted file mode 100644
index ecd54ff3..00000000
--- a/lasso/xml/is_interaction_statement.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_INTERACTION_STATEMENT_H__
-#define __LASSO_IS_INTERACTION_STATEMENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "is_inquiry.h"
-#include "xml.h"
-
-#define LASSO_TYPE_IS_INTERACTION_STATEMENT (lasso_is_interaction_statement_get_type())
-#define LASSO_IS_INTERACTION_STATEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_INTERACTION_STATEMENT, \
- LassoIsInteractionStatement))
-#define LASSO_IS_INTERACTION_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_INTERACTION_STATEMENT, \
- LassoIsInteractionStatementClass))
-#define LASSO_IS_IS_INTERACTION_STATEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_INTERACTION_STATEMENT))
-#define LASSO_IS_IS_INTERACTION_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_INTERACTION_STATEMENT))
-#define LASSO_IS_INTERACTION_STATEMENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_INTERACTION_STATEMENT, \
- LassoIsInteractionStatementClass))
-
-typedef struct _LassoIsInteractionStatement LassoIsInteractionStatement;
-typedef struct _LassoIsInteractionStatementClass LassoIsInteractionStatementClass;
-
-struct _LassoIsInteractionStatement {
- LassoNode parent; /* FIXME : inherit of LassoIsInquiryElement */
-
- LassoIsInquiry *Inquiry;
-};
-
-struct _LassoIsInteractionStatementClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_interaction_statement_get_type(void);
-
-LASSO_EXPORT LassoIsInteractionStatement* lasso_is_interaction_statement_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_INTERACTION_STATEMENT_H__ */
diff --git a/lasso/xml/is_item.c b/lasso/xml/is_item.c
deleted file mode 100644
index 0cae04b2..00000000
--- a/lasso/xml/is_item.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_item.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_item
- * @short_description: <is:Hint>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Hint", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoIsItem, Hint), NULL, NULL, NULL},
- { "label", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsItem, label), NULL, NULL, NULL},
- { "value", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsItem, value), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsItemClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Item");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_item_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsItemClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsItem),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsItem", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsItem*
-lasso_is_item_new(const char *value)
-{
- LassoIsItem *node;
-
- node = g_object_new(LASSO_TYPE_IS_ITEM, NULL);
-
- node->value = g_strdup(value);
-
- return node;
-}
diff --git a/lasso/xml/is_item.h b/lasso/xml/is_item.h
deleted file mode 100644
index c2cf23eb..00000000
--- a/lasso/xml/is_item.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_ITEM_H__
-#define __LASSO_IS_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_ITEM (lasso_is_item_get_type())
-#define LASSO_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_ITEM, LassoIsItem))
-#define LASSO_IS_ITEM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_ITEM, LassoIsItemClass))
-#define LASSO_IS_IS_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_ITEM))
-#define LASSO_IS_IS_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_ITEM))
-#define LASSO_IS_ITEM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_ITEM, LassoIsItemClass))
-
-typedef struct _LassoIsItem LassoIsItem;
-typedef struct _LassoIsItemClass LassoIsItemClass;
-
-struct _LassoIsItem {
- LassoNode parent;
-
- char *Hint;
- char *label;
- char *value;
-};
-
-struct _LassoIsItemClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_item_get_type(void);
-
-LASSO_EXPORT LassoIsItem* lasso_is_item_new(const char *value);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_ITEM_H__ */
diff --git a/lasso/xml/is_parameter.c b/lasso/xml/is_parameter.c
deleted file mode 100644
index 5bf7cfd8..00000000
--- a/lasso/xml/is_parameter.c
+++ /dev/null
@@ -1,106 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_parameter.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_parameter
- * @short_description: <is:ParameterType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "name", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsParameter, name), NULL, NULL, NULL},
- { "value", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsParameter, value), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsParameterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Parameter");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_parameter_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsParameterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsParameter),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsParameter", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsParameter*
-lasso_is_parameter_new(const char *name, const char *value)
-{
- LassoIsParameter *node;
-
- node = g_object_new(LASSO_TYPE_IS_PARAMETER, NULL);
-
- node->name = g_strdup(name);
- node->value = g_strdup(value);
-
- return node;
-}
diff --git a/lasso/xml/is_parameter.h b/lasso/xml/is_parameter.h
deleted file mode 100644
index 3c70addd..00000000
--- a/lasso/xml/is_parameter.h
+++ /dev/null
@@ -1,66 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_PARAMETER_H__
-#define __LASSO_IS_PARAMETER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_PARAMETER (lasso_is_parameter_get_type())
-#define LASSO_IS_PARAMETER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_PARAMETER, LassoIsParameter))
-#define LASSO_IS_PARAMETER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_PARAMETER, LassoIsParameterClass))
-#define LASSO_IS_IS_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_PARAMETER))
-#define LASSO_IS_IS_PARAMETER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_PARAMETER))
-#define LASSO_IS_PARAMETER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_PARAMETER, LassoIsParameterClass))
-
-typedef struct _LassoIsParameter LassoIsParameter;
-typedef struct _LassoIsParameterClass LassoIsParameterClass;
-
-struct _LassoIsParameter {
- LassoNode parent;
-
- char *name;
- char *value;
-};
-
-struct _LassoIsParameterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_parameter_get_type(void);
-
-LASSO_EXPORT LassoIsParameter* lasso_is_parameter_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_PARAMETER_H__ */
diff --git a/lasso/xml/is_redirect_request.c b/lasso/xml/is_redirect_request.c
deleted file mode 100644
index 1ba3e0f4..00000000
--- a/lasso/xml/is_redirect_request.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_redirect_request.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_redirect_request
- * @short_description: <is:RedirectRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "redirectURL", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsRedirectRequest, redirectURL), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsRedirectRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RedirectRequest");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_redirect_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsRedirectRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsRedirectRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsRedirectRequest", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsRedirectRequest*
-lasso_is_redirect_request_new(const char *redirectURL)
-{
- LassoIsRedirectRequest *node;
-
- node = g_object_new(LASSO_TYPE_IS_REDIRECT_REQUEST, NULL);
-
- node->redirectURL = g_strdup(redirectURL);
-
- return node;
-}
diff --git a/lasso/xml/is_redirect_request.h b/lasso/xml/is_redirect_request.h
deleted file mode 100644
index 030c2404..00000000
--- a/lasso/xml/is_redirect_request.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_REDIRECT_REQUEST_H__
-#define __LASSO_IS_REDIRECT_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_REDIRECT_REQUEST (lasso_is_redirect_request_get_type())
-#define LASSO_IS_REDIRECT_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_REDIRECT_REQUEST, LassoIsRedirectRequest))
-#define LASSO_IS_REDIRECT_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_REDIRECT_REQUEST, \
- LassoIsRedirectRequestClass))
-#define LASSO_IS_IS_REDIRECT_REQUEST(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_REDIRECT_REQUEST))
-#define LASSO_IS_IS_REDIRECT_REQUEST_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_REDIRECT_REQUEST))
-#define LASSO_IS_REDIRECT_REQUEST_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_REDIRECT_REQUEST, \
- LassoIsRedirectRequestClass))
-
-typedef struct _LassoIsRedirectRequest LassoIsRedirectRequest;
-typedef struct _LassoIsRedirectRequestClass LassoIsRedirectRequestClass;
-
-struct _LassoIsRedirectRequest {
- LassoNode parent;
-
- char *redirectURL;
-};
-
-struct _LassoIsRedirectRequestClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_redirect_request_get_type(void);
-
-LASSO_EXPORT LassoIsRedirectRequest* lasso_is_redirect_request_new(const char *redirectURL);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_REDIRECT_REQUEST_H__ */
diff --git a/lasso/xml/is_select.c b/lasso/xml/is_select.c
deleted file mode 100644
index 15941fa0..00000000
--- a/lasso/xml/is_select.c
+++ /dev/null
@@ -1,110 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_select.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_select
- * @short_description: <is:Select>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Item", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoIsSelect, Item), NULL, NULL, NULL},
- { "multiple", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN,
- G_STRUCT_OFFSET(LassoIsSelect, multiple), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsSelectClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Select");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_select_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsSelectClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsSelect),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsSelect", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsSelect*
-lasso_is_select_new()
-{
- LassoIsSelect *node;
-
- node = g_object_new(LASSO_TYPE_IS_SELECT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_select.h b/lasso/xml/is_select.h
deleted file mode 100644
index e554cb80..00000000
--- a/lasso/xml/is_select.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_SELECT_H__
-#define __LASSO_IS_SELECT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "is_item.h"
-#include "xml.h"
-
-#define LASSO_TYPE_IS_SELECT (lasso_is_select_get_type())
-#define LASSO_IS_SELECT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_SELECT, LassoIsSelect))
-#define LASSO_IS_SELECT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_SELECT, LassoIsSelectClass))
-#define LASSO_IS_IS_SELECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_SELECT))
-#define LASSO_IS_IS_SELECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_IS_SELECT))
-#define LASSO_IS_SELECT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_SELECT, LassoIsSelectClass))
-
-typedef struct _LassoIsSelect LassoIsSelect;
-typedef struct _LassoIsSelectClass LassoIsSelectClass;
-
-struct _LassoIsSelect {
- LassoNode parent; /* FIXME : must inherit of InquiryElement class */
-
- GList *Item; /* of LassoNode */
-
- gboolean multiple;
-};
-
-struct _LassoIsSelectClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_select_get_type(void);
-
-LASSO_EXPORT LassoIsSelect* lasso_is_select_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_SELECT_H__ */
diff --git a/lasso/xml/is_text.c b/lasso/xml/is_text.c
deleted file mode 100644
index b23fc4e6..00000000
--- a/lasso/xml/is_text.c
+++ /dev/null
@@ -1,110 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_text.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_text
- * @short_description: <is:Text>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "minChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, minChars), NULL, NULL, NULL},
- { "maxChars", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, maxChars), NULL, NULL, NULL},
- { "format", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsText, format), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoIsTextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Text");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_text_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsTextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsText),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsText", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsText*
-lasso_is_text_new()
-{
- LassoIsText *node;
-
- node = g_object_new(LASSO_TYPE_IS_TEXT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_text.h b/lasso/xml/is_text.h
deleted file mode 100644
index 833fa418..00000000
--- a/lasso/xml/is_text.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_TEXT_H__
-#define __LASSO_IS_TEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_TEXT (lasso_is_text_get_type())
-#define LASSO_IS_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_TEXT, LassoIsText))
-#define LASSO_IS_TEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_TEXT, LassoIsTextClass))
-#define LASSO_IS_IS_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_TEXT))
-#define LASSO_IS_IS_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_TEXT))
-#define LASSO_IS_TEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_TEXT, LassoIsTextClass))
-
-typedef struct _LassoIsText LassoIsText;
-typedef struct _LassoIsTextClass LassoIsTextClass;
-
-struct _LassoIsText {
- LassoNode parent; /* FIXME : inherit of LassoIsInquiryElement */
-
- int minChars;
- int maxChars;
- char *format;
-};
-
-struct _LassoIsTextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_text_get_type(void);
-
-LASSO_EXPORT LassoIsText* lasso_is_text_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_TEXT_H__ */
diff --git a/lasso/xml/is_user_interaction.c b/lasso/xml/is_user_interaction.c
deleted file mode 100644
index eda4d302..00000000
--- a/lasso/xml/is_user_interaction.c
+++ /dev/null
@@ -1,123 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "is_user_interaction.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:is_user_interaction
- * @short_description: <is:UserInteraction>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "InteractionService", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoIsUserInteraction, InteractionService), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsUserInteraction, id), NULL, NULL, NULL},
- { "interact", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsUserInteraction, interact), NULL, NULL, NULL},
- { "language", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoIsUserInteraction, language), NULL, NULL, NULL},
- { "redirect", SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN,
- G_STRUCT_OFFSET(LassoIsUserInteraction, redirect), NULL, NULL, NULL},
- { "maxInteractTime", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoIsUserInteraction, maxInteractTime), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoIsUserInteraction *node)
-{
- node->interact = g_strdup(LASSO_IS_INTERACT_ATTR_INTERACT_IF_NEEDED);
-}
-
-static void
-class_init(LassoIsUserInteractionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "UserInteraction");
- lasso_node_class_set_ns(nclass, LASSO_IS_HREF, LASSO_IS_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_is_user_interaction_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoIsUserInteractionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoIsUserInteraction),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoIsUserInteraction", &this_info, 0);
- }
- return this_type;
-}
-
-LassoIsUserInteraction*
-lasso_is_user_interaction_new()
-{
- LassoIsUserInteraction *node;
-
- node = g_object_new(LASSO_TYPE_IS_USER_INTERACTION, NULL);
-
- return node;
-}
diff --git a/lasso/xml/is_user_interaction.h b/lasso/xml/is_user_interaction.h
deleted file mode 100644
index 7df05546..00000000
--- a/lasso/xml/is_user_interaction.h
+++ /dev/null
@@ -1,76 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_IS_USER_INTERACTION_H__
-#define __LASSO_IS_USER_INTERACTION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_IS_USER_INTERACTION (lasso_is_user_interaction_get_type())
-#define LASSO_IS_USER_INTERACTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_IS_USER_INTERACTION, LassoIsUserInteraction))
-#define LASSO_IS_USER_INTERACTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_IS_USER_INTERACTION, \
- LassoIsUserInteractionClass))
-#define LASSO_IS_IS_USER_INTERACTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_IS_USER_INTERACTION))
-#define LASSO_IS_IS_USER_INTERACTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_IS_USER_INTERACTION))
-#define LASSO_IS_USER_INTERACTION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_IS_USER_INTERACTION, \
- LassoIsUserInteractionClass))
-
-typedef struct _LassoIsUserInteraction LassoIsUserInteraction;
-typedef struct _LassoIsUserInteractionClass LassoIsUserInteractionClass;
-
-struct _LassoIsUserInteraction {
- LassoNode parent;
-
- GList *InteractionService; /* of LassoNode */
-
- gchar *id;
- gchar *interact;
- gchar *language;
- gboolean redirect;
- gint maxInteractTime;
-
- /* FIXME : implement soap:actor and soap:mustUnderstand */
-};
-
-struct _LassoIsUserInteractionClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_is_user_interaction_get_type(void);
-
-LASSO_EXPORT LassoIsUserInteraction* lasso_is_user_interaction_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_IS_USER_INTERACTION_H__ */
diff --git a/lasso/xml/sa_credentials.c b/lasso/xml/sa_credentials.c
deleted file mode 100644
index a064746f..00000000
--- a/lasso/xml/sa_credentials.c
+++ /dev/null
@@ -1,103 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_credentials.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_credentials
- * @short_description: <sa:Credentials>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSaCredentials, any), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaCredentialsClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Credentials");
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sa_credentials_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaCredentialsClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaCredentials),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaCredentials", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaCredentials*
-lasso_sa_credentials_new()
-{
- LassoSaCredentials *node;
-
- node = g_object_new(LASSO_TYPE_SA_CREDENTIALS, NULL);
-
- return node;
-}
diff --git a/lasso/xml/sa_credentials.h b/lasso/xml/sa_credentials.h
deleted file mode 100644
index f43909dc..00000000
--- a/lasso/xml/sa_credentials.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* $Id$$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_CREDENTIALS_H__
-#define __LASSO_SA_CREDENTIALS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "saml_assertion.h"
-
-#define LASSO_TYPE_SA_CREDENTIALS (lasso_sa_credentials_get_type())
-#define LASSO_SA_CREDENTIALS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SA_CREDENTIALS, LassoSaCredentials))
-#define LASSO_SA_CREDENTIALS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SA_CREDENTIALS, LassoSaCredentialsClass))
-#define LASSO_IS_SA_CREDENTIALS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_CREDENTIALS))
-#define LASSO_IS_SA_CREDENTIALS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SA_CREDENTIALS))
-#define LASSO_SA_CREDENTIALS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SA_CREDENTIALS, LassoSaCredentialsClass))
-
-typedef struct _LassoSaCredentials LassoSaCredentials;
-typedef struct _LassoSaCredentialsClass LassoSaCredentialsClass;
-
-struct _LassoSaCredentials {
- LassoNode parent;
-
- GList *any; /* of LassoNode */
-};
-
-struct _LassoSaCredentialsClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_sa_credentials_get_type(void);
-
-LASSO_EXPORT LassoSaCredentials* lasso_sa_credentials_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_CREDENTIALS_H__ */
diff --git a/lasso/xml/sa_parameter.c b/lasso/xml/sa_parameter.c
deleted file mode 100644
index dea0a724..00000000
--- a/lasso/xml/sa_parameter.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_parameter.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_parameter
- * @short_description: <sa:Parameter>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD, G_STRUCT_OFFSET(LassoSaParameter, content), NULL, NULL, NULL},
- { "name", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSaParameter, name), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaParameterClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Parameter");
- lasso_node_class_set_ns(nclass, LASSO_SA_HREF, LASSO_SA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sa_parameter_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaParameterClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaParameter),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaParameter", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaParameter*
-lasso_sa_parameter_new(const char *content, const char *name)
-{
- LassoSaParameter *node;
-
- g_return_val_if_fail(content != NULL, NULL);
- g_return_val_if_fail(name != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_SA_PARAMETER, NULL);
- node->content = g_strdup(content);
- node->name = g_strdup(name);
-
- return node;
-}
diff --git a/lasso/xml/sa_parameter.h b/lasso/xml/sa_parameter.h
deleted file mode 100644
index ba6f915f..00000000
--- a/lasso/xml/sa_parameter.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_PARAMETER_H__
-#define __LASSO_SA_PARAMETER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SA_PARAMETER (lasso_sa_parameter_get_type())
-#define LASSO_SA_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SA_PARAMETER, LassoSaParameter))
-#define LASSO_SA_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SA_PARAMETER, LassoSaParameterClass))
-#define LASSO_IS_SA_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_PARAMETER))
-#define LASSO_IS_SA_PARAMETER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SA_PARAMETER))
-#define LASSO_SA_PARAMETER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SA_PARAMETER, LassoSaParameterClass))
-
-typedef struct _LassoSaParameter LassoSaParameter;
-typedef struct _LassoSaParameterClass LassoSaParameterClass;
-
-struct _LassoSaParameter {
- LassoNode parent;
-
- char *content;
-
- char *name;
-};
-
-struct _LassoSaParameterClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_sa_parameter_get_type(void);
-
-LASSO_EXPORT LassoSaParameter* lasso_sa_parameter_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_PARAMETER_H__ */
diff --git a/lasso/xml/sa_password_transforms.c b/lasso/xml/sa_password_transforms.c
deleted file mode 100644
index a4385376..00000000
--- a/lasso/xml/sa_password_transforms.c
+++ /dev/null
@@ -1,124 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_password_transforms.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_password_transforms
- * @short_description: <sa:PasswordTransforms>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Transform", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSaPasswordTransforms, Transform), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaPasswordTransformsClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "PasswordTransforms");
- lasso_node_class_set_ns(nclass, LASSO_SA_HREF, LASSO_SA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sa_password_transforms_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaPasswordTransformsClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaPasswordTransforms),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaPasswordTransforms", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaPasswordTransforms*
-lasso_sa_password_transforms_new()
-{
- LassoSaPasswordTransforms *node;
-
- node = g_object_new(LASSO_TYPE_SA_PASSWORD_TRANSFORMS, NULL);
-
- return node;
-}
diff --git a/lasso/xml/sa_password_transforms.h b/lasso/xml/sa_password_transforms.h
deleted file mode 100644
index 77235f11..00000000
--- a/lasso/xml/sa_password_transforms.h
+++ /dev/null
@@ -1,68 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_PASSWORD_TRANSFORMS_H__
-#define __LASSO_SA_PASSWORD_TRANSFORMS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SA_PASSWORD_TRANSFORMS (lasso_sa_password_transforms_get_type())
-#define LASSO_SA_PASSWORD_TRANSFORMS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SA_PASSWORD_TRANSFORMS, LassoSaPasswordTransforms))
-#define LASSO_SA_PASSWORD_TRANSFORMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SA_PASSWORD_TRANSFORMS, LassoSaPasswordTransformsClass))
-#define LASSO_IS_SA_PASSWORD_TRANSFORMS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_PASSWORD_TRANSFORMS))
-#define LASSO_IS_SA_PASSWORD_TRANSFORMS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SA_PASSWORD_TRANSFORMS))
-#define LASSO_SA_PASSWORD_TRANSFORMS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SA_PASSWORD_TRANSFORMS, \
- LassoSaPasswordTransformsClass)) \
-
-typedef struct _LassoSaPasswordTransforms LassoSaPasswordTransforms;
-typedef struct _LassoSaPasswordTransformsClass LassoSaPasswordTransformsClass;
-
-struct _LassoSaPasswordTransforms {
- LassoNode parent;
-
- GList *Transform; /* of LassoNode */
-};
-
-struct _LassoSaPasswordTransformsClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_sa_password_transforms_get_type(void);
-
-LASSO_EXPORT LassoSaPasswordTransforms* lasso_sa_password_transforms_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_PASSWORD_TRANSFORMS_H__ */
diff --git a/lasso/xml/sa_sasl_request.c b/lasso/xml/sa_sasl_request.c
deleted file mode 100644
index ee6a1879..00000000
--- a/lasso/xml/sa_sasl_request.c
+++ /dev/null
@@ -1,130 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_sasl_request.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_sasl_request
- * @short_description: <sa:SASLRequest>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Data", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoSaSASLRequest, Data), NULL, NULL, NULL},
- { "RequestAuthnContext", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoSaSASLRequest, RequestAuthnContext), NULL, LASSO_LIB_PREFIX,
- LASSO_LIB_HREF},
- { "mechanism", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLRequest, mechanism), NULL, NULL, NULL},
- { "authzID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLRequest, authzID), NULL, NULL, NULL},
- { "advisoryAuthnID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLRequest, advisoryAuthnID), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLRequest, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaSASLRequestClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SASLRequest");
- lasso_node_class_set_ns(nclass, LASSO_SA_HREF, LASSO_SA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sa_sasl_request_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaSASLRequestClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaSASLRequest),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaSASLRequest", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaSASLRequest*
-lasso_sa_sasl_request_new(const gchar *mechanism)
-{
- LassoSaSASLRequest *node;
-
- g_return_val_if_fail(mechanism != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_SA_SASL_REQUEST, NULL);
- node->mechanism = g_strdup(mechanism);
-
- return node;
-}
diff --git a/lasso/xml/sa_sasl_request.h b/lasso/xml/sa_sasl_request.h
deleted file mode 100644
index bb492e30..00000000
--- a/lasso/xml/sa_sasl_request.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* $Id$$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_SASL_REQUEST_H__
-#define __LASSO_SA_SASL_REQUEST_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "lib_request_authn_context.h"
-#include "xml.h"
-
-#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))
-#define LASSO_SA_SASL_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- 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))
-
-typedef struct _LassoSaSASLRequest LassoSaSASLRequest;
-typedef struct _LassoSaSASLRequestClass LassoSaSASLRequestClass;
-
-struct _LassoSaSASLRequest {
- LassoNode parent;
-
- GList *Data; /* of string */
- LassoLibRequestAuthnContext *RequestAuthnContext;
-
- char *mechanism;
- char *authzID;
- char *advisoryAuthnID;
- char *id;
-};
-
-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);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_SASL_REQUEST_H__ */
diff --git a/lasso/xml/sa_sasl_response.c b/lasso/xml/sa_sasl_response.c
deleted file mode 100644
index 064446fc..00000000
--- a/lasso/xml/sa_sasl_response.c
+++ /dev/null
@@ -1,167 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_sasl_response.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_sasl_response
- * @short_description: <sa:SASLResponse>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoSaSASLResponse, Status), NULL, NULL, NULL},
- { "PasswordTransforms", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSaSASLResponse, PasswordTransforms), NULL, NULL, NULL},
- { "Data", SNIPPET_LIST_CONTENT,
- G_STRUCT_OFFSET(LassoSaSASLResponse, Data), NULL, NULL, NULL},
- { "ResourceOffering", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSaSASLResponse, ResourceOffering), NULL, LASSO_DISCO_PREFIX,
- LASSO_DISCO_HREF},
- { "Credentials", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSaSASLResponse, Credentials), NULL, NULL, NULL},
- { "serverMechanism", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLResponse, serverMechanism), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSaSASLResponse, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-static void
-insure_namespace(xmlNode *xmlnode, xmlNs *ns)
-{
- xmlNode *t = xmlnode->children;
-
- xmlSetNs(xmlnode, ns);
- while (t) {
- if (t->type == XML_ELEMENT_NODE && t->ns == NULL)
- insure_namespace(t, ns);
- t = t->next;
- }
-}
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
- xmlNode *xmlnode;
- xmlNs *ns;
-
- xmlnode = parent_class->get_xmlNode(node, lasso_dump);
- ns = xmlNewNs(xmlnode, (xmlChar*)LASSO_SA_HREF, (xmlChar*)LASSO_SA_PREFIX);
- insure_namespace(xmlnode, ns);
-
- return xmlnode;
-}
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaSASLResponseClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nodeClass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nodeClass->get_xmlNode = get_xmlNode;
- nodeClass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nodeClass, "SASLResponse");
- lasso_node_class_add_snippets(nodeClass, schema_snippets);
-}
-
-GType
-lasso_sa_sasl_response_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaSASLResponseClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaSASLResponse),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaSASLResponse", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaSASLResponse*
-lasso_sa_sasl_response_new(LassoUtilityStatus *status)
-{
- LassoSaSASLResponse *node;
-
- node = g_object_new(LASSO_TYPE_SA_SASL_RESPONSE, NULL);
-
- g_object_ref(status);
- node->Status = status;
-
- return node;
-}
diff --git a/lasso/xml/sa_sasl_response.h b/lasso/xml/sa_sasl_response.h
deleted file mode 100644
index 7589cea8..00000000
--- a/lasso/xml/sa_sasl_response.h
+++ /dev/null
@@ -1,79 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_SASL_RESPONSE_H__
-#define __LASSO_SA_SASL_RESPONSE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "disco_resource_offering.h"
-#include "utility_status.h"
-#include "sa_credentials.h"
-#include "sa_password_transforms.h"
-#include "xml.h"
-
-#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))
-#define LASSO_SA_SASL_RESPONSE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- 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))
-
-typedef struct _LassoSaSASLResponse LassoSaSASLResponse;
-typedef struct _LassoSaSASLResponseClass LassoSaSASLResponseClass;
-
-struct _LassoSaSASLResponse {
- LassoNode parent;
-
- /*< public >*/
- LassoUtilityStatus *Status;
- GList *PasswordTransforms; /* of LassoNode */
- GList *Data; /* of strings */
- GList *ResourceOffering; /* of LassoNode */
- GList *Credentials; /* of LassoNode */
- GList *any; /* of LassoNode */
-
- gchar *serverMechanism;
- gchar *id;
-};
-
-struct _LassoSaSASLResponseClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_sa_sasl_response_get_type(void);
-
-LASSO_EXPORT LassoSaSASLResponse* lasso_sa_sasl_response_new(LassoUtilityStatus *status);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_SASL_RESPONSE_H__ */
diff --git a/lasso/xml/sa_transform.c b/lasso/xml/sa_transform.c
deleted file mode 100644
index 16c64ab2..00000000
--- a/lasso/xml/sa_transform.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sa_transform.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:sa_transform
- * @short_description: <sa:Transform>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Parameter", SNIPPET_LIST_NODES, G_STRUCT_OFFSET(LassoSaTransform, Parameter), NULL, NULL, NULL},
- { "name", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSaTransform, name), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSaTransform, id), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSaTransformClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Transform");
- lasso_node_class_set_ns(nclass, LASSO_SA_HREF, LASSO_SA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sa_transform_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSaTransformClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSaTransform),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSaTransform", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSaTransform*
-lasso_sa_transform_new(const char *name)
-{
- LassoSaTransform *node;
-
- g_return_val_if_fail(name != NULL, NULL);
-
- node = g_object_new(LASSO_TYPE_SA_TRANSFORM, NULL);
-
- node->name = g_strdup(name);
-
- return node;
-}
diff --git a/lasso/xml/sa_transform.h b/lasso/xml/sa_transform.h
deleted file mode 100644
index b2c1b775..00000000
--- a/lasso/xml/sa_transform.h
+++ /dev/null
@@ -1,70 +0,0 @@
-/* $Id$$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SA_TRANSFORM_H__
-#define __LASSO_SA_TRANSFORM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SA_TRANSFORM (lasso_sa_transform_get_type())
-#define LASSO_SA_TRANSFORM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SA_TRANSFORM, LassoSaTransform))
-#define LASSO_SA_TRANSFORM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SA_TRANSFORM, LassoSaTransformClass))
-#define LASSO_IS_SA_TRANSFORM(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SA_TRANSFORM))
-#define LASSO_IS_SA_TRANSFORM_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SA_TRANSFORM))
-#define LASSO_SA_TRANSFORM_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SA_TRANSFORM, LassoSaTransformClass))
-
-
-typedef struct _LassoSaTransform LassoSaTransform;
-typedef struct _LassoSaTransformClass LassoSaTransformClass;
-
-struct _LassoSaTransform {
- LassoNode parent;
-
- GList *Parameter; /* of LassoNode */
-
- char *name;
- char *id;
-};
-
-struct _LassoSaTransformClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_sa_transform_get_type(void);
-
-LASSO_EXPORT LassoSaTransform* lasso_sa_transform_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SA_TRANSFORM_H__ */
diff --git a/lasso/xml/saml-2.0/saml2_strings.h b/lasso/xml/saml-2.0/saml2_strings.h
index f6892125..3001e8e4 100644
--- a/lasso/xml/saml-2.0/saml2_strings.h
+++ b/lasso/xml/saml-2.0/saml2_strings.h
@@ -202,17 +202,6 @@
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_ENCRYPTED \
"urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted"
-/* Attribute Names */
-
-/**
- * LASSO_SAML2_ATTRIBUTE_NAME_EPR:
- *
- * Attribute name for tranmitting Discovery bootstrap EPR when using ID-WSF 2.0 framework. It must
- * be used conjointly with #LASSO_SAML2_ATTRIBUTE_NAME_FORMAT_URI as format for the attribute
- * element.
- */
-#define LASSO_SAML2_ATTRIBUTE_NAME_EPR "urn:liberty:disco:2006-08:DiscoveryEPR"
-
/* Attribute Name Format */
/**
diff --git a/lasso/xml/sec_resource_access_statement.c b/lasso/xml/sec_resource_access_statement.c
deleted file mode 100644
index f88cfded..00000000
--- a/lasso/xml/sec_resource_access_statement.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "sec_resource_access_statement.h"
-#include "idwsf_strings.h"
-
-/*
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-class_init(LassoSecResourceAccessStatementClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ResourceAccessStatement");
- lasso_node_class_set_ns(nclass, LASSO_SEC_HREF, LASSO_SEC_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_sec_resource_access_statement_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSecResourceAccessStatementClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSecResourceAccessStatement),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_SAML_SUBJECT_STATEMENT_ABSTRACT,
- "LassoSecResourceAccessStatement", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_sec_resource_access_statement_new:
- *
- * Creates a new #LassoSecResourceAccessStatement object.
- *
- * Return value: a newly created #LassoSecResourceAccessStatement object
- **/
-LassoNode* lasso_sec_resource_access_statement_new()
-{
- return g_object_new(LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT, NULL);
-}
diff --git a/lasso/xml/sec_resource_access_statement.h b/lasso/xml/sec_resource_access_statement.h
deleted file mode 100644
index 0c3edb46..00000000
--- a/lasso/xml/sec_resource_access_statement.h
+++ /dev/null
@@ -1,69 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SEC_RESOURCE_ACCESS_STATEMENT_H__
-#define __LASSO_SEC_RESOURCE_ACCESS_STATEMENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "saml_subject_statement_abstract.h"
-
-#define LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT (lasso_sec_resource_access_statement_get_type())
-#define LASSO_SEC_RESOURCE_ACCESS_STATEMENT(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT, \
- LassoSecResourceAccessStatement))
-#define LASSO_SEC_RESOURCE_ACCESS_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT, \
- LassoSecResourceAccessStatementClass))
-#define LASSO_IS_SEC_RESOURCE_ACCESS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT))
-#define LASSO_IS_SEC_RESOURCE_ACCESS_STATEMENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT))
-#define LASSO_SEC_RESOURCE_ACCESS_STATEMENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SEC_RESOURCE_ACCESS_STATEMENT, \
- LassoSecResourceAccessStatementClass))
-
-typedef struct _LassoSecResourceAccessStatement LassoSecResourceAccessStatement;
-typedef struct _LassoSecResourceAccessStatementClass LassoSecResourceAccessStatementClass;
-
-struct _LassoSecResourceAccessStatement {
- LassoSamlSubjectStatementAbstract parent;
-
- /*< public >*/
-};
-
-struct _LassoSecResourceAccessStatementClass {
- LassoSamlSubjectStatementAbstractClass parent;
-};
-
-LASSO_EXPORT GType lasso_sec_resource_access_statement_get_type(void);
-LASSO_EXPORT LassoNode* lasso_sec_resource_access_statement_new(void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SEC_RESOURCE_ACCESS_STATEMENT_H__ */
diff --git a/lasso/xml/soap_binding.c b/lasso/xml/soap_binding.c
deleted file mode 100644
index f8f91275..00000000
--- a/lasso/xml/soap_binding.c
+++ /dev/null
@@ -1,77 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding.h"
-
-#define find_node_type_in_list(iter, check) \
- {\
- while (iter && ! check(iter->data)) \
- iter = iter->next;\
- }
-
-/**
- * lasso_soap_binding_get_provider:
- * @envelope: a #LassoSoapEnvelope
- *
- * Look up the sb:Provider header in the SOAP message envelope.
- *
- * Return value: NULL if no Provider element is present in the header of the SOAP
- * envelope. If found it returns a reference you do not own.
- */
-LassoSoapBindingProvider*
-lasso_soap_binding_get_provider(LassoSoapEnvelope *envelope) {
- g_return_val_if_fail(envelope, NULL);
-
- if (envelope->Header) {
- GList *iter = envelope->Header->Other;
- find_node_type_in_list(iter, LASSO_IS_SOAP_BINDING_PROVIDER);
- if (iter) {
- return LASSO_SOAP_BINDING_PROVIDER(iter->data);
- }
- }
- return NULL;
-}
-
-/**
- * lasso_soap_binding_get_correlation:
- * @envelope: a #LassoSoapEnvelope
- *
- * Look up the sb:Correlation header in the SOAP message envelope.
- *
- * Return value: NULL if no Correlation element is present in the header of the
- * SOAP envelope. If found it returns a reference you do not own.
- */
-LassoSoapBindingCorrelation*
-lasso_soap_binding_get_correlation(LassoSoapEnvelope *envelope) {
- g_return_val_if_fail(envelope, NULL);
-
- if (envelope->Header) {
- GList *iter = envelope->Header->Other;
- find_node_type_in_list(iter, LASSO_IS_SOAP_BINDING_CORRELATION);
- if (iter) {
- return LASSO_SOAP_BINDING_CORRELATION(iter->data);
- }
- }
- return NULL;
-}
diff --git a/lasso/xml/soap_binding.h b/lasso/xml/soap_binding.h
deleted file mode 100644
index 087c44ca..00000000
--- a/lasso/xml/soap_binding.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_H__
-#define __LASSO_SOAP_BINDING_H__
-
-#include "soap_binding_provider.h"
-#include "soap_binding_correlation.h"
-#include "soap-1.1/soap_envelope.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-LASSO_EXPORT LassoSoapBindingProvider* lasso_soap_binding_get_provider(LassoSoapEnvelope *envelope);
-
-LASSO_EXPORT LassoSoapBindingCorrelation* lasso_soap_binding_get_correlation(LassoSoapEnvelope *evelope);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-#endif /* __LASSO_SOAP_BINDING_H__ */
diff --git a/lasso/xml/soap_binding_consent.c b/lasso/xml/soap_binding_consent.c
deleted file mode 100644
index d5192eac..00000000
--- a/lasso/xml/soap_binding_consent.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_consent.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_consent
- * @short_description: <soapbinding:ConsentType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "uri", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingConsent, uri), NULL, NULL, NULL},
- { "timestamp", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingConsent, timestamp), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingConsent, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingConsent, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingConsent, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingConsentClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Consent");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_HREF, LASSO_SOAP_BINDING_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_consent_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingConsentClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingConsent),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingConsent", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingConsent*
-lasso_soap_binding_consent_new(const gchar *uri)
-{
- LassoSoapBindingConsent *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_CONSENT, NULL);
-
- node->uri = g_strdup(uri);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_consent.h b/lasso/xml/soap_binding_consent.h
deleted file mode 100644
index e92e78e3..00000000
--- a/lasso/xml/soap_binding_consent.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_CONSENT_H__
-#define __LASSO_SOAP_BINDING_CONSENT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_CONSENT (lasso_soap_binding_consent_get_type())
-#define LASSO_SOAP_BINDING_CONSENT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_CONSENT, LassoSoapBindingConsent))
-#define LASSO_SOAP_BINDING_CONSENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_CONSENT, LassoSoapBindingConsentClass))
-#define LASSO_IS_SOAP_BINDING_CONSENT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_CONSENT))
-#define LASSO_IS_SOAP_BINDING_CONSENT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SOAP_BINDING_CONSENT))
-#define LASSO_SOAP_BINDING_CONSENT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_CONSENT, LassoSoapBindingConsentClass))
-
-typedef struct _LassoSoapBindingConsent LassoSoapBindingConsent;
-typedef struct _LassoSoapBindingConsentClass LassoSoapBindingConsentClass;
-
-struct _LassoSoapBindingConsent {
- LassoNode parent;
-
- gchar *uri;
- gchar *timestamp;
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingConsentClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_consent_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingConsent* lasso_soap_binding_consent_new(const gchar *uri);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_CONSENT_H__ */
diff --git a/lasso/xml/soap_binding_correlation.c b/lasso/xml/soap_binding_correlation.c
deleted file mode 100644
index d00ff487..00000000
--- a/lasso/xml/soap_binding_correlation.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_correlation.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_correlation
- * @short_description: <soapbinding:correlationType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "messageID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingCorrelation, messageID), NULL, NULL, NULL},
- { "refToMessageID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingCorrelation, refToMessageID), NULL, NULL, NULL},
- { "timestamp", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingCorrelation, timestamp), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingCorrelation, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingCorrelation, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingCorrelation, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingCorrelationClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Correlation");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_HREF, LASSO_SOAP_BINDING_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_correlation_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingCorrelationClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingCorrelation),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingCorrelation", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingCorrelation*
-lasso_soap_binding_correlation_new(const gchar *messageId, const gchar *timestamp)
-{
- LassoSoapBindingCorrelation *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_CORRELATION, NULL);
-
- node->messageID = g_strdup(messageId);
- node->timestamp = g_strdup(timestamp);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_correlation.h b/lasso/xml/soap_binding_correlation.h
deleted file mode 100644
index 1472b1d6..00000000
--- a/lasso/xml/soap_binding_correlation.h
+++ /dev/null
@@ -1,74 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_CORRELATION_H__
-#define __LASSO_SOAP_BINDING_CORRELATION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_CORRELATION (lasso_soap_binding_correlation_get_type())
-#define LASSO_SOAP_BINDING_CORRELATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_CORRELATION, LassoSoapBindingCorrelation))
-#define LASSO_SOAP_BINDING_CORRELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_CORRELATION, LassoSoapBindingCorrelationClass))
-#define LASSO_IS_SOAP_BINDING_CORRELATION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_CORRELATION))
-#define LASSO_IS_SOAP_BINDING_CORRELATION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SOAP_BINDING_CORRELATION))
-#define LASSO_SOAP_BINDING_CORRELATION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_CORRELATION, LassoSoapBindingCorrelationClass))
-
-typedef struct _LassoSoapBindingCorrelation LassoSoapBindingCorrelation;
-typedef struct _LassoSoapBindingCorrelationClass LassoSoapBindingCorrelationClass;
-
-struct _LassoSoapBindingCorrelation {
- LassoNode parent;
-
- gchar *messageID;
- gchar *refToMessageID;
- gchar *timestamp;
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingCorrelationClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_correlation_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingCorrelation* lasso_soap_binding_correlation_new(
- const gchar *messageId,
- const gchar *timestamp);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_CORRELATION_H__ */
diff --git a/lasso/xml/soap_binding_ext_credential.c b/lasso/xml/soap_binding_ext_credential.c
deleted file mode 100644
index c4ae6908..00000000
--- a/lasso/xml/soap_binding_ext_credential.c
+++ /dev/null
@@ -1,113 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_ext_credential.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_ext_credential
- * @short_description: <soapbinding:Credential>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredential, any), NULL, NULL, NULL},
- { "notOnOrAfter", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredential, notOnOrAfter), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingExtCredentialClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Credential");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_EXT_HREF, LASSO_SOAP_BINDING_EXT_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_ext_credential_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingExtCredentialClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingExtCredential),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingExtCredential", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingExtCredential*
-lasso_soap_binding_ext_credential_new(LassoNode *any)
-{
- LassoSoapBindingExtCredential *node;
-
- g_return_val_if_fail(LASSO_IS_NODE(any) != FALSE, NULL);
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL, NULL);
-
- node->any = g_list_append(node->any, any);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_ext_credential.h b/lasso/xml/soap_binding_ext_credential.h
deleted file mode 100644
index 6dfce28c..00000000
--- a/lasso/xml/soap_binding_ext_credential.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_EXT_CREDENTIAL_H__
-#define __LASSO_SOAP_BINDING_EXT_CREDENTIAL_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL \
- (lasso_soap_binding_ext_credential_get_type())
-#define LASSO_SOAP_BINDING_EXT_CREDENTIAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL, \
- LassoSoapBindingExtCredential))
-#define LASSO_SOAP_BINDING_EXT_CREDENTIAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL, \
- LassoSoapBindingExtCredentialClass))
-#define LASSO_IS_SOAP_BINDING_EXT_CREDENTIAL(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL))
-#define LASSO_IS_SOAP_BINDING_EXT_CREDENTIAL_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL))
-#define LASSO_SOAP_BINDING_EXT_CREDENTIAL_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIAL, \
- LassoSoapBindingExtCredentialClass))
-
-typedef struct _LassoSoapBindingExtCredential LassoSoapBindingExtCredential;
-typedef struct _LassoSoapBindingExtCredentialClass \
- LassoSoapBindingExtCredentialClass;
-
-struct _LassoSoapBindingExtCredential {
- LassoNode parent;
-
- GList *any; /* of LassoNode */
-
- gchar *notOnOrAfter;
-};
-
-struct _LassoSoapBindingExtCredentialClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_ext_credential_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingExtCredential* \
- lasso_soap_binding_ext_credential_new(LassoNode *any);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_EXT_CREDENTIAL_H__ */
diff --git a/lasso/xml/soap_binding_ext_credentials_context.c b/lasso/xml/soap_binding_ext_credentials_context.c
deleted file mode 100644
index 5f253805..00000000
--- a/lasso/xml/soap_binding_ext_credentials_context.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_ext_credentials_context.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_ext_credentials_context
- * @short_description: <soapbinding:CredentialsContextType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "RequestAuthnContext", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredentialsContext, RequestAuthnContext), NULL,
- LASSO_LIB_PREFIX, LASSO_LIB_HREF},
- { "SecurityMechID", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredentialsContext, SecurityMechID), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingExtCredentialsContext, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredentialsContext, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtCredentialsContext, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingExtCredentialsContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "CredentialsContext");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_EXT_HREF, LASSO_SOAP_BINDING_EXT_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_ext_credentials_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingExtCredentialsContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingExtCredentialsContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingExtCredentialsContext", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingExtCredentialsContext*
-lasso_soap_binding_ext_credentials_context_new()
-{
- LassoSoapBindingExtCredentialsContext *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_ext_credentials_context.h b/lasso/xml/soap_binding_ext_credentials_context.h
deleted file mode 100644
index 471c5012..00000000
--- a/lasso/xml/soap_binding_ext_credentials_context.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_H__
-#define __LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "lib_request_authn_context.h"
-
-#define LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT \
- (lasso_soap_binding_ext_credentials_context_get_type())
-#define LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT, \
- LassoSoapBindingExtCredentialsContext))
-#define LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT, \
- LassoSoapBindingExtCredentialsContextClass))
-#define LASSO_IS_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT))
-#define LASSO_IS_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT))
-#define LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT, \
- LassoSoapBindingExtCredentialsContextClass))
-
-typedef struct _LassoSoapBindingExtCredentialsContext LassoSoapBindingExtCredentialsContext;
-typedef struct _LassoSoapBindingExtCredentialsContextClass \
- LassoSoapBindingExtCredentialsContextClass;
-
-struct _LassoSoapBindingExtCredentialsContext {
- LassoNode parent;
-
- LassoLibRequestAuthnContext *RequestAuthnContext;
- gchar *SecurityMechID;
-
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingExtCredentialsContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_ext_credentials_context_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingExtCredentialsContext* \
- lasso_soap_binding_ext_credentials_context_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_EXT_CREDENTIALS_CONTEXT_H__ */
diff --git a/lasso/xml/soap_binding_ext_service_instance_update.c b/lasso/xml/soap_binding_ext_service_instance_update.c
deleted file mode 100644
index adffa0ba..00000000
--- a/lasso/xml/soap_binding_ext_service_instance_update.c
+++ /dev/null
@@ -1,125 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_ext_service_instance_update.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_ext_service_instance_update
- * @short_description: <soapbinding:ServiceInstanceUpdateType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "SecurityMechID", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, SecurityMechID), NULL, NULL, NULL},
- { "Credential", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, Credential), NULL, NULL, NULL},
- { "Endpoint", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, Endpoint), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtServiceInstanceUpdate, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingExtServiceInstanceUpdateClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ServiceInstanceUpdate");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_EXT_HREF, LASSO_SOAP_BINDING_EXT_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_ext_service_instance_update_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingExtServiceInstanceUpdateClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingExtServiceInstanceUpdate),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingExtServiceInstanceUpdate", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingExtServiceInstanceUpdate*
-lasso_soap_binding_ext_service_instance_update_new()
-{
- LassoSoapBindingExtServiceInstanceUpdate *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE, NULL);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_ext_service_instance_update.h b/lasso/xml/soap_binding_ext_service_instance_update.h
deleted file mode 100644
index 19921a8f..00000000
--- a/lasso/xml/soap_binding_ext_service_instance_update.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_H__
-#define __LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-#include "soap_binding_ext_credential.h"
-
-#define LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE \
- (lasso_soap_binding_ext_service_instance_update_get_type())
-#define LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE, \
- LassoSoapBindingExtServiceInstanceUpdate))
-#define LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE, \
- LassoSoapBindingExtServiceInstanceUpdateClass))
-#define LASSO_IS_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE))
-#define LASSO_IS_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE))
-#define LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE, \
- LassoSoapBindingExtServiceInstanceUpdateClass))
-
-typedef struct _LassoSoapBindingExtServiceInstanceUpdate LassoSoapBindingExtServiceInstanceUpdate;
-typedef struct _LassoSoapBindingExtServiceInstanceUpdateClass \
- LassoSoapBindingExtServiceInstanceUpdateClass;
-
-struct _LassoSoapBindingExtServiceInstanceUpdate {
- LassoNode parent;
-
- gchar *SecurityMechID;
- LassoSoapBindingExtCredential *Credential;
- gchar *Endpoint;
-
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingExtServiceInstanceUpdateClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_ext_service_instance_update_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingExtServiceInstanceUpdate* \
- lasso_soap_binding_ext_service_instance_update_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_EXT_SERVICE_INSTANCE_UPDATE_H__ */
diff --git a/lasso/xml/soap_binding_ext_timeout.c b/lasso/xml/soap_binding_ext_timeout.c
deleted file mode 100644
index f7a39f79..00000000
--- a/lasso/xml/soap_binding_ext_timeout.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_ext_timeout.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_ext_timeout
- * @short_description: <soapbinding:TimeoutType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "maxProcessingTime", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER, \
- G_STRUCT_OFFSET(LassoSoapBindingExtTimeout, maxProcessingTime), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingExtTimeout, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingExtTimeout, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingExtTimeout, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingExtTimeoutClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Timeout");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_EXT_HREF, LASSO_SOAP_BINDING_EXT_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_ext_timeout_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingExtTimeoutClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingExtTimeout),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingExtTimeout", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingExtTimeout*
-lasso_soap_binding_ext_timeout_new(gint maxProcessingTime)
-{
- LassoSoapBindingExtTimeout *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT, NULL);
-
- node->maxProcessingTime = maxProcessingTime;
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_ext_timeout.h b/lasso/xml/soap_binding_ext_timeout.h
deleted file mode 100644
index 4d81bf5a..00000000
--- a/lasso/xml/soap_binding_ext_timeout.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_EXT_TIMEOUT_H__
-#define __LASSO_SOAP_BINDING_EXT_TIMEOUT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT (lasso_soap_binding_ext_timeout_get_type())
-#define LASSO_SOAP_BINDING_EXT_TIMEOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT, LassoSoapBindingExtTimeout))
-#define LASSO_SOAP_BINDING_EXT_TIMEOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT, LassoSoapBindingExtTimeoutClass))
-#define LASSO_IS_SOAP_BINDING_EXT_TIMEOUT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT))
-#define LASSO_IS_SOAP_BINDING_EXT_TIMEOUT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT))
-#define LASSO_SOAP_BINDING_EXT_TIMEOUT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_EXT_TIMEOUT, LassoSoapBindingExtTimeoutClass))
-
-typedef struct _LassoSoapBindingExtTimeout LassoSoapBindingExtTimeout;
-typedef struct _LassoSoapBindingExtTimeoutClass \
- LassoSoapBindingExtTimeoutClass;
-
-struct _LassoSoapBindingExtTimeout {
- LassoNode parent;
-
- gint maxProcessingTime;
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingExtTimeoutClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_ext_timeout_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingExtTimeout* lasso_soap_binding_ext_timeout_new(gint maxProcessingTime);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_EXT_TIMEOUT_H__ */
diff --git a/lasso/xml/soap_binding_processing_context.c b/lasso/xml/soap_binding_processing_context.c
deleted file mode 100644
index ef64c23f..00000000
--- a/lasso/xml/soap_binding_processing_context.c
+++ /dev/null
@@ -1,112 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_processing_context.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_processing_context
- * @short_description: <soapbinding:ProcessingContextType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingProcessingContext, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingProcessingContext, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingProcessingContext, actor), NULL, NULL, NULL},
- { "", SNIPPET_TEXT_CHILD, G_STRUCT_OFFSET(LassoSoapBindingProcessingContext, content), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingProcessingContextClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ProcessingContext");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_HREF, LASSO_SOAP_BINDING_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_processing_context_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingProcessingContextClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingProcessingContext),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingProcessingContext", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingProcessingContext*
-lasso_soap_binding_processing_context_new()
-{
- LassoSoapBindingProcessingContext *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT, NULL);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_processing_context.h b/lasso/xml/soap_binding_processing_context.h
deleted file mode 100644
index b026f78d..00000000
--- a/lasso/xml/soap_binding_processing_context.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_PROCESSING_CONTEXT_H__
-#define __LASSO_SOAP_BINDING_PROCESSING_CONTEXT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT \
- (lasso_soap_binding_processing_context_get_type())
-#define LASSO_SOAP_BINDING_PROCESSING_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT, LassoSoapBindingProcessingContext))
-#define LASSO_SOAP_BINDING_PROCESSING_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT, LassoSoapBindingProcessingContextClass))
-#define LASSO_IS_SOAP_BINDING_PROCESSING_CONTEXT(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT))
-#define LASSO_IS_SOAP_BINDING_PROCESSING_CONTEXT_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT))
-#define LASSO_SOAP_BINDING_PROCESSING_CONTEXT_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SOAP_BINDING_PROCESSING_CONTEXT, \
- LassoSoapBindingProcessingContextClass))
-
-typedef struct _LassoSoapBindingProcessingContext LassoSoapBindingProcessingContext;
-typedef struct _LassoSoapBindingProcessingContextClass LassoSoapBindingProcessingContextClass;
-
-struct _LassoSoapBindingProcessingContext {
- LassoNode parent;
-
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
- gchar *content;
-};
-
-struct _LassoSoapBindingProcessingContextClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_processing_context_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingProcessingContext* lasso_soap_binding_processing_context_new();
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_PROCESSING_CONTEXT_H__ */
diff --git a/lasso/xml/soap_binding_provider.c b/lasso/xml/soap_binding_provider.c
deleted file mode 100644
index f91aef14..00000000
--- a/lasso/xml/soap_binding_provider.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_provider.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_provider
- * @short_description: <soapbinding:ProviderType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "providerID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingProvider, providerID), NULL, NULL, NULL},
- { "affiliationID", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingProvider, affiliationID), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingProvider, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingProvider, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingProvider, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingProviderClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Provider");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_HREF, LASSO_SOAP_BINDING_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_provider_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingProviderClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingProvider),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingProvider", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingProvider*
-lasso_soap_binding_provider_new(const gchar *providerID)
-{
- LassoSoapBindingProvider *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_PROVIDER, NULL);
-
- node->providerID = g_strdup(providerID);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_provider.h b/lasso/xml/soap_binding_provider.h
deleted file mode 100644
index 996f85b6..00000000
--- a/lasso/xml/soap_binding_provider.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_PROVIDER_H__
-#define __LASSO_SOAP_BINDING_PROVIDER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_PROVIDER (lasso_soap_binding_provider_get_type())
-#define LASSO_SOAP_BINDING_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_PROVIDER, LassoSoapBindingProvider))
-#define LASSO_SOAP_BINDING_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_PROVIDER, LassoSoapBindingProviderClass))
-#define LASSO_IS_SOAP_BINDING_PROVIDER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_PROVIDER))
-#define LASSO_IS_SOAP_BINDING_PROVIDER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SOAP_BINDING_PROVIDER))
-#define LASSO_SOAP_BINDING_PROVIDER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_PROVIDER, LassoSoapBindingProviderClass))
-
-typedef struct _LassoSoapBindingProvider LassoSoapBindingProvider;
-typedef struct _LassoSoapBindingProviderClass LassoSoapBindingProviderClass;
-
-struct _LassoSoapBindingProvider {
- LassoNode parent;
-
- gchar *providerID;
- gchar *affiliationID;
-
- gchar *id;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingProviderClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_provider_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingProvider* lasso_soap_binding_provider_new(const gchar *providerID);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_PROVIDER_H__ */
diff --git a/lasso/xml/soap_binding_usage_directive.c b/lasso/xml/soap_binding_usage_directive.c
deleted file mode 100644
index 81ba8884..00000000
--- a/lasso/xml/soap_binding_usage_directive.c
+++ /dev/null
@@ -1,116 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "soap_binding_usage_directive.h"
-#include "idwsf_strings.h"
-
-/**
- * SECTION:soap_binding_usage_directive
- * @short_description: <soapbinding:UsageDirectiveType>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES,
- G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, other), NULL, NULL, NULL},
- { "ref", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, ref), NULL, NULL, NULL},
- { "id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, id), NULL, NULL, NULL},
- { "mustUnderstand", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, mustUnderstand), NULL, NULL, NULL},
- { "actor", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoSoapBindingUsageDirective, actor), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoSoapBindingUsageDirectiveClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "UsageDirective");
- lasso_node_class_set_ns(nclass, LASSO_SOAP_BINDING_HREF, LASSO_SOAP_BINDING_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_soap_binding_usage_directive_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoSoapBindingUsageDirectiveClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoSoapBindingUsageDirective),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoSoapBindingUsageDirective", &this_info, 0);
- }
- return this_type;
-}
-
-LassoSoapBindingUsageDirective*
-lasso_soap_binding_usage_directive_new(const gchar *ref)
-{
- LassoSoapBindingUsageDirective *node;
-
- node = g_object_new(LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE, NULL);
-
- node->ref = g_strdup(ref);
-
- return node;
-}
diff --git a/lasso/xml/soap_binding_usage_directive.h b/lasso/xml/soap_binding_usage_directive.h
deleted file mode 100644
index 08393275..00000000
--- a/lasso/xml/soap_binding_usage_directive.h
+++ /dev/null
@@ -1,73 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_SOAP_BINDING_USAGE_DIRECTIVE_H__
-#define __LASSO_SOAP_BINDING_USAGE_DIRECTIVE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE (lasso_soap_binding_usage_directive_get_type())
-#define LASSO_SOAP_BINDING_USAGE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE, LassoSoapBindingUsageDirective))
-#define LASSO_SOAP_BINDING_USAGE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE, LassoSoapBindingUsageDirectiveClass))
-#define LASSO_IS_SOAP_BINDING_USAGE_DIRECTIVE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE))
-#define LASSO_IS_SOAP_BINDING_USAGE_DIRECTIVE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE))
-#define LASSO_SOAP_BINDING_USAGE_DIRECTIVE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_SOAP_BINDING_USAGE_DIRECTIVE, LassoSoapBindingUsageDirectiveClass))
-
-typedef struct _LassoSoapBindingUsageDirective LassoSoapBindingUsageDirective;
-typedef struct _LassoSoapBindingUsageDirectiveClass LassoSoapBindingUsageDirectiveClass;
-
-struct _LassoSoapBindingUsageDirective {
- LassoNode parent;
-
- GList *other; /* of LassoNode */
-
- gchar *id;
- gchar *ref;
- gchar *mustUnderstand;
- gchar *actor;
-};
-
-struct _LassoSoapBindingUsageDirectiveClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_soap_binding_usage_directive_get_type(void);
-
-LASSO_EXPORT LassoSoapBindingUsageDirective* lasso_soap_binding_usage_directive_new(
- const gchar *ref);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_SOAP_BINDING_USAGE_DIRECTIVE_H__ */
diff --git a/lasso/xml/utility_status.c b/lasso/xml/utility_status.c
deleted file mode 100644
index c8112e17..00000000
--- a/lasso/xml/utility_status.c
+++ /dev/null
@@ -1,120 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "private.h"
-#include "utility_status.h"
-
-/**
- * SECTION:utility_status
- * @short_description: <utility:Status>
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Status", SNIPPET_NODE, G_STRUCT_OFFSET(LassoUtilityStatus, Status), NULL, NULL, NULL},
- { "code", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoUtilityStatus, code), NULL, NULL, NULL},
- { "ref", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoUtilityStatus, ref), NULL, NULL, NULL},
- { "comment", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoUtilityStatus, comment), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-
-static void
-class_init(LassoUtilityStatusClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Status");
- /* no namespace */
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_utility_status_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoUtilityStatusClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoUtilityStatus),
- 0,
- NULL,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoUtilityStatus", &this_info, 0);
- }
- return this_type;
-}
-
-LassoUtilityStatus*
-lasso_utility_status_new(const char *code)
-{
- LassoUtilityStatus *status;
-
- g_return_val_if_fail(code != NULL, NULL);
-
- status = g_object_new(LASSO_TYPE_UTILITY_STATUS, NULL);
-
- status->code = g_strdup(code);
-
- return status;
-}
-
diff --git a/lasso/xml/utility_status.h b/lasso/xml/utility_status.h
deleted file mode 100644
index 9913261f..00000000
--- a/lasso/xml/utility_status.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_UTILITY_STATUS_H__
-#define __LASSO_UTILITY_STATUS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "xml.h"
-
-#define LASSO_TYPE_UTILITY_STATUS (lasso_utility_status_get_type())
-#define LASSO_UTILITY_STATUS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_UTILITY_STATUS, LassoUtilityStatus))
-#define LASSO_UTILITY_STATUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_UTILITY_STATUS, LassoUtilityStatusClass))
-#define LASSO_IS_UTILITY_STATUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_UTILITY_STATUS))
-#define LASSO_IS_UTILITY_STATUS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_UTILITY_STATUS))
-#define LASSO_UTILITY_STATUS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_UTILITY_STATUS, LassoUtilityStatusClass))
-
-typedef struct _LassoUtilityStatus LassoUtilityStatus;
-typedef struct _LassoUtilityStatusClass LassoUtilityStatusClass;
-
-struct _LassoUtilityStatus {
- LassoNode parent;
-
- LassoUtilityStatus *Status;
- char *code;
- char *ref;
- char *comment;
-};
-
-struct _LassoUtilityStatusClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_utility_status_get_type(void);
-LASSO_EXPORT LassoUtilityStatus* lasso_utility_status_new(const char *code);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_UTILITY_STATUS_H__ */
diff --git a/lasso/xml/ws/Makefile.am b/lasso/xml/ws/Makefile.am
deleted file mode 100644
index 9388d7fd..00000000
--- a/lasso/xml/ws/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-MAINTAINERCLEANFILES = Makefile.in
-liblassoincludedir = $(includedir)/lasso/xml/ws
-
-AM_CPPFLAGS = \
- -I$(top_builddir) \
- -I$(top_srcdir) \
- $(LASSO_CORE_CFLAGS) \
- -DG_LOG_DOMAIN=\"lasso\"
-
-noinst_LTLIBRARIES = liblasso-xml-ws.la
-
-liblasso_xml_ws_la_SOURCES = \
- wsa_attributed_any.c \
- wsa_attributed_qname.c \
- wsa_attributed_unsigned_long.c \
- wsa_attributed_uri.c \
- wsa_endpoint_reference.c \
- wsa_metadata.c \
- wsa_problem_action.c \
- wsa_reference_parameters.c \
- wsa_relates_to.c \
- wsse_embedded.c \
- wsse_reference.c \
- wsse_security_header.c \
- wsse_security_token_reference.c \
- wsse_transformation_parameters.c \
- wsse_username_token.c \
- wsu_timestamp.c
-
-liblassoinclude_HEADERS = \
- wsa_attributed_any.h \
- wsa_attributed_qname.h \
- wsa_attributed_unsigned_long.h \
- wsa_attributed_uri.h \
- wsa_endpoint_reference.h \
- wsa_metadata.h \
- wsa_problem_action.h \
- wsa_reference_parameters.h \
- wsa_relates_to.h \
- wsse_embedded.h \
- wsse_reference.h \
- wsse_security_header.h \
- wsse_security_token_reference.h \
- wsse_transformation_parameters.h \
- wsse_username_token.h \
- wsu_timestamp.h \
- xml_ws.h
-
diff --git a/lasso/xml/ws/wsa_attributed_any.c b/lasso/xml/ws/wsa_attributed_any.c
deleted file mode 100644
index f481d739..00000000
--- a/lasso/xml/ws/wsa_attributed_any.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id: wsa_attributed_any.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_attributed_any.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrAttributedAny, any), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrAttributedAny, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrAttributedAny *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrAttributedAnyClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ProblemHeader");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_attributed_any_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrAttributedAnyClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrAttributedAny),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrAttributedAny", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_attributed_any_new:
- *
- * Creates a new #LassoWsAddrAttributedAny object.
- *
- * Return value: a newly created #LassoWsAddrAttributedAny object
- **/
-LassoWsAddrAttributedAny*
-lasso_wsa_attributed_any_new()
-{
- return g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_ANY, NULL);
-}
diff --git a/lasso/xml/ws/wsa_attributed_any.h b/lasso/xml/ws/wsa_attributed_any.h
deleted file mode 100644
index acc18bdc..00000000
--- a/lasso/xml/ws/wsa_attributed_any.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: wsa_attributed_any.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_ATTRIBUTED_ANY_H__
-#define __LASSO_WSA_ATTRIBUTED_ANY_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_ATTRIBUTED_ANY (lasso_wsa_attributed_any_get_type())
-#define LASSO_WSA_ATTRIBUTED_ANY(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_ANY, \
- LassoWsAddrAttributedAny))
-#define LASSO_WSA_ATTRIBUTED_ANY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_ANY, \
- LassoWsAddrAttributedAnyClass))
-#define LASSO_IS_WSA_ATTRIBUTED_ANY(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_ANY))
-#define LASSO_IS_WSA_ATTRIBUTED_ANY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_ANY))
-#define LASSO_WSA_ATTRIBUTED_ANY_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_ATTRIBUTED_ANY, \
- LassoWsAddrAttributedAnyClass))
-
-
-typedef struct _LassoWsAddrAttributedAny LassoWsAddrAttributedAny;
-typedef struct _LassoWsAddrAttributedAnyClass LassoWsAddrAttributedAnyClass;
-
-
-struct _LassoWsAddrAttributedAny {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrAttributedAnyClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_attributed_any_get_type(void);
-LASSO_EXPORT LassoWsAddrAttributedAny* lasso_wsa_attributed_any_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_ATTRIBUTED_ANY_H__ */
diff --git a/lasso/xml/ws/wsa_attributed_qname.c b/lasso/xml/ws/wsa_attributed_qname.c
deleted file mode 100644
index e0f2dff1..00000000
--- a/lasso/xml/ws/wsa_attributed_qname.c
+++ /dev/null
@@ -1,134 +0,0 @@
-/* $Id: wsa_attributed_qname.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_attributed_qname.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoWsAddrAttributedQName, content), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrAttributedQName, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrAttributedQName *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrAttributedQNameClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ProblemHeaderQName");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_attributed_qname_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrAttributedQNameClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrAttributedQName),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrAttributedQName", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_attributed_qname_new:
- *
- * Creates a new #LassoWsAddrAttributedQName object.
- *
- * Return value: a newly created #LassoWsAddrAttributedQName object
- **/
-LassoWsAddrAttributedQName*
-lasso_wsa_attributed_qname_new()
-{
- return g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_QNAME, NULL);
-}
-
-
-/**
- * lasso_wsa_attributed_qname_new_with_string:
- * @content: a content string.
- *
- * Creates a new #LassoWsAddrAttributedQName object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoWsAddrAttributedQName object
- **/
-LassoWsAddrAttributedQName*
-lasso_wsa_attributed_qname_new_with_string(char *content)
-{
- LassoWsAddrAttributedQName *object;
- object = g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_QNAME, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/ws/wsa_attributed_qname.h b/lasso/xml/ws/wsa_attributed_qname.h
deleted file mode 100644
index ad81b99a..00000000
--- a/lasso/xml/ws/wsa_attributed_qname.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: wsa_attributed_qname.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_ATTRIBUTED_QNAME_H__
-#define __LASSO_WSA_ATTRIBUTED_QNAME_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_ATTRIBUTED_QNAME (lasso_wsa_attributed_qname_get_type())
-#define LASSO_WSA_ATTRIBUTED_QNAME(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_QNAME, \
- LassoWsAddrAttributedQName))
-#define LASSO_WSA_ATTRIBUTED_QNAME_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_QNAME, \
- LassoWsAddrAttributedQNameClass))
-#define LASSO_IS_WSA_ATTRIBUTED_QNAME(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_QNAME))
-#define LASSO_IS_WSA_ATTRIBUTED_QNAME_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_QNAME))
-#define LASSO_WSA_ATTRIBUTED_QNAME_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_ATTRIBUTED_QNAME, \
- LassoWsAddrAttributedQNameClass))
-
-
-typedef struct _LassoWsAddrAttributedQName LassoWsAddrAttributedQName;
-typedef struct _LassoWsAddrAttributedQNameClass LassoWsAddrAttributedQNameClass;
-
-
-struct _LassoWsAddrAttributedQName {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrAttributedQNameClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_attributed_qname_get_type(void);
-LASSO_EXPORT LassoWsAddrAttributedQName* lasso_wsa_attributed_qname_new(void);
-
-LASSO_EXPORT LassoWsAddrAttributedQName* lasso_wsa_attributed_qname_new_with_string(char *content);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_ATTRIBUTED_QNAME_H__ */
diff --git a/lasso/xml/ws/wsa_attributed_unsigned_long.c b/lasso/xml/ws/wsa_attributed_unsigned_long.c
deleted file mode 100644
index 6740f326..00000000
--- a/lasso/xml/ws/wsa_attributed_unsigned_long.c
+++ /dev/null
@@ -1,115 +0,0 @@
-/* $Id: wsa_attributed_unsigned_long.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_attributed_unsigned_long.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD | SNIPPET_INTEGER,
- G_STRUCT_OFFSET(LassoWsAddrAttributedUnsignedLong, content), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrAttributedUnsignedLong, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrAttributedUnsignedLong *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrAttributedUnsignedLongClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RetryAfter");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_attributed_unsigned_long_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrAttributedUnsignedLongClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrAttributedUnsignedLong),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrAttributedUnsignedLong", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_attributed_unsigned_long_new:
- *
- * Creates a new #LassoWsAddrAttributedUnsignedLong object.
- *
- * Return value: a newly created #LassoWsAddrAttributedUnsignedLong object
- **/
-LassoWsAddrAttributedUnsignedLong*
-lasso_wsa_attributed_unsigned_long_new()
-{
- return g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG, NULL);
-}
diff --git a/lasso/xml/ws/wsa_attributed_unsigned_long.h b/lasso/xml/ws/wsa_attributed_unsigned_long.h
deleted file mode 100644
index af00ff0b..00000000
--- a/lasso/xml/ws/wsa_attributed_unsigned_long.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: wsa_attributed_unsigned_long.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_H__
-#define __LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG \
- (lasso_wsa_attributed_unsigned_long_get_type())
-#define LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG, \
- LassoWsAddrAttributedUnsignedLong))
-#define LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG, \
- LassoWsAddrAttributedUnsignedLongClass))
-#define LASSO_IS_WSA_ATTRIBUTED_UNSIGNED_LONG(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG))
-#define LASSO_IS_WSA_ATTRIBUTED_UNSIGNED_LONG_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG))
-#define LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_ATTRIBUTED_UNSIGNED_LONG, \
- LassoWsAddrAttributedUnsignedLongClass))
-
-
-typedef struct _LassoWsAddrAttributedUnsignedLong LassoWsAddrAttributedUnsignedLong;
-typedef struct _LassoWsAddrAttributedUnsignedLongClass LassoWsAddrAttributedUnsignedLongClass;
-
-
-struct _LassoWsAddrAttributedUnsignedLong {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- int content;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrAttributedUnsignedLongClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_attributed_unsigned_long_get_type(void);
-LASSO_EXPORT LassoWsAddrAttributedUnsignedLong* lasso_wsa_attributed_unsigned_long_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_ATTRIBUTED_UNSIGNED_LONG_H__ */
diff --git a/lasso/xml/ws/wsa_attributed_uri.c b/lasso/xml/ws/wsa_attributed_uri.c
deleted file mode 100644
index 160afa7d..00000000
--- a/lasso/xml/ws/wsa_attributed_uri.c
+++ /dev/null
@@ -1,141 +0,0 @@
-/* $Id: wsa_attributed_uri.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_attributed_uri.h"
-#include "../idwsf_strings.h"
-#include "../../registry.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoWsAddrAttributedURI, content), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrAttributedURI, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrAttributedURI *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrAttributedURIClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "AttributedURI");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_attributed_uri_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrAttributedURIClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrAttributedURI),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrAttributedURI", &this_info, 0);
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "Action",
- LASSO_LASSO_HREF, "LassoWsAddrAttributedURI");
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "MessageID",
- LASSO_LASSO_HREF, "LassoWsAddrAttributedURI");
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "To", LASSO_LASSO_HREF,
- "LassoWsAddrAttributedURI");
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_attributed_uri_new:
- *
- * Creates a new #LassoWsAddrAttributedURI object.
- *
- * Return value: a newly created #LassoWsAddrAttributedURI object
- **/
-LassoWsAddrAttributedURI*
-lasso_wsa_attributed_uri_new()
-{
- return g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_URI, NULL);
-}
-
-
-/**
- * lasso_wsa_attributed_uri_new_with_string:
- * @content: a content string
- *
- * Creates a new #LassoWsAddrAttributedURI object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoWsAddrAttributedURI object
- **/
-LassoWsAddrAttributedURI*
-lasso_wsa_attributed_uri_new_with_string(const char *content)
-{
- LassoWsAddrAttributedURI *object;
- object = g_object_new(LASSO_TYPE_WSA_ATTRIBUTED_URI, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/ws/wsa_attributed_uri.h b/lasso/xml/ws/wsa_attributed_uri.h
deleted file mode 100644
index 807e4deb..00000000
--- a/lasso/xml/ws/wsa_attributed_uri.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: wsa_attributed_uri.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_ATTRIBUTED_URI_H__
-#define __LASSO_WSA_ATTRIBUTED_URI_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_ATTRIBUTED_URI (lasso_wsa_attributed_uri_get_type())
-#define LASSO_WSA_ATTRIBUTED_URI(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_URI, \
- LassoWsAddrAttributedURI))
-#define LASSO_WSA_ATTRIBUTED_URI_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_URI, \
- LassoWsAddrAttributedURIClass))
-#define LASSO_IS_WSA_ATTRIBUTED_URI(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_ATTRIBUTED_URI))
-#define LASSO_IS_WSA_ATTRIBUTED_URI_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_ATTRIBUTED_URI))
-#define LASSO_WSA_ATTRIBUTED_URI_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_ATTRIBUTED_URI, \
- LassoWsAddrAttributedURIClass))
-
-
-typedef struct _LassoWsAddrAttributedURI LassoWsAddrAttributedURI;
-typedef struct _LassoWsAddrAttributedURIClass LassoWsAddrAttributedURIClass;
-
-
-struct _LassoWsAddrAttributedURI {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrAttributedURIClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_attributed_uri_get_type(void);
-LASSO_EXPORT LassoWsAddrAttributedURI* lasso_wsa_attributed_uri_new(void);
-
-LASSO_EXPORT LassoWsAddrAttributedURI* lasso_wsa_attributed_uri_new_with_string(const char *content);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_ATTRIBUTED_URI_H__ */
diff --git a/lasso/xml/ws/wsa_endpoint_reference.c b/lasso/xml/ws/wsa_endpoint_reference.c
deleted file mode 100644
index 5bac1a3e..00000000
--- a/lasso/xml/ws/wsa_endpoint_reference.c
+++ /dev/null
@@ -1,133 +0,0 @@
-/* $Id: wsa_endpoint_reference.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_endpoint_reference.h"
-#include "../idwsf_strings.h"
-#include "../../registry.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Address", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, Address),
- "LassoWsAddrAttributedURI", NULL, NULL },
- { "ReferenceParameters", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, ReferenceParameters),
- "LassoWsAddrReferenceParameters", NULL, NULL },
- { "Metadata", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, Metadata),
- "LassoWsAddrMetadata", NULL, NULL },
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, any), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrEndpointReference, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrEndpointReference *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrEndpointReferenceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "EndpointReference");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_endpoint_reference_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrEndpointReferenceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrEndpointReference),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrEndpointReference", &this_info, 0);
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "From", LASSO_LASSO_HREF,
- "LassoWsAddrEndpointReference");
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "ReplyTo",
- LASSO_LASSO_HREF, "LassoWsAddrEndpointReference");
- lasso_registry_default_add_direct_mapping(LASSO_WSA_HREF, "FaultTo",
- LASSO_LASSO_HREF, "LassoWsAddrEndpointReference");
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_endpoint_reference_new:
- *
- * Creates a new #LassoWsAddrEndpointReference object.
- *
- * Return value: a newly created #LassoWsAddrEndpointReference object
- **/
-LassoWsAddrEndpointReference*
-lasso_wsa_endpoint_reference_new()
-{
- return g_object_new(LASSO_TYPE_WSA_ENDPOINT_REFERENCE, NULL);
-}
diff --git a/lasso/xml/ws/wsa_endpoint_reference.h b/lasso/xml/ws/wsa_endpoint_reference.h
deleted file mode 100644
index 3faed05c..00000000
--- a/lasso/xml/ws/wsa_endpoint_reference.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* $Id: wsa_endpoint_reference.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_ENDPOINT_REFERENCE_H__
-#define __LASSO_WSA_ENDPOINT_REFERENCE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "wsa_attributed_uri.h"
-#include "wsa_metadata.h"
-#include "wsa_reference_parameters.h"
-
-#define LASSO_TYPE_WSA_ENDPOINT_REFERENCE (lasso_wsa_endpoint_reference_get_type())
-#define LASSO_WSA_ENDPOINT_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_ENDPOINT_REFERENCE, \
- LassoWsAddrEndpointReference))
-#define LASSO_WSA_ENDPOINT_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_ENDPOINT_REFERENCE, \
- LassoWsAddrEndpointReferenceClass))
-#define LASSO_IS_WSA_ENDPOINT_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_ENDPOINT_REFERENCE))
-#define LASSO_IS_WSA_ENDPOINT_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_ENDPOINT_REFERENCE))
-#define LASSO_WSA_ENDPOINT_REFERENCE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_ENDPOINT_REFERENCE, \
- LassoWsAddrEndpointReferenceClass))
-
-
-typedef struct _LassoWsAddrEndpointReference LassoWsAddrEndpointReference;
-typedef struct _LassoWsAddrEndpointReferenceClass LassoWsAddrEndpointReferenceClass;
-
-
-struct _LassoWsAddrEndpointReference {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoWsAddrAttributedURI *Address;
- LassoWsAddrReferenceParameters *ReferenceParameters;
- LassoWsAddrMetadata *Metadata;
- GList *any; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrEndpointReferenceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_endpoint_reference_get_type(void);
-LASSO_EXPORT LassoWsAddrEndpointReference* lasso_wsa_endpoint_reference_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_ENDPOINT_REFERENCE_H__ */
diff --git a/lasso/xml/ws/wsa_metadata.c b/lasso/xml/ws/wsa_metadata.c
deleted file mode 100644
index 0b6e23e5..00000000
--- a/lasso/xml/ws/wsa_metadata.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id: wsa_metadata.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_metadata.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrMetadata, any), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrMetadata, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrMetadata *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrMetadataClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Metadata");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_metadata_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrMetadataClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrMetadata),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrMetadata", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_metadata_new:
- *
- * Creates a new #LassoWsAddrMetadata object.
- *
- * Return value: a newly created #LassoWsAddrMetadata object
- **/
-LassoWsAddrMetadata*
-lasso_wsa_metadata_new()
-{
- return g_object_new(LASSO_TYPE_WSA_METADATA, NULL);
-}
diff --git a/lasso/xml/ws/wsa_metadata.h b/lasso/xml/ws/wsa_metadata.h
deleted file mode 100644
index e5ab8e78..00000000
--- a/lasso/xml/ws/wsa_metadata.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: wsa_metadata.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_METADATA_H__
-#define __LASSO_WSA_METADATA_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_METADATA (lasso_wsa_metadata_get_type())
-#define LASSO_WSA_METADATA(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_METADATA, \
- LassoWsAddrMetadata))
-#define LASSO_WSA_METADATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_METADATA, \
- LassoWsAddrMetadataClass))
-#define LASSO_IS_WSA_METADATA(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_METADATA))
-#define LASSO_IS_WSA_METADATA_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_METADATA))
-#define LASSO_WSA_METADATA_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_METADATA, \
- LassoWsAddrMetadataClass))
-
-
-typedef struct _LassoWsAddrMetadata LassoWsAddrMetadata;
-typedef struct _LassoWsAddrMetadataClass LassoWsAddrMetadataClass;
-
-
-struct _LassoWsAddrMetadata {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrMetadataClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_metadata_get_type(void);
-LASSO_EXPORT LassoWsAddrMetadata* lasso_wsa_metadata_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_METADATA_H__ */
diff --git a/lasso/xml/ws/wsa_problem_action.c b/lasso/xml/ws/wsa_problem_action.c
deleted file mode 100644
index c7246ea8..00000000
--- a/lasso/xml/ws/wsa_problem_action.c
+++ /dev/null
@@ -1,118 +0,0 @@
-/* $Id: wsa_problem_action.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_problem_action.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Action", SNIPPET_NODE,
- G_STRUCT_OFFSET(LassoWsAddrProblemAction, Action),
- "LassoWsAddrAttributedURI", NULL, NULL },
- { "SoapAction", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoWsAddrProblemAction, SoapAction), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrProblemAction, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrProblemAction *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrProblemActionClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ProblemAction");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_problem_action_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrProblemActionClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrProblemAction),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrProblemAction", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_problem_action_new:
- *
- * Creates a new #LassoWsAddrProblemAction object.
- *
- * Return value: a newly created #LassoWsAddrProblemAction object
- **/
-LassoWsAddrProblemAction*
-lasso_wsa_problem_action_new()
-{
- return g_object_new(LASSO_TYPE_WSA_PROBLEM_ACTION, NULL);
-}
diff --git a/lasso/xml/ws/wsa_problem_action.h b/lasso/xml/ws/wsa_problem_action.h
deleted file mode 100644
index 23e4f873..00000000
--- a/lasso/xml/ws/wsa_problem_action.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: wsa_problem_action.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_PROBLEM_ACTION_H__
-#define __LASSO_WSA_PROBLEM_ACTION_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-#include "wsa_attributed_uri.h"
-
-#define LASSO_TYPE_WSA_PROBLEM_ACTION (lasso_wsa_problem_action_get_type())
-#define LASSO_WSA_PROBLEM_ACTION(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_PROBLEM_ACTION, \
- LassoWsAddrProblemAction))
-#define LASSO_WSA_PROBLEM_ACTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_PROBLEM_ACTION, \
- LassoWsAddrProblemActionClass))
-#define LASSO_IS_WSA_PROBLEM_ACTION(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_PROBLEM_ACTION))
-#define LASSO_IS_WSA_PROBLEM_ACTION_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_PROBLEM_ACTION))
-#define LASSO_WSA_PROBLEM_ACTION_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_PROBLEM_ACTION, \
- LassoWsAddrProblemActionClass))
-
-
-typedef struct _LassoWsAddrProblemAction LassoWsAddrProblemAction;
-typedef struct _LassoWsAddrProblemActionClass LassoWsAddrProblemActionClass;
-
-
-struct _LassoWsAddrProblemAction {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- LassoWsAddrAttributedURI *Action;
- char *SoapAction;
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrProblemActionClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_problem_action_get_type(void);
-LASSO_EXPORT LassoWsAddrProblemAction* lasso_wsa_problem_action_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_PROBLEM_ACTION_H__ */
diff --git a/lasso/xml/ws/wsa_reference_parameters.c b/lasso/xml/ws/wsa_reference_parameters.c
deleted file mode 100644
index f60213a3..00000000
--- a/lasso/xml/ws/wsa_reference_parameters.c
+++ /dev/null
@@ -1,114 +0,0 @@
-/* $Id: wsa_reference_parameters.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_reference_parameters.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrReferenceParameters, any), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrReferenceParameters, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrReferenceParameters *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrReferenceParametersClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "ReferenceParameters");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_reference_parameters_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrReferenceParametersClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrReferenceParameters),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrReferenceParameters", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_reference_parameters_new:
- *
- * Creates a new #LassoWsAddrReferenceParameters object.
- *
- * Return value: a newly created #LassoWsAddrReferenceParameters object
- **/
-LassoWsAddrReferenceParameters*
-lasso_wsa_reference_parameters_new()
-{
- return g_object_new(LASSO_TYPE_WSA_REFERENCE_PARAMETERS, NULL);
-}
diff --git a/lasso/xml/ws/wsa_reference_parameters.h b/lasso/xml/ws/wsa_reference_parameters.h
deleted file mode 100644
index 3f0efff0..00000000
--- a/lasso/xml/ws/wsa_reference_parameters.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: wsa_reference_parameters.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_REFERENCE_PARAMETERS_H__
-#define __LASSO_WSA_REFERENCE_PARAMETERS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_REFERENCE_PARAMETERS (lasso_wsa_reference_parameters_get_type())
-#define LASSO_WSA_REFERENCE_PARAMETERS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_REFERENCE_PARAMETERS, \
- LassoWsAddrReferenceParameters))
-#define LASSO_WSA_REFERENCE_PARAMETERS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_REFERENCE_PARAMETERS, \
- LassoWsAddrReferenceParametersClass))
-#define LASSO_IS_WSA_REFERENCE_PARAMETERS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_REFERENCE_PARAMETERS))
-#define LASSO_IS_WSA_REFERENCE_PARAMETERS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_REFERENCE_PARAMETERS))
-#define LASSO_WSA_REFERENCE_PARAMETERS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_REFERENCE_PARAMETERS, \
- LassoWsAddrReferenceParametersClass))
-
-
-typedef struct _LassoWsAddrReferenceParameters LassoWsAddrReferenceParameters;
-typedef struct _LassoWsAddrReferenceParametersClass LassoWsAddrReferenceParametersClass;
-
-
-struct _LassoWsAddrReferenceParameters {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrReferenceParametersClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_reference_parameters_get_type(void);
-LASSO_EXPORT LassoWsAddrReferenceParameters* lasso_wsa_reference_parameters_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_REFERENCE_PARAMETERS_H__ */
diff --git a/lasso/xml/ws/wsa_relates_to.c b/lasso/xml/ws/wsa_relates_to.c
deleted file mode 100644
index 7c639dbf..00000000
--- a/lasso/xml/ws/wsa_relates_to.c
+++ /dev/null
@@ -1,138 +0,0 @@
-/* $Id: wsa_relates_to.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsa_relates_to.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (ws-addr.xsd):
- *
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "content", SNIPPET_TEXT_CHILD,
- G_STRUCT_OFFSET(LassoWsAddrRelatesTo, content), NULL, NULL, NULL},
- { "RelationshipType", SNIPPET_ATTRIBUTE | SNIPPET_OPTIONAL,
- G_STRUCT_OFFSET(LassoWsAddrRelatesTo, RelationshipType), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsAddrRelatesTo, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsAddrRelatesTo *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsAddrRelatesToClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "RelatesTo");
- lasso_node_class_set_ns(nclass, LASSO_WSA_HREF, LASSO_WSA_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsa_relates_to_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsAddrRelatesToClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsAddrRelatesTo),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsAddrRelatesTo", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsa_relates_to_new:
- *
- * Creates a new #LassoWsAddrRelatesTo object.
- *
- * Return value: a newly created #LassoWsAddrRelatesTo object
- **/
-LassoWsAddrRelatesTo*
-lasso_wsa_relates_to_new()
-{
- return g_object_new(LASSO_TYPE_WSA_RELATES_TO, NULL);
-}
-
-
-/**
- * lasso_wsa_relates_to_new_with_string:
- * @content: a content string
- *
- * Creates a new #LassoWsAddrRelatesTo object and initializes it
- * with @content as content.
- *
- * Return value: a newly created #LassoWsAddrRelatesTo object
- **/
-LassoWsAddrRelatesTo*
-lasso_wsa_relates_to_new_with_string(char *content)
-{
- LassoWsAddrRelatesTo *object;
- object = g_object_new(LASSO_TYPE_WSA_RELATES_TO, NULL);
- object->content = g_strdup(content);
- return object;
-}
diff --git a/lasso/xml/ws/wsa_relates_to.h b/lasso/xml/ws/wsa_relates_to.h
deleted file mode 100644
index 9e819f04..00000000
--- a/lasso/xml/ws/wsa_relates_to.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: wsa_relates_to.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSA_RELATES_TO_H__
-#define __LASSO_WSA_RELATES_TO_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSA_RELATES_TO (lasso_wsa_relates_to_get_type())
-#define LASSO_WSA_RELATES_TO(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSA_RELATES_TO, \
- LassoWsAddrRelatesTo))
-#define LASSO_WSA_RELATES_TO_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSA_RELATES_TO, \
- LassoWsAddrRelatesToClass))
-#define LASSO_IS_WSA_RELATES_TO(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSA_RELATES_TO))
-#define LASSO_IS_WSA_RELATES_TO_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSA_RELATES_TO))
-#define LASSO_WSA_RELATES_TO_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSA_RELATES_TO, \
- LassoWsAddrRelatesToClass))
-
-
-typedef struct _LassoWsAddrRelatesTo LassoWsAddrRelatesTo;
-typedef struct _LassoWsAddrRelatesToClass LassoWsAddrRelatesToClass;
-
-
-struct _LassoWsAddrRelatesTo {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *content;
- /* attributes */
- char *RelationshipType;
- GHashTable *attributes;
-};
-
-
-struct _LassoWsAddrRelatesToClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsa_relates_to_get_type(void);
-LASSO_EXPORT LassoWsAddrRelatesTo* lasso_wsa_relates_to_new(void);
-
-LASSO_EXPORT LassoWsAddrRelatesTo* lasso_wsa_relates_to_new_with_string(char *content);
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSA_RELATES_TO_H__ */
diff --git a/lasso/xml/ws/wsse_embedded.c b/lasso/xml/ws/wsse_embedded.c
deleted file mode 100644
index 035e6266..00000000
--- a/lasso/xml/ws/wsse_embedded.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: wsse_embedded.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsse_embedded.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-secext-1.0.xsd):
- *
- *
- *
- * This type represents a reference to an embedded security
- * token.
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "ValueType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsSec1Embedded, ValueType), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1Embedded, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsSec1Embedded *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsSec1EmbeddedClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Embedded");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsse_embedded_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsSec1EmbeddedClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsSec1Embedded),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsSec1Embedded", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_embedded_new:
- *
- * Creates a new #LassoWsSec1Embedded object.
- *
- * Return value: a newly created #LassoWsSec1Embedded object
- **/
-LassoWsSec1Embedded*
-lasso_wsse_embedded_new()
-{
- return g_object_new(LASSO_TYPE_WSSE_EMBEDDED, NULL);
-}
diff --git a/lasso/xml/ws/wsse_embedded.h b/lasso/xml/ws/wsse_embedded.h
deleted file mode 100644
index b6aad194..00000000
--- a/lasso/xml/ws/wsse_embedded.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: wsse_embedded.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_EMBEDDED_H__
-#define __LASSO_WSSE_EMBEDDED_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_EMBEDDED (lasso_wsse_embedded_get_type())
-#define LASSO_WSSE_EMBEDDED(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_EMBEDDED, \
- LassoWsSec1Embedded))
-#define LASSO_WSSE_EMBEDDED_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_EMBEDDED, \
- LassoWsSec1EmbeddedClass))
-#define LASSO_IS_WSSE_EMBEDDED(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSSE_EMBEDDED))
-#define LASSO_IS_WSSE_EMBEDDED_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSSE_EMBEDDED))
-#define LASSO_WSSE_EMBEDDED_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSSE_EMBEDDED, \
- LassoWsSec1EmbeddedClass))
-
-
-typedef struct _LassoWsSec1Embedded LassoWsSec1Embedded;
-typedef struct _LassoWsSec1EmbeddedClass LassoWsSec1EmbeddedClass;
-
-
-struct _LassoWsSec1Embedded {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *ValueType;
- GHashTable *attributes;
-};
-
-
-struct _LassoWsSec1EmbeddedClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_embedded_get_type(void);
-LASSO_EXPORT LassoWsSec1Embedded* lasso_wsse_embedded_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_EMBEDDED_H__ */
diff --git a/lasso/xml/ws/wsse_reference.c b/lasso/xml/ws/wsse_reference.c
deleted file mode 100644
index 2b7f9504..00000000
--- a/lasso/xml/ws/wsse_reference.c
+++ /dev/null
@@ -1,119 +0,0 @@
-/* $Id: wsse_reference.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsse_reference.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-secext-1.0.xsd):
- *
- *
- *
- * This type represents a reference to an external security
- * token.
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "URI", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsSec1Reference, URI), NULL, NULL, NULL},
- { "ValueType", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsSec1Reference, ValueType), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1Reference, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsSec1Reference *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsSec1ReferenceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Reference");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsse_reference_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsSec1ReferenceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsSec1Reference),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsSec1Reference", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_reference_new:
- *
- * Creates a new #LassoWsSec1Reference object.
- *
- * Return value: a newly created #LassoWsSec1Reference object
- **/
-LassoWsSec1Reference*
-lasso_wsse_reference_new()
-{
- return g_object_new(LASSO_TYPE_WSSE_REFERENCE, NULL);
-}
diff --git a/lasso/xml/ws/wsse_reference.h b/lasso/xml/ws/wsse_reference.h
deleted file mode 100644
index 34abdefc..00000000
--- a/lasso/xml/ws/wsse_reference.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: wsse_reference.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_REFERENCE_H__
-#define __LASSO_WSSE_REFERENCE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_REFERENCE (lasso_wsse_reference_get_type())
-#define LASSO_WSSE_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_REFERENCE, \
- LassoWsSec1Reference))
-#define LASSO_WSSE_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_REFERENCE, \
- LassoWsSec1ReferenceClass))
-#define LASSO_IS_WSSE_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSSE_REFERENCE))
-#define LASSO_IS_WSSE_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSSE_REFERENCE))
-#define LASSO_WSSE_REFERENCE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSSE_REFERENCE, \
- LassoWsSec1ReferenceClass))
-
-
-typedef struct _LassoWsSec1Reference LassoWsSec1Reference;
-typedef struct _LassoWsSec1ReferenceClass LassoWsSec1ReferenceClass;
-
-
-struct _LassoWsSec1Reference {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *URI;
- char *ValueType;
- GHashTable *attributes;
-};
-
-
-struct _LassoWsSec1ReferenceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_reference_get_type(void);
-LASSO_EXPORT LassoWsSec1Reference* lasso_wsse_reference_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_REFERENCE_H__ */
diff --git a/lasso/xml/ws/wsse_security_header.c b/lasso/xml/ws/wsse_security_header.c
deleted file mode 100644
index b10700cf..00000000
--- a/lasso/xml/ws/wsse_security_header.c
+++ /dev/null
@@ -1,137 +0,0 @@
-/* $Id: wsse_security_header.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsse_security_header.h"
-#include "../idwsf_strings.h"
-#include "../../registry.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-secext-1.0.xsd):
- *
- *
- *
- * This complexType defines header block to use for security-relevant
- * data directed at a specific SOAP actor.
- *
- *
- *
- *
- * The use of "any" is to allow extensibility and different
- * forms of security data.
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "", SNIPPET_LIST_NODES | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1SecurityHeader, any), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1SecurityHeader, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsSec1SecurityHeader *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsSec1SecurityHeaderClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
- guint i;
- const char *namespaces[] = {
- "http://schemas.xmlsoap.org/ws/2002/04/secext",
- "http://schemas.xmlsoap.org/ws/2002/07/secext",
- "http://schemas.xmlsoap.org/ws/2002/12/secext",
- "http://schemas.xmlsoap.org/ws/2003/06/secext",
- "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd",
- "http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
- };
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Security");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
- /* Wsse has lots of namespaces defined */
- for (i=0; i < G_N_ELEMENTS(namespaces); i++) {
- lasso_registry_default_add_direct_mapping(namespaces[i], "Security", LASSO_LASSO_HREF, "LassoWsSec1SecurityHeader");
- }
-}
-
-GType
-lasso_wsse_security_header_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsSec1SecurityHeaderClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsSec1SecurityHeader),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsSec1SecurityHeader", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_security_header_new:
- *
- * Creates a new #LassoWsSec1SecurityHeader object.
- *
- * Return value: a newly created #LassoWsSec1SecurityHeader object
- **/
-LassoWsSec1SecurityHeader*
-lasso_wsse_security_header_new()
-{
- return g_object_new(LASSO_TYPE_WSSE_SECURITY_HEADER, NULL);
-}
diff --git a/lasso/xml/ws/wsse_security_header.h b/lasso/xml/ws/wsse_security_header.h
deleted file mode 100644
index 462c6050..00000000
--- a/lasso/xml/ws/wsse_security_header.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* $Id: wsse_security_header.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_SECURITY_HEADER_H__
-#define __LASSO_WSSE_SECURITY_HEADER_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_SECURITY_HEADER (lasso_wsse_security_header_get_type())
-#define LASSO_WSSE_SECURITY_HEADER(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_SECURITY_HEADER, \
- LassoWsSec1SecurityHeader))
-#define LASSO_WSSE_SECURITY_HEADER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_SECURITY_HEADER, \
- LassoWsSec1SecurityHeaderClass))
-#define LASSO_IS_WSSE_SECURITY_HEADER(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSSE_SECURITY_HEADER))
-#define LASSO_IS_WSSE_SECURITY_HEADER_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSSE_SECURITY_HEADER))
-#define LASSO_WSSE_SECURITY_HEADER_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSSE_SECURITY_HEADER, \
- LassoWsSec1SecurityHeaderClass))
-
-
-typedef struct _LassoWsSec1SecurityHeader LassoWsSec1SecurityHeader;
-typedef struct _LassoWsSec1SecurityHeaderClass LassoWsSec1SecurityHeaderClass;
-
-
-struct _LassoWsSec1SecurityHeader {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- GList *any; /* of LassoNode */
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsSec1SecurityHeaderClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_security_header_get_type(void);
-LASSO_EXPORT LassoWsSec1SecurityHeader* lasso_wsse_security_header_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_SECURITY_HEADER_H__ */
diff --git a/lasso/xml/ws/wsse_security_token_reference.c b/lasso/xml/ws/wsse_security_token_reference.c
deleted file mode 100644
index 07d9ca39..00000000
--- a/lasso/xml/ws/wsse_security_token_reference.c
+++ /dev/null
@@ -1,121 +0,0 @@
-/* $Id: wsse_security_token_reference.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsse_security_token_reference.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-secext-1.0.xsd):
- *
- *
- *
- * This type is used reference a security token.
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsSec1SecurityTokenReference, Id), NULL, NULL, NULL},
- { "Usage", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsSec1SecurityTokenReference, Usage), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1SecurityTokenReference, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsSec1SecurityTokenReference *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsSec1SecurityTokenReferenceClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "SecurityTokenReference");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsse_security_token_reference_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsSec1SecurityTokenReferenceClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsSec1SecurityTokenReference),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsSec1SecurityTokenReference", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_security_token_reference_new:
- *
- * Creates a new #LassoWsSec1SecurityTokenReference object.
- *
- * Return value: a newly created #LassoWsSec1SecurityTokenReference object
- **/
-LassoWsSec1SecurityTokenReference*
-lasso_wsse_security_token_reference_new()
-{
- return g_object_new(LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE, NULL);
-}
diff --git a/lasso/xml/ws/wsse_security_token_reference.h b/lasso/xml/ws/wsse_security_token_reference.h
deleted file mode 100644
index 0ed00853..00000000
--- a/lasso/xml/ws/wsse_security_token_reference.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* $Id: wsse_security_token_reference.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_SECURITY_TOKEN_REFERENCE_H__
-#define __LASSO_WSSE_SECURITY_TOKEN_REFERENCE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE \
- (lasso_wsse_security_token_reference_get_type())
-#define LASSO_WSSE_SECURITY_TOKEN_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE, \
- LassoWsSec1SecurityTokenReference))
-#define LASSO_WSSE_SECURITY_TOKEN_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE, \
- LassoWsSec1SecurityTokenReferenceClass))
-#define LASSO_IS_WSSE_SECURITY_TOKEN_REFERENCE(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE))
-#define LASSO_IS_WSSE_SECURITY_TOKEN_REFERENCE_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE))
-#define LASSO_WSSE_SECURITY_TOKEN_REFERENCE_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSSE_SECURITY_TOKEN_REFERENCE, \
- LassoWsSec1SecurityTokenReferenceClass))
-
-
-typedef struct _LassoWsSec1SecurityTokenReference LassoWsSec1SecurityTokenReference;
-typedef struct _LassoWsSec1SecurityTokenReferenceClass LassoWsSec1SecurityTokenReferenceClass;
-
-
-struct _LassoWsSec1SecurityTokenReference {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- char *Id;
- char *Usage;
- GHashTable *attributes;
-};
-
-
-struct _LassoWsSec1SecurityTokenReferenceClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_security_token_reference_get_type(void);
-LASSO_EXPORT LassoWsSec1SecurityTokenReference* lasso_wsse_security_token_reference_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_SECURITY_TOKEN_REFERENCE_H__ */
diff --git a/lasso/xml/ws/wsse_transformation_parameters.c b/lasso/xml/ws/wsse_transformation_parameters.c
deleted file mode 100644
index 65d0ce23..00000000
--- a/lasso/xml/ws/wsse_transformation_parameters.c
+++ /dev/null
@@ -1,122 +0,0 @@
-/* $Id: wsse_transformation_parameters.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsse_transformation_parameters.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-secext-1.0.xsd):
- *
- *
- *
- * This complexType defines a container for elements to
- * be specified from any namespace as properties/parameters
- * of a DSIG transformation.
- *
- *
- *
- *
- * The use of "any" is to allow extensibility from
- * any namespace.
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsSec1TransformationParameters, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsSec1TransformationParameters *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsSec1TransformationParametersClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "TransformationParameters");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsse_transformation_parameters_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsSec1TransformationParametersClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsSec1TransformationParameters),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsSec1TransformationParameters", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_transformation_parameters_new:
- *
- * Creates a new #LassoWsSec1TransformationParameters object.
- *
- * Return value: a newly created #LassoWsSec1TransformationParameters object
- **/
-LassoWsSec1TransformationParameters*
-lasso_wsse_transformation_parameters_new()
-{
- return g_object_new(LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS, NULL);
-}
diff --git a/lasso/xml/ws/wsse_transformation_parameters.h b/lasso/xml/ws/wsse_transformation_parameters.h
deleted file mode 100644
index 0038e9ab..00000000
--- a/lasso/xml/ws/wsse_transformation_parameters.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* $Id: wsse_transformation_parameters.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_TRANSFORMATION_PARAMETERS_H__
-#define __LASSO_WSSE_TRANSFORMATION_PARAMETERS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS \
- (lasso_wsse_transformation_parameters_get_type())
-#define LASSO_WSSE_TRANSFORMATION_PARAMETERS(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS, \
- LassoWsSec1TransformationParameters))
-#define LASSO_WSSE_TRANSFORMATION_PARAMETERS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS, \
- LassoWsSec1TransformationParametersClass))
-#define LASSO_IS_WSSE_TRANSFORMATION_PARAMETERS(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS))
-#define LASSO_IS_WSSE_TRANSFORMATION_PARAMETERS_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS))
-#define LASSO_WSSE_TRANSFORMATION_PARAMETERS_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSSE_TRANSFORMATION_PARAMETERS, \
- LassoWsSec1TransformationParametersClass))
-
-
-typedef struct _LassoWsSec1TransformationParameters LassoWsSec1TransformationParameters;
-typedef struct _LassoWsSec1TransformationParametersClass LassoWsSec1TransformationParametersClass;
-
-
-struct _LassoWsSec1TransformationParameters {
- LassoNode parent;
-
- /*< public >*/
- /* attributes */
- GHashTable *attributes;
-};
-
-
-struct _LassoWsSec1TransformationParametersClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_transformation_parameters_get_type(void);
-LASSO_EXPORT LassoWsSec1TransformationParameters* lasso_wsse_transformation_parameters_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_TRANSFORMATION_PARAMETERS_H__ */
diff --git a/lasso/xml/ws/wsse_username_token.c b/lasso/xml/ws/wsse_username_token.c
deleted file mode 100644
index d3703758..00000000
--- a/lasso/xml/ws/wsse_username_token.c
+++ /dev/null
@@ -1,371 +0,0 @@
-/* $Id$
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-/**
- * SECTION:wsse_username_token
- *
- * Transmit username and password credential as a WS-Security token. The password can be transmitted
- * as cleartext or using a digest mode. It also allows to derive encryption and HMAC signing keys.
- */
-
-/**
- * LassoWsseUsernameToken:
- * @Id: the identifier of the UsernameToken
- * @Username: the username
- * @Nonce: a nonce used to compute the digest of the password
- * @Created: the timestamp for the generation of the token, also used in the digest of the password
- * @Salt: the salt for generating derived key
- * @Iteration: how many times to apply SHA1 for generating derivated key
- *
- */
-
-#include "wsse_username_token.h"
-#include "../idwsf_strings.h"
-#include
-#include
-#include
-#include "../string.h"
-#include "../private.h"
-#include "../../utils.h"
-#include "../../errors.h"
-
-struct _LassoWsseUsernameTokenPrivate {
- char *Password;
- LassoWsseUsernameTokenPasswordType PasswordType;
-};
-
-typedef struct _LassoWsseUsernameTokenPrivate LassoWsseUsernameTokenPrivate;
-
-#define LASSO_WSSE_USERNAME_TOKEN_GET_PRIVATE(o) \
- (G_TYPE_INSTANCE_GET_PRIVATE ((o), LASSO_TYPE_WSSE_USERNAME_TOKEN, \
- LassoWsseUsernameTokenPrivate))
-
-static LassoNodeClass *parent_class = NULL;
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-static struct XmlSnippet schema_snippets[] = {
- { "Id", SNIPPET_ATTRIBUTE, G_STRUCT_OFFSET(LassoWsseUsernameToken, Id), NULL,
- LASSO_WSU_PREFIX, LASSO_WSU_HREF},
- { "Username", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsseUsernameToken, Username), NULL,
- NULL, NULL},
- { "Nonce", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsseUsernameToken, Nonce), NULL, NULL,
- NULL},
- { "Created", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsseUsernameToken, Created), NULL, NULL,
- NULL},
- { "Salt", SNIPPET_CONTENT, G_STRUCT_OFFSET(LassoWsseUsernameToken, Salt), NULL,
- LASSO_WSSE11_PREFIX, LASSO_WSSE11_HREF},
- { "Iteration", SNIPPET_CONTENT | SNIPPET_INTEGER, G_STRUCT_OFFSET(LassoWsseUsernameToken,
- Iteration), NULL, LASSO_WSSE11_PREFIX, LASSO_WSSE11_HREF},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsseUsernameToken, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
- int rc = 0;
- xmlNode *password;
- xmlChar *kind;
- LassoWsseUsernameTokenPrivate *private = LASSO_WSSE_USERNAME_TOKEN_GET_PRIVATE(node);
-
- password = xmlSecFindNode(xmlnode, (xmlChar*)"Password", (xmlChar*)LASSO_WSSE1_HREF);
- if (password) {
- xmlChar *content = xmlNodeGetContent(password);
- kind = xmlGetNsProp(password, (xmlChar*)"Type", (xmlChar*)LASSO_WSSE1_HREF);
- lasso_assign_string(private->Password, (char*)content);
- if (kind && strcmp((char*)kind, LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_TEXT)) {
- private->PasswordType = LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_DIGEST;
- } else if (kind && strcmp((char*)kind, LASSO_WSSE_USERNAME_TOKEN_PROFILE_PASSWORD_TEXT)) {
- private->PasswordType = LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_TEXT;
- } else {
- rc = -1;
- }
- lasso_release_xml_string(content);
- lasso_release_xml_string(kind);
- }
-
- rc = parent_class->init_from_xml(node, xmlnode);
-
- return 0;
-}
-
-static void
-instance_init(LassoWsseUsernameToken *wsse_username_token)
-{
- wsse_username_token->attributes =
- g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsseUsernameTokenClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- nclass->init_from_xml = init_from_xml;
- lasso_node_class_set_nodename(nclass, "UsernameToken");
- lasso_node_class_set_ns(nclass, LASSO_WSSE1_HREF, LASSO_WSSE1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsse_username_token_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsseUsernameTokenClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsseUsernameToken),
- 0,
- (GInstanceInitFunc)instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsseUsernameToken", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsse_username_tokne_new:
- *
- * Create a new #LassoWsseUsernameToken object.
- *
- * Return value: a newly created #LassoWsseUsernameToken object
- */
-LassoWsseUsernameToken*
-lasso_wsse_username_token_new()
-{
- LassoWsseUsernameToken *node;
-
- node = (LassoWsseUsernameToken*)g_object_new(LASSO_TYPE_WSSE_USERNAME_TOKEN, NULL);
- node->Id = lasso_build_unique_id(40);
- node->Created = lasso_get_current_time();
-
- return node;
-}
-
-/**
- * lasso_wsse_username_token_reset_nonce:
- * @wsse_username_token: a #LassoWsseUsernameToken object
- *
- * Generate a random nonce.
- */
-void
-lasso_wsse_username_token_reset_nonce(LassoWsseUsernameToken *wsse_username_token)
-{
- guint32 nonce[16];
- int i;
-
- for (i=0; i < 16; i++) {
- nonce[i] = g_random_int();
- }
-
- wsse_username_token->Nonce = g_base64_encode((guchar*)nonce, sizeof(nonce));
-}
-
-
-/**
- * lasso_wsse_username_token_set_password_kind:
- * @wsse_username_token: a #LassoWsseUsernameToken object
- * @password_type: a #LassoWsseUsernameTokenPasswordType enumeration
- *
- * Set the way to transmit password, that is either cleartext or digest.
- */
-void
-lasso_wsse_username_token_set_password_kind(LassoWsseUsernameToken *wsse_username_token,
- LassoWsseUsernameTokenPasswordType password_type)
-{
- LassoWsseUsernameTokenPrivate *private =
- LASSO_WSSE_USERNAME_TOKEN_GET_PRIVATE(wsse_username_token);
-
- private->PasswordType = password_type;
-}
-
-static char *
-_lasso_wsse_username_token_compute_digest(LassoWsseUsernameToken *wsse_username_token,
- char *password)
-{
- guchar *nonce;
- guint nonce_len = 0;
- guint created_len = 0;
- guint password_len = 0;
- guchar *buffer;
- gchar *result;
-
- if (wsse_username_token->Nonce) {
- nonce = g_base64_decode((gchar*)wsse_username_token->Nonce, &nonce_len);
- }
- if (wsse_username_token->Created) {
- created_len = strlen(wsse_username_token->Created);
- }
- if (password) {
- password_len = strlen(password);
- }
-
- buffer = g_malloc(nonce_len + created_len + password ? strlen(password) : 0);
- memcpy(buffer, nonce, nonce_len);
- memcpy(buffer + nonce_len, wsse_username_token->Created, created_len);
- memcpy(buffer + nonce_len + created_len, password, password_len);
- result = g_base64_encode((guchar*)buffer, nonce_len + created_len + password_len);
- lasso_release(buffer);
-
- return result;
-}
-
-
-/**
- * lasso_wsse_username_token_set_password:
- * @wsse_username_token: a #LassoWsseUsernameToken object
- * @password: an UTF-8 string
- *
- * Set the password using the given UTF-8 string. If password kind is digest, compute the digest
- * SHA1(nonce + created + password), convert to Base64 and set it as the password. If nonce or
- * created are NULL, the empty string is used.
- *
- * Return value: 0 if successfull, an error code otherwise.
- */
-int
-lasso_wsse_username_token_set_password(LassoWsseUsernameToken *wsse_username_token, char *password)
-{
- LassoWsseUsernameTokenPrivate *private =
- LASSO_WSSE_USERNAME_TOKEN_GET_PRIVATE(wsse_username_token);
-
- switch (private->PasswordType) {
- case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_DIGEST:
- lasso_assign_string(private->Password,
- _lasso_wsse_username_token_compute_digest(
- wsse_username_token, password));
- break;
- case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_TEXT:
- lasso_assign_string(private->Password, password);
- break;
- default:
- return LASSO_ERROR_UNDEFINED;
- }
-
- return 0;
-}
-
-int
-lasso_wsse_username_token_check_password(LassoWsseUsernameToken *wsse_username_token, char
- *password)
-{
- LassoWsseUsernameTokenPrivate *private =
- LASSO_WSSE_USERNAME_TOKEN_GET_PRIVATE(wsse_username_token);
- int rc = 0;
- char *digest;
-
- switch (private->PasswordType) {
- case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_DIGEST:
- digest = _lasso_wsse_username_token_compute_digest(wsse_username_token, password);
- if (strcmp(private->Password, digest) != 0) {
- rc = LASSO_WSSEC_ERROR_BAD_PASSWORD;
- }
- lasso_release(digest);
- break;
- case LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_TEXT:
- if (strcmp(private->Password, password) != 0) {
- return LASSO_WSSEC_ERROR_BAD_PASSWORD;
- }
- break;
- default:
- return LASSO_ERROR_UNDEFINED;
- }
- return rc;
-}
-
-/**
- * lasso_wsse_username_token_derive_key:
- * @wsse_username_token: a #LassoWsseUsernameToken object
- * @password: the known password
- *
- * Generate a derived 128bit key using the password and setting from the UsernameToken.
- *
- * Return value: a 20 byte octet string.
- */
-guchar*
-lasso_wsse_username_token_derive_key(LassoWsseUsernameToken *wsse_username_token,
- char *password)
-{
- guchar *salt;
- gsize salt_len;
- guchar *result = NULL;
- guint iteration;
- guchar *buffer;
- gsize buffer_len;
- guint password_len;
- guchar hash1[20], hash2[20];
-
- if (! wsse_username_token->Salt)
- goto exit;
- if (wsse_username_token->Iteration <= 0)
- iteration = 1000;
- else
- iteration = wsse_username_token->Iteration;
- salt = g_base64_decode(wsse_username_token->Salt, &salt_len);
- if (salt_len < 8)
- goto exit;
- password_len = strlen(password);
- buffer = g_malloc(salt_len + password_len);
- memcpy(buffer, salt, salt_len);
- memcpy(buffer + salt_len, password, password_len);
- buffer_len = salt_len + password_len;
- if (iteration & 1) {
- SHA1(buffer, buffer_len, hash1);
- } else {
- SHA1(buffer, buffer_len, hash2);
- }
- iteration--;
- while (iteration) {
- if (iteration & 1) {
- SHA1(hash2, 20, hash1);
- } else {
- SHA1(hash1, 20, hash2);
- }
- iteration--;
- }
- lasso_release(buffer);
- result = g_malloc(20);
- memcpy(result, hash1, 20);
-
-exit:
- lasso_release(salt);
- return result;
-
-}
diff --git a/lasso/xml/ws/wsse_username_token.h b/lasso/xml/ws/wsse_username_token.h
deleted file mode 100644
index 46024273..00000000
--- a/lasso/xml/ws/wsse_username_token.h
+++ /dev/null
@@ -1,88 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSSE_USERNAME_TOKEN_H__
-#define __LASSO_WSSE_USERNAME_TOKEN_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSSE_USERNAME_TOKEN (lasso_wsse_username_token_get_type())
-#define LASSO_WSSE_USERNAME_TOKEN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSSE_USERNAME_TOKEN, LassoWsseUsernameToken))
-#define LASSO_WSSE_USERNAME_TOKEN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSSE_USERNAME_TOKEN, LassoWsseUsernameTokenClass))
-#define LASSO_IS_WSSE_USERNAME_TOKEN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_WSSE_USERNAME_TOKEN))
-#define LASSO_IS_WSSE_USERNAME_TOKEN_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass),LASSO_TYPE_WSSE_USERNAME_TOKEN))
-#define LASSO_WSSE_USERNAME_TOKEN_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_WSSE_USERNAME_TOKEN, LassoWsseUsernameTokenClass))
-
-typedef struct _LassoWsseUsernameToken LassoWsseUsernameToken;
-typedef struct _LassoWsseUsernameTokenClass LassoWsseUsernameTokenClass;
-
-typedef enum {
- LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_UNKNOWN,
- LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_TEXT,
- LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_DIGEST,
- LASSO_WSSE_USERNAME_TOKEN_PASSWORD_TYPE_LAST
-} LassoWsseUsernameTokenPasswordType;
-
-struct _LassoWsseUsernameToken {
- LassoNode parent;
-
- char *Id;
- char *Username;
- char *Nonce;
- char *Salt;
- char *Created;
- int Iteration;
- GHashTable *attributes;
-};
-
-struct _LassoWsseUsernameTokenClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsse_username_token_get_type(void);
-
-LASSO_EXPORT LassoWsseUsernameToken* lasso_wsse_username_token_new(void);
-
-LASSO_EXPORT void lasso_wsse_username_token_reset_nonce(LassoWsseUsernameToken *wsse_username_token);
-
-LASSO_EXPORT void lasso_wsse_username_token_set_password_kind(LassoWsseUsernameToken *wsse_username_token, LassoWsseUsernameTokenPasswordType password_type);
-
-LASSO_EXPORT lasso_error_t lasso_wsse_username_token_set_password(LassoWsseUsernameToken *wsse_username_token, char *password);
-
-LASSO_EXPORT lasso_error_t lasso_wsse_username_token_check_password(LassoWsseUsernameToken *wsse_username_token, char *password);
-
-LASSO_EXPORT guchar* lasso_wsse_username_token_derive_key(LassoWsseUsernameToken *wsse_username_token, char *password);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSSE_USERNAME_TOKEN_H__ */
diff --git a/lasso/xml/ws/wsu_timestamp.c b/lasso/xml/ws/wsu_timestamp.c
deleted file mode 100644
index eac45cb8..00000000
--- a/lasso/xml/ws/wsu_timestamp.c
+++ /dev/null
@@ -1,127 +0,0 @@
-/* $Id: wsu_timestamp.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include "../private.h"
-#include "wsu_timestamp.h"
-#include "../idwsf_strings.h"
-
-/*
- * Schema fragment (oasis-200401-wss-wssecurity-utility-1.0.xsd):
- *
- *
- *
- *
- * This complex type ties together the timestamp related elements into a composite type.
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- *
- */
-
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-
-static struct XmlSnippet schema_snippets[] = {
- { "Created", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoWsUtil1Timestamp, Created), NULL, NULL, NULL},
- { "Expires", SNIPPET_CONTENT,
- G_STRUCT_OFFSET(LassoWsUtil1Timestamp, Expires), NULL, NULL, NULL},
- { "Id", SNIPPET_ATTRIBUTE,
- G_STRUCT_OFFSET(LassoWsUtil1Timestamp, Id), NULL, NULL, NULL},
- { "attributes", SNIPPET_ATTRIBUTE | SNIPPET_ANY,
- G_STRUCT_OFFSET(LassoWsUtil1Timestamp, attributes), NULL, NULL, NULL},
- {NULL, 0, 0, NULL, NULL, NULL}
-};
-
-static LassoNodeClass *parent_class = NULL;
-
-
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(LassoWsUtil1Timestamp *node)
-{
- node->attributes = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
-}
-
-static void
-class_init(LassoWsUtil1TimestampClass *klass, void *unused G_GNUC_UNUSED)
-{
- LassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
- parent_class = g_type_class_peek_parent(klass);
- nclass->node_data = g_new0(LassoNodeClassData, 1);
- lasso_node_class_set_nodename(nclass, "Timestamp");
- lasso_node_class_set_ns(nclass, LASSO_WSUTIL1_HREF, LASSO_WSUTIL1_PREFIX);
- lasso_node_class_add_snippets(nclass, schema_snippets);
-}
-
-GType
-lasso_wsu_timestamp_get_type()
-{
- static GType this_type = 0;
-
- if (!this_type) {
- static const GTypeInfo this_info = {
- sizeof (LassoWsUtil1TimestampClass),
- NULL,
- NULL,
- (GClassInitFunc) class_init,
- NULL,
- NULL,
- sizeof(LassoWsUtil1Timestamp),
- 0,
- (GInstanceInitFunc) instance_init,
- NULL
- };
-
- this_type = g_type_register_static(LASSO_TYPE_NODE,
- "LassoWsUtil1Timestamp", &this_info, 0);
- }
- return this_type;
-}
-
-/**
- * lasso_wsu_timestamp_new:
- *
- * Creates a new #LassoWsUtil1Timestamp object.
- *
- * Return value: a newly created #LassoWsUtil1Timestamp object
- **/
-LassoWsUtil1Timestamp*
-lasso_wsu_timestamp_new()
-{
- return g_object_new(LASSO_TYPE_WSU_TIMESTAMP, NULL);
-}
diff --git a/lasso/xml/ws/wsu_timestamp.h b/lasso/xml/ws/wsu_timestamp.h
deleted file mode 100644
index 8e145add..00000000
--- a/lasso/xml/ws/wsu_timestamp.h
+++ /dev/null
@@ -1,84 +0,0 @@
-/* $Id: wsu_timestamp.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_WSU_TIMESTAMP_H__
-#define __LASSO_WSU_TIMESTAMP_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include "../xml.h"
-
-#define LASSO_TYPE_WSU_TIMESTAMP (lasso_wsu_timestamp_get_type())
-#define LASSO_WSU_TIMESTAMP(obj) \
- (G_TYPE_CHECK_INSTANCE_CAST((obj), \
- LASSO_TYPE_WSU_TIMESTAMP, \
- LassoWsUtil1Timestamp))
-#define LASSO_WSU_TIMESTAMP_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass), \
- LASSO_TYPE_WSU_TIMESTAMP, \
- LassoWsUtil1TimestampClass))
-#define LASSO_IS_WSU_TIMESTAMP(obj) \
- (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
- LASSO_TYPE_WSU_TIMESTAMP))
-#define LASSO_IS_WSU_TIMESTAMP_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_TYPE ((klass), \
- LASSO_TYPE_WSU_TIMESTAMP))
-#define LASSO_WSU_TIMESTAMP_GET_CLASS(o) \
- (G_TYPE_INSTANCE_GET_CLASS ((o), \
- LASSO_TYPE_WSU_TIMESTAMP, \
- LassoWsUtil1TimestampClass))
-
-
-typedef struct _LassoWsUtil1Timestamp LassoWsUtil1Timestamp;
-typedef struct _LassoWsUtil1TimestampClass LassoWsUtil1TimestampClass;
-
-
-struct _LassoWsUtil1Timestamp {
- LassoNode parent;
-
- /*< public >*/
- /* elements */
- char *Created;
- char *Expires;
- /* attributes */
- char *Id;
- GHashTable *attributes;
-};
-
-
-struct _LassoWsUtil1TimestampClass {
- LassoNodeClass parent;
-};
-
-LASSO_EXPORT GType lasso_wsu_timestamp_get_type(void);
-LASSO_EXPORT LassoWsUtil1Timestamp* lasso_wsu_timestamp_new(void);
-
-
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_WSU_TIMESTAMP_H__ */
diff --git a/lasso/xml/ws/xml_ws.h b/lasso/xml/ws/xml_ws.h
deleted file mode 100644
index 3580253b..00000000
--- a/lasso/xml/ws/xml_ws.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_XML_WS_H__
-#define __LASSO_XML_WS_H__
-
-#include "wsa_attributed_any.h"
-#include "wsa_attributed_qname.h"
-#include "wsa_attributed_unsigned_long.h"
-#include "wsa_attributed_uri.h"
-#include "wsa_endpoint_reference.h"
-#include "wsa_metadata.h"
-#include "wsa_problem_action.h"
-#include "wsa_reference_parameters.h"
-#include "wsa_relates_to.h"
-#include "wsse_embedded.h"
-#include "wsse_reference.h"
-#include "wsse_security_header.h"
-#include "wsse_security_token_reference.h"
-#include "wsse_transformation_parameters.h"
-#include "wsse_username_token.h"
-#include "wsu_timestamp.h"
-
-#endif
diff --git a/lasso/xml/xml.c b/lasso/xml/xml.c
index 49574de6..226bd317 100644
--- a/lasso/xml/xml.c
+++ b/lasso/xml/xml.c
@@ -54,10 +54,6 @@
#include "soap-1.1/soap_body.h"
#include "misc_text_node.h"
#include "../lasso_config.h"
-#ifdef LASSO_WSF_ENABLED
-#include "idwsf_strings.h"
-#include "id-wsf-2.0/idwsf2_strings.h"
-#endif
/* Needed for ECP */
#include "saml-2.0/samlp2_idp_list.h"
@@ -85,72 +81,9 @@ static void lasso_node_traversal(LassoNode *node, void (*do_to_node)(LassoNode *
static LassoNode* lasso_node_new_from_xmlNode_with_type(xmlNode *xmlnode, char *typename);
static void lasso_node_remove_original_xmlnode(LassoNode *node, SnippetType type);
-GHashTable *dst_services_by_href = NULL; /* ID-WSF 1 extra DST services, indexed on href */
-GHashTable *dst_services_by_prefix = NULL; /* ID-WSF 1 extra DST services, indexed on prefix */
-
-GHashTable *idwsf2_dst_services_by_href = NULL; /* ID-WSF 2 DST services, indexed on href */
-GHashTable *idwsf2_dst_services_by_prefix = NULL; /* ID-WSF 2 DST services, indexed on prefix */
-
-
static LassoSignatureMethod default_signature_method = LASSO_SIGNATURE_METHOD_RSA_SHA1;
static LassoSignatureMethod min_signature_method = LASSO_SIGNATURE_METHOD_RSA_SHA1;
-/*****************************************************************************/
-/* global methods */
-/*****************************************************************************/
-
-/**
- * lasso_register_dst_service:
- * @prefix: prefix of DST service
- * @href: href of DST service
- *
- * Registers prefix and href of a custom data service template service.
- **/
-void
-lasso_register_dst_service(const gchar *prefix, const gchar *href)
-{
- if (dst_services_by_href == NULL) {
- dst_services_by_href = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
- dst_services_by_prefix = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
- }
- g_hash_table_insert(dst_services_by_prefix, g_strdup(prefix), g_strdup(href));
- g_hash_table_insert(dst_services_by_href, g_strdup(href), g_strdup(prefix));
-}
-
-void
-lasso_register_idwsf2_dst_service(const gchar *prefix, const gchar *href)
-{
- if (idwsf2_dst_services_by_href == NULL) {
- idwsf2_dst_services_by_href = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
- idwsf2_dst_services_by_prefix = g_hash_table_new_full(
- g_str_hash, g_str_equal, g_free, g_free);
- }
- g_hash_table_insert(idwsf2_dst_services_by_prefix, g_strdup(prefix), g_strdup(href));
- g_hash_table_insert(idwsf2_dst_services_by_href, g_strdup(href), g_strdup(prefix));
-}
-
-gchar*
-lasso_get_prefix_for_dst_service_href(const gchar *href)
-{
- if (dst_services_by_href == NULL)
- return NULL;
-
- return g_strdup(g_hash_table_lookup(dst_services_by_href, href));
-}
-
-gchar*
-lasso_get_prefix_for_idwsf2_dst_service_href(const gchar *href)
-{
- if (idwsf2_dst_services_by_href == NULL)
- return NULL;
-
- return g_strdup(g_hash_table_lookup(idwsf2_dst_services_by_href, href));
-}
-
-
/*****************************************************************************/
/* virtual public methods */
/*****************************************************************************/
@@ -2339,9 +2272,6 @@ lasso_node_new_from_soap(const char *soap)
static const char *
prefix_from_href_and_nodename(const xmlChar *href, G_GNUC_UNUSED const xmlChar *nodename) {
char *prefix = NULL;
-#ifdef LASSO_WSF_ENABLED
- char *tmp = NULL;
-#endif
if (strcmp((char*)href, LASSO_LASSO_HREF) == 0)
prefix = "";
@@ -2363,63 +2293,6 @@ prefix_from_href_and_nodename(const xmlChar *href, G_GNUC_UNUSED const xmlChar *
prefix = "Soap";
else if (strcmp((char*)href, LASSO_DS_HREF) == 0)
prefix = "Ds";
-#ifdef LASSO_WSF_ENABLED
- else if (strcmp((char*)href, LASSO_SOAP_BINDING_HREF) == 0)
- prefix = "SoapBinding";
- else if (strcmp((char*)href, LASSO_SOAP_BINDING_EXT_HREF) == 0)
- prefix = "SoapBindingExt";
- else if (strcmp((char*)href, LASSO_DISCO_HREF) == 0)
- prefix = "Disco";
- else if (strcmp((char*)href, LASSO_IS_HREF) == 0)
- prefix = "Is";
- else if (strcmp((char*)href, LASSO_SA_HREF) == 0)
- prefix = "Sa";
- else if (strcmp((char*)href, LASSO_WSSE_HREF) == 0)
- prefix = "WsSec1";
- else if (strcmp((char*)href, LASSO_WSSE1_HREF) == 0)
- prefix = "WsSec1";
- else if (strcmp((char*)href, LASSO_IDWSF2_DISCOVERY_HREF) == 0)
- prefix = "IdWsf2Disco";
- else if (strcmp((char*)href, LASSO_IDWSF2_SBF_HREF) == 0)
- prefix = "IdWsf2Sbf";
- else if (strcmp((char*)href, LASSO_IDWSF2_SB2_HREF) == 0)
- prefix = "IdWsf2Sb2";
- else if (strcmp((char*)href, LASSO_IDWSF2_UTIL_HREF) == 0)
- prefix = "IdWsf2Util";
- else if (strcmp((char*)href, LASSO_IDWSF2_SEC_HREF) == 0)
- prefix = "IdWsf2Sec";
- else if (strcmp((char*)href, LASSO_IDWSF2_IMS_HREF) == 0)
- prefix = "IdWsf2Ims";
- else if (strcmp((char*)href, LASSO_IDWSF2_IS_HREF) == 0)
- prefix = "IdWsf2Is";
- else if (strcmp((char*)href, LASSO_IDWSF2_PS_HREF) == 0)
- prefix = "IdWsf2Ps";
- else if (strcmp((char*)href, LASSO_IDWSF2_SUBS_HREF) == 0)
- prefix = "IdWsf2Subs";
- else if (strcmp((char*)href, LASSO_IDWSF2_SUBSREF_HREF) == 0)
- prefix = "IdWsf2SubsRef";
- else if (strcmp((char*)href, LASSO_WSA_HREF) == 0)
- prefix = "WsAddr";
- else if ((tmp = lasso_get_prefix_for_idwsf2_dst_service_href((char*)href))
- != NULL) {
- /* ID-WSF 2 Profile */
- prefix = "IdWsf2DstRef";
- lasso_release_string(tmp);
- } else if ((tmp = lasso_get_prefix_for_dst_service_href((char*)href))
- != NULL) {
- /* ID-WSF 1 Profile */
- prefix = "Dst";
- lasso_release_string(tmp);
- }
-
- if (prefix != NULL && strcmp(prefix, "Dst") == 0 && strcmp((char*)nodename, "Status") == 0)
- prefix = "Utility";
- else if (prefix != NULL && strcmp(prefix, "Disco") == 0 && strcmp((char*)nodename, "Status") == 0)
- prefix = "Utility";
- else if (prefix != NULL && strcmp(prefix, "Sa") == 0 && strcmp((char*)nodename, "Status") == 0)
- prefix = "Utility";
-#endif
-
return prefix;
}
@@ -2439,13 +2312,7 @@ _type_name_from_href_and_nodename(char *href, char *nodename) {
return NULL;
/* FIXME: hardcoded mappings */
- if (strcmp(nodename, "SvcMD") == 0) {
- typename = g_strdup("LassoIdWsf2DiscoSvcMetadata");
- } else if (prefix != NULL && strcmp(prefix, "IdWsf2DstRef") == 0 && strcmp(nodename, "Status") == 0) {
- typename = g_strdup("LassoIdWsf2UtilStatus");
- } else if (prefix != NULL && strcmp(prefix, "WsSec1") == 0 && strcmp(nodename, "Security") == 0) {
- typename = g_strdup("LassoWsSec1SecurityHeader");
- } else if (prefix != NULL && strcmp(prefix, "Soap") == 0 && strcmp(nodename, "detail") == 0) {
+ if (prefix != NULL && strcmp(prefix, "Soap") == 0 && strcmp(nodename, "detail") == 0) {
typename = g_strdup("LassoSoapDetail");
} else {
/* first try with registered mappings */
diff --git a/lasso/xml/xml.h b/lasso/xml/xml.h
index 60c04eae..f8c0fd39 100644
--- a/lasso/xml/xml.h
+++ b/lasso/xml/xml.h
@@ -228,14 +228,6 @@ LASSO_EXPORT LassoMessageFormat lasso_node_init_from_message(LassoNode *node, co
LASSO_EXPORT gboolean lasso_node_init_from_query(LassoNode *node, const char *query);
LASSO_EXPORT lasso_error_t lasso_node_init_from_xml(LassoNode *node, xmlNode *xmlnode);
-LASSO_EXPORT void lasso_register_dst_service(const char *prefix, const char *href);
-
-LASSO_EXPORT char* lasso_get_prefix_for_dst_service_href(const char *href);
-
-LASSO_EXPORT void lasso_register_idwsf2_dst_service(const gchar *prefix, const gchar *href);
-
-LASSO_EXPORT gchar* lasso_get_prefix_for_idwsf2_dst_service_href(const gchar *href);
-
LASSO_EXPORT char* lasso_node_debug(LassoNode *node, int level);
struct _LassoKey;
diff --git a/lasso/xml/xml_idwsf.h b/lasso/xml/xml_idwsf.h
deleted file mode 100644
index 4fd3f7fd..00000000
--- a/lasso/xml/xml_idwsf.h
+++ /dev/null
@@ -1,86 +0,0 @@
-/* $Id$
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_XML_IDWSF_H__
-#define __LASSO_XML_IDWSF_H__
-
-#include "dst_data.h"
-#include "dst_modification.h"
-#include "dst_modify.h"
-#include "dst_modify_response.h"
-#include "dst_new_data.h"
-#include "dst_query.h"
-#include "dst_query_item.h"
-#include "dst_query_response.h"
-#include "is_help.h"
-#include "is_inquiry_element.h"
-#include "is_inquiry.h"
-#include "is_interaction_request.h"
-#include "is_interaction_response.h"
-#include "is_interaction_statement.h"
-#include "is_item.h"
-#include "disco_authenticate_requester.h"
-#include "disco_authenticate_session_context.h"
-#include "disco_authorize_requester.h"
-#include "disco_credentials.h"
-#include "disco_description.h"
-#include "disco_encrypted_resource_id.h"
-#include "disco_encrypt_resource_id.h"
-#include "disco_generate_bearer_token.h"
-#include "disco_insert_entry.h"
-#include "disco_modify.h"
-#include "disco_modify_response.h"
-#include "disco_options.h"
-#include "disco_query.h"
-#include "disco_query_response.h"
-#include "disco_remove_entry.h"
-#include "disco_requested_service_type.h"
-#include "disco_resource_id.h"
-#include "disco_resource_offering.h"
-#include "disco_send_single_logout.h"
-#include "disco_service_instance.h"
-#include "is_parameter.h"
-#include "is_redirect_request.h"
-#include "is_select.h"
-#include "is_text.h"
-#include "is_user_interaction.h"
-#include "sa_credentials.h"
-#include "sa_parameter.h"
-#include "sa_password_transforms.h"
-#include "sa_sasl_request.h"
-#include "sa_sasl_response.h"
-#include "sa_transform.h"
-#include "sec_resource_access_statement.h"
-#include "soap_binding_consent.h"
-#include "soap_binding_correlation.h"
-#include "soap_binding_ext_credential.h"
-#include "soap_binding_ext_credentials_context.h"
-#include "soap_binding_ext_service_instance_update.h"
-#include "soap_binding_ext_timeout.h"
-#include "soap_binding.h"
-#include "soap_binding_processing_context.h"
-#include "soap_binding_provider.h"
-#include "soap_binding_usage_directive.h"
-#include "utility_status.h"
-
-#endif
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6d867851..762fd4ce 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,11 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
-WSF_TESTS=
-
-if WSF_ENABLED
-WSF_TESTS+=idwsf2_tests.c
-endif
-
if WITH_TESTS
TESTS = tests tests2
@@ -20,7 +14,7 @@ AM_CPPFLAGS = \
$(CHECK_CFLAGS)
-tests_SOURCES = tests.c login_tests.c basic_tests.c non_regression_tests.c random_tests.c metadata_tests.c login_tests_saml2.c assertion_query_saml2.c $(WSF_TESTS)
+tests_SOURCES = tests.c login_tests.c basic_tests.c non_regression_tests.c random_tests.c metadata_tests.c login_tests_saml2.c assertion_query_saml2.c
tests_LDADD = \
$(top_builddir)/lasso/liblasso.la \
diff --git a/tests/basic_tests.c b/tests/basic_tests.c
index 470d64fc..e28ef36f 100644
--- a/tests/basic_tests.c
+++ b/tests/basic_tests.c
@@ -29,9 +29,6 @@
#include "../lasso/xml/strings.h"
#include "../lasso/xml/xml_idff.h"
#include "../lasso/xml/saml-2.0/xml_saml2.h"
-#include "../lasso/xml/xml_idwsf.h"
-#include "../lasso/xml/id-wsf-2.0/xml_idwsf2.h"
-#include "../lasso/xml/ws/xml_ws.h"
#include "../lasso/xml/soap-1.1/xml_soap11.h"
#include "../lasso/utils.h"
#include "../lasso/xml/private.h"
@@ -217,79 +214,6 @@ START_TEST(test10_test_alldumps)
lasso_release_string(node_dump);
lasso_release_gobject(node2);
lasso_release_gobject(node);
-#ifdef LASSO_WSF_ENABLED
- node = LASSO_NODE(lasso_disco_authenticate_requester_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_authenticate_requester_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_authenticate_session_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_authenticate_session_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_authorize_requester_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_authorize_requester_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_credentials_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_credentials_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_description_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_description_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_encrypt_resource_id_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_encrypt_resource_id_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_encrypted_resource_id_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_encrypted_resource_id_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_generate_bearer_token_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_generate_bearer_token_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_modify_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_modify_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_options_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_options_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_disco_send_single_logout_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_disco_send_single_logout_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
node = LASSO_NODE(lasso_ds_key_info_new());
node_dump = lasso_node_dump(node);
fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_ds_key_info_new");
@@ -308,881 +232,6 @@ START_TEST(test10_test_alldumps)
lasso_release_string(node_dump);
lasso_release_gobject(node2);
lasso_release_gobject(node);
- node = LASSO_NODE(lasso_dst_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless(node_dump && strcmp(node_dump, "") == 0, "LassoDstData dump failed");
- lasso_release_string(node_dump);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_dst_new_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless(node_dump && strcmp(node_dump, "") == 0, "LassoDstNewData dump failed");
- lasso_release_string(node_dump);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_abstract_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_abstract_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_endpoint_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_endpoint_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_keys_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_keys_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_options_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_options_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_provider_id_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_provider_id_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_query_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_query_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_requested_service_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_requested_service_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_security_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_security_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_service_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_service_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_service_type_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_service_type_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_add_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_add_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_add_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_add_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_delete_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_delete_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_delete_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_delete_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_association_query_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_association_query_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_delete_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_delete_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_delete_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_delete_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_query_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_query_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_register_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_register_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_register_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_register_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_replace_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_replace_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_md_replace_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_md_replace_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_disco_svc_metadata_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_disco_svc_metadata_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#if 0
- node = LASSO_NODE(lasso_idwsf2_dst_data_response_base_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_data_response_base_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dst_delete_item_base_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_delete_item_base_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dst_delete_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_delete_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dst_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dst_result_query_base_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_result_query_base_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dst_test_item_base_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dst_test_item_base_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_app_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_app_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_create_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_create_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_create_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_create_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_create_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_create_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_data_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_data_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_delete_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_delete_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_delete_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_delete_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_delete_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_delete_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_item_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_item_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_modify_new());
- LASSO_IDWSF2_DSTREF_MODIFY(node)->prefixServiceType = LASSO_PP10_PREFIX;
- LASSO_IDWSF2_DSTREF_MODIFY(node)->hrefServiceType = LASSO_PP10_HREF;
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_modify_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_modify_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_modify_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_modify_response_new());
- LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(node)->prefixServiceType = LASSO_PP10_PREFIX;
- LASSO_IDWSF2_DSTREF_MODIFY_RESPONSE(node)->hrefServiceType = LASSO_PP10_HREF;
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_modify_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_query_new());
- LASSO_IDWSF2_DSTREF_QUERY(node)->prefixServiceType = LASSO_PP10_PREFIX;
- LASSO_IDWSF2_DSTREF_QUERY(node)->hrefServiceType = LASSO_PP10_HREF;
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_query_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_query_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_query_response_new());
- LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(node)->prefixServiceType = LASSO_PP10_PREFIX;
- LASSO_IDWSF2_DSTREF_QUERY_RESPONSE(node)->hrefServiceType = LASSO_PP10_HREF;
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_query_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_result_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_result_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_dstref_test_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_dstref_test_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
- node = LASSO_NODE(lasso_idwsf2_ims_identity_mapping_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ims_identity_mapping_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ims_identity_mapping_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ims_identity_mapping_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ims_mapping_input_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ims_mapping_input_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ims_mapping_output_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ims_mapping_output_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_help_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_help_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_inquiry_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_inquiry_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#if 0
- node = LASSO_NODE(lasso_idwsf2_is_inquiry_element_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_inquiry_element_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
- node = LASSO_NODE(lasso_idwsf2_is_interaction_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_interaction_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_interaction_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_interaction_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_interaction_statement_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_interaction_statement_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_parameter_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_parameter_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_select_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_select_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_is_text_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_is_text_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_collection_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_collection_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_collection_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_collection_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_entity_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_entity_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_entity_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_entity_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_known_entity_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_known_entity_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_known_entity_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_known_entity_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_add_to_collection_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_add_to_collection_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_get_object_info_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_get_object_info_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_get_object_info_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_get_object_info_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_item_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_item_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_list_members_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_list_members_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_list_members_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_list_members_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_notification_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_notification_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_notify_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_notify_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_object_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_object_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_query_objects_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_query_objects_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_query_objects_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_query_objects_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_remove_collection_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_remove_collection_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_remove_entity_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_remove_entity_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_remove_from_collection_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_remove_from_collection_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_request_abstract_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_request_abstract_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_resolve_identifier_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_resolve_identifier_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_resolve_identifier_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_resolve_identifier_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_resolve_input_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_resolve_input_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_response_abstract_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_response_abstract_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_set_object_info_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_set_object_info_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_test_membership_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_test_membership_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_ps_test_membership_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_ps_test_membership_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* ID-WSF 2.0 Soap Binding */
- node = LASSO_NODE(lasso_idwsf2_sb2_consent_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_consent_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_credentials_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_credentials_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_endpoint_update_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_endpoint_update_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_redirect_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_redirect_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_sender_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_sender_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_target_identity_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_target_identity_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_timeout_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_timeout_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_usage_directive_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_usage_directive_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sb2_user_interaction_header_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sb2_user_interaction_header_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* ID-WSF 2.0 Soap Binding Framework */
- node = LASSO_NODE(lasso_idwsf2_sbf_framework_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sbf_framework_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* ID-WSF 2.0 Security */
- node = LASSO_NODE(lasso_idwsf2_sec_token_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sec_token_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sec_token_policy_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sec_token_policy_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_sec_transited_provider_path_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_sec_transited_provider_path_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* ID-WSF 2.0 Subs */
- node = LASSO_NODE(lasso_idwsf2_subs_notification_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subs_notification_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subs_notify_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subs_notify_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subs_ref_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subs_ref_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subs_subscription_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subs_subscription_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_app_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_app_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_create_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_create_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_create_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_create_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_create_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_create_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_data_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_data_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_delete_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_delete_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_delete_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_delete_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_delete_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_delete_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_item_data_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_item_data_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_modify_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_modify_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_modify_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_modify_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_modify_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_modify_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_notification_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_notification_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_notify_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_notify_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_notify_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_notify_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_query_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_query_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_query_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_query_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_result_query_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_result_query_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_subscription_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_subscription_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_subsref_test_item_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_subsref_test_item_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* ID-WSF 2.0 Utils */
- node = LASSO_NODE(lasso_idwsf2_util_empty_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_util_empty_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_util_extension_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_util_extension_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_util_response_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_util_response_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_idwsf2_util_status_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_idwsf2_util_status_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* Interaction Service */
- node = LASSO_NODE(lasso_is_help_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_help_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_is_inquiry_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_inquiry_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_is_interaction_request_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_interaction_request_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_is_select_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_select_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_is_text_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_text_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_is_user_interaction_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_is_user_interaction_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
/* ID-FF 1.2 */
node = LASSO_NODE(lasso_lib_assertion_new());
node_dump = lasso_node_dump(node);
@@ -1291,19 +340,6 @@ START_TEST(test10_test_alldumps)
fail_unless(node_dump && strcmp(node_dump, "") == 0, "LassoMiscTextNode dump failed");
lasso_release_string(node_dump);
lasso_release_gobject(node);
-#ifdef LASSO_WSF_ENABLED
- node = LASSO_NODE(lasso_sa_credentials_new());
- node_dump = lasso_node_dump(node);
- fail_unless(node_dump && strcmp(node_dump, "") == 0, "SACredentials dump failed");
- lasso_release_string(node_dump);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_sa_password_transforms_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_sa_password_transforms_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
/* SAML 2.0 */
node = LASSO_NODE(lasso_saml2_action_new());
node_dump = lasso_node_dump(node);
@@ -1714,27 +750,6 @@ START_TEST(test10_test_alldumps)
lasso_release_string(node_dump);
lasso_release_gobject(node2);
lasso_release_gobject(node);
-#ifdef LASSO_WSF_ENABLED
- /* SOAP Binding - ID-WSF 1.0 */
- node = LASSO_NODE(lasso_soap_binding_ext_credentials_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_soap_binding_ext_credentials_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_soap_binding_ext_service_instance_update_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_soap_binding_ext_service_instance_update_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_soap_binding_processing_context_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_soap_binding_processing_context_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
/* SOAP */
node = LASSO_NODE(lasso_soap_body_new());
node_dump = lasso_node_dump(node);
@@ -1760,114 +775,6 @@ START_TEST(test10_test_alldumps)
lasso_release_string(node_dump);
lasso_release_gobject(node2);
lasso_release_gobject(node);
- /* WSA */
-#ifdef LASSO_WSF_ENABLED
- node = LASSO_NODE(lasso_wsa_attributed_any_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_attributed_any_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_attributed_qname_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_attributed_qname_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_attributed_unsigned_long_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_attributed_unsigned_long_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_attributed_uri_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_attributed_uri_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_endpoint_reference_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_endpoint_reference_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_metadata_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_metadata_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_problem_action_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_problem_action_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_reference_parameters_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_reference_parameters_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsa_relates_to_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsa_relates_to_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* WSSE */
- node = LASSO_NODE(lasso_wsse_embedded_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_embedded_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsse_reference_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_reference_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsse_security_header_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_security_header_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsse_security_token_reference_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_security_token_reference_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsse_transformation_parameters_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_transformation_parameters_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- node = LASSO_NODE(lasso_wsse_username_token_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsse_username_token_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* WSU */
- node = LASSO_NODE(lasso_wsu_timestamp_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_wsu_timestamp_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
- /* test serialization / deserialization of KeyInfoConfirmationDataType */
- node = LASSO_NODE(lasso_saml2_key_info_confirmation_data_type_new());
- node_dump = lasso_node_dump(node);
- fail_unless((node2 = lasso_node_new_from_dump(node_dump)) != NULL, "restoring dump failed after lasso_saml2_key_info_confirmation_data_type_new");
- lasso_release_string(node_dump);
- lasso_release_gobject(node2);
- lasso_release_gobject(node);
-#endif
/* test deserialization of saml2:EncryptedAssertion" */
const char *encrypted_element_xml[] = {
"\n\
@@ -1924,47 +831,6 @@ START_TEST(test11_get_default_name_id_format)
lasso_release_gobject(provider);
}
END_TEST
-#define SHOW_NAMESPACES 0
-
-#if SHOW_NAMESPACES
-static void
-print_namespace(const char *prefix, const char *href, G_GNUC_UNUSED gpointer data)
-{
- printf("Prefix: %s Href: %s\n", prefix, href);
-}
-#endif
-
-/* test custom namespace handling */
-START_TEST(test12_custom_namespace)
-{
-#ifdef LASSO_WSF_ENABLED
- LassoNode *node;
- LassoIdWsf2DstRefResultQuery *result_query;
- char *dump;
- node = (LassoNode*)lasso_idwsf2_dstref_result_query_new();
- check_not_null(node);
- lasso_node_add_custom_namespace(node, "example", "http://example.com");
- lasso_node_set_custom_namespace(node, "example2", "http://example.com");
- lasso_register_idwsf2_dst_service("example2", "http://example.com");
-
- dump = lasso_node_dump(node);
- check_not_null(dump);
-#if SHOW_NAMESPACES
- printf("%s\n", dump);
-#endif
- result_query = LASSO_IDWSF2_DSTREF_RESULT_QUERY(lasso_node_new_from_dump(dump));
- check_not_null(result_query);
- check_not_null(result_query->namespaces);
- check_str_equals(g_hash_table_lookup(result_query->namespaces, "example"), "http://example.com");
- check_str_equals(g_hash_table_lookup(result_query->namespaces, "example2"), "http://example.com");
- check_str_equals(g_hash_table_lookup(result_query->namespaces, "dst"), LASSO_IDWSF2_DST_HREF);
-#if SHOW_NAMESPACES
- g_hash_table_foreach(result_query->namespaces, (GHFunc)print_namespace, NULL);
-#endif
- lasso_release_string(dump);
-#endif
-}
-END_TEST
#include
@@ -2224,7 +1090,6 @@ basic_suite()
tcase_add_test(tc_response_new_from_xmlNode, test09_test_deserialization);
tcase_add_test(tc_all_dumps, test10_test_alldumps);
tcase_add_test(tc_get_default_name_id_format, test11_get_default_name_id_format);
- tcase_add_test(tc_custom_namespace, test12_custom_namespace);
tcase_add_test(tc_load_metadata, test13_test_lasso_server_load_metadata);
tcase_add_test(tc_key, test14_lasso_key);
tcase_add_test(tc_key_info, test15_ds_key_info);
diff --git a/tests/idwsf2_tests.c b/tests/idwsf2_tests.c
deleted file mode 100644
index 96d03c57..00000000
--- a/tests/idwsf2_tests.c
+++ /dev/null
@@ -1,276 +0,0 @@
-/*
- * Lasso library C unit tests
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#include
-#include
-
-#include
-
-#include "../lasso/lasso.h"
-#include
-#include "../lasso/utils.h"
-
-#include "../lasso/id-ff/login.h"
-#include "../lasso/id-ff/server.h"
-#include "../lasso/id-ff/identity.h"
-#include "../lasso/id-ff/session.h"
-#include "../lasso/id-wsf-2.0/discovery.h"
-#include "../lasso/id-wsf-2.0/data_service.h"
-#include "../lasso/id-wsf-2.0/saml2_login.h"
-
-#include "../lasso/xml/saml-2.0/samlp2_authn_request.h"
-#include "../lasso/xml/idwsf_strings.h"
-
-#include "tests.h"
-
-static const char
-wsp_metadata[] = TESTSDATADIR "sp5-saml2/metadata.xml";
-static const char
-wsp_private_key[] = TESTSDATADIR "sp5-saml2/private-key.pem";
-static const char
-wsc_metadata[] = TESTSDATADIR "sp6-saml2/metadata.xml";
-static const char
-wsc_private_key[] = TESTSDATADIR "sp6-saml2/private-key.pem";
-static const char
-idp_metadata[] = TESTSDATADIR "idp5-saml2/metadata.xml";
-static const char
-idp_private_key[] = TESTSDATADIR "idp5-saml2/private-key.pem";
-static const char
-service_type[] = "urn:test-service";
-
-
-struct
-IdPState {
- LassoLogin *login;
- LassoIdWsf2Discovery *discovery;
- LassoServer *server;
- LassoIdentity *identity;
- LassoSession *session;
-};
-
-struct
-SPState {
- LassoLogin *login;
- LassoIdWsf2Discovery *discovery;
- LassoIdWsf2DataService *dataservice;
- LassoServer *server;
- LassoIdentity *identity;
- LassoSession *session;
-};
-
-static LassoServer*
-get_wsc_server() {
- LassoServer *server;
- server = lasso_server_new(wsc_metadata, wsc_private_key, NULL, NULL);
- lasso_server_add_provider(server, LASSO_PROVIDER_ROLE_IDP, idp_metadata, NULL, NULL);
- return server;
-}
-
-static
-LassoServer*
-get_wsp_server() {
- LassoServer *server = lasso_server_new(wsp_metadata, wsp_private_key, NULL, NULL);
- lasso_server_add_provider(server, LASSO_PROVIDER_ROLE_IDP, idp_metadata, NULL, NULL);
- return server;
-}
-
-static
-LassoServer*
-get_idp_server() {
- LassoServer *server = lasso_server_new(idp_metadata, idp_private_key, NULL, NULL);
- check_good_rc(lasso_server_add_provider(server, LASSO_PROVIDER_ROLE_SP, wsp_metadata, NULL, NULL));
- check_good_rc(lasso_server_add_provider(server, LASSO_PROVIDER_ROLE_SP, wsc_metadata, NULL, NULL));
- return server;
-}
-
-static void
-prepare_idp(struct IdPState *idpstate) {
- check_not_null(idpstate->server = get_idp_server());
- check_not_null(idpstate->identity = lasso_identity_new());
- check_not_null(idpstate->session = lasso_session_new());
- check_not_null(idpstate->login = lasso_login_new(idpstate->server));
- lasso_assign_gobject(idpstate->login->parent.identity, idpstate->identity);
- lasso_assign_gobject(idpstate->login->parent.session, idpstate->session);
- idpstate->discovery = lasso_idwsf2_discovery_new(idpstate->server);
- lasso_assign_gobject(idpstate->discovery->parent.parent.identity, idpstate->identity);
- lasso_assign_gobject(idpstate->discovery->parent.parent.session, idpstate->session);
-}
-
-static void
-prepare_wsp(struct SPState *spstate) {
- spstate->server = get_wsp_server();
- spstate->identity = lasso_identity_new();
- spstate->session = lasso_session_new();
- spstate->login = lasso_login_new(spstate->server);
- lasso_assign_gobject(spstate->login->parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->login->parent.session, spstate->session);
- spstate->discovery = lasso_idwsf2_discovery_new(spstate->server);
- lasso_assign_gobject(spstate->discovery->parent.parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->discovery->parent.parent.session, spstate->session);
- spstate->dataservice = lasso_idwsf2_data_service_new(spstate->server);
- lasso_assign_gobject(spstate->dataservice->parent.parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->dataservice->parent.parent.session, spstate->session);
-
-}
-
-static void
-prepare_wsc(struct SPState *spstate) {
- spstate->server = get_wsc_server();
- spstate->identity = lasso_identity_new();
- spstate->session = lasso_session_new();
- spstate->login = lasso_login_new(spstate->server);
- lasso_assign_gobject(spstate->login->parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->login->parent.session, spstate->session);
- spstate->discovery = lasso_idwsf2_discovery_new(spstate->server);
- lasso_assign_gobject(spstate->discovery->parent.parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->discovery->parent.parent.session, spstate->session);
- spstate->dataservice = lasso_idwsf2_data_service_new(spstate->server);
- lasso_assign_gobject(spstate->dataservice->parent.parent.identity, spstate->identity);
- lasso_assign_gobject(spstate->dataservice->parent.parent.session, spstate->session);
-
-}
-
-static void
-prepare_saml2_authn_request(LassoLogin *splogin, LassoLogin *idplogin)
-{
- LassoSamlp2AuthnRequest *request;
-
- check_good_rc(lasso_login_init_authn_request(splogin, idplogin->parent.server->parent.ProviderID, LASSO_HTTP_METHOD_REDIRECT));
- check_not_null(request = LASSO_SAMLP2_AUTHN_REQUEST(splogin->parent.request));
- request->IsPassive = 0;
- request->NameIDPolicy->AllowCreate = 1;
- check_good_rc(lasso_login_build_authn_request_msg(splogin));
-
-}
-
-static void
-process_authn_request(LassoLogin *splogin, LassoLogin *idplogin)
-{
- GList node = { .data = LASSO_SECURITY_MECH_BEARER, .next = NULL };
-
- check_good_rc(lasso_login_process_authn_request_msg(idplogin, strchr(splogin->parent.msg_url,'?')+1));
- lasso_login_must_authenticate(idplogin);
- check_false(lasso_login_must_ask_for_consent(idplogin));
- check_good_rc(lasso_login_validate_request_msg(idplogin, 1, 0));
- check_good_rc(lasso_login_build_assertion(idplogin,
- LASSO_SAML_AUTHENTICATION_METHOD_PASSWORD,
- "FIXME: authenticationInstant",
- "FIXME: reauthenticateOnOrAfter",
- "FIXME: notBefore",
- "FIXME: notOnOrAfter"));
- check_good_rc(lasso_login_idwsf2_add_discovery_bootstrap_epr(idplogin,
- "http://example.com/disco", "Discovery Service Description",
- &node, -1, 0));
- check_good_rc(lasso_login_build_artifact_msg(idplogin, LASSO_HTTP_METHOD_ARTIFACT_GET));
-}
-
-static void
-login_to_idp(struct IdPState *idpstate, struct SPState *spstate)
-{
- // generate request
- prepare_saml2_authn_request(spstate->login, idpstate->login);
- // send request to idp
- // build assertion
- // add disco token
- // generate response artifact
- process_authn_request(spstate->login, idpstate->login);
- // process artifact
- // get response
- // process response
-}
-
-static void
-register_metadata(G_GNUC_UNUSED struct IdPState *idpstate, G_GNUC_UNUSED struct SPState *wspstate)
-{
-}
-
-static void
-register_data_service(G_GNUC_UNUSED struct IdPState *idpstate, G_GNUC_UNUSED struct SPState *wspstate, G_GNUC_UNUSED const char *service_type)
-{
-}
-
-static void
-query_disco(G_GNUC_UNUSED struct IdPState *idpstate, G_GNUC_UNUSED struct SPState *wscstate, G_GNUC_UNUSED const char *service_type)
-{
-}
-
-static void
-query_data_service(G_GNUC_UNUSED struct SPState *wspstate, G_GNUC_UNUSED struct SPState *wscstate, G_GNUC_UNUSED int index, G_GNUC_UNUSED char *query, G_GNUC_UNUSED char *data)
-{
-}
-
-void
-free_idpstate(struct IdPState *idpstate)
-{
- lasso_release_gobject(idpstate->login);
- lasso_release_gobject(idpstate->discovery);
- lasso_release_gobject(idpstate->server);
- lasso_release_gobject(idpstate->identity);
- lasso_release_gobject(idpstate->session);
-}
-
-void
-free_spstate(struct SPState *spstate)
-{
- lasso_release_gobject(spstate->login);
- lasso_release_gobject(spstate->discovery);
- lasso_release_gobject(spstate->dataservice);
- lasso_release_gobject(spstate->identity);
- lasso_release_gobject(spstate->session);
- lasso_release_gobject(spstate->server);
-}
-
-
-START_TEST(test01_simple_data_query)
-{
- struct IdPState idpstate;
- struct SPState wspstate, wscstate;
-
- prepare_idp(&idpstate);
- // check somes values
- prepare_wsp(&wspstate);
- // check somes values
- prepare_wsc(&wscstate);
- login_to_idp(&idpstate, &wspstate);
- register_metadata(&idpstate, &wspstate);
- register_data_service(&idpstate, &wspstate, service_type);
- login_to_idp(&idpstate, &wscstate);
- query_disco(&idpstate, &wspstate, service_type);
- query_data_service(&wspstate, &wscstate, 0, "/test", "");
- free_spstate(&wscstate);
- free_spstate(&wspstate);
- free_idpstate(&idpstate);
-}
-END_TEST
-
-
-Suite*
-idwsf2_suite()
-{
- Suite *s = suite_create("IdWsf2");
- TCase *tc_idwsf2_base = tcase_create("Login, Disco, DST queries");
-
- suite_add_tcase(s, tc_idwsf2_base);
- tcase_add_test(tc_idwsf2_base, test01_simple_data_query);
-
- return s;
-}
diff --git a/tests/tests.c b/tests/tests.c
index 3f0753b2..6fd0ebfc 100644
--- a/tests/tests.c
+++ b/tests/tests.c
@@ -38,9 +38,6 @@ extern Suite* random_suite();
extern Suite* metadata_suite();
extern Suite* assertion_query_suite();
extern Suite* non_regression_suite();
-#ifdef LASSO_WSF_ENABLED
-extern Suite* idwsf2_suite();
-#endif
typedef Suite* (*SuiteFunction) ();
@@ -52,9 +49,6 @@ SuiteFunction suites[] = {
metadata_suite,
assertion_query_suite,
non_regression_suite,
-#ifdef LASSO_WSF_ENABLED
- idwsf2_suite,
-#endif
NULL
};
diff --git a/tools/api.py b/tools/api.py
index 04cca2f0..aa03223a 100644
--- a/tools/api.py
+++ b/tools/api.py
@@ -11,7 +11,6 @@ def main(args):
options = opt()
srcdir = args[1]
options.srcdir = srcdir
- options.idwsf = None
options.language = None
options.exception_doc = None
bindings.binding = bindings.BindingData(options)
diff --git a/tools/generate_idwsf2_classes.py b/tools/generate_idwsf2_classes.py
deleted file mode 100644
index 36200279..00000000
--- a/tools/generate_idwsf2_classes.py
+++ /dev/null
@@ -1,1813 +0,0 @@
-#! /usr/bin/env python
-
-import os
-import re
-import xml.dom.minidom
-import string
-import sys
-from six import print_
-
-full_constructors = {
- 'disco_svc_metadata': (
- '''LASSO_EXPORT LassoIdWsf2DiscoSvcMetadata* lasso_idwsf2_disco_svc_metadata_new_full(
-\t\tconst gchar *service_type, const gchar *abstract,
-\t\tconst gchar *provider_id, const gchar *soap_endpoint);''',
- '''
-LassoIdWsf2DiscoSvcMetadata*
-lasso_idwsf2_disco_svc_metadata_new_full(const gchar *service_type, const gchar *abstract,
-\t\tconst gchar *provider_id, const gchar *soap_endpoint)
-{
-\tLassoIdWsf2DiscoSvcMetadata *metadata;
-\tLassoIdWsf2DiscoEndpointContext *endpoint_context;
-
-\tmetadata = lasso_idwsf2_disco_svc_metadata_new();
-
-\tmetadata->Abstract = g_strdup(abstract);
-\tmetadata->ProviderID = g_strdup(provider_id);
-
-\tendpoint_context = lasso_idwsf2_disco_endpoint_context_new_full(soap_endpoint);
-\tmetadata->ServiceContext = g_list_append(NULL,
-\t\tlasso_idwsf2_disco_service_context_new_full(service_type, endpoint_context));
-
-\treturn metadata;
-}
-'''),
-
- 'disco_svc_md_register' : (
- '''LASSO_EXPORT LassoIdWsf2DiscoSvcMDRegister* lasso_idwsf2_disco_svc_md_register_new_full(
-\t\tconst gchar *service_type, const gchar *abstract,
-\t\tconst gchar *provider_id, const gchar *soap_endpoint);''',
- '''
-LassoIdWsf2DiscoSvcMDRegister*
-lasso_idwsf2_disco_svc_md_register_new_full(const gchar *service_type, const gchar *abstract,
-\t\tconst gchar *provider_id, const gchar *soap_endpoint)
-{
-\tLassoIdWsf2DiscoSvcMDRegister *metadata_register;
-\tLassoIdWsf2DiscoSvcMetadata *metadata;
-
-\tmetadata_register = lasso_idwsf2_disco_svc_md_register_new();
-\tmetadata = lasso_idwsf2_disco_svc_metadata_new_full(service_type, abstract, provider_id,
-\t\t\tsoap_endpoint);
-\tmetadata_register->SvcMD = g_list_append(
-\t\t\tmetadata_register->SvcMD, metadata);
-
-\treturn metadata_register;
-}'''),
-
- 'dstref_query_item': (
- '''LASSO_EXPORT LassoIdWsf2DstRefQueryItem* lasso_idwsf2_dstref_query_item_new_full(
-\t\tconst gchar *item_xpath, const gchar *item_id);''',
- '''
-LassoIdWsf2DstRefQueryItem*
-lasso_idwsf2_dstref_query_item_new_full(const gchar *item_xpath, const gchar *item_id)
-{
-\tLassoIdWsf2DstRefResultQuery *item_result_query = LASSO_IDWSF2_DSTREF_RESULT_QUERY(
-\t\tlasso_idwsf2_dstref_query_item_new());
-\tLassoIdWsf2DstResultQueryBase *item_result_query_base = LASSO_IDWSF2_DST_RESULT_QUERY_BASE(
-\t\titem_result_query);
-
-\titem_result_query->Select = g_strdup(item_xpath);
-\titem_result_query_base->itemID = g_strdup(item_id);
-
-\treturn LASSO_IDWSF2_DSTREF_QUERY_ITEM(item_result_query);
-}'''),
-
- 'sb2_redirect_request': (
- '''LASSO_EXPORT LassoIdWsf2Sb2RedirectRequest* lasso_idwsf2_sb2_redirect_request_new_full(
-\t\tconst gchar *redirect_url);''',
- '''
-LassoIdWsf2Sb2RedirectRequest*
-lasso_idwsf2_sb2_redirect_request_new_full(const gchar *redirect_url)
-{
-\tLassoIdWsf2Sb2RedirectRequest *request;
-
-\trequest = lasso_idwsf2_sb2_redirect_request_new();
-\trequest->redirectURL = g_strdup(redirect_url);
-
-\treturn request;
-}'''),
-
- 'disco_endpoint_context': (
- '''LASSO_EXPORT LassoIdWsf2DiscoEndpointContext* lasso_idwsf2_disco_endpoint_context_new_full(
-\t\tconst gchar *address);''',
- '''
-LassoIdWsf2DiscoEndpointContext*
-lasso_idwsf2_disco_endpoint_context_new_full(const gchar *address)
-{
-\tLassoIdWsf2DiscoEndpointContext *context;
-\tLassoIdWsf2SbfFramework *sbf_framework;
-
-\tcontext = lasso_idwsf2_disco_endpoint_context_new();
-
-\tcontext->Address = g_list_append(NULL, g_strdup(address));
-\tsbf_framework = lasso_idwsf2_sbf_framework_new();
-\tsbf_framework->version = g_strdup("2.0");
-\tcontext->Framework = g_list_append(NULL, sbf_framework);
-
-\treturn context;
-}'''),
-
- 'disco_service_context': (
- '''LASSO_EXPORT LassoIdWsf2DiscoServiceContext* lasso_idwsf2_disco_service_context_new_full(
-\t\tconst gchar *serviceType, LassoIdWsf2DiscoEndpointContext *endpointContext);''',
- '''
-LassoIdWsf2DiscoServiceContext*
-lasso_idwsf2_disco_service_context_new_full(
-\t\tconst gchar *serviceType, LassoIdWsf2DiscoEndpointContext *endpointContext)
-{
-\tLassoIdWsf2DiscoServiceContext *context;
-
-\tcontext = lasso_idwsf2_disco_service_context_new();
-
-\tcontext->ServiceType = g_list_append(NULL, g_strdup(serviceType));
-\tcontext->EndpointContext = g_list_append(NULL, g_object_ref(endpointContext));
-
-\treturn context;
-}'''),
-
-}
-
-for d in ('id-wsf-2.0', 'ws', 'swig-id-wsf-2.0', 'swig-ws'):
- if not os.path.exists(d):
- os.mkdir(d)
-
-def rep(s):
- return s.group(0)[0] + '_' + s.group(1).lower()
-
-
-def get_by_name_and_attribute(dom, name, attribute_name, attribute_value):
- elems = dom.getElementsByTagName(name)
- result = []
- for elem in elems:
- if not elem.attributes.has_key(attribute_name):
- continue
- if elem.attributes.get(attribute_name).value == attribute_value:
- result.append(elem)
-
- return result
-
-
-def get_str_classes():
- str_classes = ['ID', 'string', 'anyURI', 'dateTime', 'NCName', 'text-child',
- 'NMTOKEN', 'NMTOKENS', 'token', 'normalizedString', 'IDREF', 'QName']
- str_classes += ['xs:'+x for x in str_classes]
- str_classes += ['saml:' + x for x in string_classes] + string_classes[:]
- lu_classes = ['IDType', 'IDReferenceType']
- str_classes += lu_classes + ['lu:'+x for x in lu_classes] + ['util:'+x for x in lu_classes]
- str_classes += ['tns:RelationshipTypeOpenEnum']
- str_classes += ['wsu:AttributedDateTime']
- return str_classes
-
-
-class LassoClass:
- has_ds_signature = False
- has_custom_ns = False
- node_set_name = None
-
- def generate_header(self):
- s = []
- s.append("""/* $Id: %(file_name)s.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef __LASSO_%(category_upper)s%(file_name_upper)s_H__
-#define __LASSO_%(category_upper)s%(file_name_upper)s_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-""" % self.__dict__)
- includes = {}
- for elem in self.elements:
- if elem[1] in string_classes:
- continue
- includes[elem[1]] = True
-
- if self.base_class_name != 'Node':
- if self.prefix == 'samlp2':
- includes['samlp:' + self.base_class_name[6:]] = True
- elif self.prefix == 'saml2':
- includes['saml:' + self.base_class_name[5:]] = True
- else:
- b_pref = self.base_prefix
- if not b_pref:
- b_pref = self.prefix
-
- if b_pref in ('lu', 'util'):
- includes['util:' + self.base_class_name[10:]] = True
- elif b_pref == 'ps':
- includes['ps:' + self.base_class_name[8:]] = True
- elif b_pref == 'is':
- includes['is:' + self.base_class_name[8:]] = True
- elif b_pref == 'subs':
- includes['subs:' + self.base_class_name[10:]] = True
- elif b_pref == 'ims':
- includes['ims:' + self.base_class_name[9:]] = True
- elif b_pref == 'dst':
- includes['dst:' + self.base_class_name[9:]] = True
- elif b_pref == 'subsref':
- includes['subsref:' + self.base_class_name[13:]] = True
- elif b_pref == 'dstref':
- includes['dstref:' + self.base_class_name[12:]] = True
- elif b_pref == 'wsa':
- includes['wsa:' + self.base_class_name[6:]] = True
- elif b_pref == 'tns':
- includes['wsa:' + self.base_class_name[6:]] = True
- else:
- print_(b_pref, self.base_prefix, self.base_class_name)
- raise 'XXX'
-
- s.append('#include ')
-
- for inc in includes.keys():
- if ':' in inc:
- ns, name = inc.split(':')[-2:]
- if ns == 'xs':
- continue
- if ns == 'lu':
- ns = 'util'
- if ns == 'tns':
- ns = 'wsa'
- try:
- if ns.startswith('ws') and not self.prefix.startswith('ws'):
- s.append('#include ' % classes[ns][name].file_name)
- elif ns == 'samlp':
- samlp_header = 'samlp2_' + re.sub(r'[a-z]([A-Z])', rep, name).lower()
- s.append('#include ' % samlp_header)
- else:
- s.append('#include "%s.h"' % classes[ns][name].file_name)
- except KeyError:
- print_('W: missing', ns, name, file=sys.stderr)
- if self.name == 'DataResponseBase':
- print_(classes[ns].keys())
- raise 'toot'
- pass
- else:
- try:
- s.append('#include "%s.h"' % classes[self.prefix][inc].file_name)
- except KeyError:
- pass
-
- # extra headers
- if self.name == 'ServiceContext':
- s.append('#include "disco_endpoint_context.h"')
-
- if self.name in ('Advice', 'Evidence'):
- s.append("""
-#ifndef __LASSO_SAML2_ASSERTION_H__
-/* to avoid circular inclusion of saml2_assertion.h */
-typedef struct _LassoSaml2Assertion LassoSaml2Assertion;
-#endif
-""")
-
- if len(self.prefix_cap) + len(self.file_name_upper) < 33:
- s.append("""\n#define LASSO_TYPE_%(category_upper)s%(file_name_upper)s (lasso_%(category)s%(file_name)s_get_type())""" % self.__dict__)
- else:
- s.append("""\n#define LASSO_TYPE_%(category_upper)s%(file_name_upper)s \\\n\t(lasso_%(category)s%(file_name)s_get_type())""" % self.__dict__)
-
- s.append("""#define LASSO_%(category_upper)s%(file_name_upper)s(obj) \\
-\t(G_TYPE_CHECK_INSTANCE_CAST((obj), \\
-\t\tLASSO_TYPE_%(category_upper)s%(file_name_upper)s, \\
-\t\tLasso%(prefix_cap)s%(name)s))
-#define LASSO_%(category_upper)s%(file_name_upper)s_CLASS(klass) \\
-\t(G_TYPE_CHECK_CLASS_CAST((klass), \\
-\t\tLASSO_TYPE_%(category_upper)s%(file_name_upper)s, \\
-\t\tLasso%(prefix_cap)s%(name)sClass))
-#define LASSO_IS_%(category_upper)s%(file_name_upper)s(obj) \\
-\t(G_TYPE_CHECK_INSTANCE_TYPE((obj), \\
-\t\tLASSO_TYPE_%(category_upper)s%(file_name_upper)s))
-#define LASSO_IS_%(category_upper)s%(file_name_upper)s_CLASS(klass) \\
-\t(G_TYPE_CHECK_CLASS_TYPE ((klass), \\
-\t\tLASSO_TYPE_%(category_upper)s%(file_name_upper)s))
-#define LASSO_%(category_upper)s%(file_name_upper)s_GET_CLASS(o) \\
-\t(G_TYPE_INSTANCE_GET_CLASS ((o), \\
-\t\tLASSO_TYPE_%(category_upper)s%(file_name_upper)s, \\
-\t\tLasso%(prefix_cap)s%(name)sClass))
-""" % self.__dict__)
-
- if len(self.prefix_cap) + len(self.name) > 30:
- s.append("""
-typedef struct _Lasso%(prefix_cap)s%(name)s \\
-\tLasso%(prefix_cap)s%(name)s;
-typedef struct _Lasso%(prefix_cap)s%(name)sClass \\
-\tLasso%(prefix_cap)s%(name)sClass;
-""" % self.__dict__)
- else:
- s.append("""
-typedef struct _Lasso%(prefix_cap)s%(name)s Lasso%(prefix_cap)s%(name)s;
-typedef struct _Lasso%(prefix_cap)s%(name)sClass Lasso%(prefix_cap)s%(name)sClass;
-""" % self.__dict__)
-
-
-
- s.append("""
-struct _Lasso%(prefix_cap)s%(name)s {""" % self.__dict__)
- s.append("\tLasso%s parent;\n" % self.base_class_name)
-
- s.append('\t/*< public >*/')
- if self.elements:
- s.append('\t/* elements */')
- for elem in self.elements:
- name, type = elem[:2]
- if type in get_str_classes():
- type = 'char'
- name = '*'+name
- elif type in ['text-child-int']:
- type = 'int'
- elif type == 'GList':
- name = '*'+name
- else:
- type = ref_to_class_name(type)
- name = '*'+name
- s.append('\t%s %s;' % (type, name))
-
- if type == 'GList':
- if elem[2] == 'xmlNode':
- s[-1] = s[-1] + ' /* of xmlNode* */'
- else:
- t = ref_to_class_name(elem[2])
- if not 'XXX' in t:
- s[-1] = s[-1] + ' /* of %s */' % t
-
- if self.attributes:
- s.append('\t/* attributes */')
- for elem in self.attributes:
- name, type = elem[:2]
- if type.startswith('xs:'):
- type = type[3:]
- if name in ('signed', ): # reserved keywords
- name = name + '_'
- if type == 'boolean':
- type = 'gboolean'
- elif type in ('unsignedShort', 'integer', 'nonNegativeInteger'):
- type = 'int'
- elif type == 'any':
- type = 'GHashTable'
- name = '*attributes'
- else:
- type = 'char'
- name = '*'+name
- s.append('\t%s %s;' % (type, name))
-
- if self.has_ds_signature:
- s.append('\t/*< private >*/')
- s.append("""\t/* ds:Signature stuffs */
-\tLassoSignatureType sign_type;
-\tLassoSignatureMethod sign_method;
-\tchar *private_key_file;
-\tchar *certificate_file;
-""")
- if self.has_custom_ns:
- s.append('''
-\t/*< private >*/
-\tchar *prefixServiceType;
-\tchar *hrefServiceType;''')
-
- s.append('};\n')
-
- s.append("""
-struct _Lasso%(prefix_cap)s%(name)sClass {
-\tLasso%(base_class_name)sClass parent;
-};
-
-LASSO_EXPORT GType lasso_%(category)s%(file_name)s_get_type(void);
-LASSO_EXPORT Lasso%(prefix_cap)s%(name)s* lasso_%(category)s%(file_name)s_new(void);
-""" % self.__dict__)
-
- if ('content', 'text-child') in self.elements:
- s.append('LASSO_EXPORT Lasso%(prefix_cap)s%(name)s* lasso_%(category)s%(file_name)s_new_with_string(const char *content);' % self.__dict__)
-
- if ('text-child-int',) in self.elements:
- s.append('LASSO_EXPORT Lasso%(prefix_cap)s%(name)s* lasso_%(category)s%(file_name)s_new_with_int(int content);' % self.__dict__)
-
- if full_constructors.has_key(self.file_name):
- s.append(full_constructors.get(self.file_name)[0])
-
- s.append("""
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __LASSO_%(category_upper)s%(file_name_upper)s_H__ */
-""" % self.__dict__)
-
- return '\n'.join(s)
-
- def generate_source(self):
- s = []
- s.append("""/* $Id: %(file_name)s.c,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-""" % self.__dict__)
-
- if self.has_ds_signature:
- s.append("""
-#include
-#include
-""")
-
- s.append('#include "%s.h"' % self.file_name)
-
- # extra headers
- if self.name == 'EndpointContext':
- s.append('#include "sbf_framework.h"');
- elif self.name == 'SvcMDRegister':
- s.append('#include "disco_svc_metadata.h"')
- elif self.name == 'SvcMetadata':
- s.append('#include "disco_endpoint_context.h"')
- s.append('#include "disco_service_context.h"')
-
-
- s.append("""
-/*
- * Schema fragment (%s):
- *
-%s
- */""" % (self.schema_filename, self.schema_fragment))
-
- s.append("""
-/*****************************************************************************/
-/* private methods */
-/*****************************************************************************/
-
-""")
-
- s.append("static struct XmlSnippet schema_snippets[] = {")
-
- for elem in self.elements:
- name, type = elem[:2]
- if type == 'text-child':
- snippet_type = 'SNIPPET_TEXT_CHILD'
- elif type == 'text-child-int':
- snippet_type = 'SNIPPET_TEXT_CHILD | SNIPPET_INTEGER'
- elif type in get_str_classes():
- snippet_type = 'SNIPPET_CONTENT'
- elif type == 'GList':
- if elem[2] == 'xmlNode':
- snippet_type = 'SNIPPET_LIST_XMLNODES'
- elif elem[2] in get_str_classes():
- snippet_type = 'SNIPPET_LIST_CONTENT'
- else:
- snippet_type = 'SNIPPET_LIST_NODES'
- else:
- snippet_type = 'SNIPPET_NODE'
- if name == 'any':
- snippet_type += ' | SNIPPET_ANY'
-
- varname = name
-
- if type in get_str_classes():
- auto_detect = True
- else:
- if type == 'GList':
- type = elem[2]
- if type == 'xmlNode':
- name = ''
- auto_detect = True
- else:
- type = ref_to_class_name(type)
- if type == 'LassoNode':
- name = ''
- snippet_type += ' | SNIPPET_ANY'
- auto_detect = True
- elif classes.has_key(name):
- auto_detect = True
- else:
- if 'XXX' in type or type.endswith('Abstract') or name == 'any':
- auto_detect = True
- else:
- auto_detect = False
-
- if auto_detect:
- s.append('\t{ "%s", %s,\n\t\tG_STRUCT_OFFSET(Lasso%s%s, %s) },' % (
- name, snippet_type, self.prefix_cap, self.name, varname))
- else:
- s.append('\t{ "%s", %s,\n\t\tG_STRUCT_OFFSET(Lasso%s%s, %s),\n\t\t"%s" },' % (
- name, snippet_type, self.prefix_cap, self.name, name, type))
-
- id_name = 'XXX'
- for elem in self.attributes:
- name, type = elem[:2]
- if type.startswith('xs:'):
- type = type[3:]
- if type == 'ID':
- id_name = name
- if type in get_str_classes():
- snippet_type = 'SNIPPET_ATTRIBUTE'
- elif type in ('unsignedShort', 'nonNegativeInteger', 'integer'):
- snippet_type = 'SNIPPET_ATTRIBUTE | SNIPPET_INTEGER'
- elif type == 'boolean':
- snippet_type = 'SNIPPET_ATTRIBUTE | SNIPPET_BOOLEAN'
- elif type == 'any':
- snippet_type = 'SNIPPET_ATTRIBUTE | SNIPPET_ANY'
- else:
- raise 'unknown type: %r' % type
- if len(elem) == 3:
- optional = elem[2]
- if optional:
- if type == 'nonNegativeInteger':
- snippet_type += ' | SNIPPET_OPTIONAL_NEG'
- else:
- snippet_type += ' | SNIPPET_OPTIONAL'
- varname = name
- if type == 'any':
- varname = 'attributes'
- if varname in ('signed', ): # reserved keywords
- varname = varname + '_'
- s.append('\t{ "%s", %s,\n\t\tG_STRUCT_OFFSET(Lasso%s%s, %s) },' % (
- name, snippet_type, self.prefix_cap, self.name, varname))
-
- if self.has_ds_signature:
- if id_name == 'XXX':
- s.append('\t{ "Signature", SNIPPET_SIGNATURE },')
- else:
- s.append('\t{ "Signature", SNIPPET_SIGNATURE,\n\t\tG_STRUCT_OFFSET(Lasso%s%s, %s) },' % (
- self.prefix_cap, self.name, id_name))
-
- s.append("""
-\t/* hidden fields; used in lasso dumps */
-\t{ "SignType", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_LASSO_DUMP,
-\t\tG_STRUCT_OFFSET(Lasso%(prefix_cap)s%(name)s, sign_type) },
-\t{ "SignMethod", SNIPPET_ATTRIBUTE | SNIPPET_INTEGER | SNIPPET_LASSO_DUMP,
-\t\tG_STRUCT_OFFSET(Lasso%(prefix_cap)s%(name)s, sign_method) },
-\t{ "PrivateKeyFile", SNIPPET_CONTENT | SNIPPET_LASSO_DUMP,
-\t\tG_STRUCT_OFFSET(Lasso%(prefix_cap)s%(name)s, private_key_file) },
-\t{ "CertificateFile", SNIPPET_CONTENT | SNIPPET_LASSO_DUMP,
-\t\tG_STRUCT_OFFSET(Lasso%(prefix_cap)s%(name)s, certificate_file) },
-""" % self.__dict__)
-
- s.append("\t{NULL, 0, 0}\n};")
-
- s.append("""
-static LassoNodeClass *parent_class = NULL;
-""")
-
- if self.has_custom_ns:
- s.append('''
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
-\txmlNode *xmlnode;
-
-\txmlnode = parent_class->get_xmlNode(node, lasso_dump);
-\txml_insure_namespace(xmlnode, NULL, TRUE,
-\t\t\tLASSO_%(category_upper)s%(file_name_upper)s(node)->hrefServiceType,
-\t\t\tLASSO_%(category_upper)s%(file_name_upper)s(node)->prefixServiceType);
-
-\treturn xmlnode;
-}
-
-static int
-init_from_xml(LassoNode *node, xmlNode *xmlnode)
-{
-\tLasso%(prefix_cap)s%(name)s *object = LASSO_%(category_upper)s%(file_name_upper)s(node);
-\tint res;
-
-\tres = parent_class->init_from_xml(node, xmlnode);
-\tif (res != 0) {
-\t\treturn res;
-\t}
-
-\tobject->hrefServiceType = g_strdup((char*)xmlnode->ns->href);
-\tobject->prefixServiceType = lasso_get_prefix_for_idwsf2_dst_service_href(
-\t\t\tobject->hrefServiceType);
-\tif (object->prefixServiceType == NULL) {
-\t\t/* XXX: what to do here ? */
-\t}
-
-\treturn 0;
-}
-''' % self.__dict__)
-
- has_build_query = False
- if self.base_class_name == 'Samlp2RequestAbstract' or ( # two levels deep
- classes.has_key(self.base_class_name) and \
- classes[self.base_class_name].base_class_name == 'Samlp2RequestAbstract'):
- has_build_query = True
- qs_name = 'SAMLRequest'
- elif self.prefix == 'samlp2' and self.name.endswith('Response'):
- has_build_query = True
- qs_name = 'SAMLResponse'
- elif self.base_class_name == 'Samlp2StatusResponse':
- has_build_query = True
- qs_name = 'SAMLResponse'
-
- if self.name in ('ArtifactResolve', 'ArtifactResponse'):
- has_build_query = False
-
- if has_build_query:
- s.append("""
-static gchar*
-build_query(LassoNode *node)
-{
-\tchar *ret, *deflated_message;
-
-\tdeflated_message = lasso_node_build_deflated_query(node);
-\tret = g_strdup_printf("%s=%%s", deflated_message);
-\t/* XXX: must support RelayState (which profiles?) */
-\tg_free(deflated_message);
-\treturn ret;
-}
-""" % qs_name)
- has_init_from_query = False
- if has_build_query:
- has_init_from_query = True
- s.append("""
-static gboolean
-init_from_query(LassoNode *node, char **query_fields)
-{
-\tgboolean rc;
-\tchar *relay_state = NULL;
-\trc = lasso_node_init_from_saml2_query_fields(node, query_fields, &relay_state);
-\tif (rc && relay_state != NULL) {
-\t\t/* XXX: support RelayState? */
-\t}
-\treturn rc;
-}
-""")
-
- has_get_xml_node = False
- if self.has_ds_signature and id_name != 'XXX':
- # XXX: no id name for InteractionStatement -> no signature possible ?
- has_get_xml_node = True
- self.id_name = id_name
- s.append("""
-
-static xmlNode*
-get_xmlNode(LassoNode *node, gboolean lasso_dump)
-{
-\tLasso%(prefix_cap)s%(name)s *request = LASSO_%(category_upper)s%(file_name_upper)s(node);
-\txmlNode *xmlnode;
-\tint rc;
-\t
-\txmlnode = parent_class->get_xmlNode(node, lasso_dump);
-
-\tif (lasso_dump == FALSE && request->sign_type) {
-\t\trc = lasso_sign_node(xmlnode, "%(id_name)s", request->%(id_name)s,
-\t\t\t\trequest->private_key_file, request->certificate_file);
-\t\t/* signature may have failed; what to do ? */
-\t}
-
-\treturn xmlnode;
-}
-""" % self.__dict__)
-
-
- s.append("""
-/*****************************************************************************/
-/* instance and class init functions */
-/*****************************************************************************/
-
-static void
-instance_init(Lasso%s%s *node)
-{""" % (self.prefix_cap, self.name))
-
- for elem in self.elements + self.attributes:
- name, type = elem[:2]
- if name in ('signed', ): # reserved keywords
- name = name + '_'
- if type.startswith('xs:'):
- type = type[3:]
-
- if type in ('unsignedShort', 'integer', 'text-child-int'):
- s.append('\tnode->%s = 0;' % name)
- elif type == 'nonNegativeInteger':
- s.append('\tnode->%s = -1;' % name)
- elif type == 'boolean':
- s.append('\tnode->%s = FALSE;' % name)
- elif type == 'any' and elem in self.attributes:
- s.append('''\tnode->attributes = g_hash_table_new_full(
-\t\tg_str_hash, g_str_equal, g_free, g_free);''')
- else:
- s.append('\tnode->%s = NULL;' % name)
-
- if self.has_ds_signature:
- s.append('\tnode->sign_type = LASSO_SIGNATURE_TYPE_NONE;')
-
- if self.has_custom_ns:
- s.append('\tnode->prefixServiceType = NULL;')
- s.append('\tnode->hrefServiceType = NULL;')
-
- s.append("""}
-
-static void
-class_init(Lasso%s%sClass *klass)
-{
-\tLassoNodeClass *nclass = LASSO_NODE_CLASS(klass);
-
-\tparent_class = g_type_class_peek_parent(klass);""" % (self.prefix_cap, self.name))
- if self.has_custom_ns:
- s.append('\tnclass->get_xmlNode = get_xmlNode;')
- s.append('\tnclass->init_from_xml = init_from_xml;')
- if has_build_query:
- s.append('\tnclass->build_query = build_query;')
- if has_init_from_query:
- s.append('\tnclass->init_from_query = init_from_query;')
- if has_get_xml_node:
- s.append('\tnclass->get_xmlNode = get_xmlNode;')
- if self.prefix == 'saml2':
- string_constant = 'SAML2_ASSERTION'
- elif self.prefix == 'samlp2':
- string_constant = 'SAML2_PROTOCOL'
- elif self.prefix == 'disco':
- string_constant = 'IDWSF2_DISCO'
- elif self.prefix == 'util':
- string_constant = 'IDWSF2_UTIL'
- elif self.prefix == 'dst':
- string_constant = 'IDWSF2_DST'
- elif self.prefix == 'dstref':
- string_constant = 'IDWSF2_DSTREF'
- elif self.prefix == 'sec':
- string_constant = 'IDWSF2_SEC'
- elif self.prefix == 'ims':
- string_constant = 'IDWSF2_IMS'
- elif self.prefix == 'subs':
- string_constant = 'IDWSF2_SUBS'
- elif self.prefix == 'subsref':
- string_constant = 'IDWSF2_SUBSREF'
- elif self.prefix == 'ps':
- string_constant = 'IDWSF2_PS'
- elif self.prefix == 'is':
- string_constant = 'IDWSF2_IS'
- elif self.prefix == 'sbf':
- string_constant = 'IDWSF2_SBF'
- elif self.prefix == 'sb2':
- string_constant = 'IDWSF2_SB2'
- elif self.prefix == 'wsa':
- string_constant = 'WSA'
- elif self.prefix == 'wsu':
- string_constant = 'WSUTIL1'
- elif self.prefix == 'wsse':
- string_constant = 'WSSE1'
- else:
- raise 'missing constant for %s' % self.prefix
-
- if not self.node_set_name:
- self.node_set_name = self.name
- s.append("""\tnclass->node_data = g_new0(LassoNodeClassData, 1);
-\tlasso_node_class_set_nodename(nclass, "%s");
-\tlasso_node_class_set_ns(nclass, LASSO_%s_HREF, LASSO_%s_PREFIX);
-\tlasso_node_class_add_snippets(nclass, schema_snippets);""" % (
- self.node_set_name, string_constant, string_constant))
-
- if self.has_ds_signature:
- s.append("""
-\tnclass->node_data->sign_type_offset = G_STRUCT_OFFSET(
-\t\t\tLasso%(prefix_cap)s%(name)s, sign_type);
-\tnclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
-\t\t\tLasso%(prefix_cap)s%(name)s, sign_method);""" % self.__dict__)
-
- s.append("""}
-
-GType
-lasso_%(category)s%(file_name)s_get_type()
-{
-\tstatic GType this_type = 0;
-
-\tif (!this_type) {
-\t\tstatic const GTypeInfo this_info = {
-\t\t\tsizeof (Lasso%(prefix_cap)s%(name)sClass),
-\t\t\tNULL,
-\t\t\tNULL,
-\t\t\t(GClassInitFunc) class_init,
-\t\t\tNULL,
-\t\t\tNULL,
-\t\t\tsizeof(Lasso%(prefix_cap)s%(name)s),
-\t\t\t0,
-\t\t\t(GInstanceInitFunc) instance_init,
-\t\t};
-
-\t\tthis_type = g_type_register_static(%(base_class_type)s,
-\t\t\t\t"Lasso%(prefix_cap)s%(name)s", &this_info, 0);
-\t}
-\treturn this_type;
-}
-
-/**
- * lasso_%(category)s%(file_name)s_new:
- *
- * Creates a new #Lasso%(prefix_cap)s%(name)s object.
- *
- * Return value: a newly created #Lasso%(prefix_cap)s%(name)s object
- **/
-Lasso%(prefix_cap)s%(name)s*
-lasso_%(category)s%(file_name)s_new()
-{
-\treturn g_object_new(LASSO_TYPE_%(category_upper)s%(file_name_upper)s, NULL);
-}
-""" % self.__dict__)
-
- if ('content', 'text-child') in self.elements:
- s.append("""
-/**
- * lasso_%(category)s%(file_name)s_new_with_string:
- * @content:
- *
- * Creates a new #Lasso%(prefix_cap)s%(name)s object and initializes it
- * with @content.
- *
- * Return value: a newly created #Lasso%(prefix_cap)s%(name)s object
- **/
-Lasso%(prefix_cap)s%(name)s*
-lasso_%(category)s%(file_name)s_new_with_string(const char *content)
-{
-\tLasso%(prefix_cap)s%(name)s *object;
-\tobject = g_object_new(LASSO_TYPE_%(category_upper)s%(file_name_upper)s, NULL);
-\tobject->content = g_strdup(content);
-\treturn object;
-}
-""" % self.__dict__)
-
-
- if ('text-child-int') in self.elements:
- s.append("""
-/**
- * lasso_%(category)s%(file_name)s_new_with_int:
- * @content:
- *
- * Creates a new #Lasso%(prefix_cap)s%(name)s object and initializes it
- * with @content.
- *
- * Return value: a newly created #Lasso%(prefix_cap)s%(name)s object
- **/
-Lasso%(prefix_cap)s%(name)s*
-lasso_%(category)s%(file_name)s_new_with_int(int content)
-{
-\tLasso%(prefix_cap)s%(name)s *object;
-\tobject = g_object_new(LASSO_TYPE_%(category_upper)s%(file_name_upper)s, NULL);
-\tobject->content = content;
-\treturn object;
-}
-""" % self.__dict__)
-
- if full_constructors.has_key(self.file_name):
- s.append(full_constructors.get(self.file_name)[1] + '\n')
-
- return '\n'.join(s)
-
-
- def generate_swig(self):
- s = []
- s.append("""/* $Id: %(file_name)s.i,v 1.0 2005/10/14 15:17:55 fpeters Exp $
- *
- * Lasso - A free implementation of the Liberty Alliance specifications.
- *
- * Copyright (C) 2004-2007 Entr'ouvert
- * http://lasso.entrouvert.org
- *
- * Authors: See AUTHORS file in top-level directory.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, see .
- */
-
-#ifndef SWIGPHP4
-%%rename(%(prefix_cap)s%(name)s) Lasso%(prefix_cap)s%(name)s;
-#endif
-typedef struct {""" % self.__dict__)
-
- any_attribute = False
- for elem in self.elements + self.attributes:
- oname, type = elem[:2]
- if oname in ('signed', ): # reserved keywords
- oname = oname + '_'
- if type.startswith('xs:'):
- type = type[3:]
- if type == 'boolean':
- type = 'gboolean'
- name = oname
- elif type in ('unsignedShort', 'nonNegativeInteger', 'integer'):
- type = 'int'
- name = oname
- elif type in get_str_classes():
- type = 'char'
- name = '*'+oname
- elif type == 'any':
- any_attribute = True
- name = None # skip it here
- elif elem in self.attributes:
- # fallback for other attributes
- type = 'char'
- name = '*'+oname
- else:
- name = None
- if 'XXX' in ref_to_class_name(type):
- continue
- if name:
- if oname[0] in string.uppercase:
- lname = oname[0].lower() + oname[1:]
- s.append("""#ifndef SWIGPHP4
-\t%%rename(%s) %s;
-#endif""" % (lname, oname))
- s.append('\t%s %s;' % (type, name))
-
- s.append('} Lasso%(prefix_cap)s%(name)s;' % self.__dict__)
- s.append('%%extend Lasso%(prefix_cap)s%(name)s {\n' % self.__dict__)
-
- swig_elems = []
-
- for elem in self.elements + self.attributes:
- name, type = elem[:2]
- if type.startswith('xs:'):
- type = type[3:]
- oname = name
- if type in ['GList', 'boolean', 'unsignedShort', 'nonNegativeInteger',
- 'integer'] + get_str_classes():
- continue
- else:
- type = ref_to_class_name(type)
- if 'XXX' in type:
- continue
-
- name = '*'+name
-
- if oname[0] in string.uppercase:
- lname = oname[0].lower() + oname[1:]
- s.append("""#ifndef SWIGPHP4
-\t%%rename(%s) %s;
-#endif""" % (lname, oname))
- swig_elems.append((None, type, oname))
- if type.startswith('Lasso'):
- s.append('\t%%newobject %s_get;' % name)
- s.append('\t%s %s;\n' % (type, name))
-
- base_class_name = self.base_class_name
- while base_class_name:
- base_class = classes.get(base_class_name.replace('Saml2', '').replace('Samlp2', ''))
- if not base_class:
- break
- s.append('\t/* inherited from %s */' % base_class_name)
-
- for elem in base_class.elements + base_class.attributes:
- name, type = elem[:2]
- if type.startswith('xs:'):
- type = type[3:]
- oname = name
- if type == 'boolean':
- type = 'gboolean'
- elif type in ('unsignedShort', 'nonNegativeInteger', 'integer'):
- type = 'int'
- elif type in get_str_classes():
- type = 'char'
- name = '*'+name
- elif type == 'GList':
- name = None
- else:
- type = ref_to_class_name(type)
- name = '*'+name
- if not name:
- continue
- if oname[0] in string.uppercase:
- lname = oname[0].lower() + oname[1:]
- s.append("""#ifndef SWIGPHP4
-\t%%rename(%s) %s;
-#endif""" % (lname, name))
-
- swig_elems.append((base_class, type, oname))
- if type.startswith('Lasso'):
- s.append('\t%%newobject %s_get;' % name)
- s.append('\t%s %s;' % (type, name))
- if type.startswith('Lasso'):
- s.append('')
-
- base_class_name = base_class.base_class_name
-
- if any_attribute:
- s.append("""\
-\t/* any attribute */
-\t%%immutable attributes;
-\t%%newobject attributes_get;
-\tLassoStringDict *attributes;
-""" % self.__dict__)
-
- s.append("""\
-\t/* Constructor, Destructor & Static Methods */
-\tLasso%(prefix_cap)s%(name)s();
-\t~Lasso%(prefix_cap)s%(name)s();
-
-\t/* Method inherited from LassoNode */
-\t%%newobject dump;
-\tchar* dump();
-}""" % self.__dict__)
-
- s.append("""
-%{
-""")
- if swig_elems:
- base_class = swig_elems[0][0]
- if base_class is not self:
- base_class = None
-
- for elem in swig_elems:
- bclass, type, name = elem[:3]
- if bclass != base_class:
- s.append('/* inherited from %s */\n' % bclass.name)
- base_class = bclass
-
- s.append('/* %s */' % name)
-
- if bclass is None:
- if type.startswith('Lasso'):
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_get_%(elem_name)s(self) get_node((self)->%(elem_name)s)
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_get(self) get_node((self)->%(elem_name)s)
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) set_node((gpointer*)&(self)->%(elem_name)s, (value))
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) set_node((gpointer*)&(self)->%(elem_name)s, (value))
- """ % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- })
- else:
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_get_%(elem_name)s(self) self->%(elem_name)s
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_get(self) self->%(elem_name)s""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- })
- if type in ('boolean', 'unsignedShort'):
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) (self)->%(elem_name)s = (value)
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) (self)->%(elem_name)s = (value)""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- })
- else: # string
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) set_string(&(self)->%(elem_name)s, (value))
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) set_string(&(self)->%(elem_name)s, (value))""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- })
- else:
- parent_upper = bclass.file_name_upper
- if self.prefix.startswith('ws'):
- parent_upper = 'WS_' + bclass.file_name_upper
- else:
- parent_upper = 'IDWSF2_' + bclass.file_name_upper
- if type.startswith('Lasso'):
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_get_%(elem_name)s(self) get_node(LASSO_%(parent_upper)s(self)->%(elem_name)s)
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_get(self) get_node(LASSO_%(parent_upper)s(self)->%(elem_name)s)
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) set_node((gpointer*)&LASSO_%(parent_upper)s(self)->%(elem_name)s, (value))
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) set_node((gpointer*)&LASSO_%(parent_upper)s(self)->%(elem_name)s, (value))
- """ % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- 'parent_upper': parent_upper
- })
- else:
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_get_%(elem_name)s(self) LASSO_%(parent_upper)s(self)->%(elem_name)s
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_get(self) LASSO_%(parent_upper)s(self)->%(elem_name)s""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- 'parent_upper': parent_upper
- })
- if type in ('boolean', 'unsignedShort', 'nonNegativeInteger', 'integer'):
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) LASSO_%(parent_upper)s(self)->%(elem_name)s = (value)
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) LASSO_%(parent_upper)s(self)->%(elem_name)s = (value)""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- 'parent_upper': parent_upper
- })
- else: # string
- s.append("""
-#define Lasso%(prefix_cap)s%(name)s_set_%(elem_name)s(self,value) set_string(&LASSO_%(parent_upper)s(self)->%(elem_name)s, (value))
-#define Lasso%(prefix_cap)s%(name)s_%(elem_name)s_set(self,value) set_string(&LASSO_%(parent_upper)s(self)->%(elem_name)s, (value))""" % {
- 'prefix_cap': self.prefix_cap,
- 'name': self.name,
- 'elem_name': name,
- 'parent_upper': parent_upper
- })
- s.append('')
-
- if any_attribute:
- s.append("""\
-/* any attribute */
-LassoStringDict* Lasso%(prefix_cap)s%(name)s_attributes_get(Lasso%(prefix_cap)s%(name)s *self);
-#define Lasso%(prefix_cap)s%(name)s_get_attributes Lasso%(prefix_cap)s%(name)s_attributes_get
-LassoStringDict* Lasso%(prefix_cap)s%(name)s_attributes_get(Lasso%(prefix_cap)s%(name)s *self) {
- return self->attributes;
-}
-/* TODO: implement attributes_set */
-""" % self.__dict__)
-
-
- s.append("""
-/* Constructors, destructors & static methods implementations */
-
-#define new_Lasso%(prefix_cap)s%(name)s lasso_%(category)s%(file_name)s_new
-#define delete_Lasso%(prefix_cap)s%(name)s(self) lasso_node_destroy(LASSO_NODE(self))
-
-/* Implementations of methods inherited from LassoNode */
-
-#define Lasso%(prefix_cap)s%(name)s_dump(self) lasso_node_dump(LASSO_NODE(self))
-
-%%}
-
-""" % self.__dict__)
-
-
- return '\n'.join(s)
-
-
-
-def ref_to_class_name(s):
- if s == 'LassoNode':
- return s
-
- if ':' in s:
- ns = s.split(':')[0]
- else:
- ns = None
-
- if ns in ('saml', 'samlp'):
- return 'Lasso' + s.replace(':', '').replace('saml', 'Saml2').replace('Saml2p', 'Samlp2')
-
- if ns == 'util':
- return 'Lasso' + s.replace(':', '').replace('util', 'IdWsf2Util')
-
- if ns == 'tns':
- return 'Lasso' + s.replace(':', '').replace('tns', 'WsAddr')
-
- if ns == 'disco':
- return 'Lasso' + s.replace(':', '').replace('disco', 'IdWsf2Disco')
-
- if ns == 'dstref':
- return 'Lasso' + s.replace(':', '').replace('dstref', 'IdWsf2DstRef')
-
- return '/* XXX */ void'
-
-
-classes = {}
-string_classes = []
-
-doms = {}
-
-def get_prefixes_by_filename(filename):
- if filename == 'liberty-idwsf-disco-svc-v2.0.xsd':
- prefix = 'disco'
- prefix_cap = 'IdWsf2Disco'
- elif filename == 'liberty-idwsf-utility-v2.0.xsd':
- prefix = 'util'
- prefix_cap = 'IdWsf2Util'
- elif filename == 'liberty-idwsf-dst-v2.1.xsd':
- prefix = 'dst'
- prefix_cap = 'IdWsf2Dst'
- elif filename == 'liberty-idwsf-dst-ref-v2.1.xsd':
- prefix = 'dstref'
- prefix_cap = 'IdWsf2DstRef'
- elif filename == 'liberty-idwsf-security-mechanisms-v2.0.xsd':
- prefix = 'sec'
- prefix_cap = 'IdWsf2Sec'
- elif filename == 'liberty-idwsf-idmapping-svc-v2.0.xsd':
- prefix = 'ims'
- prefix_cap = 'IdWsf2Ims'
- elif filename == 'liberty-idwsf-subs-v1.0.xsd':
- prefix = 'subs'
- prefix_cap = 'IdWsf2Subs'
- elif filename == 'liberty-idwsf-subs-ref-v1.0.xsd':
- prefix = 'subsref'
- prefix_cap = 'IdWsf2SubsRef'
- elif filename == 'liberty-idwsf-people-service-v1.0.xsd':
- prefix = 'ps'
- prefix_cap = 'IdWsf2Ps'
- elif filename == 'liberty-idwsf-interaction-svc-v2.0.xsd':
- prefix = 'is'
- prefix_cap = 'IdWsf2Is'
- elif filename == 'liberty-idwsf-soap-binding.xsd':
- prefix = 'sbf'
- prefix_cap = 'IdWsf2Sbf'
- elif filename == 'liberty-idwsf-soap-binding-v2.0.xsd':
- prefix = 'sb2'
- prefix_cap = 'IdWsf2Sb2'
- elif filename == 'ws-addr.xsd':
- prefix = 'wsa'
- prefix_cap = 'WsAddr'
- elif filename == 'oasis-200401-wss-wssecurity-secext-1.0.xsd':
- prefix = 'wsse'
- prefix_cap = 'WsSec1'
- elif filename == 'oasis-200401-wss-wssecurity-utility-1.0.xsd':
- prefix = 'wsu'
- prefix_cap = 'WsUtil1'
- else:
- raise 'missing def for %s' % filename
- return prefix, prefix_cap
-
-xsd_filenames = ['liberty-idwsf-utility-v2.0.xsd',
- 'liberty-idwsf-disco-svc-v2.0.xsd',
- 'liberty-idwsf-dst-v2.1.xsd',
- 'liberty-idwsf-dst-ref-v2.1.xsd',
- 'liberty-idwsf-security-mechanisms-v2.0.xsd',
- 'liberty-idwsf-idmapping-svc-v2.0.xsd',
- 'liberty-idwsf-subs-ref-v1.0.xsd',
- 'liberty-idwsf-subs-v1.0.xsd',
- 'liberty-idwsf-people-service-v1.0.xsd',
- 'liberty-idwsf-interaction-svc-v2.0.xsd',
- 'liberty-idwsf-soap-binding.xsd',
- 'liberty-idwsf-soap-binding-v2.0.xsd',
- 'ws-addr.xsd',
- 'oasis-200401-wss-wssecurity-utility-1.0.xsd',
- 'oasis-200401-wss-wssecurity-secext-1.0.xsd',
- ]
-
-for filename in xsd_filenames:
- if filename.startswith('oasis-'):
- dom = xml.dom.minidom.parseString(file(filename).read().replace(
- 'xsd:', 'xs:').replace('xmlns:xsd=', 'xmlns:xs='))
- else:
- dom = xml.dom.minidom.parse(filename)
- prefix, prefix_cap = get_prefixes_by_filename(filename)
- doms[prefix] = dom
- classes[prefix] = {}
-
-for filename in xsd_filenames:
- xsd_content = file(filename).read()
- if filename.startswith('oasis-'):
- xsd_content = xsd_content.replace('xsd:', 'xs:').replace('xmlns:xsd=', 'xmlns:xs=')
- prefix, prefix_cap = get_prefixes_by_filename(filename)
- dom = doms[prefix]
-
- for element in dom.getElementsByTagName('xs:complexType') + dom.getElementsByTagName('xs:element'):
-
- string_wrapper = False
-
- if not element.attributes.has_key('name'):
- continue
-
- if element.nodeName == 'xs:element':
- if element.getElementsByTagName('xs:complexType'):
- pass
- else:
- if not element.attributes.get('type'):
- continue
- if not element.attributes.get('type').value == 'samlp:StatusResponseType':
- if element.attributes.get('name').value not in (
- 'Abstract', 'ProviderID', 'ServiceType'):
- continue
- string_wrapper = True
-
- if element.nodeName == 'xs:complexType' and element.getElementsByTagName('xs:simpleContent'):
- force_class_generation = False
- if filename == 'liberty-idwsf-dst-ref-v2.1.xsd':
- n = element.attributes['name'].value[:-4] # strip "Type"
- if n in ('Select', 'TestOp', 'Sort'):
- string_classes.append('dstref:%s' % n)
- continue
- force_class_generation = True
- elif not filename.startswith('ws'):
- continue
-
- if element.nodeName == 'xs:element':
- class_name = element.attributes['name'].value
- else:
- full_type_name = element.attributes['name'].value
- class_name = full_type_name
- if class_name.endswith('Type'):
- class_name = class_name[:-4]
- file_name = prefix + '_' + re.sub(r'[a-z]([A-Z])', rep, class_name).lower()
- file_name = file_name.replace( '_name_id', '_name_id_').replace(
- '_idp', '_idp_').replace('_md', '_md_')
- if file_name.endswith('_'):
- file_name = file_name[:-1]
-
- klass = LassoClass()
- klass.prefix = prefix
- if klass.prefix.startswith('ws'):
- klass.category = ''
- klass.category_upper = ''
- else:
- klass.category = 'idwsf2_'
- klass.category_upper = 'IDWSF2_'
- klass.prefix_cap = prefix_cap
- klass.schema_filename = filename
- klass.name = class_name
- klass.file_name = file_name
- klass.file_name_upper = file_name.upper()
- klass.elements = []
- klass.attributes = []
-
- t = [x for x in dom.getElementsByTagName('xs:element') + dom.getElementsByTagName('xsd:element') if x.attributes.has_key('type') and x.attributes['type'].value.split(':')[-1] == '%sType' % klass.name]
- if len(t) == 1 and t[0].attributes['name'].value.lower() != klass.name.lower():
- # if there is only one reference to this type and this reference uses another name,
- # also use that other name
- klass.node_set_name = t[0].attributes['name'].value
-
- if klass.prefix == 'dstref' and klass.name in \
- ('Query', 'QueryResponse', 'Modify', 'ModifyResponse'):
- klass.has_custom_ns = True
-
- if element.nodeName == 'element':
- schema_fragment = '' % class_name
- elif element.nodeName == 'xs:element':
- lookup_fragment_re = re.compile(
- '()' % klass.name, re.DOTALL)
- try:
- schema_fragment = ''.join(lookup_fragment_re.findall(xsd_content)[0])
- except IndexError:
- schema_fragment = ''
- if string_wrapper:
- lookup_fragment_re = re.compile(
- '()' % klass.name, re.DOTALL)
- schema_fragment = ''.join(lookup_fragment_re.findall(xsd_content)[0])
- else:
- lookup_fragment_re = re.compile('()' % full_type_name, re.DOTALL)
- try:
- schema_fragment = ''.join(lookup_fragment_re.findall(xsd_content)[0])
- except IndexError:
- if klass.file_name == 'wsu_timestamp':
- raise 'xXX'
- schema_fragment = ''
- if '' % full_type_name in schema_fragment:
- # special casing ultra simple complexType (samlp:Terminate)
- schema_fragment = '' % full_type_name
- indent = 0
- schema_lines = []
- for s in [x.strip() for x in schema_fragment.splitlines()]:
- if s.startswith(''):
- indent -= 1
- s = s.replace('\t', ' ')
- if len(s) < 90:
- schema_lines.append(' '*indent + s)
- else:
- for idx in range(70, 50, -5):
- try:
- s_i = s[idx:].index(' ')
- except ValueError:
- continue
- schema_lines.append(' '*indent + s[:idx+s_i])
- if len(s[idx+1+s_i:]) < 90:
- schema_lines.append(' '*indent + ' '*8 + s[idx+1+s_i:])
- else:
- s2 = s[idx+1+s_i:]
- idx = 50
- s_i2 = s2[idx:].index(' ')
- schema_lines.append(' '*indent + ' '*8 + s2[:idx+s_i2])
- schema_lines.append(' '*indent + ' '*8 + s2[s_i2+idx+1:])
- break
- if not s:
- continue
- if s[0] == '<' and not s.startswith('') and not s.endswith('/>'):
- indent += 1
- klass.schema_fragment = '\n'.join([' * ' + x for x in schema_lines])
-
- for attr in element.getElementsByTagName('xs:attribute'):
- if attr.attributes.has_key('ref'):
- ref = attr.attributes['ref'].value
- if ':' in ref:
- ns, name = ref.split(':')
- else:
- name = ref
- ns = prefix
- if ns == 'lu':
- ns = 'util'
- elif ns not in doms.keys():
- print_('ref:', ref)
- raise 'NS: %s' % ns
- typ = [x for x in doms[ns].getElementsByTagName('xs:attribute') \
- if x.attributes.get('name') and x.attributes['name'].value == name][0]
- name = typ.attributes['name'].value
- elem_type = '%s:%s' % (ns, typ.attributes['type'].value)
- else:
- name = attr.attributes['name'].value
- if attr.attributes.has_key('type'):
- type = attr.attributes['type'].value
- elif attr.getElementsByTagName('xs:simpleType') and \
- attr.getElementsByTagName('xs:restriction'):
- restrict = attr.getElementsByTagName('xs:restriction')[0]
- type = restrict.attributes['base'].value
- # TODO: if present, list xs:enumeration value in comment
- if attr.attributes.has_key('use') and attr.attributes['use'].value == 'optional':
- optional = True
- else:
- optional = False
- klass.attributes.append((name, type, optional))
-
- for attr_group in element.getElementsByTagName('xs:attributeGroup'):
- ref = attr_group.attributes['ref'].value.replace('saml:', '')
- if ':' in ref:
- ns, ref = ref.split(':', 2)
- if ns == klass.prefix:
- ns = None
- else:
- ns = None
- if ns is None:
- group_dom = dom
- else:
- group_dom = doms[ns]
-
- attr_gr = [x for x in group_dom.getElementsByTagName('xs:attributeGroup') \
- if x.attributes.get('name') and x.attributes.get('name').value == ref][0]
- for attr in attr_gr.getElementsByTagName('xs:attribute'):
- if attr.attributes.has_key('ref'):
- ref = attr.attributes['ref'].value
- if ':' in ref:
- ns, name = ref.split(':')
- else:
- name = ref
- ns = prefix
- if ns == 'lu':
- ns = 'util'
- elif ns not in doms.keys():
- print_('ref:', ref)
- raise 'NS: %s' % ns
- typ = [x for x in doms[ns].getElementsByTagName('xs:attribute') \
- if x.attributes.get('name') and x.attributes['name'].value == name][0]
- name = typ.attributes['name'].value
- if typ.attributes.has_key('type'):
- if ':' in typ.attributes['type'].value:
- elem_type = typ.attributes['type'].value
- else:
- elem_type = '%s:%s' % (ns, typ.attributes['type'].value)
-
- else:
- elem_type = 'xs:string'
-
- if attr.attributes.has_key('name'):
- klass.attributes.append((attr.attributes['name'].value, elem_type))
- else:
- klass.attributes.append((name, elem_type))
- else:
- if attr.attributes.has_key('type'):
- if attr.attributes.has_key('use') and \
- attr.attributes['use'].value == 'optional':
- optional = True
- else:
- optional = False
- klass.attributes.append(
- (attr.attributes['name'].value, attr.attributes['type'].value, optional))
- else:
- # should actually look down, probably a simple type
- if attr.attributes['name'].value in ['setReq', 'notSorted']:
- klass.attributes.append(
- (attr.attributes['name'].value, 'string'))
- else:
- raise str('No type for attr %s in attributeGroup' % attr.attributes['name'].value)
- if attr_gr.getElementsByTagName('xs:anyAttribute'):
- klass.attributes.append(('attributes', 'any'))
-
-
- if element.getElementsByTagName('xs:anyAttribute'):
- klass.attributes.append(('attributes', 'any'))
-
- extension = element.getElementsByTagName('extension') + \
- element.getElementsByTagName('xs:extension')
- if string_wrapper:
- klass.base_prefix = None
- klass.base_class_name = 'Node'
- klass.elements.append( ('content', 'text-child') )
- elif extension:
- base = extension[0].attributes['base'].value
- klass.base_prefix = None
- if base in get_str_classes() + ['xs:unsignedLong']:
- if not extension[0].getElementsByTagName('attribute') and ( \
- not extension[0].getElementsByTagName('xs:attribute') and ( \
- not extension[0].getElementsByTagName('xs:anyAttribute'))) and (
- not force_class_generation):
- string_classes.append(klass.name)
- else:
- klass.base_class_name = 'Node'
- if base in ['xs:unsignedLong']:
- klass.elements.append( ('content', 'text-child-int') )
- else:
- klass.elements.append( ('content', 'text-child') )
- else:
- if ':' in base:
- ns, name = base[:-4].split(':')
- if ns == 'xs':
- raise 'base class is %r:!' % base
- if ns != prefix:
- klass.base_class_name = name
- klass.base_prefix = ns
- else:
- base_ext = get_by_name_and_attribute(dom, 'xs:complexType',
- 'name', name + 'Type')
- if base_ext and base_ext[0].getElementsByTagName('xs:simpleContent'):
- klass.base_class_name = 'Node'
- if base in ('dstref:AppDataType',):
- # AppDataType in schema is just an example; schemas
- # derived from dstref will have random xml nodes here
- klass.base_class_name = name
- #klass.elements.append( ('any', 'GList', 'xmlNode'))
- else:
- klass.elements.append( ('content', 'text-child') )
- else:
- klass.base_class_name = name
- else:
- klass.base_class_name = base[:-4]
-
- else:
- klass.base_class_name = 'Node'
- if element.nodeName == 'element':
- klass.base_class_name = 'StatusResponse'
-
- if klass.name == 'AppData':
- # AppData is just a template in Data Service, replace the base
- # definition (xs:string) to allow everything...
- klass.elements = [['any', 'GList', 'xmlNode']]
-
- classes[prefix][klass.name] = klass
-
- for elem in element.getElementsByTagName('xs:element'):
- if elem.attributes.has_key('ref'):
- ref = elem.attributes['ref'].value
- if not ':' in ref:
- refered = get_by_name_and_attribute(dom, 'xs:element', 'name', ref)
- if refered:
- if len(refered) >= 1:
- print_('W: more than one refered', file=sys.stderr)
- refered = refered[0]
- if refered.attributes.has_key('type'):
- elem_type = refered.attributes['type'].value
- name = refered.attributes['name'].value
- if not ':' in elem_type:
- if klass.prefix == 'util':
- elem_type = 'util:%s' % elem_type
- else:
- elem_type = 'xs:string' # XXX
- name = refered.attributes['name'].value
- else:
- ns, name = ref.split(':')
- if ns == 'lu':
- ns = 'util'
- if ns == 'tns':
- ns = 'wsa'
- #if name in [x[0] for x in klass.elements]:
- # continue
-
- if ns == 'ds':
- if name == 'Signature':
- klass.has_ds_signature = True
- elem_type = 'ds:Signature'
- else:
- print_('W: missing xmldsig support for %s' % ref, file=sys.stderr)
- elif not doms.has_key(ns):
- print_('W: missing dom for', ns, file=sys.stderr)
- elem_type = 'XXX'
- if ns == 'samlp':
- elem_type = ref
- else:
- typ = [x for x in doms[ns].getElementsByTagName('xs:element') \
- if x.attributes.get('name') and x.attributes['name'].value == name][0]
- if typ.getElementsByTagName('xs:simpleType'):
- elem_type = 'xs:string'
- elif ':' in typ.attributes['type'].value:
- elem_type = typ.attributes['type'].value
- else:
- elem_type = '%s:%s' % (ns, typ.attributes['type'].value)
- else:
- typ = elem
- if typ.attributes.has_key('type'):
- elem_type = elem.attributes['type'].value
- name = elem.attributes['name'].value
- elif typ.getElementsByTagName('xs:complexType'):
- name = elem.attributes['name'].value
- if name == 'Item':
- # special case: interaction svc, SelectType/Item
- klass.elements = [('Item', 'GList', 'SelectItem')]
- klass.attributes = []
- break
- else:
- raise 'XXX'
- else:
- raise 'XXX'
-
- if elem_type.endswith('Type'):
- elem_type = elem_type[:-4]
-
- if elem_type == 'ds:Signature':
- pass
- else:
- klass.elements.append( [name, elem_type] )
- if elem.attributes.has_key('maxOccurs') and \
- elem.attributes.get('maxOccurs').value == 'unbounded':
- klass.elements[-1].insert(1, 'GList')
- if not ':' in klass.elements[-1][2]:
- klass.elements[-1][2] = '%s:%s' % (klass.prefix, klass.elements[-1][2])
-
- #elif ns == 'ds' and name == 'Signature':
- # klass.has_ds_signature = True
- #else:
- # elem_type = ref
- # klass.elements.append( (name, elem_type) )
- for elem in element.getElementsByTagName('any') + element.getElementsByTagName('xs:any'):
- if klass.name in ('ArtifactResponse', # saml
- 'RequestedService', # disco
- 'TokenPolicy', 'Token', # sec
- #'Framework', # sbf
- #'TargetIdentity', 'UsageDirective', # sb2
- #'Timestamp', # wsu
- #'UsernameToken', 'Embedded', 'SecurityTokenReference', 'SecurityHeader',
- #'TransformationParameters', # wsse
- #'extension', # util
- ):
- klass.elements.append( ('any', 'LassoNode'))
- elif klass.name in (
- 'EndpointReference', 'ReferenceParameters', 'Metadata', 'AttributedAny', # wsa
- 'SecurityHeader', # wsse
- ):
- klass.elements.append( ('any', 'GList', 'LassoNode'))
- else:
- print_('W: any occurence for %s (prefix: %s)' % (klass.name, prefix), file=sys.stderr)
- # XXX... other occurences of
-
- print_(klass.name)
- for elem in klass.elements:
- print_(' ', elem)
- print_('-'*40)
-
-def get_ordered_classes():
- all_classes = []
- for k in classes.keys():
- all_classes.extend(classes[k].values())
- clsses = []
- while all_classes:
- for c in all_classes:
- if c.base_class_name == 'Node' or c.base_class_name in [
- '%s%s' % (x.prefix_cap, x.name) for x in clsses]:
- all_classes.remove(c)
- clsses.append(c)
- break
- return clsses
-
-
-def generate_swig_inheritance(prefix):
- s = []
- clsses = get_ordered_classes()
-
- for klass in clsses:
- if prefix == 'ws' and not klass.prefix.startswith('ws'):
- continue
- if prefix != 'ws' and klass.prefix.startswith('ws'):
- continue
- s.append('SET_NODE_INFO(%s%s, %s)' % (
- klass.prefix_cap, klass.name, klass.base_class_name))
- s.append('')
- return '\n'.join(s) + '\n'
-
-def generate_swig_main(prefix):
- s = []
- s.append('%{')
-
- clsses = get_ordered_classes()
-
- for klass in clsses:
- if prefix == 'ws' and not klass.prefix.startswith('ws'):
- continue
- if prefix != 'ws' and klass.prefix.startswith('ws'):
- continue
- if prefix == 'ws':
- s.append('#include ' % klass.__dict__)
- else:
- s.append('#include ' % klass.__dict__)
- s.append('%}')
-
- for klass in clsses:
- if prefix == 'ws' and not klass.prefix.startswith('ws'):
- continue
- if prefix != 'ws' and klass.prefix.startswith('ws'):
- continue
- s.append('%%include %(file_name)s.i' % klass.__dict__)
-
- return '\n'.join(s)
-
-
-#import pprint
-#pprint.pprint(classes)
-
-for klass_p in classes.keys():
- for klass in classes[klass_p].values():
- #print_(klass_p, klass.name)
- if klass.base_class_name != 'Node':
- #print_(' <-', klass.base_prefix, ':', klass.base_class_name)
- if klass.base_prefix:
- prefix = klass.base_prefix
- else:
- prefix = klass.prefix
- if prefix == 'lu':
- prefix = 'util'
- k = classes[prefix][klass.base_class_name]
- klass.base_class_type = 'LASSO_TYPE_' + k.category_upper + k.file_name_upper
- klass.base_class_name = '%s%s' % (
- classes[prefix][klass.base_class_name].prefix_cap, klass.base_class_name)
- else:
- klass.base_class_type = 'LASSO_TYPE_NODE'
- if klass.prefix.startswith('ws'):
- file('ws/%s.h' % klass.file_name, 'w').write(klass.generate_header())
- file('ws/%s.c' % klass.file_name, 'w').write(klass.generate_source())
- file('swig-ws/%s.i' % klass.file_name, 'w').write(klass.generate_swig())
- else:
- file('id-wsf-2.0/%s.h' % klass.file_name, 'w').write(klass.generate_header())
- file('id-wsf-2.0/%s.c' % klass.file_name, 'w').write(klass.generate_source())
- file('swig-id-wsf-2.0/%s.i' % klass.file_name, 'w').write(klass.generate_swig())
-
-file('swig-ws/inheritance.h', 'w').write(generate_swig_inheritance('ws'))
-file('swig-ws/main.h', 'w').write(generate_swig_main('ws'))
-
-file('swig-id-wsf-2.0/inheritance.h', 'w').write(generate_swig_inheritance('id-wsf-2.0'))
-file('swig-id-wsf-2.0/main.h', 'w').write(generate_swig_main('id-wsf-2.0'))
-
-def generate_makefile_am(dir):
- makefile_am = file('%s/Makefile.am' % dir, 'w')
- if dir == 'id-wsf-2.0':
- lib_suffix = 'id-wsf-2'
- else:
- lib_suffix = dir
- makefile_am.write('''\
-liblassoincludedir = $(includedir)/lasso/xml/%s
-
-INCLUDES = \\
-\t-I$(top_srcdir) \\
-\t-I$(top_srcdir)/lasso \\
-\t$(LASSO_CORE_CFLAGS) \\
-\t-DG_LOG_DOMAIN=\\"lasso\\"
-
-noinst_LTLIBRARIES = liblasso-xml-%s.la
-
-liblasso_xml_%s_la_SOURCES = \\
-%s
-
-liblassoinclude_HEADERS = \\
-%s
-
-''' % ( dir,
- lib_suffix,
- lib_suffix.replace('-', '_'),
- '\n'.join(['\t%s \\' % x for x in sorted(os.listdir(dir)) if x.endswith('.c')])[:-2],
- '\n'.join(['\t%s \\' % x for x in sorted(os.listdir(dir)) if x.endswith('.h')])[:-2]))
-
-
-def generate_swig_makefile_am(dir):
- makefile_am = file('%s/Makefile.am' % dir, 'w')
- makefile_am.write('''\
-EXTRA_DIST = \\
-\tinheritance.h \\
-\tmain.h \\
-\tMakefile.am \\
-%s
-''' % '\n'.join(['\t%s \\' % x for x in sorted(os.listdir(dir)) if x.endswith('.i')])[:-2])
-
-
-
-generate_makefile_am('id-wsf-2.0')
-generate_makefile_am('ws')
-
-generate_swig_makefile_am('swig-id-wsf-2.0')
-generate_swig_makefile_am('swig-ws')
diff --git a/website/convert-to-static.py b/website/convert-to-static.py
index c055fe0e..769fc26e 100755
--- a/website/convert-to-static.py
+++ b/website/convert-to-static.py
@@ -139,7 +139,7 @@ re_summary = re.compile('[a-z]+\.[0-9]{4}.xml')
if not os.path.exists('web-static'):
os.mkdir('web-static')
-for BUILDLOGS_DIR in ('build-logs', 'build-logs-wsf'):
+for BUILDLOGS_DIR in ('build-logs'):
if not os.path.exists('web/%s' % BUILDLOGS_DIR):
continue
if not os.path.exists('web-static/%s' % BUILDLOGS_DIR):
@@ -250,9 +250,6 @@ for BUILDLOGS_DIR in ('build-logs', 'build-logs-wsf'):
if BUILDLOGS_DIR == 'build-logs':
with open('web-static/buildbox.html', 'w') as f:
f.write(fd.getvalue())
- elif BUILDLOGS_DIR == 'build-logs-wsf':
- with open('web-static/buildbox-wsf.html', 'w') as f:
- f.write(fd.getvalue())
for base, dirs, files in os.walk('web'):
if '/build-logs' in base or '/news/' in base:
diff --git a/win32/msvc/lasso_config.h.in b/win32/msvc/lasso_config.h.in
index a1358373..4e638db8 100644
--- a/win32/msvc/lasso_config.h.in
+++ b/win32/msvc/lasso_config.h.in
@@ -10,14 +10,6 @@
/* Windows version of the lasso version */
#define LASSO_WINDOWS_VERSION @WINDOWS_VERSION@
-/* Define if ID-WSF support is enabled */
-/* #undef LASSO_WSF_ENABLED */
-#if @LASSO_WSF_SUPPORT@
-# define LASSO_WSF_ENABLED
-#else
-# undef LASSO_WSF_ENABLED
-#endif
-
/* Name of package */
#define PACKAGE "@PACKAGE@"