Bindings: remove all SWIG bindings and SWIG related files
This commit is contained in:
parent
bec8672cc5
commit
641a6af75a
11
Makefile.am
11
Makefile.am
|
@ -1,17 +1,6 @@
|
|||
ACLOCAL_AMFLAGS = -I m4
|
||||
if PHP4_ENABLED
|
||||
PHP4_SD = php
|
||||
endif
|
||||
if CSHARP_ENABLED
|
||||
CSHARP_SD = csharp
|
||||
endif
|
||||
if PERL_ENABLED
|
||||
PERL_SD = perl
|
||||
endif
|
||||
|
||||
SUBDIRS = lasso \
|
||||
swig \
|
||||
$(PHP4_SD) $(PERL_SD) \
|
||||
tests \
|
||||
win32 \
|
||||
bindings \
|
||||
|
|
84
configure.ac
84
configure.ac
|
@ -125,9 +125,7 @@ dnl AC_CHECK_PROGS(JAVAH, gjavah gcjh javah)
|
|||
dnl AC_CHECK_PROGS(JAR, fastjar jar)
|
||||
|
||||
AC_CHECK_PROGS(PERL, perl)
|
||||
AC_CHECK_PROGS(PHP4, php4 php)
|
||||
AC_CHECK_PROGS(PHP5, php5 php)
|
||||
AC_CHECK_PROGS(PHP4_CONFIG, php-config4 php-config)
|
||||
AC_CHECK_PROGS(PHP5_CONFIG, php-config5 php-config)
|
||||
AC_CHECK_PROGS(PYTHON, python)
|
||||
AC_CHECK_PROGS(SWIG, swig)
|
||||
|
@ -395,80 +393,6 @@ AM_CONDITIONAL([PYTHON_ENABLED],[test "x$enable_python" = "xyes"])
|
|||
AC_MSG_RESULT($enable_python)
|
||||
AC_SUBST(PYTHON_VERSION)
|
||||
|
||||
# -----------
|
||||
# PHP 4 binding
|
||||
# -----------
|
||||
|
||||
dnl Check if php is explicitly disabled.
|
||||
AC_ARG_ENABLE(php4, [ --disable-php4 disable the PHP 4 binding],,
|
||||
enable_php4="no")
|
||||
|
||||
AC_ARG_ENABLE(php4-force, [ --enable-php4-force always enable of the PHP 4 binding (win32)],
|
||||
[ENABLE_PHP4_FORCE="yes"],
|
||||
[ENABLE_PHP4_FORCE="no"])
|
||||
|
||||
AC_ARG_WITH(php4-config,
|
||||
[ --with-php4-config=(PHP4_CONFIG) Specify full path to php-config4.])
|
||||
|
||||
AC_ARG_WITH(php4-extension-dir,
|
||||
[ --with-php4-extension-dir=(PHP4_EXTENSION_DIR) Specify full path to php 4 extension dir.],
|
||||
[PHP4_EXTENSION_DIR="$withval"],[PHP4_EXTENSION_DIR=])
|
||||
|
||||
dnl Check if user passed a specific php-config program.
|
||||
if test "X$with_php4_config" != "X" ; then
|
||||
PHP4_CONFIG=$with_php4_config
|
||||
fi
|
||||
|
||||
if test "X$PHP4_CONFIG" != "X" ; then
|
||||
PHP4_INCLUDES=`$PHP4_CONFIG --includes`
|
||||
PHP4_LDFLAGS=`$PHP4_CONFIG --ldflags`
|
||||
PHP4_LIBS=`$PHP4_CONFIG --libs`
|
||||
PHP4_PREFIX=`$PHP4_CONFIG --prefix`
|
||||
PHP4_QUOTED_PREFIX=$(echo $PHP4_PREFIX | $SED 's/\//\\\//g')
|
||||
PHP4_UNPREFIXED_EXTENSION_DIR=$($PHP4_CONFIG --extension-dir | $SED "s/$PHP4_QUOTED_PREFIX//g")
|
||||
else
|
||||
# We assume PHP are in /usr/local directory.
|
||||
if test $MINGW -eq 1; then
|
||||
CFLAGS="$CFLAGS -DZTS -DZEND_WIN32 -DWIN32 -D_MBCS"
|
||||
fi
|
||||
PHP4_INCLUDES="-I/usr/local/include/php4 -I/usr/local/include/php4/main -I/usr/local/include/php4/Zend -I/usr/local/include/php4/TSRM -I/usr/local/include/php4/win32"
|
||||
PHP4_LDFLAGS=
|
||||
PHP4_LIBS="-lphp4ts -lxmlparse -lxmltok"
|
||||
PHP4_UNPREFIXED_EXTENSION_DIR=
|
||||
PHP4_PREFIX=
|
||||
fi
|
||||
AC_SUBST(PHP4_INCLUDES)
|
||||
AC_SUBST(PHP4_LDFLAGS)
|
||||
AC_SUBST(PHP4_LIBS)
|
||||
AC_SUBST(PHP4_UNPREFIXED_EXTENSION_DIR)
|
||||
AC_SUBST(PHP4_EXTENSION_DIR)
|
||||
AC_SUBST(PHP4_PREFIX)
|
||||
|
||||
dnl Check for expat
|
||||
have_expat_include=no
|
||||
if test $MINGW -eq 1; then
|
||||
AC_CHECK_LIB(xmlparse, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
|
||||
else
|
||||
AC_CHECK_LIB(expat, XML_ParserCreate, have_expat_lib=yes, have_expat_lib=no)
|
||||
fi
|
||||
|
||||
if test x$have_expat_lib = xno; then
|
||||
enable_php4="no (missing expat)"
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING(for PHP 4 development files)
|
||||
if $PHP4_CONFIG --version | grep -q "^4" || test "x$ENABLE_PHP4_FORCE" = "xyes"
|
||||
then
|
||||
PHP4_VERSION=`$PHP4_CONFIG --version 2> /dev/null`
|
||||
languages_available="$languages_available php4($PHP4_VERSION)"
|
||||
else
|
||||
enable_php4=no
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT($enable_php4)
|
||||
AM_CONDITIONAL([PHP4_ENABLED], [test "x$enable_php4" = "xyes"])
|
||||
AC_SUBST(PHP4_VERSION)
|
||||
|
||||
# -----------
|
||||
# PHP 5 binding
|
||||
# -----------
|
||||
|
@ -908,13 +832,6 @@ lasso/xml/saml-2.0/Makefile
|
|||
lasso/xml/soap-1.1/Makefile
|
||||
lasso/xml/id-wsf-2.0/Makefile
|
||||
lasso/xml/ws/Makefile
|
||||
perl/Makefile
|
||||
php/Makefile
|
||||
swig/Makefile
|
||||
swig/wsf-support.i
|
||||
swig/saml-2.0/Makefile
|
||||
swig/id-wsf-2.0/Makefile
|
||||
swig/ws/Makefile
|
||||
tests/Makefile
|
||||
tests/data/Makefile
|
||||
tests/data/ca1-la/Makefile
|
||||
|
@ -972,7 +889,6 @@ Available languages: ${languages_available}
|
|||
|
||||
Java binding: ${enable_java}
|
||||
Perl binding: ${enable_perl}
|
||||
PHP 4 binding: ${enable_php4}
|
||||
PHP 5 binding: ${enable_php5}
|
||||
Python binding: ${enable_python}
|
||||
|
||||
|
|
171
java/.cvsignore
171
java/.cvsignore
|
@ -1,171 +0,0 @@
|
|||
.deps
|
||||
.libs
|
||||
Makefile
|
||||
Makefile.in
|
||||
com
|
||||
lasso.jar
|
||||
lasso_wrap.c
|
||||
libjlasso.la
|
||||
libjlasso_la-lasso_wrap.lo
|
||||
Authentication.java
|
||||
Credentials.java
|
||||
DataService.java
|
||||
Defederation.java
|
||||
Description.java
|
||||
DiscoAuthenticateRequester.java
|
||||
DiscoAuthenticateSessionContext.java
|
||||
DiscoAuthorizeRequester.java
|
||||
DiscoEncryptResourceID.java
|
||||
DiscoGenerateBearerToken.java
|
||||
DiscoSendSingleLogout.java
|
||||
DiscoModify.java
|
||||
DiscoModifyResponse.java
|
||||
DiscoQuery.java
|
||||
DiscoQueryResponse.java
|
||||
Discovery.java
|
||||
DowncastableNode.java
|
||||
DstModification.java
|
||||
DstModify.java
|
||||
DstModifyResponse.java
|
||||
DstQuery.java
|
||||
DstQueryResponse.java
|
||||
Federation.java
|
||||
Identity.java
|
||||
InsertEntry.java
|
||||
Lecp.java
|
||||
LibAssertion.java
|
||||
LibAuthnRequest.java
|
||||
LibAuthnResponse.java
|
||||
LibFederationTerminationNotification.java
|
||||
LibLogoutRequest.java
|
||||
LibLogoutResponse.java
|
||||
LibRegisterNameIdentifierRequest.java
|
||||
LibRegisterNameIdentifierResponse.java
|
||||
LibStatusResponse.java
|
||||
Login.java
|
||||
Logout.java
|
||||
NameIdentifierMapping.java
|
||||
NameRegistration.java
|
||||
Node.java
|
||||
NodeArray.java
|
||||
Options.java
|
||||
PPMsgContact.java
|
||||
PersonalProfileService.java
|
||||
Provider.java
|
||||
QueryItem.java
|
||||
RemoveEntry.java
|
||||
ResourceID.java
|
||||
ResourceOffering.java
|
||||
SWIGTYPE_p_LassoDiscoEncryptedResourceID.java
|
||||
SWIGTYPE_p_LassoDiscoRequestedServiceType.java
|
||||
SWIGTYPE_p_LassoDstNewData.java
|
||||
SWIGTYPE_p_LassoMdProtocolType.java
|
||||
SWIGTYPE_p_LassoSoapBindingProvider.java
|
||||
SWIGTYPE_p_LassoSignatureType.java
|
||||
SWIGTYPE_p_NodeList.java
|
||||
SWIGTYPE_p_void.java
|
||||
SWIGTYPE_p_xmlNode.java
|
||||
SamlAdvice.java
|
||||
SamlAssertion.java
|
||||
SamlAttributeStatement.java
|
||||
SamlAttributeValue.java
|
||||
SamlAuthenticationStatement.java
|
||||
SamlConditions.java
|
||||
SamlNameIdentifier.java
|
||||
SamlSubject.java
|
||||
SamlSubjectConfirmation.java
|
||||
SamlSubjectLocality.java
|
||||
SamlSubjectStatement.java
|
||||
SamlpRequest.java
|
||||
SamlpResponse.java
|
||||
SamlpStatus.java
|
||||
SamlpStatusCode.java
|
||||
SaCredentials.java
|
||||
SaSASLRequest.java
|
||||
SaSASLResponse.java
|
||||
Server.java
|
||||
ServiceInstance.java
|
||||
Session.java
|
||||
SoapBindingCorrelation.java
|
||||
SoapBody.java
|
||||
SoapEnvelope.java
|
||||
SoapHeader.java
|
||||
Status.java
|
||||
StringArray.java
|
||||
UserAccount.java
|
||||
WsfProfile.java
|
||||
WsseSecurity.java
|
||||
lasso.java
|
||||
lassoConstants.java
|
||||
lassoJNI.java
|
||||
LibRequestAuthnContext.java
|
||||
NodeArray.java
|
||||
SamlAttributeDesignator.java
|
||||
SamlAttribute.java
|
||||
SamlAudienceRestrictionCondition.java
|
||||
SamlAuthorityBinding.java
|
||||
SamlConditionAbstract.java
|
||||
SamlpRequestAbstract.java
|
||||
SamlpResponseAbstract.java
|
||||
SamlStatementAbstract.java
|
||||
SamlSubjectStatementAbstract.java
|
||||
StringArray.java
|
||||
StringList.java
|
||||
NodeList.java
|
||||
DiscoCredentials.java
|
||||
DiscoDescription.java
|
||||
DiscoEncryptedResourceID.java
|
||||
DiscoInsertEntry.java
|
||||
LassoHttpMethod.java
|
||||
LassoLoginProtocolProfile.java
|
||||
LassoMessageType.java
|
||||
LassoProviderRole.java
|
||||
LassoRequestType.java
|
||||
LassoSignatureMethod.java
|
||||
DiscoOptions.java
|
||||
DiscoRemoveEntry.java
|
||||
DiscoRequestedServiceType.java
|
||||
DiscoResourceID.java
|
||||
DiscoResourceOffering.java
|
||||
DiscoServiceInstance.java
|
||||
DstData.java
|
||||
DstNewData.java
|
||||
DstQueryItem.java
|
||||
InteractionProfileService.java
|
||||
IsHelp.java
|
||||
IsInquiry.java
|
||||
IsInquiryElement.java
|
||||
IsInteractionRequest.java
|
||||
IsInteractionResponse.java
|
||||
IsInteractionStatement.java
|
||||
IsItem.java
|
||||
IsParameter.java
|
||||
IsRedirectRequest.java
|
||||
IsSelect.java
|
||||
IsText.java
|
||||
IsUserInteraction.java
|
||||
ProfileService.java
|
||||
UtilityStatus.java
|
||||
Saml2Action.java
|
||||
Saml2Advice.java
|
||||
Saml2Assertion.java
|
||||
Saml2Attribute.java
|
||||
Saml2AttributeStatement.java
|
||||
Saml2AudienceRestriction.java
|
||||
Saml2AuthnContext.java
|
||||
Saml2AuthnStatement.java
|
||||
Saml2AuthzDecisionStatement.java
|
||||
Saml2BaseIDAbstract.java
|
||||
Saml2ConditionAbstract.java
|
||||
Saml2Conditions.java
|
||||
Saml2EncryptedElement.java
|
||||
Saml2Evidence.java
|
||||
Saml2KeyInfoConfirmationData.java
|
||||
Saml2NameID.java
|
||||
Saml2OneTimeUse.java
|
||||
Saml2ProxyRestriction.java
|
||||
Saml2StatementAbstract.java
|
||||
Saml2SubjectConfirmationData.java
|
||||
Saml2SubjectConfirmation.java
|
||||
Saml2Subject.java
|
||||
Saml2SubjectLocality.java
|
231
java/Makefile.am
231
java/Makefile.am
|
@ -1,231 +0,0 @@
|
|||
# Define java Package directory, the tailing '/' is mandatory.
|
||||
JAVA_PATH = com/entrouvert/lasso/
|
||||
CLASSPATH = .
|
||||
|
||||
javalibdir = $(prefix)/lib/java
|
||||
javasharedir = $(prefix)/share/java
|
||||
|
||||
# Shared library.
|
||||
if MINGW
|
||||
javalib_LTLIBRARIES = jlasso.la
|
||||
else
|
||||
javalib_LTLIBRARIES = libjlasso.la
|
||||
endif
|
||||
|
||||
jlasso_la_SOURCES = lasso_wrap.c
|
||||
jlasso_la_CFLAGS = -fno-strict-aliasing $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_builddir) -I$(top_srcdir)
|
||||
jlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)
|
||||
jlasso_la_LDFLAGS = -no-undefined -avoid-version -module \
|
||||
-Wl,--add-stdcall-alias
|
||||
|
||||
libjlasso_la_SOURCES = lasso_wrap.c
|
||||
libjlasso_la_CFLAGS = -fno-strict-aliasing $(JAVA_INCLUDE) $(LASSO_CORE_CFLAGS) -I$(top_builddir) -I$(top_srcdir)
|
||||
libjlasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)
|
||||
libjlasso_la_LDFLAGS = -no-undefined -avoid-version -module
|
||||
|
||||
javashare_DATA = lasso.jar
|
||||
|
||||
SWIG_OUTPUTS = lasso_wrap.c \
|
||||
Defederation.java \
|
||||
DowncastableNode.java \
|
||||
Ecp.java \
|
||||
Federation.java \
|
||||
Identity.java \
|
||||
lasso.java \
|
||||
lassoConstants.java \
|
||||
lassoJNI.java \
|
||||
Lecp.java \
|
||||
LibAssertion.java \
|
||||
LibAuthnRequest.java \
|
||||
LibAuthnResponse.java \
|
||||
LibFederationTerminationNotification.java \
|
||||
LibLogoutRequest.java \
|
||||
LibLogoutResponse.java \
|
||||
LibRegisterNameIdentifierRequest.java \
|
||||
LibRegisterNameIdentifierResponse.java \
|
||||
LibRequestAuthnContext.java \
|
||||
LibStatusResponse.java \
|
||||
Login.java \
|
||||
Logout.java \
|
||||
MiscTextNode.java \
|
||||
NameIdentifierMapping.java \
|
||||
NameIdManagement.java \
|
||||
NameRegistration.java \
|
||||
Node.java \
|
||||
NodeList.java \
|
||||
Provider.java \
|
||||
Saml2Action.java \
|
||||
Saml2Advice.java \
|
||||
Saml2Assertion.java \
|
||||
Saml2Attribute.java \
|
||||
Saml2AttributeStatement.java \
|
||||
Saml2AttributeValue.java \
|
||||
Saml2AudienceRestriction.java \
|
||||
Saml2AuthnContext.java \
|
||||
Saml2AuthnStatement.java \
|
||||
Saml2AuthzDecisionStatement.java \
|
||||
Saml2BaseIDAbstract.java \
|
||||
Saml2ConditionAbstract.java \
|
||||
Saml2Conditions.java \
|
||||
Saml2EncryptedElement.java \
|
||||
Saml2Evidence.java \
|
||||
Saml2KeyInfoConfirmationData.java \
|
||||
Saml2NameID.java \
|
||||
Saml2OneTimeUse.java \
|
||||
Saml2ProxyRestriction.java \
|
||||
Saml2StatementAbstract.java \
|
||||
Saml2Subject.java \
|
||||
Saml2SubjectConfirmation.java \
|
||||
Saml2SubjectConfirmationData.java \
|
||||
Saml2SubjectLocality.java \
|
||||
SamlAdvice.java \
|
||||
SamlAssertion.java \
|
||||
SamlAttribute.java \
|
||||
SamlAttributeDesignator.java \
|
||||
SamlAttributeStatement.java \
|
||||
SamlAttributeValue.java \
|
||||
SamlAudienceRestrictionCondition.java \
|
||||
SamlAuthenticationStatement.java \
|
||||
SamlAuthorityBinding.java \
|
||||
SamlConditionAbstract.java \
|
||||
SamlConditions.java \
|
||||
SamlNameIdentifier.java \
|
||||
SamlStatementAbstract.java \
|
||||
SamlSubject.java \
|
||||
SamlSubjectConfirmation.java \
|
||||
SamlSubjectLocality.java \
|
||||
SamlSubjectStatement.java \
|
||||
SamlSubjectStatementAbstract.java \
|
||||
Samlp2ArtifactResolve.java \
|
||||
Samlp2ArtifactResponse.java \
|
||||
Samlp2AssertionIDRequest.java \
|
||||
Samlp2AttributeQuery.java \
|
||||
Samlp2AuthnQuery.java \
|
||||
Samlp2AuthnRequest.java \
|
||||
Samlp2AuthzDecisionQuery.java \
|
||||
Samlp2Extensions.java \
|
||||
Samlp2IDPEntry.java \
|
||||
Samlp2IDPList.java \
|
||||
Samlp2LogoutRequest.java \
|
||||
Samlp2ManageNameIDRequest.java \
|
||||
Samlp2NameIDMappingRequest.java \
|
||||
Samlp2NameIDMappingResponse.java \
|
||||
Samlp2NameIDPolicy.java \
|
||||
Samlp2RequestAbstract.java \
|
||||
Samlp2RequestedAuthnContext.java \
|
||||
Samlp2Response.java \
|
||||
Samlp2Scoping.java \
|
||||
Samlp2Status.java \
|
||||
Samlp2StatusCode.java \
|
||||
Samlp2StatusDetail.java \
|
||||
Samlp2StatusResponse.java \
|
||||
Samlp2SubjectQueryAbstract.java \
|
||||
Samlp2Terminate.java \
|
||||
SamlpRequest.java \
|
||||
SamlpRequestAbstract.java \
|
||||
SamlpResponse.java \
|
||||
SamlpResponseAbstract.java \
|
||||
SamlpStatus.java \
|
||||
SamlpStatusCode.java \
|
||||
Server.java \
|
||||
Session.java \
|
||||
StringDict.java \
|
||||
StringList.java \
|
||||
SWIGTYPE_p_GHashTable.java \
|
||||
SWIGTYPE_p_void.java
|
||||
|
||||
if WSF_ENABLED
|
||||
SWIG_WSF_OUTPUTS = Authentication.java \
|
||||
DataService.java \
|
||||
DiscoAuthenticateRequester.java \
|
||||
DiscoAuthenticateSessionContext.java \
|
||||
DiscoAuthorizeRequester.java \
|
||||
DiscoCredentials.java \
|
||||
DiscoDescription.java \
|
||||
DiscoEncryptedResourceID.java \
|
||||
DiscoEncryptResourceID.java \
|
||||
DiscoGenerateBearerToken.java \
|
||||
DiscoInsertEntry.java \
|
||||
DiscoModify.java \
|
||||
DiscoModifyResponse.java \
|
||||
DiscoOptions.java \
|
||||
DiscoQuery.java \
|
||||
DiscoQueryResponse.java \
|
||||
DiscoRemoveEntry.java \
|
||||
DiscoRequestedServiceType.java \
|
||||
DiscoResourceID.java \
|
||||
DiscoResourceOffering.java \
|
||||
DiscoSendSingleLogout.java \
|
||||
DiscoServiceInstance.java \
|
||||
Discovery.java \
|
||||
DstData.java \
|
||||
DstModification.java \
|
||||
DstModify.java \
|
||||
DstModifyResponse.java \
|
||||
DstNewData.java \
|
||||
DstQueryItem.java \
|
||||
DstQuery.java \
|
||||
DstQueryResponse.java \
|
||||
InteractionProfileService.java \
|
||||
IsHelp.java \
|
||||
IsInquiryElement.java \
|
||||
IsInquiry.java \
|
||||
IsInteractionRequest.java \
|
||||
IsInteractionResponse.java \
|
||||
IsInteractionStatement.java \
|
||||
IsItem.java \
|
||||
IsParameter.java \
|
||||
IsRedirectRequest.java \
|
||||
IsSelect.java \
|
||||
IsText.java \
|
||||
IsUserInteraction.java \
|
||||
lassoConstants.java \
|
||||
SaCredentials.java \
|
||||
SaSASLRequest.java \
|
||||
SaSASLResponse.java \
|
||||
SoapBindingCorrelation.java \
|
||||
SoapBody.java \
|
||||
SoapEnvelope.java \
|
||||
SoapHeader.java \
|
||||
UserAccount.java \
|
||||
UtilityStatus.java \
|
||||
WsfProfile.java \
|
||||
WsseSecurity.java
|
||||
endif
|
||||
|
||||
JAVA_CRUFT = $(JAVA_PATH)lasso.class lasso_wrap.o lasso.jar $(JAVA_PATH)lasso.java
|
||||
|
||||
# The SWIG outputs are included in the distribution so SWIG is not
|
||||
# required to use the Java interface
|
||||
EXTRA_DIST = $(SWIG_OUTPUTS) $(SWIG_WSF_OUTPUTS)
|
||||
|
||||
CLEANFILES = $(JAVA_CRUFT)
|
||||
MAINTAINERCLEANFILES = Makefile.in $(SWIG_OUTPUTS) $(SWIG_WSF_OUTPUTS)
|
||||
|
||||
SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
|
||||
lasso_wrap.c lasso.java: $(SWIG_I_FILES)
|
||||
$(SWIG) -v -java -module lasso -package com.entrouvert.lasso -o lasso_wrap.c \
|
||||
$(top_srcdir)/swig/Lasso.i
|
||||
cp lasso_wrap.c lasso_wrap.c.bak
|
||||
sed -e 's/} DowncastableNode;/void *fix;} DowncastableNode;/' \
|
||||
< lasso_wrap.c.bak > lasso_wrap.c
|
||||
|
||||
# FIXME There must be a better way to do this with SWIG
|
||||
$(JAVA_PATH)lasso.java: lasso.java
|
||||
mkdir -p $(JAVA_PATH)
|
||||
rm -f $(JAVA_PATH)/*
|
||||
cp $(srcdir)/*.java $(JAVA_PATH)
|
||||
|
||||
clean-local:
|
||||
rm -f *.class
|
||||
rm -rf com
|
||||
|
||||
all-local: lasso.jar
|
||||
|
||||
$(JAVA_PATH)lasso.class: $(JAVA_PATH)lasso.java
|
||||
$(JAVAC) $(JAVAC_FLAGS) $(JAVA_PATH)*.java
|
||||
|
||||
lasso.jar: $(JAVA_PATH)lasso.class
|
||||
rm -f $@
|
||||
$(JAR) cf $@ $(JAVA_PATH)*.class
|
||||
|
|
@ -1 +0,0 @@
|
|||
target
|
|
@ -1,518 +0,0 @@
|
|||
# Makefile.in generated by automake 1.8.5 from Makefile.am.
|
||||
# java/coldfusion/Makefile. Generated from Makefile.in by configure.
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
|
||||
srcdir = .
|
||||
top_srcdir = ../..
|
||||
|
||||
pkgdatadir = $(datadir)/lasso
|
||||
pkglibdir = $(libdir)/lasso
|
||||
pkgincludedir = $(includedir)/lasso
|
||||
top_builddir = ../..
|
||||
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||
INSTALL = /usr/bin/install -c
|
||||
install_sh_DATA = $(install_sh) -c -m 644
|
||||
install_sh_PROGRAM = $(install_sh) -c
|
||||
install_sh_SCRIPT = $(install_sh) -c
|
||||
INSTALL_HEADER = $(INSTALL_DATA)
|
||||
transform = $(program_transform_name)
|
||||
NORMAL_INSTALL = :
|
||||
PRE_INSTALL = :
|
||||
POST_INSTALL = :
|
||||
NORMAL_UNINSTALL = :
|
||||
PRE_UNINSTALL = :
|
||||
POST_UNINSTALL = :
|
||||
host_triplet = i686-pc-mingw32
|
||||
subdir = java/coldfusion
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
CONFIG_HEADER = $(top_builddir)/lasso/lasso_config.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
SOURCES =
|
||||
DIST_SOURCES =
|
||||
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
||||
html-recursive info-recursive install-data-recursive \
|
||||
install-exec-recursive install-info-recursive \
|
||||
install-recursive installcheck-recursive installdirs-recursive \
|
||||
pdf-recursive ps-recursive uninstall-info-recursive \
|
||||
uninstall-recursive
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
DIST_SUBDIRS = $(SUBDIRS)
|
||||
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||
ACLOCAL = aclocal
|
||||
AMDEP_FALSE = #
|
||||
AMDEP_TRUE =
|
||||
AMTAR = ${SHELL} /home/eo/lasso/missing --run tar
|
||||
AR = ar
|
||||
AS = as
|
||||
AUTOCONF = autoconf
|
||||
AUTOHEADER = ${SHELL} /home/eo/lasso/missing --run autoheader
|
||||
AUTOMAKE = automake
|
||||
AWK = gawk
|
||||
CC = gcc -mno-cygwin
|
||||
CCDEPMODE = depmode=gcc3
|
||||
CFLAGS = -D_MSC_VER -DIN_LASSO -DMINGW -DWIN32 -D_WIN32 -I/usr/local/include
|
||||
CHECK_CFLAGS =
|
||||
CHECK_LIBS =
|
||||
CPP = gcc -mno-cygwin -E
|
||||
CPPFLAGS =
|
||||
CXX = g++
|
||||
CXXCPP = g++ -E
|
||||
CXXDEPMODE = depmode=gcc3
|
||||
CXXFLAGS = -g -O2
|
||||
CYGPATH_W = cygpath -w
|
||||
DEFS = -DHAVE_CONFIG_H
|
||||
DEPDIR = .deps
|
||||
DLLTOOL = dlltool
|
||||
ECHO = echo
|
||||
ECHO_C =
|
||||
ECHO_N = -n
|
||||
ECHO_T =
|
||||
EGREP = grep -E
|
||||
EXEEXT = .exe
|
||||
F77 = g77
|
||||
FFLAGS = -g -O2
|
||||
GTK_DOC_CFLAGS =
|
||||
GTK_DOC_LIBS =
|
||||
HTML_DIR = ${datadir}/gtk-doc/html
|
||||
INSTALL_DATA = ${INSTALL} -m 644
|
||||
INSTALL_PROGRAM = ${INSTALL}
|
||||
INSTALL_SCRIPT = ${INSTALL}
|
||||
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
|
||||
JAR = jar
|
||||
JAVA = gij
|
||||
JAVAC = gcj
|
||||
JAVAC_FLAGS = -C
|
||||
JAVAH = gcjh
|
||||
JAVAH_FLAGS = -jni
|
||||
JAVA_VERSION = 3.3.1
|
||||
LASSO_APP_DEFINES =
|
||||
LASSO_CFLAGS = -I${prefix}/include/lasso -DXMLSEC_CRYPTO=\"openssl\" -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_LIBXML_260=1 -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_XKMS=1 -DXMLSEC_CRYPTO_OPENSSL=1 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/xmlsec
|
||||
LASSO_CORE_CFLAGS = -I${prefix}/include/lasso
|
||||
LASSO_CORE_LIBS = -llasso-0
|
||||
LASSO_DEFINES =
|
||||
LASSO_DOCDIR = $(datadir)/doc/lasso
|
||||
LASSO_LIBS = -L${exec_prefix}/lib -L/usr/local/lib -lgobject-2.0-0 -lglib-2.0-0 -lintl -lxmlsec-openssl -lxmlsec -lxslt -lxml2 -lz -liconv
|
||||
LASSO_STATIC_BINARIES =
|
||||
LASSO_VERSION_INFO = 0:0:0
|
||||
LDFLAGS = -L/usr/local/lib
|
||||
LIBOBJS =
|
||||
LIBS =
|
||||
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
||||
LIBTOOL_DEPS = ./ltmain.sh
|
||||
LN_S = ln -s
|
||||
LTLIBOBJS =
|
||||
MAINT = #
|
||||
MAINTAINER_MODE_FALSE =
|
||||
MAINTAINER_MODE_TRUE = #
|
||||
MAKEINFO = ${SHELL} /home/eo/lasso/missing --run makeinfo
|
||||
MINGW_FALSE = #
|
||||
MINGW_TRUE =
|
||||
OBJDUMP = objdump
|
||||
OBJEXT = o
|
||||
PACKAGE = lasso
|
||||
PACKAGE_BUGREPORT = lasso-devel@lists.labs.libre-entreprise.org
|
||||
PACKAGE_NAME = Liberty Alliance Single Sign On
|
||||
PACKAGE_STRING = Liberty Alliance Single Sign On 0.3.0
|
||||
PACKAGE_TARNAME = liberty-alliance-single-sign-on
|
||||
PACKAGE_VERSION = 0.3.0
|
||||
PATH_SEPARATOR = :
|
||||
PKG_CONFIG = pkg-config
|
||||
PYTHON = python
|
||||
PYTHON_VERSION = 2.3
|
||||
RANLIB = ranlib
|
||||
RC = windres
|
||||
SD_LANG = java
|
||||
SET_MAKE =
|
||||
SHELL = /bin/bash
|
||||
STRIP = strip
|
||||
SWIG = swig
|
||||
SWIG_PYTHON_ARGS = -noproxy
|
||||
TAR = tar
|
||||
U =
|
||||
VERSION = 0.3.0
|
||||
WITH_PYTHON_FALSE =
|
||||
WITH_PYTHON_TRUE = #
|
||||
WITH_TESTS_FALSE =
|
||||
WITH_TESTS_TRUE = #
|
||||
ac_ct_AR = ar
|
||||
ac_ct_AS = as
|
||||
ac_ct_CC =
|
||||
ac_ct_CXX = g++
|
||||
ac_ct_DLLTOOL = dlltool
|
||||
ac_ct_F77 = g77
|
||||
ac_ct_OBJDUMP = objdump
|
||||
ac_ct_RANLIB = ranlib
|
||||
ac_ct_RC = windres
|
||||
ac_ct_STRIP = strip
|
||||
am__fastdepCC_FALSE = #
|
||||
am__fastdepCC_TRUE =
|
||||
am__fastdepCXX_FALSE = #
|
||||
am__fastdepCXX_TRUE =
|
||||
am__include = include
|
||||
am__leading_dot = .
|
||||
am__quote =
|
||||
bindir = ${exec_prefix}/bin
|
||||
build = i686-pc-cygwin
|
||||
build_alias =
|
||||
build_cpu = i686
|
||||
build_os = cygwin
|
||||
build_vendor = pc
|
||||
datadir = ${prefix}/share
|
||||
exec_prefix = ${prefix}
|
||||
host = i686-pc-mingw32
|
||||
host_alias = i686-pc-mingw32
|
||||
host_cpu = i686
|
||||
host_os = mingw32
|
||||
host_vendor = pc
|
||||
includedir = ${prefix}/include
|
||||
infodir = ${prefix}/info
|
||||
install_sh = /home/eo/lasso/install-sh
|
||||
libdir = ${exec_prefix}/lib
|
||||
libexecdir = ${exec_prefix}/libexec
|
||||
localstatedir = ${prefix}/var
|
||||
mandir = ${prefix}/man
|
||||
mkdir_p = mkdir -p -- .
|
||||
oldincludedir = /usr/include
|
||||
prefix = /usr/local
|
||||
program_transform_name = s,x,x,
|
||||
sbindir = ${exec_prefix}/sbin
|
||||
sharedstatedir = ${prefix}/com
|
||||
sysconfdir = ${prefix}/etc
|
||||
target_alias =
|
||||
NULL =
|
||||
SUBDIRS =
|
||||
TARGET = target
|
||||
|
||||
#JAVAC=/usr/lib/kaffe/bin/javac
|
||||
#JAVAH=/usr/lib/kaffe/bin/javah
|
||||
#JAVAH_CLASSPATH_PREFIX=/usr/share/kaffe/Klasses.jar:
|
||||
#JAR=/usr/lib/kaffe/bin/jar
|
||||
JAVA_BUILD_DIR = ${TARGET}/classes
|
||||
JAVA_SOURCE_DIR = src
|
||||
JAVA_SOURCE = ${wildcard ${JAVA_SOURCE_DIR}/*.java}
|
||||
JAVA_CLASSES = ${basename ${notdir ${JAVA_SOURCE}}}
|
||||
LASSO_JAR = ${TARGET}/CFLasso.jar
|
||||
all: all-recursive
|
||||
|
||||
.SUFFIXES:
|
||||
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps)
|
||||
@for dep in $?; do \
|
||||
case '$(am__configure_deps)' in \
|
||||
*$$dep*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
||||
&& exit 0; \
|
||||
exit 1;; \
|
||||
esac; \
|
||||
done; \
|
||||
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu java/coldfusion/Makefile'; \
|
||||
cd $(top_srcdir) && \
|
||||
$(AUTOMAKE) --gnu java/coldfusion/Makefile
|
||||
.PRECIOUS: Makefile
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
@case '$?' in \
|
||||
*config.status*) \
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
||||
*) \
|
||||
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
||||
esac;
|
||||
|
||||
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
$(top_srcdir)/configure: # $(am__configure_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
|
||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
||||
clean-libtool:
|
||||
-rm -rf .libs _libs
|
||||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
|
||||
# This directory's subdirectories are mostly independent; you can cd
|
||||
# into them and run `make' without going through this Makefile.
|
||||
# To change the values of `make' variables: instead of editing Makefiles,
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
$(RECURSIVE_TARGETS):
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
dot_seen=yes; \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done; \
|
||||
if test "$$dot_seen" = "no"; then \
|
||||
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||
fi; test -z "$$fail"
|
||||
|
||||
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||
maintainer-clean-recursive:
|
||||
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||
dot_seen=no; \
|
||||
case "$@" in \
|
||||
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||
*) list='$(SUBDIRS)' ;; \
|
||||
esac; \
|
||||
rev=''; for subdir in $$list; do \
|
||||
if test "$$subdir" = "."; then :; else \
|
||||
rev="$$subdir $$rev"; \
|
||||
fi; \
|
||||
done; \
|
||||
rev="$$rev ."; \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
for subdir in $$rev; do \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
if test "$$subdir" = "."; then \
|
||||
local_target="$$target-am"; \
|
||||
else \
|
||||
local_target="$$target"; \
|
||||
fi; \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
ctags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||
done
|
||||
|
||||
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
mkid -fID $$unique
|
||||
tags: TAGS
|
||||
|
||||
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
||||
include_option=--etags-include; \
|
||||
empty_fix=.; \
|
||||
else \
|
||||
include_option=--include; \
|
||||
empty_fix=; \
|
||||
fi; \
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test ! -f $$subdir/TAGS || \
|
||||
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||
fi; \
|
||||
done; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
||||
test -n "$$unique" || unique=$$empty_fix; \
|
||||
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||
$$tags $$unique; \
|
||||
fi
|
||||
ctags: CTAGS
|
||||
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||
$(TAGS_FILES) $(LISP)
|
||||
tags=; \
|
||||
here=`pwd`; \
|
||||
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
||||
unique=`for i in $$list; do \
|
||||
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
||||
done | \
|
||||
$(AWK) ' { files[$$0] = 1; } \
|
||||
END { for (i in files) print i; }'`; \
|
||||
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
||||
$$tags $$unique
|
||||
|
||||
GTAGS:
|
||||
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||
&& cd $(top_srcdir) \
|
||||
&& gtags -i $(GTAGS_ARGS) $$here
|
||||
|
||||
distclean-tags:
|
||||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
||||
list='$(DISTFILES)'; for file in $$list; do \
|
||||
case $$file in \
|
||||
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
||||
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
||||
esac; \
|
||||
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
||||
dir="/$$dir"; \
|
||||
$(mkdir_p) "$(distdir)$$dir"; \
|
||||
else \
|
||||
dir=''; \
|
||||
fi; \
|
||||
if test -d $$d/$$file; then \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| cp -p $$d/$$file $(distdir)/$$file \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
if test "$$subdir" = .; then :; else \
|
||||
test -d "$(distdir)/$$subdir" \
|
||||
|| mkdir "$(distdir)/$$subdir" \
|
||||
|| exit 1; \
|
||||
(cd $$subdir && \
|
||||
$(MAKE) $(AM_MAKEFLAGS) \
|
||||
top_distdir="../$(top_distdir)" \
|
||||
distdir="../$(distdir)/$$subdir" \
|
||||
distdir) \
|
||||
|| exit 1; \
|
||||
fi; \
|
||||
done
|
||||
check-am: all-am
|
||||
check: check-recursive
|
||||
all-am: Makefile
|
||||
installdirs: installdirs-recursive
|
||||
installdirs-am:
|
||||
install: install-recursive
|
||||
install-exec: install-exec-recursive
|
||||
install-data: install-data-recursive
|
||||
uninstall: uninstall-recursive
|
||||
|
||||
install-am: all-am
|
||||
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||
|
||||
installcheck: installcheck-recursive
|
||||
install-strip:
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
||||
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
||||
`test -z '$(STRIP)' || \
|
||||
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
||||
mostlyclean-generic:
|
||||
|
||||
clean-generic:
|
||||
|
||||
distclean-generic:
|
||||
-rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
@echo "This command is intended for maintainers to use"
|
||||
@echo "it deletes files that may require special tools to rebuild."
|
||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||
|
||||
distclean: distclean-recursive
|
||||
-rm -f Makefile
|
||||
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||
distclean-tags
|
||||
|
||||
dvi: dvi-recursive
|
||||
|
||||
dvi-am:
|
||||
|
||||
html: html-recursive
|
||||
|
||||
info: info-recursive
|
||||
|
||||
info-am:
|
||||
|
||||
install-data-am:
|
||||
|
||||
install-exec-am:
|
||||
|
||||
install-info: install-info-recursive
|
||||
|
||||
install-man:
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-recursive
|
||||
-rm -f Makefile
|
||||
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||
|
||||
mostlyclean: mostlyclean-recursive
|
||||
|
||||
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||
|
||||
pdf: pdf-recursive
|
||||
|
||||
pdf-am:
|
||||
|
||||
ps: ps-recursive
|
||||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am
|
||||
|
||||
uninstall-info: uninstall-info-recursive
|
||||
|
||||
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \
|
||||
clean clean-generic clean-libtool clean-recursive ctags \
|
||||
ctags-recursive distclean distclean-generic distclean-libtool \
|
||||
distclean-recursive distclean-tags distdir dvi dvi-am html \
|
||||
html-am info info-am install install-am install-data \
|
||||
install-data-am install-exec install-exec-am install-info \
|
||||
install-info-am install-man install-strip installcheck \
|
||||
installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic maintainer-clean-recursive \
|
||||
mostlyclean mostlyclean-generic mostlyclean-libtool \
|
||||
mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
|
||||
uninstall uninstall-am uninstall-info-am
|
||||
|
||||
|
||||
.PHONY: clean all binary-java
|
||||
|
||||
all: binary-java
|
||||
|
||||
binary-java:
|
||||
mkdir -p ${JAVA_BUILD_DIR}
|
||||
${JAVAC} -classpath ../target/lasso.jar -d ${JAVA_BUILD_DIR} ${JAVA_SOURCE}
|
||||
${JAR} cf ${LASSO_JAR} -C ${JAVA_BUILD_DIR} CFLasso.class
|
||||
|
||||
clean:
|
||||
rm -rf ${TARGET} *~ *.log
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
|
@ -1,101 +0,0 @@
|
|||
/*
|
||||
* ColdFusionLasso -- ColdFusion bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
|
||||
import com.entrouvert.lasso.Identity;
|
||||
import com.entrouvert.lasso.lassoConstants;
|
||||
import com.entrouvert.lasso.lasso;
|
||||
import com.entrouvert.lasso.Logout;
|
||||
import com.entrouvert.lasso.SamlNameIdentifier;
|
||||
import com.entrouvert.lasso.Server;
|
||||
import com.entrouvert.lasso.Session;
|
||||
|
||||
|
||||
public class CFLassoSingleLogout {
|
||||
/* A simple service provider single logout */
|
||||
|
||||
protected Logout logout = null;
|
||||
protected Server server = null;
|
||||
|
||||
public String idpProviderId = null;
|
||||
|
||||
public void buildRequestMsg() {
|
||||
logout.buildRequestMsg();
|
||||
}
|
||||
|
||||
public void configure(String metadataPath, String privateKeyPath, String idpProviderId,
|
||||
String idpMetadataPath, String idpPublicKeyPath) {
|
||||
server = new Server(metadataPath, privateKeyPath, null, null);
|
||||
this.idpProviderId = idpProviderId;
|
||||
server.addProvider(lasso.PROVIDER_ROLE_IDP, idpMetadataPath, idpPublicKeyPath, null);
|
||||
logout = new Logout(server);
|
||||
}
|
||||
|
||||
public String getIdentityDump() {
|
||||
Identity identity = logout.getIdentity();
|
||||
if (identity != null)
|
||||
return identity.dump();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getMsgBody() {
|
||||
return logout.getMsgBody();
|
||||
}
|
||||
|
||||
public String getMsgUrl() {
|
||||
return logout.getMsgUrl();
|
||||
}
|
||||
|
||||
public String getNameIdentifier() {
|
||||
SamlNameIdentifier nameIdentifier = logout.getNameIdentifier();
|
||||
if (nameIdentifier == null)
|
||||
return null;
|
||||
else
|
||||
return nameIdentifier.getContent();
|
||||
}
|
||||
|
||||
public String getSessionDump() {
|
||||
Session session = logout.getSession();
|
||||
if (session != null)
|
||||
return session.dump();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public void initRequest() {
|
||||
logout.initRequest(idpProviderId, lassoConstants.HTTP_METHOD_ANY);
|
||||
}
|
||||
|
||||
public void processResponseMsg(String responseMsg) {
|
||||
logout.processResponseMsg(responseMsg);
|
||||
}
|
||||
|
||||
public void setIdentityFromDump(String identityDump) {
|
||||
logout.setIdentityFromDump(identityDump);
|
||||
}
|
||||
|
||||
public void setSessionFromDump(String sessionDump) {
|
||||
logout.setSessionFromDump(sessionDump);
|
||||
}
|
||||
}
|
|
@ -1,160 +0,0 @@
|
|||
/*
|
||||
* ColdFusionLasso -- ColdFusion bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Simple wrapper for JLasso, to ease its use by ColdFusion applications.
|
||||
*
|
||||
* To compile it:
|
||||
* $ javac -classpath ../../lasso.jar *.java
|
||||
*
|
||||
* To test it:
|
||||
* $ export LD_LIBRARY_PATH=../../.libs/
|
||||
* $ java -classpath ../../lasso.jar:. CFLassoSingleSignOn
|
||||
|
||||
*
|
||||
* To use it:
|
||||
* $ jar cf CFLasso.jar *.class
|
||||
* edit ColdFusion file bin/jvm.config:
|
||||
* - Add libjlasso.so directory to java.library.path variable.
|
||||
* - Add lasso.jar & CFLasso.jar to java.class.path variable.
|
||||
*/
|
||||
|
||||
import com.entrouvert.lasso.LibAuthnRequest;
|
||||
import com.entrouvert.lasso.Identity;
|
||||
import com.entrouvert.lasso.lassoConstants;
|
||||
import com.entrouvert.lasso.lasso;
|
||||
import com.entrouvert.lasso.Login;
|
||||
import com.entrouvert.lasso.SamlNameIdentifier;
|
||||
import com.entrouvert.lasso.Server;
|
||||
import com.entrouvert.lasso.Session;
|
||||
|
||||
|
||||
public class CFLassoSingleSignOn {
|
||||
/* A simple service provider single sign-on */
|
||||
|
||||
protected Login login = null;
|
||||
protected Server server = null;
|
||||
|
||||
public String idpProviderId = null;
|
||||
|
||||
public void acceptSso() {
|
||||
login.acceptSso();
|
||||
}
|
||||
|
||||
public void buildAuthnRequestMsg() {
|
||||
login.buildAuthnRequestMsg();
|
||||
}
|
||||
|
||||
public void buildRequestMsg() {
|
||||
login.buildRequestMsg();
|
||||
}
|
||||
|
||||
public void configure(String metadataPath, String privateKeyPath, String idpProviderId,
|
||||
String idpMetadataPath, String idpPublicKeyPath) {
|
||||
server = new Server(metadataPath, privateKeyPath, null, null);
|
||||
this.idpProviderId = idpProviderId;
|
||||
server.addProvider(lasso.PROVIDER_ROLE_IDP, idpMetadataPath, idpPublicKeyPath, null);
|
||||
login = new Login(server);
|
||||
}
|
||||
|
||||
public String getIdentityDump() {
|
||||
Identity identity = login.getIdentity();
|
||||
if (identity != null)
|
||||
return identity.dump();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getMsgBody() {
|
||||
return login.getMsgBody();
|
||||
}
|
||||
|
||||
public String getMsgRelayState() {
|
||||
return login.getMsgRelayState();
|
||||
}
|
||||
|
||||
public String getMsgUrl() {
|
||||
return login.getMsgUrl();
|
||||
}
|
||||
|
||||
public String getNameIdentifier() {
|
||||
SamlNameIdentifier nameIdentifier = login.getNameIdentifier();
|
||||
if (nameIdentifier == null)
|
||||
return null;
|
||||
else
|
||||
return nameIdentifier.getContent();
|
||||
}
|
||||
|
||||
public String getSessionDump() {
|
||||
Session session = login.getSession();
|
||||
if (session != null)
|
||||
return session.dump();
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
public void initAuthnRequest(String relayState) {
|
||||
LibAuthnRequest authnRequest;
|
||||
String authnRequestUrl;
|
||||
|
||||
login.initAuthnRequest(idpProviderId, lassoConstants.HTTP_METHOD_REDIRECT);
|
||||
authnRequest = (LibAuthnRequest) login.getRequest();
|
||||
authnRequest.setIsPassive(false);
|
||||
authnRequest.setNameIdPolicy(lassoConstants.LIB_NAMEID_POLICY_TYPE_FEDERATED);
|
||||
authnRequest.setConsent(lassoConstants.LIB_CONSENT_OBTAINED);
|
||||
if (relayState != null)
|
||||
authnRequest.setRelayState(relayState);
|
||||
}
|
||||
|
||||
public void initRequest(String queryString) {
|
||||
login.initRequest(queryString, lassoConstants.HTTP_METHOD_REDIRECT);
|
||||
}
|
||||
|
||||
static public void main(String [] args) {
|
||||
CFLassoSingleSignOn lasso = new CFLassoSingleSignOn();
|
||||
lasso.configure("../../../tests/data/sp2-la/metadata.xml",
|
||||
"../../../tests/data/sp2-la/private-key-raw.pem",
|
||||
"https://idp2/metadata",
|
||||
"../../../tests/data/idp2-la/metadata.xml",
|
||||
"../../../tests/data/idp2-la/public-key.pem");
|
||||
lasso.initAuthnRequest("data-to-get-back");
|
||||
lasso.buildAuthnRequestMsg();
|
||||
String ssoUrl = lasso.getMsgUrl();
|
||||
System.out.println("Test");
|
||||
System.out.print("Identity provider single sign-on URL = ");
|
||||
System.out.println(ssoUrl);
|
||||
}
|
||||
|
||||
public void processResponseMsg(String responseMsg) {
|
||||
login.processResponseMsg(responseMsg);
|
||||
}
|
||||
|
||||
public void setIdentityFromDump(String identityDump) {
|
||||
login.setIdentityFromDump(identityDump);
|
||||
}
|
||||
|
||||
public void setSessionFromDump(String sessionDump) {
|
||||
login.setSessionFromDump(sessionDump);
|
||||
}
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Lasso Assertion Consumer</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Lasso Assertion Consumer</h1>
|
||||
<!--
|
||||
<cfdump var="#QUERY_STRING#">
|
||||
<cfobject type="java" name="sys" class="java.lang.System" action="create">
|
||||
<cfset properties=sys.getProperties()>
|
||||
<cfdump var="#properties#">
|
||||
-->
|
||||
<cfobject action="create" type="Java" class="CFLassoSingleSignOn" name="lasso">
|
||||
<cfset lasso.init()>
|
||||
<cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
|
||||
<cfset lasso.initRequest(#QUERY_STRING#)>
|
||||
<cfset lasso.buildRequestMsg()>
|
||||
<cfset soapUrl=lasso.getMsgUrl()>
|
||||
<cfset soapBody=lasso.getMsgBody()>
|
||||
<cfset relayState=lasso.getMsgRelayState()>
|
||||
<!--
|
||||
<cfdump var="#soapUrl#">
|
||||
<cfdump var="#soapBody#">
|
||||
-->
|
||||
<cfhttp method="POST" url="#soapUrl#">
|
||||
<cfhttpparam type="XML" name="body" value="#soapBody#">
|
||||
</cfhttp>
|
||||
<!--
|
||||
<cfdump var="#cfhttp.statuscode#">
|
||||
<cfdump var="#cfhttp.header#">
|
||||
<cfdump var="#cfhttp.fileContent#">
|
||||
-->
|
||||
<cfset lasso.processResponseMsg(#cfhttp.fileContent#)>
|
||||
<cfset nameIdentifier=lasso.getNameIdentifier()>
|
||||
<!-- TODO: Retrieve identity dump and session dump in your users and sessions databases,
|
||||
using nameIdentifier to retrieve user and session. -->
|
||||
<!-- cfset lasso.setIdentityFromDump(#identityDump#) -->
|
||||
<!-- cfset lasso.setSessionFromDump(#sessionDump#) -->
|
||||
<cfset lasso.acceptSso()>
|
||||
<cfset identityDump=lasso.getIdentityDump()>
|
||||
<cfset sessionDump=lasso.getSessionDump()>
|
||||
<!-- TODO: Store identity dump and session dump into your users and sessions databases. -->
|
||||
<cfoutput>
|
||||
<p>User is now logged. RelayState = #relayState#</p>
|
||||
</cfoutput>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,40 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Lasso Single Logout</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Lasso Single Logout</h1>
|
||||
<cfobject action="create" type="Java" class="CFLassoSingleLogout" name="lasso">
|
||||
<cfset lasso.init()>
|
||||
<cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
|
||||
<!-- TODO: Retrieve identity dump and session dump in your users and sessions databases. -->
|
||||
<!-- cfset lasso.setIdentityFromDump(#identityDump#) -->
|
||||
<!-- cfset lasso.setSessionFromDump(#sessionDump#) -->
|
||||
<cfset lasso.initRequest()>
|
||||
<cfset lasso.buildRequestMsg()>
|
||||
<cfset soapUrl=lasso.getMsgUrl()>
|
||||
<cfset soapBody=lasso.getMsgBody()>
|
||||
<!--
|
||||
<cfdump var="#soapUrl#">
|
||||
<cfdump var="#soapBody#">
|
||||
-->
|
||||
<cfhttp method="POST" url="#soapUrl#">
|
||||
<cfhttpparam type="XML" name="body" value="#soapBody#">
|
||||
</cfhttp>
|
||||
<!--
|
||||
<cfdump var="#cfhttp.statuscode#">
|
||||
<cfdump var="#cfhttp.header#">
|
||||
<cfdump var="#cfhttp.fileContent#">
|
||||
-->
|
||||
<cfset lasso.processResponseMsg(#cfhttp.fileContent#)>
|
||||
<cfset nameIdentifier=lasso.getNameIdentifier()>
|
||||
<cfset identityDump=lasso.getIdentityDump()>
|
||||
<cfset sessionDump=lasso.getSessionDump()>
|
||||
<!-- TODO: Store identity dump in your users database and remove session dump from sessions
|
||||
database. -->
|
||||
<cfoutput>
|
||||
<p>User is now unlogged.</p>
|
||||
</cfoutput>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Lasso Single Sign-On</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Lasso Single Sign-On</h1>
|
||||
<!--
|
||||
<cfobject type="java" name="sys" class="java.lang.System" action="create">
|
||||
<cfset properties=sys.getProperties()>
|
||||
<cfdump var="#properties#">
|
||||
-->
|
||||
<cfobject action="create" type="Java" class="CFLassoSingleSignOn" name="lasso">
|
||||
<cfset lasso.init()>
|
||||
<cfset lasso.configure("/opt/coldfusionmx/wwwroot/lasso/data/metadata.xml", "/opt/coldfusionmx/wwwroot/lasso/data/public-key-la.pem", "/opt/coldfusionmx/wwwroot/lasso/data/private-key-raw-la.pem", "https://idp2/metadata", "/opt/coldfusionmx/wwwroot/lasso/data/metadata-idp.xml", "/opt/coldfusionmx/wwwroot/lasso/data/idp2-la/public-key.pem")>
|
||||
<cfset lasso.initAuthnRequest("important-string")>
|
||||
<cfset lasso.buildAuthnRequestMsg()>
|
||||
<cfset ssoUrl=lasso.getMsgUrl()>
|
||||
<cfoutput><p>Identity provider single sing-on URL to redirect to = #ssoUrl#</p></cfoutput>
|
||||
<cflocation url=#ssoUrl#>
|
||||
</body>
|
||||
</html>
|
|
@ -1,37 +0,0 @@
|
|||
============================
|
||||
Implantation du mapping Java
|
||||
============================
|
||||
|
||||
:author: Benjamin Poussin <poussin@codelutin.com>
|
||||
|
||||
La même hierarchie d'objet à été faite dans la mesure du possible entre
|
||||
l'implantation C et Java.
|
||||
|
||||
Conservation de l'objet C associé à l'objet Java
|
||||
================================================
|
||||
|
||||
Chaque objet Java hérite d'un objet LassoNode qui contient un champs
|
||||
*long c_lasso_object* qui permet de stocker la référence du pointer de
|
||||
l'objet C associé à cet objet Java.
|
||||
|
||||
Destruction des objets
|
||||
======================
|
||||
|
||||
L'objet LassoNode contient aussi une méthode finalize qui permet l'appel au
|
||||
destructeur de l'objet C, lorsque l'objet java est libéré.
|
||||
|
||||
Si une méthode destroy particulière doit-être utilisé pour un objet C, il
|
||||
suffit dans l'objet Java de redéfinir la méthode
|
||||
*native protected void destroy();* et de l'implanter différement dans
|
||||
l'implantation C de la méthode native.
|
||||
|
||||
Acces au attribut des objets C
|
||||
==============================
|
||||
|
||||
Chaque attribut des objets C est accessible par une méthode d'acces. Cette
|
||||
méthode se charge de demander la construction de l'objet de représentation
|
||||
Java du champs. Ceci est fait par une méthode *init<FieldName>Field*. Cette
|
||||
méthode ne modifie l'attribut que si l'objet C et l'objet Java ne sont plus
|
||||
synchronisé, c'est à dire si la valeur dans l'objet C à été modifié ou que
|
||||
l'objet Java la représentant n'a jamais été créer.
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
================
|
||||
JNI for dummy :)
|
||||
================
|
||||
|
||||
Sous Linux le nom de la librairie compilée doit obligatoirement commencer par **lib** et
|
||||
finir par **.so**.
|
||||
|
||||
Pour charger à l'éxécution la librairie elle doit-être dans le
|
||||
LD_LIBRAIRY_PATH et en Java il faut la charger avec **System.loadLibrary**::
|
||||
|
||||
Par exemple si vous avec généré la librairie libjlasso.so, on la chargera
|
||||
avec::
|
||||
|
||||
System.loadLibrary("jlasso");
|
||||
|
||||
Pour connaitre le nom de la librairie que le système attend, on peut
|
||||
utiliser::
|
||||
|
||||
System.out.println(System.mapLibraryName("jlasso"));
|
||||
|
||||
Comment ajouter des fonctions JNI
|
||||
=================================
|
||||
|
||||
:ref: http://java.sun.com/docs/books/jni/html/jniTOC.html
|
||||
:ref: http://gbm.esil.univ-mrs.fr/~tourai/Java/node48.html
|
||||
|
||||
Il faut créer les classes Java, et marquer les méthodes qui doivent être
|
||||
écrite en C, avec le mot cle native. Ces méthodes n'ont pas de corps en
|
||||
Java.
|
||||
|
||||
Il faut ensuite exécuter le Makefile se trouvant dans lasso/java pour qu'il
|
||||
génère les fichiers d'entête JNI.
|
||||
|
||||
Il ne reste plus qu'a reprendre la signature de la méthode et de la coder
|
||||
dans le .c
|
||||
|
|
@ -1 +0,0 @@
|
|||
*.class
|
|
@ -1,266 +0,0 @@
|
|||
/*
|
||||
* $Id$
|
||||
*
|
||||
* Java 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
// To run it:
|
||||
// $ export LD_LIBRARY_PATH=../
|
||||
// $ javac -classpath /usr/share/java/junit.jar:../lasso.jar:. BindingTests.java
|
||||
// $ java -classpath /usr/share/java/junit.jar:../lasso.jar:. BindingTests
|
||||
// or for gcj:
|
||||
// $ export LD_LIBRARY_PATH=../
|
||||
// $ gcj -C -classpath /usr/share/java/junit.jar:../lasso.jar:. BindingTests.java
|
||||
// $ gij -classpath /usr/share/java/junit.jar:../lasso.jar:. BindingTests
|
||||
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import com.entrouvert.lasso.*;
|
||||
|
||||
|
||||
public class BindingTests extends TestCase {
|
||||
public static void main(String args[]) {
|
||||
junit.textui.TestRunner.run(suite());
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return new TestSuite(BindingTests.class);
|
||||
}
|
||||
|
||||
public void test01() {
|
||||
// Create and delete nodes.
|
||||
|
||||
LibAuthnRequest authnRequest = new LibAuthnRequest();
|
||||
authnRequest = null;
|
||||
}
|
||||
|
||||
public void test02() {
|
||||
// Get & set simple attributes of nodes.
|
||||
|
||||
LibAuthnRequest authnRequest = new LibAuthnRequest();
|
||||
|
||||
// Test a string attribute.
|
||||
assertNull(authnRequest.getConsent());
|
||||
authnRequest.setConsent(lasso.LIB_CONSENT_OBTAINED);
|
||||
assertEquals(authnRequest.getConsent(), lasso.LIB_CONSENT_OBTAINED);
|
||||
authnRequest.setConsent(null);
|
||||
assertNull(authnRequest.getConsent());
|
||||
|
||||
// Test a renamed string attribute.
|
||||
assertNull(authnRequest.getRelayState());
|
||||
authnRequest.setRelayState("Hello World!");
|
||||
assertEquals(authnRequest.getRelayState(), "Hello World!");
|
||||
authnRequest.setRelayState(null);
|
||||
assertNull(authnRequest.getRelayState());
|
||||
|
||||
// Test an integer attribute.
|
||||
assertEquals(authnRequest.getMajorVersion(), 0);
|
||||
authnRequest.setMajorVersion(314);
|
||||
assertEquals(authnRequest.getMajorVersion(), 314);
|
||||
|
||||
authnRequest = null;
|
||||
}
|
||||
|
||||
public void test03() {
|
||||
// Get & set attributes of nodes of type string list.
|
||||
|
||||
LibAuthnRequest authnRequest = new LibAuthnRequest();
|
||||
|
||||
assertNull(authnRequest.getRespondWith());
|
||||
|
||||
StringList respondWith = new StringList();
|
||||
assertEquals(respondWith.length(), 0);
|
||||
respondWith.append("first string");
|
||||
assertEquals(respondWith.length(), 1);
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
respondWith.append("second string");
|
||||
assertEquals(respondWith.length(), 2);
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
assertEquals(respondWith.getItem(1), "second string");
|
||||
respondWith.append("third string");
|
||||
assertEquals(respondWith.length(), 3);
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
assertEquals(respondWith.getItem(1), "second string");
|
||||
assertEquals(respondWith.getItem(2), "third string");
|
||||
authnRequest.setRespondWith(respondWith);
|
||||
assertEquals(authnRequest.getRespondWith().getItem(0), "first string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(1), "second string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(2), "third string");
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
assertEquals(respondWith.getItem(1), "second string");
|
||||
assertEquals(respondWith.getItem(2), "third string");
|
||||
respondWith = null;
|
||||
assertEquals(authnRequest.getRespondWith().getItem(0), "first string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(1), "second string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(2), "third string");
|
||||
respondWith = authnRequest.getRespondWith();
|
||||
assertEquals(respondWith.getItem(0), "first string");
|
||||
assertEquals(respondWith.getItem(1), "second string");
|
||||
assertEquals(respondWith.getItem(2), "third string");
|
||||
respondWith = null;
|
||||
assertEquals(authnRequest.getRespondWith().getItem(0), "first string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(1), "second string");
|
||||
assertEquals(authnRequest.getRespondWith().getItem(2), "third string");
|
||||
authnRequest.setRespondWith(null);
|
||||
assertNull(authnRequest.getRespondWith());
|
||||
|
||||
authnRequest = null;
|
||||
}
|
||||
|
||||
public void test04() {
|
||||
// Get & set attributes of nodes of type node list.
|
||||
|
||||
SamlpResponse response = new SamlpResponse();
|
||||
|
||||
assertNull(response.getAssertion());
|
||||
|
||||
NodeList assertions = new NodeList();
|
||||
assertEquals(assertions.length(), 0);
|
||||
SamlAssertion assertion1 = new SamlAssertion();
|
||||
assertion1.setAssertionId("assertion 1");
|
||||
assertions.append(assertion1);
|
||||
assertEquals(assertions.length(), 1);
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
SamlAssertion assertion2 = new SamlAssertion();
|
||||
assertion2.setAssertionId("assertion 2");
|
||||
assertions.append(assertion2);
|
||||
assertEquals(assertions.length(), 2);
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(1)).getAssertionId(), "assertion 2");
|
||||
SamlAssertion assertion3 = new SamlAssertion();
|
||||
assertion3.setAssertionId("assertion 3");
|
||||
assertions.append(assertion3);
|
||||
assertEquals(assertions.length(), 3);
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(1)).getAssertionId(), "assertion 2");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(2)).getAssertionId(), "assertion 3");
|
||||
response.setAssertion(assertions);
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(0)).getAssertionId(),
|
||||
"assertion 1");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(1)).getAssertionId(),
|
||||
"assertion 2");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(2)).getAssertionId(),
|
||||
"assertion 3");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(1)).getAssertionId(), "assertion 2");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(2)).getAssertionId(), "assertion 3");
|
||||
assertions = null;;
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(0)).getAssertionId(),
|
||||
"assertion 1");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(1)).getAssertionId(),
|
||||
"assertion 2");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(2)).getAssertionId(),
|
||||
"assertion 3");
|
||||
assertions = response.getAssertion();
|
||||
assertEquals(((SamlAssertion) assertions.getItem(0)).getAssertionId(), "assertion 1");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(1)).getAssertionId(), "assertion 2");
|
||||
assertEquals(((SamlAssertion) assertions.getItem(2)).getAssertionId(), "assertion 3");
|
||||
assertions = null;
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(0)).getAssertionId(),
|
||||
"assertion 1");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(1)).getAssertionId(),
|
||||
"assertion 2");
|
||||
assertEquals(((SamlAssertion) response.getAssertion().getItem(2)).getAssertionId(),
|
||||
"assertion 3");
|
||||
response.setAssertion(null);
|
||||
assertNull(response.getAssertion());
|
||||
|
||||
response = null;
|
||||
}
|
||||
|
||||
public void test05() {
|
||||
// Get & set attributes of nodes of type XML list.
|
||||
|
||||
LibAuthnRequest authnRequest = new LibAuthnRequest();
|
||||
|
||||
assertNull(authnRequest.getExtension());
|
||||
|
||||
String actionString1 = "<lib:Extension xmlns:lib=\"urn:liberty:iff:2003-08\">\n"
|
||||
+ " <action>do 1</action>\n"
|
||||
+ "</lib:Extension>";
|
||||
String actionString2 = "<lib:Extension xmlns:lib=\"urn:liberty:iff:2003-08\">\n"
|
||||
+ " <action>do 2</action>\n"
|
||||
+ "</lib:Extension>";
|
||||
String actionString3 = "<lib:Extension xmlns:lib=\"urn:liberty:iff:2003-08\">\n"
|
||||
+ " <action>do 3</action>\n"
|
||||
+ "</lib:Extension>";
|
||||
StringList extension = new StringList();
|
||||
assertEquals(extension.length(), 0);
|
||||
extension.append(actionString1);
|
||||
assertEquals(extension.length(), 1);
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
extension.append(actionString2);
|
||||
assertEquals(extension.length(), 2);
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
assertEquals(extension.getItem(1), actionString2);
|
||||
extension.append(actionString3);
|
||||
assertEquals(extension.length(), 3);
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
assertEquals(extension.getItem(1), actionString2);
|
||||
assertEquals(extension.getItem(2), actionString3);
|
||||
authnRequest.setExtension(extension);
|
||||
assertEquals(authnRequest.getExtension().getItem(0), actionString1);
|
||||
assertEquals(authnRequest.getExtension().getItem(1), actionString2);
|
||||
assertEquals(authnRequest.getExtension().getItem(2), actionString3);
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
assertEquals(extension.getItem(1), actionString2);
|
||||
assertEquals(extension.getItem(2), actionString3);
|
||||
extension = null;
|
||||
assertEquals(authnRequest.getExtension().getItem(0), actionString1);
|
||||
assertEquals(authnRequest.getExtension().getItem(1), actionString2);
|
||||
assertEquals(authnRequest.getExtension().getItem(2), actionString3);
|
||||
extension = authnRequest.getExtension();
|
||||
assertEquals(extension.getItem(0), actionString1);
|
||||
assertEquals(extension.getItem(1), actionString2);
|
||||
assertEquals(extension.getItem(2), actionString3);
|
||||
extension = null;
|
||||
assertEquals(authnRequest.getExtension().getItem(0), actionString1);
|
||||
assertEquals(authnRequest.getExtension().getItem(1), actionString2);
|
||||
assertEquals(authnRequest.getExtension().getItem(2), actionString3);
|
||||
authnRequest.setExtension(null);
|
||||
assertNull(authnRequest.getExtension());
|
||||
|
||||
authnRequest = null;
|
||||
}
|
||||
|
||||
public void test06() {
|
||||
// Get & set attributes of nodes of type node.
|
||||
|
||||
Login login = new Login(new Server(null, null, null, null));
|
||||
|
||||
assertNull(login.getRequest());
|
||||
login.setRequest((SamlpRequestAbstract) new LibAuthnRequest());
|
||||
((LibAuthnRequest) login.getRequest()).setConsent(lasso.LIB_CONSENT_OBTAINED);
|
||||
assertEquals(((LibAuthnRequest) login.getRequest()).getConsent(),
|
||||
lasso.LIB_CONSENT_OBTAINED);
|
||||
login.setRequest(null);
|
||||
assertNull(login.getRequest());
|
||||
|
||||
login = null;
|
||||
}
|
||||
}
|
|
@ -1,244 +0,0 @@
|
|||
/*
|
||||
* $Id$
|
||||
*
|
||||
* Java 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
// To run it:
|
||||
// $ export LD_LIBRARY_PATH=../
|
||||
// $ javac -classpath /usr/share/java/junit.jar:../lasso.jar:. LoginTest.java
|
||||
// $ java -classpath /usr/share/java/junit.jar:../lasso.jar:. LoginTest
|
||||
// or for gcj:
|
||||
// $ export LD_LIBRARY_PATH=../
|
||||
// $ gcj -C -classpath /usr/share/java/junit.jar:../lasso.jar:. LoginTest.java
|
||||
// $ gij -classpath /usr/share/java/junit.jar:../lasso.jar:. LoginTest
|
||||
|
||||
|
||||
import junit.framework.Test;
|
||||
import junit.framework.TestCase;
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import com.entrouvert.lasso.*;
|
||||
|
||||
public class LoginTest extends TestCase {
|
||||
public String generateIdentityProviderDump() {
|
||||
Server server = new Server(
|
||||
"../../tests/data/idp1-la/metadata.xml",
|
||||
"../../tests/data/idp1-la/private-key-raw.pem",
|
||||
null,
|
||||
"../../tests/data/idp1-la/certificate.pem");
|
||||
server.addProvider(
|
||||
lasso.PROVIDER_ROLE_SP,
|
||||
"../../tests/data/sp1-la/metadata.xml",
|
||||
"../../tests/data/sp1-la/public-key.pem",
|
||||
"../../tests/data/ca1-la/certificate.pem");
|
||||
String serverDump = server.dump();
|
||||
return serverDump;
|
||||
}
|
||||
|
||||
public String generateServiceProviderDump() {
|
||||
Server server = new Server(
|
||||
"../../tests/data/sp1-la/metadata.xml",
|
||||
"../../tests/data/sp1-la/private-key-raw.pem",
|
||||
null,
|
||||
"../../tests/data/sp1-la/certificate.pem");
|
||||
server.addProvider(
|
||||
lasso.PROVIDER_ROLE_IDP,
|
||||
"../../tests/data/idp1-la/metadata.xml",
|
||||
"../../tests/data/idp1-la/public-key.pem",
|
||||
"../../tests/data/ca1-la/certificate.pem");
|
||||
String serverDump = server.dump();
|
||||
return serverDump;
|
||||
}
|
||||
|
||||
public void test01_generateServersDumps() {
|
||||
String identityProviderDump = generateIdentityProviderDump();
|
||||
assertNotNull(identityProviderDump);
|
||||
String serviceProviderDump = generateServiceProviderDump();
|
||||
assertNotNull(serviceProviderDump);
|
||||
}
|
||||
|
||||
public void test02_serviceProviderLogin() {
|
||||
boolean userAuthenticated, userConsentObtained;
|
||||
int method, requestType;
|
||||
LibAuthnRequest authnRequest;
|
||||
Identity idpIdentity, spIdentity;
|
||||
Login idpLogin, spLogin;
|
||||
Logout idpLogout, spLogout;
|
||||
SamlAssertion assertion;
|
||||
Server idp, sp;
|
||||
Session spSession;
|
||||
String artifact, authenticationMethod, authnRequestQuery, authnRequestUrl, idpDump,
|
||||
idpIdentityDump, idpRemoteProviderId, idpSessionDump, nameIdentifier, relayState,
|
||||
responseQuery, responseUrl, soapEndpoint, soapResponseMsg, soapRequestMsg,
|
||||
spDump, spIdentityDump, spSessionDump;
|
||||
|
||||
// Service provider login using HTTP redirect.
|
||||
spDump = generateServiceProviderDump();
|
||||
assertNotNull(spDump);
|
||||
sp = Server.newFromDump(spDump);
|
||||
spLogin = new Login(sp);
|
||||
spLogin.initAuthnRequest("https://idp1/metadata", lasso.HTTP_METHOD_REDIRECT);
|
||||
authnRequest = (LibAuthnRequest) spLogin.getRequest();
|
||||
authnRequest.setIsPassive(false);
|
||||
authnRequest.setNameIdPolicy(lasso.LIB_NAMEID_POLICY_TYPE_FEDERATED);
|
||||
authnRequest.setConsent(lasso.LIB_CONSENT_OBTAINED);
|
||||
relayState = "fake";
|
||||
authnRequest.setRelayState(relayState);
|
||||
spLogin.buildAuthnRequestMsg();
|
||||
authnRequestUrl = spLogin.getMsgUrl();
|
||||
authnRequestQuery = authnRequestUrl.substring(authnRequestUrl.indexOf("?") + 1);
|
||||
|
||||
// Identity provider singleSignOn, for a user having no federation.
|
||||
idpDump = generateIdentityProviderDump();
|
||||
assertNotNull(idpDump);
|
||||
idp = Server.newFromDump(idpDump);
|
||||
idpLogin = new Login(idp);
|
||||
idpLogin.processAuthnRequestMsg(authnRequestQuery);
|
||||
assertTrue(idpLogin.mustAuthenticate());
|
||||
assertFalse(idpLogin.mustAskForConsent());
|
||||
|
||||
userAuthenticated = true;
|
||||
userConsentObtained = false;
|
||||
idpLogin.validateRequestMsg(userAuthenticated, userConsentObtained);
|
||||
authenticationMethod = lasso.SAML_AUTHENTICATION_METHOD_PASSWORD;
|
||||
idpLogin.buildAssertion(
|
||||
authenticationMethod,
|
||||
null, // authenticationInstant
|
||||
null, // reauthenticateOnOrAfter
|
||||
null, // notBefore
|
||||
null);// notOnOrAfter
|
||||
assertEquals(lasso.LOGIN_PROTOCOL_PROFILE_BRWS_ART, idpLogin.getProtocolProfile());
|
||||
idpLogin.buildArtifactMsg(lasso.HTTP_METHOD_REDIRECT);
|
||||
idpIdentityDump = idpLogin.getIdentity().dump();
|
||||
assertNotNull(idpIdentityDump);
|
||||
idpSessionDump = idpLogin.getSession().dump();
|
||||
assertNotNull(idpSessionDump);
|
||||
responseUrl = idpLogin.getMsgUrl();
|
||||
responseQuery = responseUrl.substring(responseUrl.indexOf("?") + 1);
|
||||
idpRemoteProviderId = idpLogin.getRemoteProviderId();
|
||||
nameIdentifier = ((SamlNameIdentifier)idpLogin.getNameIdentifier()).getContent();
|
||||
artifact = idpLogin.getAssertionArtifact();
|
||||
assertNotNull(artifact);
|
||||
method = lasso.HTTP_METHOD_REDIRECT;
|
||||
|
||||
// Service provider assertion consumer.
|
||||
spDump = generateServiceProviderDump();
|
||||
assertNotNull(spDump);
|
||||
sp = Server.newFromDump(spDump);
|
||||
spLogin = new Login(sp);
|
||||
spLogin.initRequest(responseQuery, method);
|
||||
spLogin.buildRequestMsg();
|
||||
soapEndpoint = spLogin.getMsgUrl();
|
||||
assertNotNull(soapEndpoint);
|
||||
soapRequestMsg = spLogin.getMsgBody();
|
||||
assertNotNull(soapRequestMsg);
|
||||
|
||||
// Identity provider SOAP endpoint.
|
||||
requestType = lasso.getRequestTypeFromSoapMsg(soapRequestMsg);
|
||||
assertEquals(lasso.REQUEST_TYPE_LOGIN, requestType);
|
||||
idpDump = generateIdentityProviderDump();
|
||||
assertNotNull(idpDump);
|
||||
idp = Server.newFromDump(idpDump);
|
||||
idpLogin = new Login(idp);
|
||||
idpLogin.processRequestMsg(soapRequestMsg);
|
||||
assertEquals(artifact, idpLogin.getAssertionArtifact());
|
||||
assertNotNull(idpSessionDump);
|
||||
idpLogin.setSessionFromDump(idpSessionDump);
|
||||
idpLogin.buildResponseMsg(idpRemoteProviderId);
|
||||
soapResponseMsg = idpLogin.getMsgBody();
|
||||
assertNotNull(soapResponseMsg);
|
||||
|
||||
// Service provider assertion consumer (step 2: process SOAP response).
|
||||
spLogin.processResponseMsg(soapResponseMsg);
|
||||
assertEquals(nameIdentifier, ((SamlNameIdentifier)spLogin.getNameIdentifier()).getContent());
|
||||
// The user doesn't have any federation yet.
|
||||
spLogin.acceptSso();
|
||||
spIdentity = spLogin.getIdentity();
|
||||
assertNotNull(spIdentity);
|
||||
spIdentityDump = spIdentity.dump();
|
||||
assertNotNull(spIdentityDump);
|
||||
spSession = spLogin.getSession();
|
||||
assertNotNull(spSession);
|
||||
spSessionDump = spSession.dump();
|
||||
assertNotNull(spSessionDump);
|
||||
assertion = (SamlAssertion) spSession.getAssertions("https://idp1/metadata").getItem(0);
|
||||
authenticationMethod = assertion.getAuthenticationStatement().getAuthenticationMethod();
|
||||
assertEquals(lasso.SAML_AUTHENTICATION_METHOD_PASSWORD, authenticationMethod);
|
||||
|
||||
// Service provider logout.
|
||||
spDump = generateServiceProviderDump();
|
||||
assertNotNull(spDump);
|
||||
sp = Server.newFromDump(spDump);
|
||||
assertNotNull(sp);
|
||||
spLogout = new Logout(sp);
|
||||
assertNotNull(spIdentityDump);
|
||||
spLogout.setIdentityFromDump(spIdentityDump);
|
||||
assertNotNull(spSessionDump);
|
||||
spLogout.setSessionFromDump(spSessionDump);
|
||||
spLogout.initRequest(null, lasso.HTTP_METHOD_ANY);
|
||||
spLogout.buildRequestMsg();
|
||||
soapEndpoint = spLogout.getMsgUrl();
|
||||
soapRequestMsg = spLogout.getMsgBody();
|
||||
|
||||
// Identity provider SOAP endpoint.
|
||||
requestType = lasso.getRequestTypeFromSoapMsg(soapRequestMsg);
|
||||
assertEquals(lasso.REQUEST_TYPE_LOGOUT, requestType);
|
||||
idpDump = generateIdentityProviderDump();
|
||||
assertNotNull(idpDump);
|
||||
idp = Server.newFromDump(idpDump);
|
||||
assertNotNull(idp);
|
||||
idpLogout = new Logout(idp);
|
||||
idpLogout.processRequestMsg(soapRequestMsg);
|
||||
assertEquals(nameIdentifier, ((SamlNameIdentifier)idpLogout.getNameIdentifier()).getContent());
|
||||
assertNotNull(idpIdentityDump);
|
||||
idpLogout.setIdentityFromDump(idpIdentityDump);
|
||||
assertNotNull(idpSessionDump);
|
||||
idpLogout.setSessionFromDump(idpSessionDump);
|
||||
idpLogout.validateRequest();
|
||||
idpIdentity = idpLogout.getIdentity();
|
||||
assertNotNull(idpIdentity);
|
||||
idpIdentityDump = idpIdentity.dump();
|
||||
assertNotNull(idpIdentityDump);
|
||||
// There is no other service provider from which the user must be logged out.
|
||||
assertEquals(null, idpLogout.getNextProviderId());
|
||||
idpLogout.buildResponseMsg();
|
||||
soapResponseMsg = idpLogout.getMsgBody();
|
||||
|
||||
// Service provider logout (step 2: process SOAP response).
|
||||
spLogout.processResponseMsg(soapResponseMsg);
|
||||
spIdentityDump = spLogout.getIdentity().dump();
|
||||
assertNotNull(spIdentityDump);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
||||
return new TestSuite(LoginTest.class);
|
||||
}
|
||||
|
||||
public static void main(String args[]) {
|
||||
System.out.println(System.mapLibraryName("jlasso"));
|
||||
lasso.init();
|
||||
junit.textui.TestRunner.run(suite());
|
||||
lasso.shutdown();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
lasso.pm
|
||||
lasso_wrap.c
|
||||
.deps
|
||||
.libs
|
||||
Makefile
|
||||
Makefile.in
|
||||
*.la
|
||||
*.lo
|
||||
Makefile.perl
|
||||
blib
|
||||
build-perl-stamp
|
||||
lasso.bs
|
||||
pm_to_blib
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
# File : Makefile.PL
|
||||
|
||||
use ExtUtils::MakeMaker;
|
||||
|
||||
$CC=$ENV{CC} || "cc";
|
||||
$CFLAGS=$ENV{CFLAGS} || "";
|
||||
|
||||
my $objects="lasso_wrap.o ";
|
||||
|
||||
if(-r '../lasso-src-config') {
|
||||
my $lasso_libs=`../lasso-src-config --libs`;
|
||||
chomp $lasso_libs;
|
||||
$objects .= $lasso_libs;
|
||||
}
|
||||
|
||||
my $includes="-I$TOP_BUILDDIR -I$TOP_SRCDIR";
|
||||
print $includes;
|
||||
my $version=$ENV{VERSION};
|
||||
|
||||
# I'm forced to do this since BASEEXT is defined in a non-overridable method.
|
||||
push(@ExtUtils::MakeMaker::Overridable, "init_main");
|
||||
|
||||
sub MY::init_main {
|
||||
my($self)=@_;
|
||||
package MY; # so that "SUPER" works right
|
||||
$self->SUPER::init_main();
|
||||
|
||||
# Stop perl linking with anything in the destination dir, it might
|
||||
# be entirely the wrong library such as a previous version.
|
||||
$self->{LDFLAGS} =~ s/-L\S+//;
|
||||
$self->{LDDLFLAGS} =~ s/-L\S+//;
|
||||
}
|
||||
|
||||
|
||||
WriteMakefile(
|
||||
NAME => 'lasso', # Name of package
|
||||
VERSION => $version,
|
||||
OBJECT => "$objects",
|
||||
AUTHOR => 'Frederic Peters <fpeters@entrouvert.com>',
|
||||
MAKEFILE => 'Makefile.perl',
|
||||
DEFINE => "-DHAVE_CONFIG_H $CFLAGS",
|
||||
CC => $CC,
|
||||
);
|
|
@ -1,73 +0,0 @@
|
|||
INCLUDES = -I$(top_builddir) -I$(top_srcdir)
|
||||
|
||||
AM_CPPFLAGS=@CPPFLAGS@ -I$(top_builddir) -I$(top_srcdir) @LASSO_CFLAGS@
|
||||
AM_CFLAGS=@CFLAGS@ @LASSO_CORE_CFLAGS@
|
||||
AM_STANDARD_CFLAGS=@LASSO_CORE_CFLAGS@
|
||||
|
||||
PERL=@PERL@
|
||||
|
||||
PERL_LASSO_PACKAGE=Lasso
|
||||
PERL_MAKEFILE=Makefile.perl
|
||||
|
||||
PERL_CRUFT=pm_to_blib lasso.bs lasso_wrap.o $(PERL_MAKEFILE).old
|
||||
|
||||
fakedir=$(prefix)
|
||||
fake_DATA=build-perl-stamp
|
||||
|
||||
SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
|
||||
lasso_wrap.c lasso.pm: $(SWIG_I_FILES)
|
||||
$(SWIG) -I$(top_builddir)/swig -v -perl5 -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i
|
||||
|
||||
|
||||
$(PERL_MAKEFILE): lasso.pm lasso_wrap.c
|
||||
test -e Makefile.PL || test ! -e $(srcdir)/Makefile.PL || $(LN_S) $(srcdir)/Makefile.PL .
|
||||
test -e lasso_wrap.c || test ! -e $(srcdir)/lasso_wrap.c || $(LN_S) $(srcdir)/lasso_wrap.c .
|
||||
test -e lasso.pm || test ! -e $(srcdir)/lasso.pm || $(LN_S) $(srcdir)/lasso.pm .
|
||||
VERSION="$(VERSION)" CC="$(CC)" CFLAGS="$(AM_CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(SWIG_OPTS) $(CPPFLAGS) $(AM_STANDARD_CFLAGS)" $(PERL) $(srcdir)/Makefile.PL DESTDIR="$(DESTDIR)" PREFIX="$(prefix)" $(MAKE_PL_OPTS) TOP_SRCDIR="$(top_srcdir)" TOP_BUILDDIR="$(top_builddir)"
|
||||
|
||||
AM_CFLAGS+=-Wno-unused-parameter -Wno-sign-compare -Wno-unused-variable -Wno-unused-function -Wno-deprecated-declarations
|
||||
|
||||
-perl install-perl: $(PERL_MAKEFILE)
|
||||
target=`echo $@ | sed -e 's/-perl//'`; \
|
||||
$(MAKE) -f $(PERL_MAKEFILE) DESTDIR=$(DESTDIR) PREFIX=$(prefix) $$target
|
||||
|
||||
test-perl: $(PERL_MAKEFILE)
|
||||
$(RUN)$(MAKE) -f $(PERL_MAKEFILE) test
|
||||
|
||||
clean-perl realclean-perl:
|
||||
@target=`echo $@ | sed -e 's/-perl//'`; \
|
||||
if test -r $(PERL_MAKEFILE); then \
|
||||
echo $(MAKE) -f $(PERL_MAKEFILE) $$target; \
|
||||
$(MAKE) -f $(PERL_MAKEFILE) $$target; \
|
||||
fi
|
||||
|
||||
build-perl: -perl
|
||||
|
||||
build-perl-stamp: ../swig/Lasso.i
|
||||
$(MAKE) build-perl && touch build-perl-stamp
|
||||
|
||||
|
||||
|
||||
SWIG_OUTPUTS = lasso_wrap.c lasso.pm
|
||||
|
||||
# In distribution, swig generated files are present.
|
||||
EXTRA_DIST = $(SWIG_OUTPUTS) Makefile.PL
|
||||
|
||||
# Maintainer clean the swig generated files, because he/she maintains them.
|
||||
MAINTAINERCLEANFILES = Makefile.in $(SWIG_OUTPUTS)
|
||||
CLEANFILES = lasso.pm lasso_wrap.c
|
||||
|
||||
clean-local:
|
||||
rm -rf blib $(PERL_MAKEFILE) $(PERL_MAKEFILE).old build-perl-stamp $(PERL_CRUFT)
|
||||
-test -L Makefile.PL && rm Makefile.PL
|
||||
|
||||
|
||||
# perl module installation disabled since broken wrt to make distcheck
|
||||
install-fakeDATA: install-perl
|
||||
|
||||
uninstall-local:
|
||||
find $(DESTDIR)$(prefix) -name lasso -type d | grep perl | xargs rm -rf
|
||||
find $(DESTDIR)$(prefix) -name lasso.pm -exec rm -f {} \;
|
||||
find $(DESTDIR)$(prefix) -name perllocal.pod -exec rm -f {} \;
|
||||
true
|
||||
|
|
@ -1,258 +0,0 @@
|
|||
#! /usr/bin/env perl
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# Perl 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, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
# To use this program, first install Lasso Perl binding, by executing the
|
||||
# command:
|
||||
# su -c "cd ..; make install-perl"
|
||||
|
||||
|
||||
use lasso;
|
||||
|
||||
sub test01 {
|
||||
print "Create and delete nodes.";
|
||||
|
||||
my $authnRequest = new lasso::LibAuthnRequest;
|
||||
undef $authnRequest;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
sub test02 {
|
||||
print "Get & set simple attributes of nodes.";
|
||||
|
||||
my $authnRequest = new lasso::LibAuthnRequest;
|
||||
|
||||
# Test a string attribute.
|
||||
$authnRequest->{consent} eq undef or die "Assertion failed\n";
|
||||
$authnRequest->{consent} = $lasso::LIB_CONSENT_OBTAINED;
|
||||
$authnRequest->{consent} eq $lasso::LIB_CONSENT_OBTAINED or die "Assertion failed\n";
|
||||
$authnRequest->{consent} = undef;
|
||||
$authnRequest->{consent} eq undef or die "Assertion failed\n";
|
||||
|
||||
# Test a renamed string attribute.
|
||||
$authnRequest->{relayState} eq undef or die "Assertion failed\n";
|
||||
$authnRequest->{relayState} = 'Hello World!';
|
||||
$authnRequest->{relayState} eq 'Hello World!' or die "Assertion failed\n";
|
||||
$authnRequest->{relayState} = undef;
|
||||
$authnRequest->{relayState} eq undef or die "Assertion failed\n";
|
||||
|
||||
# Test an integer attribute.
|
||||
$authnRequest->{majorVersion} eq 0 or die "Assertion failed\n";
|
||||
$authnRequest->{majorVersion} = 314;
|
||||
$authnRequest->{majorVersion} eq 314 or die "Assertion failed\n";
|
||||
|
||||
undef $authnRequest;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
sub test03 {
|
||||
print "Get & set attributes of nodes of type string list.";
|
||||
|
||||
my $authnRequest = new lasso::LibAuthnRequest;
|
||||
|
||||
$authnRequest->{respondWith} eq undef or die "Assertion failed\n";
|
||||
|
||||
my $respondWith = new lasso::StringList;
|
||||
$respondWith->length eq 0 or die "Assertion failed\n";
|
||||
$respondWith->append('first string');
|
||||
$respondWith->length eq 1 or die "Assertion failed\n";
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->append('second string');
|
||||
$respondWith->length eq 2 or die "Assertion failed\n";
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$respondWith->append('third string');
|
||||
$respondWith->length eq 3 or die "Assertion failed\n";
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith} = $respondWith;
|
||||
$authnRequest->{respondWith}->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
undef $respondWith;
|
||||
$authnRequest->{respondWith}->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
$respondWith = $authnRequest->{respondWith};
|
||||
$respondWith->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$respondWith->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
undef $respondWith;
|
||||
$authnRequest->{respondWith}->getItem(0) eq 'first string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(1) eq 'second string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith}->getItem(2) eq 'third string' or die "Assertion failed\n";
|
||||
$authnRequest->{respondWith} = undef;
|
||||
$authnRequest->{respondWith} eq undef or die "Assertion failed\n";
|
||||
|
||||
undef $authnRequest;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
sub test04 {
|
||||
print "Get & set attributes of nodes of type node list.";
|
||||
|
||||
my $response = new lasso::SamlpResponse;
|
||||
|
||||
$response->{assertion} eq undef or die "Assertion failed\n";
|
||||
|
||||
my $assertions = new lasso::NodeList;
|
||||
$assertions->length eq 0 or die "Assertion failed\n";
|
||||
my $assertion1 = new lasso::SamlAssertion;
|
||||
$assertion1->{assertionId} = 'assertion 1';
|
||||
$assertions->append($assertion1);
|
||||
$assertions->length eq 1 or die "Assertion failed\n";
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
my $assertion2 = new lasso::SamlAssertion;
|
||||
$assertion2->{assertionId} = 'assertion 2';
|
||||
$assertions->append($assertion2);
|
||||
$assertions->length eq 2 or die "Assertion failed\n";
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$assertions->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
my $assertion3 = new lasso::SamlAssertion;
|
||||
$assertion3->{assertionId} = 'assertion 3';
|
||||
$assertions->append($assertion3);
|
||||
$assertions->length eq 3 or die "Assertion failed\n";
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$assertions->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$assertions->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
$response->{assertion} = $assertions;
|
||||
$response->{assertion}->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$assertions->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$assertions->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
undef $assertions;
|
||||
$response->{assertion}->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
$assertions = $response->{assertion};
|
||||
$assertions->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$assertions->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$assertions->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
undef $assertions;
|
||||
$response->{assertion}->getItem(0)->{assertionId} eq 'assertion 1' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(1)->{assertionId} eq 'assertion 2' or die "Assertion failed\n";
|
||||
$response->{assertion}->getItem(2)->{assertionId} eq 'assertion 3' or die "Assertion failed\n";
|
||||
$response->{assertion} = undef;
|
||||
$response->{assertion} eq undef or die "Assertion failed\n";
|
||||
|
||||
undef $response;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
sub test05 {
|
||||
print "Get & set attributes of nodes of type XML list.";
|
||||
|
||||
my $authnRequest = new lasso::LibAuthnRequest;
|
||||
|
||||
$authnRequest->{extension} eq undef or die "Assertion failed\n";
|
||||
|
||||
my $actionString1 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 1</action>
|
||||
</lib:Extension>';
|
||||
my $actionString2 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 2</action>
|
||||
</lib:Extension>';
|
||||
my $actionString3 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 3</action>
|
||||
</lib:Extension>';
|
||||
my $extension = new lasso::StringList;
|
||||
$extension->length eq 0 or die "Assertion failed\n";
|
||||
$extension->append($actionString1);
|
||||
$extension->length eq 1 or die "Assertion failed\n";
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->append($actionString2);
|
||||
$extension->length eq 2 or die "Assertion failed\n";
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$extension->append($actionString3);
|
||||
$extension->length eq 3 or die "Assertion failed\n";
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$extension->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
$authnRequest->{extension} = $extension;
|
||||
$authnRequest->{extension}->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$extension->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
undef $extension;
|
||||
$authnRequest->{extension}->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
$extension = $authnRequest->{extension};
|
||||
$extension->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$extension->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$extension->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
undef $extension;
|
||||
$authnRequest->{extension}->getItem(0) eq $actionString1 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(1) eq $actionString2 or die "Assertion failed\n";
|
||||
$authnRequest->{extension}->getItem(2) eq $actionString3 or die "Assertion failed\n";
|
||||
$authnRequest->{extension} = undef;
|
||||
$authnRequest->{extension} eq undef or die "Assertion failed\n";
|
||||
|
||||
undef $authnRequest;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
sub test06 {
|
||||
print "Get & set attributes of nodes of type node.";
|
||||
|
||||
my $login = new lasso::Login(new lasso::Server);
|
||||
|
||||
$login->{request} eq undef or die "Assertion failed\n";
|
||||
$login->{request} = new lasso::LibAuthnRequest;
|
||||
$login->{request}->{consent} = $lasso::LIB_CONSENT_OBTAINED;
|
||||
$login->{request}->{consent} eq $lasso::LIB_CONSENT_OBTAINED or die "Assertion failed\n";
|
||||
undef $login->{request};
|
||||
$login->{request} eq undef or die "Assertion failed\n";
|
||||
|
||||
undef $login;
|
||||
|
||||
print "..OK\n";
|
||||
}
|
||||
|
||||
lasso::init;
|
||||
test01;
|
||||
test02;
|
||||
test03;
|
||||
test04;
|
||||
test05;
|
||||
test06;
|
||||
lasso::shutdown();
|
|
@ -1,10 +0,0 @@
|
|||
.deps
|
||||
.libs
|
||||
Makefile
|
||||
Makefile.in
|
||||
lasso.la
|
||||
lasso.php
|
||||
lasso_la-lasso_wrap.lo
|
||||
lasso_wrap.c
|
||||
php_lasso.h
|
||||
run-tests.php
|
|
@ -1,26 +0,0 @@
|
|||
SWIG_OUTPUTS = lasso_wrap.c php_lasso.h lasso.php
|
||||
|
||||
php_extension_LTLIBRARIES = lasso.la
|
||||
lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_builddir) -I$(top_srcdir) $(PHP4_INCLUDES)
|
||||
lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version
|
||||
lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP4_LDFLAGS)
|
||||
lasso_la_SOURCES = lasso_wrap.c
|
||||
|
||||
php_extensiondir = ${prefix}@PHP4_UNPREFIXED_EXTENSION_DIR@
|
||||
|
||||
SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
|
||||
lasso_wrap.c php_lasso.h lasso.php: $(SWIG_I_FILES)
|
||||
$(SWIG) -I$(top_builddir)/swig -v -php4 -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i
|
||||
cp lasso_wrap.c lasso_wrap.c.bak
|
||||
test x"$(SWIG)" = xecho || \
|
||||
$(PYTHON) $(srcdir)/patch_swig_output.py $(SWIG_VERSION) < lasso_wrap.c.bak > lasso_wrap.c
|
||||
|
||||
test-php: lasso.la lasso.php
|
||||
$(PHP4) -d extension_dir=.libs $(srcdir)/lasso.php
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in $(SWIG_OUTPUTS)
|
||||
EXTRA_DIST = patch_swig_output.py $(SWIG_OUTPUTS)
|
||||
|
||||
clean-local:
|
||||
rm -f lasso_wrap.c.bak
|
||||
|
|
@ -1,285 +0,0 @@
|
|||
#! /usr/bin/env python
|
||||
# -*- coding: UTF-8 -*-
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# SWIG based PHP binding 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, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
"""Correct SWIG output for PHP binding.
|
||||
|
||||
The PHP binding of SWIG version 1.3.22 has several bugs:
|
||||
|
||||
(1) It wraps NULL pointers into non NULL PHP objects.
|
||||
|
||||
(2) It doesn't handle dynamic cast of function results well: After the C object is dynamically
|
||||
casted, it creates a statically casted PHP object.
|
||||
|
||||
(3) It handles badly optional arguments of methods.
|
||||
|
||||
This program corrects (1) and (2), by replacing things like:
|
||||
if (!result) {
|
||||
ZVAL_NULL(return_value);
|
||||
} else {
|
||||
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_LassoXXX, (void **) &result);
|
||||
SWIG_SetPointerZval(return_value, (void *)result, ty, 1);
|
||||
}
|
||||
|
||||
/* Wrap this return value */
|
||||
if (this_ptr) {
|
||||
/* NATIVE Constructor, use this_ptr */
|
||||
zval *_cPtr; MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
add_property_zval(this_ptr,"_cPtr",_cPtr);
|
||||
} else if (! this_ptr) {
|
||||
/* ALTERNATIVE Constructor, make an object wrapper */
|
||||
zval *obj, *_cPtr;
|
||||
MAKE_STD_ZVAL(obj);
|
||||
MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
object_init_ex(obj,ptr_ce_swig_LassoXXX);
|
||||
add_property_zval(obj,"_cPtr",_cPtr);
|
||||
*return_value=*obj;
|
||||
}
|
||||
with:
|
||||
if (!result) {
|
||||
ZVAL_NULL(return_value);
|
||||
} else {
|
||||
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_LassoXXX, (void **) &result);
|
||||
SWIG_SetPointerZval(return_value, (void *)result, ty, 1);
|
||||
/* Wrap this return value */
|
||||
if (this_ptr) {
|
||||
/* NATIVE Constructor, use this_ptr */
|
||||
zval *_cPtr; MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
add_property_zval(this_ptr,"_cPtr",_cPtr);
|
||||
} else if (! this_ptr) {
|
||||
/* ALTERNATIVE Constructor, make an object wrapper */
|
||||
zval *obj, *_cPtr;
|
||||
MAKE_STD_ZVAL(obj);
|
||||
MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
object_init_ex(obj,get_node_info_with_swig(ty)->php);
|
||||
add_property_zval(obj,"_cPtr",_cPtr);
|
||||
*return_value=*obj;
|
||||
}}
|
||||
and
|
||||
if (!result) {
|
||||
ZVAL_NULL(return_value);
|
||||
} else {
|
||||
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_LassoXXX, (void **) &result);
|
||||
SWIG_SetPointerZval(return_value, (void *)result, ty, 0);
|
||||
}
|
||||
|
||||
/* Wrap this return value */
|
||||
{
|
||||
/* ALTERNATIVE Constructor, make an object wrapper */
|
||||
zval *obj, *_cPtr;
|
||||
MAKE_STD_ZVAL(obj);
|
||||
MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
object_init_ex(obj,ptr_ce_swig_LassoXXX);
|
||||
add_property_zval(obj,"_cPtr",_cPtr);
|
||||
*return_value=*obj;
|
||||
}
|
||||
with:
|
||||
if (!result) {
|
||||
ZVAL_NULL(return_value);
|
||||
} else {
|
||||
swig_type_info *ty = SWIG_TypeDynamicCast(SWIGTYPE_p_LassoXXX, (void **) &result);
|
||||
SWIG_SetPointerZval(return_value, (void *)result, ty, 0);
|
||||
/* Wrap this return value */
|
||||
{
|
||||
/* ALTERNATIVE Constructor, make an object wrapper */
|
||||
zval *obj, *_cPtr;
|
||||
MAKE_STD_ZVAL(obj);
|
||||
MAKE_STD_ZVAL(_cPtr);
|
||||
*_cPtr = *return_value;
|
||||
INIT_ZVAL(*return_value);
|
||||
object_init_ex(obj,get_node_info_with_swig(ty)->php);
|
||||
add_property_zval(obj,"_cPtr",_cPtr);
|
||||
*return_value=*obj;
|
||||
}}
|
||||
|
||||
In old SWIG versions, this program corrects (3), by replacing things like:
|
||||
if(zend_get_parameters_array_ex(arg_count-argbase,args)!=SUCCESS)
|
||||
with:
|
||||
if(zend_get_parameters_array_ex(arg_count,args)!=SUCCESS)
|
||||
and by replacing:
|
||||
if(arg_count > 1) {
|
||||
with:
|
||||
if(arg_count > 1 - argbase) {
|
||||
|
||||
In newer SWIG versions, this program corrects (3), by replacing code like:
|
||||
if(arg_count<2 || arg_count>4)
|
||||
with:
|
||||
if(arg_count<1 || arg_count>3)
|
||||
whenever the function uses a this_ptr.
|
||||
"""
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
||||
wrap = sys.stdin.read()
|
||||
swig_version = sys.argv[1]
|
||||
major, minor, release = re.match('(.*)\.(.*)\.(.*)', swig_version).groups()
|
||||
major = int(major)
|
||||
minor = int(minor)
|
||||
release = int(release)
|
||||
if major < 1 or (major == 1 and (minor < 3 or (minor == 3 and release < 32))):
|
||||
# (1)
|
||||
begin = """
|
||||
}
|
||||
|
||||
/* Wrap this return value */
|
||||
"""
|
||||
end = """
|
||||
*return_value=*obj;
|
||||
}
|
||||
"""
|
||||
i = wrap.find(begin)
|
||||
while i >= 0:
|
||||
j = wrap.find(end, i) + len(end)
|
||||
segment = wrap[i:j]
|
||||
segment = segment.replace(begin, """
|
||||
/* Wrap this return value */
|
||||
""")
|
||||
segment = segment.replace(end, """
|
||||
*return_value=*obj;
|
||||
}}
|
||||
""")
|
||||
wrap = '%s%s%s' % (wrap[:i], segment, wrap[j:])
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
|
||||
# (2)
|
||||
begin = 'swig_type_info *ty = SWIG_TypeDynamicCast('
|
||||
end = """
|
||||
*return_value=*obj;
|
||||
}}
|
||||
"""
|
||||
i = wrap.find(begin)
|
||||
while i >= 0:
|
||||
j = wrap.find(end, i) + len(end)
|
||||
#print >> sys.stderr, "END:", j, len(end)
|
||||
if j < len(end): # bails out if not found
|
||||
break
|
||||
segment = wrap[i:j]
|
||||
x = segment.find('object_init_ex(obj,') + len('object_init_ex(obj,')
|
||||
y = segment.find(')', x)
|
||||
segment = '%s%s%s' % (segment[:x], 'get_node_info_with_swig(ty)->php', segment[y:])
|
||||
wrap = '%s%s%s' % (wrap[:i], segment, wrap[j:])
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
|
||||
# (3)
|
||||
wrap = wrap.replace('if(zend_get_parameters_array_ex(arg_count-argbase,args)!=SUCCESS)',
|
||||
'if(zend_get_parameters_array_ex(arg_count,args)!=SUCCESS)')
|
||||
|
||||
|
||||
function_pattern = re.compile('ZEND_NAMED_FUNCTION(.*?)\n}', re.DOTALL)
|
||||
argcount_less_pattern = re.compile('if\(arg_count<(\d) \|\| arg_count>(\d)')
|
||||
argcount_more_pattern = re.compile('if\(arg_count > (\d)\)')
|
||||
|
||||
|
||||
def rep2(match):
|
||||
arg1 = int(match.group(1)) - 1
|
||||
arg2 = int(match.group(2)) - 1
|
||||
return 'if(arg_count<%s || arg_count>%s' % (arg1, arg2)
|
||||
|
||||
def rep3(match):
|
||||
arg1 = int(match.group(1)) - 1
|
||||
return 'if(arg_count > %s)' % arg1
|
||||
|
||||
def rep(match):
|
||||
m = match.group(0)
|
||||
if not 'This function uses a this_ptr' in m:
|
||||
return m
|
||||
if not 'arg_count<' in m:
|
||||
return m
|
||||
lines = match.group(0).splitlines()
|
||||
s = []
|
||||
for l in lines:
|
||||
if l.startswith('if(arg_count<'):
|
||||
l = argcount_less_pattern.sub(rep2, l)
|
||||
elif l.startswith(' if(arg_count >'):
|
||||
l = argcount_more_pattern.sub(rep3, l)
|
||||
s.append(l)
|
||||
|
||||
return ''.join(s)
|
||||
|
||||
wrap = function_pattern.sub(rep, wrap)
|
||||
|
||||
wrap = re.sub(r'zend_register_internal_class_ex(.*)NULL,NULL\)',
|
||||
r'zend_register_internal_class_ex\1NULL,NULL TSRMLS_CC)', wrap)
|
||||
|
||||
wrap = re.sub('zend_rsrc_list_get_rsrc_type(.*)lval *\)',
|
||||
r'zend_rsrc_list_get_rsrc_type\1lval TSRMLS_CC)', wrap)
|
||||
else:
|
||||
# Bis for swig 1.3.33
|
||||
# (1)
|
||||
begin = """
|
||||
}
|
||||
|
||||
{
|
||||
/* Wrap this return value */
|
||||
"""
|
||||
end = """
|
||||
}
|
||||
"""
|
||||
i = wrap.find(begin)
|
||||
while i >= 0:
|
||||
j = wrap.find(end, i+len(begin)) + len(end)
|
||||
segment = wrap[i:j]
|
||||
segment = segment.replace(begin, """
|
||||
/* Wrap this return value */
|
||||
""")
|
||||
segment = segment.replace(end, """
|
||||
}
|
||||
""")
|
||||
wrap = '%s%s%s' % (wrap[:i], segment, wrap[j:])
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
# (2)
|
||||
begin = 'swig_type_info *ty = SWIG_TypeDynamicCast('
|
||||
end = """
|
||||
}
|
||||
"""
|
||||
i = wrap.find(begin)
|
||||
while i >= 0:
|
||||
j = wrap.find(end, i+len(begin)) + len(end)
|
||||
if j < len(end): # bails out if not found
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
break
|
||||
segment = wrap[i:j]
|
||||
if not 'object_init_ex' in segment:
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
continue
|
||||
x = segment.find('object_init_ex(return_value,') + len('object_init_ex(return_value,')
|
||||
y = segment.find(')', x)
|
||||
segment = '%s%s%s' % (segment[:x], 'get_node_info_with_swig(ty)->php', segment[y:])
|
||||
wrap = '%s%s%s' % (wrap[:i], segment, wrap[j:])
|
||||
i = wrap.find(begin, i + len(segment))
|
||||
|
||||
print wrap
|
|
@ -1,3 +0,0 @@
|
|||
Makefile
|
||||
Makefile.in
|
||||
|
|
@ -1,309 +0,0 @@
|
|||
#! /usr/bin/env php
|
||||
<?php
|
||||
# $Id$
|
||||
#
|
||||
# PHP 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, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
$ret = @dl('lasso.' . PHP_SHLIB_SUFFIX);
|
||||
if ($ret == FALSE) {
|
||||
print "lasso not found\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
function test01()
|
||||
{
|
||||
print "Create and delete nodes.";
|
||||
|
||||
$authnRequest = new LassoLibAuthnRequest();
|
||||
$authnRequest = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
function test02()
|
||||
{
|
||||
print "Get & set simple attributes of nodes.";
|
||||
|
||||
$authnRequest = new LassoLibAuthnRequest();
|
||||
|
||||
# Test a string attribute.
|
||||
assert($authnRequest->consent == NULL);
|
||||
$authnRequest->consent = LassoLibConsentObtained;
|
||||
assert($authnRequest->consent == LassoLibConsentObtained);
|
||||
$authnRequest->consent = NULL;
|
||||
assert($authnRequest->consent == NULL);
|
||||
|
||||
# Test a renamed string attribute. But renaming doesn't work with current SWIG PHP binding.
|
||||
assert($authnRequest->RelayState == NULL);
|
||||
$authnRequest->RelayState = 'Hello World!';
|
||||
assert($authnRequest->RelayState == 'Hello World!');
|
||||
$authnRequest->RelayState = NULL;
|
||||
assert($authnRequest->RelayState == NULL);
|
||||
|
||||
# Test an integer attribute.
|
||||
assert($authnRequest->majorVersion == 0);
|
||||
$authnRequest->majorVersion = 314;
|
||||
assert($authnRequest->majorVersion == 314);
|
||||
|
||||
$authnRequest = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
function test03()
|
||||
{
|
||||
print "Get & set attributes of nodes of type string list.";
|
||||
|
||||
$authnRequest = new LassoLibAuthnRequest();
|
||||
|
||||
assert($authnRequest->respondWith == NULL);
|
||||
|
||||
$respondWith = new LassoStringList();
|
||||
assert($respondWith->length() == 0);
|
||||
$respondWith->append('first string');
|
||||
assert($respondWith->length() == 1);
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
$respondWith->append('second string');
|
||||
assert($respondWith->length() == 2);
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
assert($respondWith->getItem(1) == 'second string');
|
||||
$respondWith->append('third string');
|
||||
assert($respondWith->length() == 3);
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
assert($respondWith->getItem(1) == 'second string');
|
||||
assert($respondWith->getItem(2) == 'third string');
|
||||
$authnRequest->RespondWith = $respondWith;
|
||||
# $authnRequest->RespondWith->getItem(0) doesnt work. It raises:
|
||||
# Fatal error: Class 'lassolibauthnrequest' does not support overloaded method calls
|
||||
$authnRequestRespondWith = $authnRequest->RespondWith;
|
||||
assert($authnRequestRespondWith->getItem(0) == 'first string');
|
||||
assert($authnRequestRespondWith->getItem(1) == 'second string');
|
||||
assert($authnRequestRespondWith->getItem(2) == 'third string');
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
assert($respondWith->getItem(1) == 'second string');
|
||||
assert($respondWith->getItem(2) == 'third string');
|
||||
$respondWith = NULL;
|
||||
assert($authnRequestRespondWith->getItem(0) == 'first string');
|
||||
assert($authnRequestRespondWith->getItem(1) == 'second string');
|
||||
assert($authnRequestRespondWith->getItem(2) == 'third string');
|
||||
$respondWith = $authnRequest->RespondWith;
|
||||
assert($respondWith->getItem(0) == 'first string');
|
||||
assert($respondWith->getItem(1) == 'second string');
|
||||
assert($respondWith->getItem(2) == 'third string');
|
||||
$respondWith = NULL;
|
||||
assert($authnRequestRespondWith->getItem(0) == 'first string');
|
||||
assert($authnRequestRespondWith->getItem(1) == 'second string');
|
||||
assert($authnRequestRespondWith->getItem(2) == 'third string');
|
||||
$authnRequestRespondWith = NULL;
|
||||
$authnRequest->RespondWith = NULL;
|
||||
print_r($authnRequest->RespondWith);
|
||||
assert($authnRequest->RespondWith == NULL);
|
||||
|
||||
$authnRequest = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
function test04()
|
||||
{
|
||||
print "Get & set attributes of nodes of type node list.";
|
||||
|
||||
$response = new LassoSamlpResponse();
|
||||
|
||||
assert($response->assertion == NULL);
|
||||
|
||||
$assertions = new LassoNodeList();
|
||||
assert($assertions->length() == 0);
|
||||
$assertion1 = new LassoSamlAssertion();
|
||||
$assertion1->AssertionID = 'assertion 1';
|
||||
$assertions->append($assertion1);
|
||||
assert($assertions->length() == 1);
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertion2 = new LassoSamlAssertion();
|
||||
$assertion2->AssertionID = 'assertion 2';
|
||||
$assertions->append($assertion2);
|
||||
assert($assertions->length() == 2);
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertionsItem1 = $assertions->getItem(1);
|
||||
assert($assertionsItem1->AssertionID == 'assertion 2');
|
||||
$assertion3 = new LassoSamlAssertion();
|
||||
$assertion3->AssertionID = 'assertion 3';
|
||||
$assertions->append($assertion3);
|
||||
assert($assertions->length() == 3);
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertionsItem1 = $assertions->getItem(1);
|
||||
assert($assertionsItem1->AssertionID == 'assertion 2');
|
||||
$assertionsItem2 = $assertions->getItem(2);
|
||||
assert($assertionsItem2->AssertionID == 'assertion 3');
|
||||
$response->assertion = $assertions;
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem0 = $responseAssertion->getItem(0);
|
||||
assert($responseAssertionItem0->AssertionID == 'assertion 1');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem1 = $responseAssertion->getItem(1);
|
||||
assert($responseAssertionItem1->AssertionID == 'assertion 2');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem2 = $responseAssertion->getItem(2);
|
||||
assert($responseAssertionItem2->AssertionID == 'assertion 3');
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertionsItem1 = $assertions->getItem(1);
|
||||
assert($assertionsItem1->AssertionID == 'assertion 2');
|
||||
$assertionsItem2 = $assertions->getItem(2);
|
||||
assert($assertionsItem2->AssertionID == 'assertion 3');
|
||||
$assertions = NULL;
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem0 = $responseAssertion->getItem(0);
|
||||
assert($responseAssertionItem0->AssertionID == 'assertion 1');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem1 = $responseAssertion->getItem(1);
|
||||
assert($responseAssertionItem1->AssertionID == 'assertion 2');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem2 = $responseAssertion->getItem(2);
|
||||
assert($responseAssertionItem2->AssertionID == 'assertion 3');
|
||||
$assertions = $response->assertion;
|
||||
$assertionsItem0 = $assertions->getItem(0);
|
||||
assert($assertionsItem0->AssertionID == 'assertion 1');
|
||||
$assertionsItem1 = $assertions->getItem(1);
|
||||
assert($assertionsItem1->AssertionID == 'assertion 2');
|
||||
$assertionsItem2 = $assertions->getItem(2);
|
||||
assert($assertionsItem2->AssertionID == 'assertion 3');
|
||||
$assertions = NULL;
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem0 = $responseAssertion->getItem(0);
|
||||
assert($responseAssertionItem0->AssertionID == 'assertion 1');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem1 = $responseAssertion->getItem(1);
|
||||
assert($responseAssertionItem1->AssertionID == 'assertion 2');
|
||||
$responseAssertion = $response->assertion;
|
||||
$responseAssertionItem2 = $responseAssertion->getItem(2);
|
||||
assert($responseAssertionItem2->AssertionID == 'assertion 3');
|
||||
$response->assertion = NULL;
|
||||
assert($response->assertion == NULL);
|
||||
|
||||
$response = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
function test05()
|
||||
{
|
||||
print "Get & set attributes of nodes of type XML list.";
|
||||
|
||||
$authnRequest = new LassoLibAuthnRequest();
|
||||
|
||||
assert($authnRequest->extension == NULL);
|
||||
|
||||
$actionString1 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 1</action>
|
||||
</lib:Extension>';
|
||||
$actionString2 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 2</action>
|
||||
</lib:Extension>';
|
||||
$actionString3 = '<lib:Extension xmlns:lib="urn:liberty:iff:2003-08">
|
||||
<action>do 3</action>
|
||||
</lib:Extension>';
|
||||
$extension = new LassoStringList();
|
||||
assert($extension->length() == 0);
|
||||
$extension->append($actionString1);
|
||||
assert($extension->length() == 1);
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
$extension->append($actionString2);
|
||||
assert($extension->length() == 2);
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
assert($extension->getItem(1) == $actionString2);
|
||||
$extension->append($actionString3);
|
||||
assert($extension->length() == 3);
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
assert($extension->getItem(1) == $actionString2);
|
||||
assert($extension->getItem(2) == $actionString3);
|
||||
$authnRequest->extension = $extension;
|
||||
# $authnRequest->extension->getItem(0) doesnt work. It raises:
|
||||
# Fatal error: Class 'lassolibauthnrequest' does not support overloaded method calls
|
||||
$authnRequestExtension = $authnRequest->extension;
|
||||
assert($authnRequestExtension->getItem(0) == $actionString1);
|
||||
assert($authnRequestExtension->getItem(1) == $actionString2);
|
||||
assert($authnRequestExtension->getItem(2) == $actionString3);
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
assert($extension->getItem(1) == $actionString2);
|
||||
assert($extension->getItem(2) == $actionString3);
|
||||
$extension = NULL;
|
||||
assert($authnRequestExtension->getItem(0) == $actionString1);
|
||||
assert($authnRequestExtension->getItem(1) == $actionString2);
|
||||
assert($authnRequestExtension->getItem(2) == $actionString3);
|
||||
$extension = $authnRequest->extension;
|
||||
assert($extension->getItem(0) == $actionString1);
|
||||
assert($extension->getItem(1) == $actionString2);
|
||||
assert($extension->getItem(2) == $actionString3);
|
||||
$extension = NULL;
|
||||
assert($authnRequestExtension->getItem(0) == $actionString1);
|
||||
assert($authnRequestExtension->getItem(1) == $actionString2);
|
||||
assert($authnRequestExtension->getItem(2) == $actionString3);
|
||||
$authnRequestExtension = NULL;
|
||||
$authnRequest->extension = NULL;
|
||||
print_r($authnRequest->Extension);
|
||||
assert($authnRequest->extension == NULL);
|
||||
|
||||
$authnRequest = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
function test06()
|
||||
{
|
||||
print "Get & set attributes of nodes of type node.";
|
||||
|
||||
$login = new LassoLogin(new LassoServer());
|
||||
|
||||
assert($login->request == NULL);
|
||||
$login->request = new LassoLibAuthnRequest();
|
||||
$loginRequest = $login->request;
|
||||
$loginRequest->consent = LassoLibConsentObtained;
|
||||
assert($loginRequest->consent == LassoLibConsentObtained);
|
||||
$loginRequest = $login->request;
|
||||
assert($loginRequest->consent == LassoLibConsentObtained);
|
||||
$login->request = NULL;
|
||||
assert($login->request == NULL);
|
||||
|
||||
$login = NULL;
|
||||
|
||||
print ".. OK\n";
|
||||
}
|
||||
|
||||
lasso_init();
|
||||
test01();
|
||||
test02();
|
||||
test03();
|
||||
test04();
|
||||
test05();
|
||||
test06();
|
||||
lasso_shutdown();
|
||||
|
||||
?>
|
|
@ -1,94 +0,0 @@
|
|||
#! /usr/bin/env php
|
||||
<?php
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# PHP performance 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, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
$ret = @dl('lasso.' . PHP_SHLIB_SUFFIX);
|
||||
if ($ret == FALSE) {
|
||||
print "lasso not found\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
function create_authnresponse($query)
|
||||
{
|
||||
|
||||
$server = new LassoServer(
|
||||
"../../tests/data/idp1-la/metadata.xml",
|
||||
"../../tests/data/idp1-la/private-key-raw.pem",
|
||||
NULL,
|
||||
"../../tests/data/idp1-la/certificate.pem");
|
||||
|
||||
$server->addProvider(LASSO_PROVIDER_ROLE_SP,
|
||||
"../../tests/data/sp1-la/metadata.xml",
|
||||
"../../tests/data/sp1-la/public-key.pem",
|
||||
"../../tests/data/ca1-la/certificate.pem");
|
||||
|
||||
$login = new LassoLogin($server);
|
||||
|
||||
$login->processAuthnRequestMsg(substr(strstr($query, "?"),1));
|
||||
$login->validateRequestMsg(1, 1);
|
||||
$login->buildAssertion(LASSO_SAML_AUTHENTICATION_METHOD_PASSWORD,
|
||||
"later", "reauthnonorafter", "notbefore", "notonorafter");
|
||||
$login->buildAuthnResponseMsg();
|
||||
|
||||
return $login->msgBody;
|
||||
}
|
||||
|
||||
lasso_init();
|
||||
|
||||
$server = new LassoServer(
|
||||
"../../tests/data/sp1-la/metadata.xml",
|
||||
"../../tests/data/sp1-la/private-key-raw.pem",
|
||||
NULL,
|
||||
"../../tests/data/sp1-la/certificate.pem");
|
||||
|
||||
$server->addProvider(LASSO_PROVIDER_ROLE_IDP,
|
||||
"../../tests/data/idp1-la/metadata.xml",
|
||||
"../../tests/data/idp1-la/public-key.pem",
|
||||
"../../tests/data/ca1-la/certificate.pem");
|
||||
|
||||
$login = new LassoLogin($server);
|
||||
|
||||
printf("Generating 50 AuthnRequest...\n");
|
||||
for ($i=0; $i < 50; $i++) {
|
||||
$login->initAuthnRequest("https://idp1/metadata", LASSO_HTTP_METHOD_REDIRECT);
|
||||
|
||||
$request = $login->request;
|
||||
$request->ForceAuthn = true;
|
||||
$request->IsPassive = false;
|
||||
$request->NameIDPolicy = LASSO_LIB_NAMEID_POLICY_TYPE_FEDERATED;
|
||||
$request->ProtocolProfile = LASSO_LIB_PROTOCOL_PROFILE_BRWS_POST;
|
||||
$login->buildAuthnRequestMsg();
|
||||
}
|
||||
|
||||
$query = $login->msgUrl;
|
||||
$authn_response_msg = create_authnresponse($query);
|
||||
|
||||
printf("Processing 50 AuthnResponse...\n");
|
||||
for ($i=0; $i < 50; $i++) {
|
||||
$login->processAuthnResponseMsg($authn_response_msg);
|
||||
$login->acceptSso();
|
||||
}
|
||||
|
||||
?>
|
|
@ -1,3 +0,0 @@
|
|||
Makefile
|
||||
Makefile.in
|
||||
wsf-support.i
|
|
@ -1,473 +0,0 @@
|
|||
%{
|
||||
#include <lasso/saml-2.0/profile.h>
|
||||
%}
|
||||
|
||||
#define LASSO_SAML2_SUPPORT 1
|
||||
|
||||
/* Utility functions */
|
||||
|
||||
#ifdef SWIG_PHP_RENAMES
|
||||
%rename(lasso_isSamlQuery) lasso_profile_is_saml_query;
|
||||
#else
|
||||
%rename(isSamlQuery) lasso_profile_is_saml_query;
|
||||
#endif
|
||||
gboolean lasso_profile_is_saml_query(char *query);
|
||||
|
||||
|
||||
/* NameIdPolicy */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_UNSPECIFIED) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_UNSPECIFIED;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_EMAIL) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_EMAIL;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_X509) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_X509;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_WINDOWS) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_WINDOWS;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_KERBEROS) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_KERBEROS;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_ENTITY) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_ENTITY;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_TRANSIENT) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_TRANSIENT;
|
||||
%rename(SAML2_NAME_IDENTIFIER_FORMAT_ENCRYPTED) LASSO_SAML2_NAME_IDENTIFIER_FORMAT_ENCRYPTED;
|
||||
#endif
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_UNSPECIFIED \
|
||||
"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_EMAIL \
|
||||
"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_X509 \
|
||||
"urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_WINDOWS \
|
||||
"urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_KERBEROS \
|
||||
"urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_ENTITY \
|
||||
"urn:oasis:names:tc:SAML:2.0:nameid-format:entity"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_PERSISTENT \
|
||||
"urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_TRANSIENT \
|
||||
"urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
|
||||
#define LASSO_SAML2_NAME_IDENTIFIER_FORMAT_ENCRYPTED \
|
||||
"urn:oasis:names:tc:SAML:2.0:nameid-format:encrypted"
|
||||
|
||||
/* Attribute Name */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SAML2_ATTRIBUTE_NAME_EPR) LASSO_SAML2_ATTRIBUTE_NAME_EPR;
|
||||
#endif
|
||||
#define LASSO_SAML2_ATTRIBUTE_NAME_EPR "urn:liberty:disco:2006-08:DiscoveryEPR"
|
||||
|
||||
/* Attribute Name Format */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SAML2_ATTRIBUTE_NAME_FORMAT_URI) LASSO_SAML2_ATTRIBUTE_NAME_FORMAT_URI;
|
||||
#endif
|
||||
#define LASSO_SAML2_ATTRIBUTE_NAME_FORMAT_URI "urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
|
||||
|
||||
/* Protocol Bindings */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SAML2_METADATA_BINDING_SOAP) LASSO_SAML2_METADATA_BINDING_SOAP;
|
||||
%rename(SAML2_METADATA_BINDING_REDIRECT) LASSO_SAML2_METADATA_BINDING_REDIRECT;
|
||||
%rename(SAML2_METADATA_BINDING_POST) LASSO_SAML2_METADATA_BINDING_POST;
|
||||
%rename(SAML2_METADATA_BINDING_ARTIFACT) LASSO_SAML2_METADATA_BINDING_ARTIFACT;
|
||||
%rename(SAML2_METADATA_BINDING_PAOS) LASSO_SAML2_METADATA_BINDING_PAOS;
|
||||
#endif
|
||||
#define LASSO_SAML2_METADATA_BINDING_SOAP "urn:oasis:names:tc:SAML:2.0:bindings:SOAP"
|
||||
#define LASSO_SAML2_METADATA_BINDING_REDIRECT "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
|
||||
#define LASSO_SAML2_METADATA_BINDING_POST "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
|
||||
#define LASSO_SAML2_METADATA_BINDING_ARTIFACT "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact"
|
||||
#define LASSO_SAML2_METADATA_BINDING_PAOS "urn:oasis:names:tc:SAML:2.0:bindings:PAOS"
|
||||
|
||||
|
||||
/* AuthnClassRef */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SAML2_AUTHN_CONTEXT_AUTHENTICATED_TELEPHONY) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_AUTHENTICATED_TELEPHONY;
|
||||
%rename(SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL;
|
||||
%rename(SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL_PASSWORD) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL_PASSWORD;
|
||||
%rename(SAML2_AUTHN_CONTEXT_KERBEROS) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_KERBEROS;
|
||||
%rename(SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_CONTRACT) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_CONTRACT;
|
||||
%rename(SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_UNREGISTERED) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_UNREGISTERED;
|
||||
%rename(SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_CONTRACT) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_CONTRACT;
|
||||
%rename(SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_UNREGISTERED) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_UNREGISTERED;
|
||||
%rename(SAML2_AUTHN_CONTEXT_NOMAD_TELEPHONY) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_NOMAD_TELEPHONY;
|
||||
%rename(SAML2_AUTHN_CONTEXT_PERSONALIZED_TELEPHONY) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_PERSONALIZED_TELEPHONY;
|
||||
%rename(SAML2_AUTHN_CONTEXT_PGP) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_PGP;
|
||||
%rename(SAML2_AUTHN_CONTEXT_PASSWORD_PROTECTED_TRANSPORT) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_PASSWORD_PROTECTED_TRANSPORT;
|
||||
%rename(SAML2_AUTHN_CONTEXT_PASSWORD) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_PASSWORD;
|
||||
%rename(SAML2_AUTHN_CONTEXT_PREVIOUS_SESSION) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_PREVIOUS_SESSION;
|
||||
%rename(SAML2_AUTHN_CONTEXT_SMARTCARD) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_SMARTCARD;
|
||||
%rename(SAML2_AUTHN_CONTEXT_SMARTCARD_PKI) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_SMARTCARD_PKI;
|
||||
%rename(SAML2_AUTHN_CONTEXT_SOFTWARE_PKI) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_SOFTWARE_PKI;
|
||||
%rename(SAML2_AUTHN_CONTEXT_SPKI) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_SPKI;
|
||||
%rename(SAML2_AUTHN_CONTEXT_SECURE_REMOTE_PASSWORD) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_SECURE_REMOTE_PASSWORD;
|
||||
%rename(SAML2_AUTHN_CONTEXT_TLS_CLIENT) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_TLS_CLIENT;
|
||||
%rename(SAML2_AUTHN_CONTEXT_X509) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_X509;
|
||||
%rename(SAML2_AUTHN_CONTEXT_TELEPHONY) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_TELEPHONY;
|
||||
%rename(SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN;
|
||||
%rename(SAML2_AUTHN_CONTEXT_XMLDSIG) \
|
||||
LASSO_SAML2_AUTHN_CONTEXT_XMLDSIG;
|
||||
#endif
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_AUTHENTICATED_TELEPHONY \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:AuthenticatedTelephony"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocol"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_INTERNET_PROTOCOL_PASSWORD \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:InternetProtocolPassword"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_KERBEROS \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:Kerberos"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_CONTRACT \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:MobileOneFactorContract"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_MOBILE_ONE_FACTOR_UNREGISTERED \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:MobileOneFactorUnregistered"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_CONTRACT \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:MobileTwoFactorContract"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_MOBILE_TWO_FACTOR_UNREGISTERED \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:MobileTwoFactorUnregistered"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_NOMAD_TELEPHONY \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:NomadTelephony"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_PERSONALIZED_TELEPHONY \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:PersonalizedTelephony"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_PGP \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:PGP"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_PASSWORD_PROTECTED_TRANSPORT \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_PASSWORD \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:Password"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_PREVIOUS_SESSION \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:PreviousSession"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_SMARTCARD \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:Smartcard"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_SMARTCARD_PKI \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:SmartcardPKI"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_SOFTWARE_PKI \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:SoftwarePKI"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_SPKI \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:SPKI"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_SECURE_REMOTE_PASSWORD \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:SecureRemotePassword"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_TLS_CLIENT \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_X509 \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:X509"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_TELEPHONY \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:Telephony"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_TIME_SYNC_TOKEN \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:TimeSyncToken"
|
||||
#define LASSO_SAML2_AUTHN_CONTEXT_XMLDSIG \
|
||||
"urn:oasis:names:tc:SAML:2.0:ac:classes:XMLDSig"
|
||||
|
||||
/***********************************************************************
|
||||
* lasso:NameIdManagement
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(NameIdManagement) LassoNameIdManagement;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoNameIdManagement;
|
||||
%extend LassoNameIdManagement {
|
||||
/* Attributes inherited from LassoProfile */
|
||||
%immutable artifact;
|
||||
char *artifact;
|
||||
|
||||
char *artifactMessage;
|
||||
|
||||
%newobject identity_get;
|
||||
LassoIdentity *identity;
|
||||
|
||||
%immutable isIdentityDirty;
|
||||
gboolean isIdentityDirty;
|
||||
|
||||
%immutable isSessionDirty;
|
||||
gboolean isSessionDirty;
|
||||
|
||||
%immutable msgBody;
|
||||
char *msgBody;
|
||||
|
||||
%immutable msgRelayState;
|
||||
char *msgRelayState;
|
||||
|
||||
%immutable msgUrl;
|
||||
char *msgUrl;
|
||||
|
||||
%newobject nameIdentifier_get;
|
||||
LassoNode *nameIdentifier;
|
||||
|
||||
char *remoteProviderId;
|
||||
|
||||
%newobject request_get;
|
||||
LassoNode *request;
|
||||
|
||||
%newobject response_get;
|
||||
LassoNode *response;
|
||||
|
||||
%newobject server_get;
|
||||
LassoServer *server;
|
||||
|
||||
%newobject session_get;
|
||||
LassoSession *session;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoNameIdManagement(LassoServer *server);
|
||||
|
||||
~LassoNameIdManagement();
|
||||
|
||||
%newobject newFromDump;
|
||||
static LassoNameIdManagement *newFromDump(LassoServer *server, char *dump);
|
||||
|
||||
/* Methods inherited from LassoProfile */
|
||||
|
||||
THROW_ERROR()
|
||||
int setIdentityFromDump(char *dump);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int setSessionFromDump(char *dump);
|
||||
END_THROW_ERROR()
|
||||
|
||||
/* Methods */
|
||||
|
||||
THROW_ERROR()
|
||||
int buildRequestMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int buildResponseMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
|
||||
THROW_ERROR()
|
||||
int initRequest(char *remoteProviderId = NULL,
|
||||
char *new_name_id = NULL,
|
||||
LassoHttpMethod httpMethod = LASSO_HTTP_METHOD_ANY);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processRequestMsg(char *requestMsg);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processResponseMsg(char *responseMsg);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int validateRequest();
|
||||
END_THROW_ERROR()
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Implementations of attributes inherited from LassoProfile */
|
||||
|
||||
/* identity */
|
||||
#define LassoNameIdManagement_get_identity(self) lasso_profile_get_identity(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_identity_get(self) lasso_profile_get_identity(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_set_identity(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->identity, (value))
|
||||
#define LassoNameIdManagement_identity_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->identity, (value))
|
||||
|
||||
/* artifact */
|
||||
#define LassoNameIdManagement_get_artifact(self) lasso_profile_get_artifact(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_artifact_get(self) lasso_profile_get_artifact(LASSO_PROFILE(self))
|
||||
|
||||
/* artifactMessage */
|
||||
#define LassoNameIdManagement_get_artifactMessage(self) lasso_profile_get_artifact_message(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_artifactMessage_get(self) lasso_profile_get_artifact_message(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_set_artifactMessage(self, value) lasso_profile_set_artifact_message(LASSO_PROFILE(self), value)
|
||||
#define LassoNameIdManagement_artifactMessage_set(self, value) lasso_profile_set_artifact_message(LASSO_PROFILE(self), value)
|
||||
|
||||
/* isIdentityDirty */
|
||||
#define LassoNameIdManagement_get_isIdentityDirty(self) lasso_profile_is_identity_dirty(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_isIdentityDirty_get(self) lasso_profile_is_identity_dirty(LASSO_PROFILE(self))
|
||||
|
||||
/* isSessionDirty */
|
||||
#define LassoNameIdManagement_get_isSessionDirty(self) lasso_profile_is_session_dirty(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_isSessionDirty_get(self) lasso_profile_is_session_dirty(LASSO_PROFILE(self))
|
||||
|
||||
/* msgBody */
|
||||
#define LassoNameIdManagement_get_msgBody(self) LASSO_PROFILE(self)->msg_body
|
||||
#define LassoNameIdManagement_msgBody_get(self) LASSO_PROFILE(self)->msg_body
|
||||
|
||||
/* msgRelayState */
|
||||
#define LassoNameIdManagement_get_msgRelayState(self) LASSO_PROFILE(self)->msg_relayState
|
||||
#define LassoNameIdManagement_msgRelayState_get(self) LASSO_PROFILE(self)->msg_relayState
|
||||
|
||||
/* msgUrl */
|
||||
#define LassoNameIdManagement_get_msgUrl(self) LASSO_PROFILE(self)->msg_url
|
||||
#define LassoNameIdManagement_msgUrl_get(self) LASSO_PROFILE(self)->msg_url
|
||||
|
||||
/* nameIdentifier */
|
||||
#define LassoNameIdManagement_get_nameIdentifier(self) get_node(LASSO_PROFILE(self)->nameIdentifier)
|
||||
#define LassoNameIdManagement_nameIdentifier_get(self) get_node(LASSO_PROFILE(self)->nameIdentifier)
|
||||
#define LassoNameIdManagement_set_nameIdentifier(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->nameIdentifier, (value))
|
||||
#define LassoNameIdManagement_nameIdentifier_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->nameIdentifier, (value))
|
||||
|
||||
/* remoteProviderId */
|
||||
#define LassoNameIdManagement_get_remoteProviderId(self) LASSO_PROFILE(self)->remote_providerID
|
||||
#define LassoNameIdManagement_remoteProviderId_get(self) LASSO_PROFILE(self)->remote_providerID
|
||||
#define LassoNameIdManagement_set_remoteProviderId(self, value) set_string(&LASSO_PROFILE(self)->remote_providerID, (value))
|
||||
#define LassoNameIdManagement_remoteProviderId_set(self, value) set_string(&LASSO_PROFILE(self)->remote_providerID, (value))
|
||||
|
||||
/* request */
|
||||
#define LassoNameIdManagement_get_request(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoNameIdManagement_request_get(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoNameIdManagement_set_request(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
#define LassoNameIdManagement_request_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
|
||||
/* response */
|
||||
#define LassoNameIdManagement_get_response(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoNameIdManagement_response_get(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoNameIdManagement_set_response(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
#define LassoNameIdManagement_response_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
|
||||
/* server */
|
||||
#define LassoNameIdManagement_get_server(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoNameIdManagement_server_get(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoNameIdManagement_set_server(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
#define LassoNameIdManagement_server_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
|
||||
/* session */
|
||||
#define LassoNameIdManagement_get_session(self) lasso_profile_get_session(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_session_get(self) lasso_profile_get_session(LASSO_PROFILE(self))
|
||||
#define LassoNameIdManagement_set_session(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->session, (value))
|
||||
#define LassoNameIdManagement_session_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->session, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoNameIdManagement lasso_name_id_management_new
|
||||
#define delete_LassoNameIdManagement(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
#define LassoNameIdManagement_newFromDump lasso_name_id_management_new_from_dump
|
||||
|
||||
/* Implementations of methods inherited from LassoProfile */
|
||||
|
||||
#define LassoNameIdManagement_setIdentityFromDump(self, dump) \
|
||||
lasso_profile_set_identity_from_dump(LASSO_PROFILE(self), dump)
|
||||
#define LassoNameIdManagement_setSessionFromDump(self, dump) \
|
||||
lasso_profile_set_session_from_dump(LASSO_PROFILE(self), dump)
|
||||
|
||||
/* Methods implementations */
|
||||
|
||||
#define LassoNameIdManagement_buildRequestMsg lasso_name_id_management_build_request_msg
|
||||
#define LassoNameIdManagement_buildResponseMsg lasso_name_id_management_build_response_msg
|
||||
#define LassoNameIdManagement_dump lasso_name_id_management_dump
|
||||
#define LassoNameIdManagement_getNextProviderId lasso_name_id_management_get_next_providerID
|
||||
#define LassoNameIdManagement_initRequest lasso_name_id_management_init_request
|
||||
#define LassoNameIdManagement_processRequestMsg lasso_name_id_management_process_request_msg
|
||||
#define LassoNameIdManagement_processResponseMsg lasso_name_id_management_process_response_msg
|
||||
#define LassoNameIdManagement_resetProviderIdIndex lasso_name_id_management_reset_providerID_index
|
||||
#define LassoNameIdManagement_validateRequest lasso_name_id_management_validate_request
|
||||
|
||||
%}
|
||||
|
||||
/***********************************************************************
|
||||
* lasso:Ecp
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(Ecp) LassoEcp;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoEcp;
|
||||
%extend LassoEcp {
|
||||
%immutable msgBody;
|
||||
char *msgBody;
|
||||
|
||||
%immutable msgRelayState;
|
||||
char *msgRelayState;
|
||||
|
||||
%immutable msgUrl;
|
||||
char *msgUrl;
|
||||
|
||||
%newobject request_get;
|
||||
LassoNode *request;
|
||||
|
||||
%newobject response_get;
|
||||
LassoNode *response;
|
||||
|
||||
%immutable assertionConsumerURL;
|
||||
char *assertionConsumerURL;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoEcp(LassoServer *server);
|
||||
|
||||
~LassoEcp();
|
||||
|
||||
/* Methods inherited from Profile */
|
||||
|
||||
/* Methods */
|
||||
|
||||
THROW_ERROR()
|
||||
int processAuthnRequestMsg(char *authnRequestMsg);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processResponseMsg(char *responseMsg);
|
||||
END_THROW_ERROR()
|
||||
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Implementations of attributes inherited from Profile */
|
||||
|
||||
/* msgBody */
|
||||
#define LassoEcp_get_msgBody(self) LASSO_PROFILE(self)->msg_body
|
||||
#define LassoEcp_msgBody_get(self) LASSO_PROFILE(self)->msg_body
|
||||
|
||||
/* msgRelayState */
|
||||
#define LassoEcp_get_msgRelayState(self) LASSO_PROFILE(self)->msg_relayState
|
||||
#define LassoEcp_msgRelayState_get(self) LASSO_PROFILE(self)->msg_relayState
|
||||
|
||||
/* msgUrl */
|
||||
#define LassoEcp_get_msgUrl(self) LASSO_PROFILE(self)->msg_url
|
||||
#define LassoEcp_msgUrl_get(self) LASSO_PROFILE(self)->msg_url
|
||||
|
||||
/* request */
|
||||
#define LassoEcp_get_request(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoEcp_request_get(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoEcp_set_request(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
#define LassoEcp_request_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
|
||||
/* response */
|
||||
#define LassoEcp_get_response(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoEcp_response_get(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoEcp_set_response(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
#define LassoEcp_response_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
|
||||
/* assertionConsumerURL */
|
||||
#define LassoEcp_get_assertionConsumerURL(self) self->assertionConsumerURL
|
||||
#define LassoEcp_assertionConsumerURL_get(self) self->assertionConsumerURL
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoEcp lasso_ecp_new
|
||||
#define delete_LassoEcp(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from Profile */
|
||||
|
||||
/* Methods implementations */
|
||||
#define LassoEcp_processAuthnRequestMsg lasso_ecp_process_authn_request_msg
|
||||
#define LassoEcp_processResponseMsg lasso_ecp_process_response_msg
|
||||
|
||||
%}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,670 +0,0 @@
|
|||
/* -*- Mode: c; c-basic-offset: 8 -*-
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* SWIG bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
%{
|
||||
#include <lasso/xml/dst_new_data.h>
|
||||
#include <lasso/xml/dst_modify.h>
|
||||
#include <lasso/xml/dst_modify_response.h>
|
||||
#include <lasso/xml/dst_query.h>
|
||||
#include <lasso/xml/dst_query_response.h>
|
||||
%}
|
||||
|
||||
/* WSF status code */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DST_STATUS_CODE_ACTION_NOT_AUTHORIZED) LASSO_DST_STATUS_CODE_ACTION_NOT_AUTHORIZED;
|
||||
%rename(DST_STATUS_CODE_ACTION_NOT_SUPPORTED) LASSO_DST_STATUS_CODE_ACTION_NOT_SUPPORTED;
|
||||
%rename(DST_STATUS_CODE_ALL_RETURNED) LASSO_DST_STATUS_CODE_ALL_RETURNED;
|
||||
%rename(DST_STATUS_CODE_CHANGE_HISTORY_NOT_SUPPORTED) LASSO_DST_STATUS_CODE_CHANGE_HISTORY_NOT_SUPPORTED;
|
||||
%rename(DST_STATUS_CODE_CHANGED_SINCE_RETURNS_ALL) LASSO_DST_STATUS_CODE_CHANGED_SINCE_RETURNS_ALL;
|
||||
%rename(DST_STATUS_CODE_DATA_TOO_LONG) LASSO_DST_STATUS_CODE_DATA_TOO_LONG;
|
||||
%rename(DST_STATUS_CODE_EXISTS_ALREADY) LASSO_DST_STATUS_CODE_EXISTS_ALREADY;
|
||||
%rename(DST_STATUS_CODE_EXTENSION_NOT_SUPPORTED) LASSO_DST_STATUS_CODE_EXTENSION_NOT_SUPPORTED;
|
||||
%rename(DST_STATUS_CODE_FAILED) LASSO_DST_STATUS_CODE_FAILED;
|
||||
%rename(DST_STATUS_CODE_INVALID_DATA) LASSO_DST_STATUS_CODE_INVALID_DATA;
|
||||
%rename(DST_STATUS_CODE_INVALID_RESOURCE_ID) LASSO_DST_STATUS_CODE_INVALID_RESOURCE_ID;
|
||||
%rename(DST_STATUS_CODE_INVALID_SELECT) LASSO_DST_STATUS_CODE_INVALID_SELECT;
|
||||
%rename(DST_STATUS_CODE_MISSING_NEW_DATA_ELEMENT) LASSO_DST_STATUS_CODE_MISSING_NEW_DATA_ELEMENT;
|
||||
%rename(DST_STATUS_CODE_MISSING_RESOURCE_ID_ELEMENT) LASSO_DST_STATUS_CODE_MISSING_RESOURCE_ID_ELEMENT;
|
||||
%rename(DST_STATUS_CODE_MISSING_SELECT) LASSO_DST_STATUS_CODE_MISSING_SELECT;
|
||||
%rename(DST_STATUS_CODE_MODIFIED_SINCE) LASSO_DST_STATUS_CODE_MODIFIED_SINCE;
|
||||
%rename(DST_STATUS_CODE_NO_MORE_ELEMENTS) LASSO_DST_STATUS_CODE_NO_MORE_ELEMENTS;
|
||||
%rename(DST_STATUS_CODE_NO_MULTIPLE_ALLOWED) LASSO_DST_STATUS_CODE_NO_MULTIPLE_ALLOWED;
|
||||
%rename(DST_STATUS_CODE_NO_MULTIPLE_RESOURCES) LASSO_DST_STATUS_CODE_NO_MULTIPLE_RESOURCES;
|
||||
%rename(DST_STATUS_CODE_OK) LASSO_DST_STATUS_CODE_OK;
|
||||
%rename(DST_STATUS_CODE_TIME_OUT) LASSO_DST_STATUS_CODE_TIME_OUT;
|
||||
%rename(DST_STATUS_CODE_UNEXPECTED_ERROR) LASSO_DST_STATUS_CODE_UNEXPECTED_ERROR;
|
||||
#endif
|
||||
#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_FAILED "Failed"
|
||||
#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_OK "OK"
|
||||
#define LASSO_DST_STATUS_CODE_TIME_OUT "TimeOut"
|
||||
#define LASSO_DST_STATUS_CODE_UNEXPECTED_ERROR "UnexpectedError"
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in Data Services Template Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:Data
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstData) LassoDstData;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemIdRef) itemIDRef;
|
||||
#endif
|
||||
char *itemIDRef;
|
||||
} LassoDstData;
|
||||
%extend LassoDstData {
|
||||
/* Attributes */
|
||||
|
||||
%newobject any_get;
|
||||
LassoStringList *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstData();
|
||||
|
||||
~LassoDstData();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* any */
|
||||
#define LassoDstData_get_any(self) get_xml_list((self)->any)
|
||||
#define LassoDstData_any_get(self) get_xml_list((self)->any)
|
||||
#define LassoDstData_set_any(self, value) set_xml_list(&(self)->any, (value))
|
||||
#define LassoDstData_any_set(self, value) set_xml_list(&(self)->any, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstData lasso_dst_data_new
|
||||
#define delete_LassoDstData(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstData_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:Modification
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstModification) LassoDstModification;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
char *notChangedSince;
|
||||
|
||||
gboolean overrideAllowed;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
char *Select;
|
||||
} LassoDstModification;
|
||||
%extend LassoDstModification {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(newData) NewData;
|
||||
#endif
|
||||
%newobject NewData_get;
|
||||
LassoDstNewData *NewData;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstModification(char *select);
|
||||
|
||||
~LassoDstModification();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* NewData */
|
||||
#define LassoDstModification_get_NewData(self) get_node((self)->NewData)
|
||||
#define LassoDstModification_NewData_get(self) get_node((self)->NewData)
|
||||
#define LassoDstModification_set_NewData(self, value) set_node((gpointer *) &(self)->NewData, (value))
|
||||
#define LassoDstModification_NewData_set(self, value) set_node((gpointer *) &(self)->NewData, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstModification lasso_dst_modification_new
|
||||
#define delete_LassoDstModification(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstModification_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:Modify
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstModify) LassoDstModify;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemId) itemID;
|
||||
#endif
|
||||
char *itemID;
|
||||
} LassoDstModify;
|
||||
%extend LassoDstModify {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(encryptedResourceId) EncryptedResourceID;
|
||||
#endif
|
||||
%newobject EncryptedResourceID_get;
|
||||
LassoDiscoEncryptedResourceID *EncryptedResourceID;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(extension) Extension;
|
||||
#endif
|
||||
%newobject Extension_get;
|
||||
LassoStringList *Extension;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(modification) Modification;
|
||||
#endif
|
||||
%newobject Modification_get;
|
||||
LassoNodeList *Modification;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(resourceId) ResourceID;
|
||||
#endif
|
||||
%newobject ResourceID_get;
|
||||
LassoDiscoResourceID *ResourceID;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstModify(LassoDstModification *modification);
|
||||
|
||||
~LassoDstModify();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* EncryptedResourceID */
|
||||
#define LassoDstModify_get_EncryptedResourceID(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoDstModify_EncryptedResourceID_get(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoDstModify_set_EncryptedResourceID(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
#define LassoDstModify_EncryptedResourceID_set(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
|
||||
/* Extension */
|
||||
#define LassoDstModify_get_Extension(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstModify_Extension_get(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstModify_set_Extension(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
#define LassoDstModify_Extension_set(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
|
||||
/* Modification */
|
||||
#define LassoDstModify_get_Modification(self) get_node_list((self)->Modification)
|
||||
#define LassoDstModify_Modification_get(self) get_node_list((self)->Modification)
|
||||
#define LassoDstModify_set_Modification(self, value) set_node_list(&(self)->Modification, (value))
|
||||
#define LassoDstModify_Modification_set(self, value) set_node_list(&(self)->Modification, (value))
|
||||
|
||||
/* ResourceID */
|
||||
#define LassoDstModify_get_ResourceID(self) get_node((self)->ResourceID)
|
||||
#define LassoDstModify_ResourceID_get(self) get_node((self)->ResourceID)
|
||||
#define LassoDstModify_set_ResourceID(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
#define LassoDstModify_ResourceID_set(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstModify lasso_dst_modify_new
|
||||
#define delete_LassoDstModify(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstModify_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:ModifyResponse
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstModifyResponse) LassoDstModifyResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemIdRef) itemIDRef;
|
||||
#endif
|
||||
char *itemIDRef;
|
||||
|
||||
char *timeStamp;
|
||||
} LassoDstModifyResponse;
|
||||
%extend LassoDstModifyResponse {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(extension) Extension;
|
||||
#endif
|
||||
%newobject Extension_get;
|
||||
LassoStringList *Extension;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject Status_get;
|
||||
LassoUtilityStatus *Status;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstModifyResponse(LassoUtilityStatus *status);
|
||||
|
||||
~LassoDstModifyResponse();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Extension */
|
||||
#define LassoDstModifyResponse_get_Extension(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstModifyResponse_Extension_get(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstModifyResponse_set_Extension(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
#define LassoDstModifyResponse_Extension_set(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
|
||||
/* Status */
|
||||
#define LassoDstModifyResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoDstModifyResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoDstModifyResponse_set_Status(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
#define LassoDstModifyResponse_Status_set(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstModifyResponse lasso_dst_modify_response_new
|
||||
#define delete_LassoDstModifyResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstModifyResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:NewData
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstNewData) LassoDstNewData;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoDstNewData;
|
||||
%extend LassoDstNewData {
|
||||
/* Attributes */
|
||||
|
||||
%newobject any_get;
|
||||
LassoStringList *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstNewData();
|
||||
|
||||
~LassoDstNewData();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* any */
|
||||
#define LassoDstNewData_get_any(self) get_xml_list((self)->any)
|
||||
#define LassoDstNewData_any_get(self) get_xml_list((self)->any)
|
||||
#define LassoDstNewData_set_any(self, value) set_xml_list(&(self)->any, (value))
|
||||
#define LassoDstNewData_any_set(self, value) set_xml_list(&(self)->any, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstNewData lasso_dst_new_data_new
|
||||
#define delete_LassoDstNewData(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstNewData_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:Query
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstQuery) LassoDstQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemId) itemID;
|
||||
#endif
|
||||
char *itemID;
|
||||
} LassoDstQuery;
|
||||
%extend LassoDstQuery {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(encryptedResourceId) EncryptedResourceID;
|
||||
#endif
|
||||
%newobject EncryptedResourceID_get;
|
||||
LassoDiscoEncryptedResourceID *EncryptedResourceID;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(extension) Extension;
|
||||
#endif
|
||||
%newobject Extension_get;
|
||||
LassoStringList *Extension;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(queryItem) QueryItem;
|
||||
#endif
|
||||
%newobject QueryItem_get;
|
||||
LassoNodeList *QueryItem;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(resourceId) ResourceID;
|
||||
#endif
|
||||
%newobject ResourceID_get;
|
||||
LassoDiscoResourceID *ResourceID;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstQuery(LassoDstQueryItem *queryItem);
|
||||
|
||||
~LassoDstQuery();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* EncryptedResourceID */
|
||||
#define LassoDstQuery_get_EncryptedResourceID(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoDstQuery_EncryptedResourceID_get(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoDstQuery_set_EncryptedResourceID(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
#define LassoDstQuery_EncryptedResourceID_set(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
|
||||
/* Extension */
|
||||
#define LassoDstQuery_get_Extension(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstQuery_Extension_get(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstQuery_set_Extension(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
#define LassoDstQuery_Extension_set(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
|
||||
/* QueryItem */
|
||||
#define LassoDstQuery_get_QueryItem(self) get_node_list((self)->QueryItem)
|
||||
#define LassoDstQuery_QueryItem_get(self) get_node_list((self)->QueryItem)
|
||||
#define LassoDstQuery_set_QueryItem(self, value) set_node_list(&(self)->QueryItem, (value))
|
||||
#define LassoDstQuery_QueryItem_set(self, value) set_node_list(&(self)->QueryItem, (value))
|
||||
|
||||
/* ResourceID */
|
||||
#define LassoDstQuery_get_ResourceID(self) get_node((self)->ResourceID)
|
||||
#define LassoDstQuery_ResourceID_get(self) get_node((self)->ResourceID)
|
||||
#define LassoDstQuery_set_ResourceID(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
#define LassoDstQuery_ResourceID_set(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstQuery lasso_dst_query_new
|
||||
#define delete_LassoDstQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:QueryItem
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstQueryItem) LassoDstQueryItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *changedSince;
|
||||
|
||||
char *id;
|
||||
|
||||
gboolean includeCommonAttributes;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemId) itemID;
|
||||
#endif
|
||||
char *itemID;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
char *Select;
|
||||
} LassoDstQueryItem;
|
||||
%extend LassoDstQueryItem {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstQueryItem(const char *select, const char *item_id = NULL);
|
||||
|
||||
~LassoDstQueryItem();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstQueryItem lasso_dst_query_item_new
|
||||
#define delete_LassoDstQueryItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstQueryItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* dst:QueryResponse
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(DstQueryResponse) LassoDstQueryResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(itemIdRef) itemIDRef;
|
||||
#endif
|
||||
char *itemIDRef;
|
||||
|
||||
char *timeStamp;
|
||||
} LassoDstQueryResponse;
|
||||
%extend LassoDstQueryResponse {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(data) Data;
|
||||
#endif
|
||||
%newobject Data_get;
|
||||
LassoNodeList *Data;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(extension) Extension;
|
||||
#endif
|
||||
%newobject Extension_get;
|
||||
LassoStringList *Extension;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject Status_get;
|
||||
LassoUtilityStatus *Status;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoDstQueryResponse(LassoUtilityStatus *status);
|
||||
|
||||
~LassoDstQueryResponse();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Data */
|
||||
#define LassoDstQueryResponse_get_Data(self) get_node_list((self)->Data)
|
||||
#define LassoDstQueryResponse_Data_get(self) get_node_list((self)->Data)
|
||||
#define LassoDstQueryResponse_set_Data(self, value) set_node_list(&(self)->Data, (value))
|
||||
#define LassoDstQueryResponse_Data_set(self, value) set_node_list(&(self)->Data, (value))
|
||||
|
||||
/* Extension */
|
||||
#define LassoDstQueryResponse_get_Extension(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstQueryResponse_Extension_get(self) get_xml_list((self)->Extension)
|
||||
#define LassoDstQueryResponse_set_Extension(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
#define LassoDstQueryResponse_Extension_set(self, value) set_xml_list(&(self)->Extension, (value))
|
||||
|
||||
/* Status */
|
||||
#define LassoDstQueryResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoDstQueryResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoDstQueryResponse_set_Status(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
#define LassoDstQueryResponse_Status_set(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoDstQueryResponse lasso_dst_query_response_new
|
||||
#define delete_LassoDstQueryResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoDstQueryResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
|
@ -1,784 +0,0 @@
|
|||
/* -*- Mode: c; c-basic-offset: 8 -*-
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* SWIG bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
%{
|
||||
#include <lasso/xml/is_help.h>
|
||||
#include <lasso/xml/is_inquiry.h>
|
||||
#include <lasso/xml/is_inquiry_element.h>
|
||||
#include <lasso/xml/is_interaction_request.h>
|
||||
#include <lasso/xml/is_interaction_response.h>
|
||||
#include <lasso/xml/is_interaction_statement.h>
|
||||
#include <lasso/xml/is_item.h>
|
||||
#include <lasso/xml/is_parameter.h>
|
||||
#include <lasso/xml/is_redirect_request.h>
|
||||
#include <lasso/xml/is_select.h>
|
||||
#include <lasso/xml/is_text.h>
|
||||
#include <lasso/xml/is_user_interaction.h>
|
||||
%}
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in Interaction Services Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Help
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsHelp) LassoIsHelp;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *label;
|
||||
|
||||
char *link;
|
||||
|
||||
char *moreLink;
|
||||
} LassoIsHelp;
|
||||
%extend LassoIsHelp {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsHelp();
|
||||
|
||||
~LassoIsHelp();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsHelp lasso_is_help_new
|
||||
#define delete_LassoIsHelp(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsHelp_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Inquiry
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsInquiry) LassoIsInquiry;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
char *title;
|
||||
} LassoIsInquiry;
|
||||
%extend LassoIsInquiry {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(confirm) Confirm;
|
||||
#endif
|
||||
%newobject Confirm_get;
|
||||
LassoNodeList *Confirm;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(help) Help;
|
||||
#endif
|
||||
%newobject Help_get;
|
||||
LassoIsHelp *Help;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
%newobject Select_get;
|
||||
LassoNodeList *Select;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(text) Text;
|
||||
#endif
|
||||
%newobject Text_get;
|
||||
LassoNodeList *Text;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsInquiry();
|
||||
|
||||
~LassoIsInquiry();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Confirm */
|
||||
#define LassoIsInquiry_get_Confirm(self) get_node_list((self)->Confirm)
|
||||
#define LassoIsInquiry_Confirm_get(self) get_node_list((self)->Confirm)
|
||||
#define LassoIsInquiry_set_Confirm(self, value) set_node_list(&(self)->Confirm, (value))
|
||||
#define LassoIsInquiry_Confirm_set(self, value) set_node_list(&(self)->Confirm, (value))
|
||||
|
||||
/* Help */
|
||||
#define LassoIsInquiry_get_Help(self) get_node((self)->Help)
|
||||
#define LassoIsInquiry_Help_get(self) get_node((self)->Help)
|
||||
#define LassoIsInquiry_set_Help(self, value) set_node((gpointer *) &(self)->Help, (value))
|
||||
#define LassoIsInquiry_Help_set(self, value) set_node((gpointer *) &(self)->Help, (value))
|
||||
|
||||
/* Select */
|
||||
#define LassoIsInquiry_get_Select(self) get_node_list((self)->Select)
|
||||
#define LassoIsInquiry_Select_get(self) get_node_list((self)->Select)
|
||||
#define LassoIsInquiry_set_Select(self, value) set_node_list(&(self)->Select, (value))
|
||||
#define LassoIsInquiry_Select_set(self, value) set_node_list(&(self)->Select, (value))
|
||||
|
||||
/* Text */
|
||||
#define LassoIsInquiry_get_Text(self) get_node_list((self)->Text)
|
||||
#define LassoIsInquiry_Text_get(self) get_node_list((self)->Text)
|
||||
#define LassoIsInquiry_set_Text(self, value) set_node_list(&(self)->Text, (value))
|
||||
#define LassoIsInquiry_Text_set(self, value) set_node_list(&(self)->Text, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsInquiry lasso_is_inquiry_new
|
||||
#define delete_LassoIsInquiry(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsInquiry_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:InquiryElement
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsInquiryElement) LassoIsInquiryElement;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(hint) Hint;
|
||||
#endif
|
||||
char *Hint;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(Label) Label;
|
||||
#endif
|
||||
char *Label;
|
||||
|
||||
char *name;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(value) Value;
|
||||
#endif
|
||||
char *Value;
|
||||
} LassoIsInquiryElement;
|
||||
%extend LassoIsInquiryElement {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(help) Help;
|
||||
#endif
|
||||
%newobject Help_get;
|
||||
LassoIsHelp *Help;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsInquiryElement(char *name);
|
||||
|
||||
~LassoIsInquiryElement();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Help */
|
||||
#define LassoIsInquiryElement_get_Help(self) get_node((self)->Help)
|
||||
#define LassoIsInquiryElement_Help_get(self) get_node((self)->Help)
|
||||
#define LassoIsInquiryElement_set_Help(self, value) set_node((gpointer *) &(self)->Help, (value))
|
||||
#define LassoIsInquiryElement_Help_set(self, value) set_node((gpointer *) &(self)->Help, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsInquiryElement lasso_is_inquiry_element_new
|
||||
#define delete_LassoIsInquiryElement(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsInquiryElement_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:InteractionRequest
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsInteractionRequest) LassoIsInteractionRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *id;
|
||||
|
||||
/* FIXME: Missing from Lasso. */
|
||||
/* KeyInfo */
|
||||
|
||||
char *language;
|
||||
|
||||
int maxInteractTime;
|
||||
|
||||
/* FIXME: Missing from Lasso. */
|
||||
/* signed */
|
||||
} LassoIsInteractionRequest;
|
||||
%extend LassoIsInteractionRequest {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(encryptedResourceId) EncryptedResourceID;
|
||||
#endif
|
||||
%newobject EncryptedResourceID_get;
|
||||
LassoDiscoEncryptedResourceID *EncryptedResourceID;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(inquiry) Inquiry;
|
||||
#endif
|
||||
%newobject Inquiry_get;
|
||||
LassoNodeList *Inquiry;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(resourceId) ResourceID;
|
||||
#endif
|
||||
%newobject ResourceID_get;
|
||||
LassoDiscoResourceID *ResourceID;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsInteractionRequest();
|
||||
|
||||
~LassoIsInteractionRequest();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* EncryptedResourceID */
|
||||
#define LassoIsInteractionRequest_get_EncryptedResourceID(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoIsInteractionRequest_EncryptedResourceID_get(self) get_node((self)->EncryptedResourceID)
|
||||
#define LassoIsInteractionRequest_set_EncryptedResourceID(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
#define LassoIsInteractionRequest_EncryptedResourceID_set(self, value) set_node((gpointer *) &(self)->EncryptedResourceID, (value))
|
||||
|
||||
/* Inquiry */
|
||||
#define LassoIsInteractionRequest_get_Inquiry(self) get_node_list((self)->Inquiry)
|
||||
#define LassoIsInteractionRequest_Inquiry_get(self) get_node_list((self)->Inquiry)
|
||||
#define LassoIsInteractionRequest_set_Inquiry(self, value) set_node_list(&(self)->Inquiry, (value))
|
||||
#define LassoIsInteractionRequest_Inquiry_set(self, value) set_node_list(&(self)->Inquiry, (value))
|
||||
|
||||
/* ResourceID */
|
||||
#define LassoIsInteractionRequest_get_ResourceID(self) get_node((self)->ResourceID)
|
||||
#define LassoIsInteractionRequest_ResourceID_get(self) get_node((self)->ResourceID)
|
||||
#define LassoIsInteractionRequest_set_ResourceID(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
#define LassoIsInteractionRequest_ResourceID_set(self, value) set_node((gpointer *) &(self)->ResourceID, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsInteractionRequest lasso_is_interaction_request_new
|
||||
#define delete_LassoIsInteractionRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsInteractionRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:InteractionResponse
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsInteractionResponse) LassoIsInteractionResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIsInteractionResponse;
|
||||
%extend LassoIsInteractionResponse {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(interactionStatement) InteractionStatement;
|
||||
#endif
|
||||
%newobject InteractionStatement_get;
|
||||
LassoNodeList *InteractionStatement;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(parameter) Parameter;
|
||||
#endif
|
||||
%newobject Parameter_get;
|
||||
LassoNodeList *Parameter;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject Status_get;
|
||||
LassoUtilityStatus *Status;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsInteractionResponse(LassoUtilityStatus *status);
|
||||
|
||||
~LassoIsInteractionResponse();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* InteractionStatement */
|
||||
#define LassoIsInteractionResponse_get_InteractionStatement(self) get_node_list((self)->InteractionStatement)
|
||||
#define LassoIsInteractionResponse_InteractionStatement_get(self) get_node_list((self)->InteractionStatement)
|
||||
#define LassoIsInteractionResponse_set_InteractionStatement(self, value) set_node_list(&(self)->InteractionStatement, (value))
|
||||
#define LassoIsInteractionResponse_InteractionStatement_set(self, value) set_node_list(&(self)->InteractionStatement, (value))
|
||||
|
||||
/* Parameter */
|
||||
#define LassoIsInteractionResponse_get_Parameter(self) get_node_list((self)->Parameter)
|
||||
#define LassoIsInteractionResponse_Parameter_get(self) get_node_list((self)->Parameter)
|
||||
#define LassoIsInteractionResponse_set_Parameter(self, value) set_node_list(&(self)->Parameter, (value))
|
||||
#define LassoIsInteractionResponse_Parameter_set(self, value) set_node_list(&(self)->Parameter, (value))
|
||||
|
||||
/* Status */
|
||||
#define LassoIsInteractionResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIsInteractionResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIsInteractionResponse_set_Status(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
#define LassoIsInteractionResponse_Status_set(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsInteractionResponse lasso_is_interaction_response_new
|
||||
#define delete_LassoIsInteractionResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsInteractionResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:InteractionStatement
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsInteractionStatement) LassoIsInteractionStatement;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIsInteractionStatement;
|
||||
%extend LassoIsInteractionStatement {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(inquiry) Inquiry;
|
||||
#endif
|
||||
%newobject Inquiry_get;
|
||||
LassoIsInquiry *Inquiry;
|
||||
|
||||
/* FIXME: Missing from Lasso. */
|
||||
/* Signature */
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsInteractionStatement(LassoIsInquiry *inquiry);
|
||||
|
||||
~LassoIsInteractionStatement();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Inquiry */
|
||||
#define LassoIsInteractionStatement_get_Inquiry(self) get_node((self)->Inquiry)
|
||||
#define LassoIsInteractionStatement_Inquiry_get(self) get_node((self)->Inquiry)
|
||||
#define LassoIsInteractionStatement_set_Inquiry(self, value) set_node((gpointer *) &(self)->Inquiry, (value))
|
||||
#define LassoIsInteractionStatement_Inquiry_set(self, value) set_node((gpointer *) &(self)->Inquiry, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsInteractionStatement lasso_is_interaction_statement_new
|
||||
#define delete_LassoIsInteractionStatement(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsInteractionStatement_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Item
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsItem) LassoIsItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(hint) Hint;
|
||||
#endif
|
||||
char *Hint;
|
||||
|
||||
char *label;
|
||||
|
||||
char *value;
|
||||
} LassoIsItem;
|
||||
%extend LassoIsItem {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsItem(char *value);
|
||||
|
||||
~LassoIsItem();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsItem lasso_is_item_new
|
||||
#define delete_LassoIsItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Parameter
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsParameter) LassoIsParameter;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *name;
|
||||
|
||||
char *value;
|
||||
} LassoIsParameter;
|
||||
%extend LassoIsParameter {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsParameter(char *name, char *value);
|
||||
|
||||
~LassoIsParameter();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsParameter lasso_is_parameter_new
|
||||
#define delete_LassoIsParameter(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsParameter_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:RedirectRequest
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsRedirectRequest) LassoIsRedirectRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(redirectUrl) redirectURL;
|
||||
#endif
|
||||
char *redirectURL;
|
||||
} LassoIsRedirectRequest;
|
||||
%extend LassoIsRedirectRequest {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsRedirectRequest(char *redirectUrl);
|
||||
|
||||
~LassoIsRedirectRequest();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsRedirectRequest lasso_is_redirect_request_new
|
||||
#define delete_LassoIsRedirectRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsRedirectRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Select
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsSelect) LassoIsSelect;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* FIXME: IsSelect should inherit from IsInquiryElement in Lasso. */
|
||||
|
||||
/* Attributes */
|
||||
|
||||
gboolean multiple;
|
||||
} LassoIsSelect;
|
||||
%extend LassoIsSelect {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(item) Item;
|
||||
#endif
|
||||
%newobject Item_get;
|
||||
LassoNodeList *Item;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsSelect();
|
||||
|
||||
~LassoIsSelect();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Item */
|
||||
#define LassoIsSelect_get_Item(self) get_node_list((self)->Item)
|
||||
#define LassoIsSelect_Item_get(self) get_node_list((self)->Item)
|
||||
#define LassoIsSelect_set_Item(self, value) set_node_list(&(self)->Item, (value))
|
||||
#define LassoIsSelect_Item_set(self, value) set_node_list(&(self)->Item, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsSelect lasso_is_select_new
|
||||
#define delete_LassoIsSelect(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsSelect_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:Text
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsText) LassoIsText;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* FIXME: IsText should inherit from IsInquiryElement in Lasso. */
|
||||
|
||||
/* Attributes */
|
||||
|
||||
char *format;
|
||||
|
||||
int maxChars;
|
||||
|
||||
int minChars;
|
||||
} LassoIsText;
|
||||
%extend LassoIsText {
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsText();
|
||||
|
||||
~LassoIsText();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsText lasso_is_text_new
|
||||
#define delete_LassoIsText(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsText_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* is:UserInteraction
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IsUserInteraction) LassoIsUserInteraction;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
/* FIXME: Missing from Lasso. */
|
||||
/* soap:actor */
|
||||
|
||||
char *id;
|
||||
|
||||
char *interact;
|
||||
|
||||
int maxInteractTime;
|
||||
|
||||
/* FIXME: Missing from Lasso. */
|
||||
/* soap:mustUnderstand */
|
||||
|
||||
char *language;
|
||||
|
||||
gboolean redirect;
|
||||
} LassoIsUserInteraction;
|
||||
%extend LassoIsUserInteraction {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(interactionService) InteractionService;
|
||||
#endif
|
||||
%newobject InteractionService_get;
|
||||
LassoNodeList *InteractionService;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIsUserInteraction();
|
||||
|
||||
~LassoIsUserInteraction();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* InteractionService */
|
||||
#define LassoIsUserInteraction_get_InteractionService(self) get_node_list((self)->InteractionService)
|
||||
#define LassoIsUserInteraction_InteractionService_get(self) get_node_list((self)->InteractionService)
|
||||
#define LassoIsUserInteraction_set_InteractionService(self, value) set_node_list(&(self)->InteractionService, (value))
|
||||
#define LassoIsUserInteraction_InteractionService_set(self, value) set_node_list(&(self)->InteractionService, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIsUserInteraction lasso_is_user_interaction_new
|
||||
#define delete_LassoIsUserInteraction(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIsUserInteraction_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
|
@ -1,350 +0,0 @@
|
|||
/* -*- Mode: c; c-basic-offset: 8 -*-
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* SWIG bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
%{
|
||||
#include <lasso/xml/sa_credentials.h>
|
||||
#include <lasso/xml/sa_sasl_request.h>
|
||||
#include <lasso/xml/sa_sasl_response.h>
|
||||
%}
|
||||
|
||||
/* SASL mechanisms */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SASL_MECH_ANONYMOUS) LASSO_SASL_MECH_ANONYMOUS;
|
||||
%rename(SASL_MECH_PLAIN) LASSO_SASL_MECH_PLAIN;
|
||||
%rename(SASL_MECH_CRAM_MD5) LASSO_SASL_MECH_CRAM_MD5;
|
||||
#endif
|
||||
#define LASSO_SASL_MECH_ANONYMOUS "ANONYMOUS"
|
||||
#define LASSO_SASL_MECH_PLAIN "PLAIN"
|
||||
#define LASSO_SASL_MECH_CRAM_MD5 "CRAM-MD5"
|
||||
|
||||
/* SASL result codes: */
|
||||
#define SASL_CONTINUE 1 /* another step is needed in authentication */
|
||||
#define SASL_OK 0 /* successful result */
|
||||
#define SASL_FAIL -1 /* generic failure */
|
||||
#define SASL_NOMEM -2 /* memory shortage failure */
|
||||
#define SASL_BUFOVER -3 /* overflowed buffer */
|
||||
#define SASL_NOMECH -4 /* mechanism not supported */
|
||||
#define SASL_BADPROT -5 /* bad protocol / cancel */
|
||||
#define SASL_NOTDONE -6 /* can't request info until later in exchange */
|
||||
#define SASL_BADPARAM -7 /* invalid parameter supplied */
|
||||
#define SASL_TRYAGAIN -8 /* transient failure (e.g., weak key) */
|
||||
#define SASL_BADMAC -9 /* integrity check failed */
|
||||
#define SASL_NOTINIT -12 /* SASL library not initialized */
|
||||
/* -- client only codes -- */
|
||||
#define SASL_INTERACT 2 /* needs user interaction */
|
||||
#define SASL_BADSERV -10 /* server failed mutual authentication step */
|
||||
#define SASL_WRONGMECH -11 /* mechanism doesn't support requested feature */
|
||||
/* -- server only codes -- */
|
||||
#define SASL_BADAUTH -13 /* authentication failure */
|
||||
#define SASL_NOAUTHZ -14 /* authorization failure */
|
||||
#define SASL_TOOWEAK -15 /* mechanism too weak for this user */
|
||||
#define SASL_ENCRYPT -16 /* encryption needed to use mechanism */
|
||||
#define SASL_TRANS -17 /* One time use of a plaintext password will
|
||||
enable requested mechanism for user */
|
||||
#define SASL_EXPIRED -18 /* passphrase expired, has to be reset */
|
||||
#define SASL_DISABLED -19 /* account disabled */
|
||||
#define SASL_NOUSER -20 /* user not found */
|
||||
#define SASL_BADVERS -23 /* version mismatch with plug-in */
|
||||
#define SASL_UNAVAIL -24 /* remote authentication server unavailable */
|
||||
#define SASL_NOVERIFY -26 /* user exists, but no verifier for user */
|
||||
/* -- codes for password setting -- */
|
||||
#define SASL_PWLOCK -21 /* passphrase locked */
|
||||
#define SASL_NOCHANGE -22 /* requested change was not needed */
|
||||
#define SASL_WEAKPASS -27 /* passphrase is too weak for security policy */
|
||||
#define SASL_NOUSERPASS -28 /* user supplied passwords not permitted */
|
||||
|
||||
/* WSF prefix & href */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SA_HREF) LASSO_SA_HREF;
|
||||
%rename(SA_PREFIX) LASSO_SA_PREFIX;
|
||||
#endif
|
||||
#define LASSO_SA_HREF "urn:liberty:sa:2004-04"
|
||||
#define LASSO_SA_PREFIX "sa"
|
||||
|
||||
/* WSF status code */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SA_STATUS_CODE_CONTINUE) LASSO_SA_STATUS_CODE_CONTINUE;
|
||||
%rename(SA_STATUS_CODE_ABORT) LASSO_SA_STATUS_CODE_ABORT;
|
||||
%rename(SA_STATUS_CODE_OK) LASSO_SA_STATUS_CODE_OK;
|
||||
#endif
|
||||
#define LASSO_SA_STATUS_CODE_CONTINUE "continue"
|
||||
#define LASSO_SA_STATUS_CODE_ABORT "abort"
|
||||
#define LASSO_SA_STATUS_CODE_OK "OK"
|
||||
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in Sa Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
/***********************************************************************
|
||||
* sa:SaCredentials
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SaCredentials) LassoSaCredentials;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
} LassoSaCredentials;
|
||||
%extend LassoSaCredentials {
|
||||
/* Attributes */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(any) any;
|
||||
#endif
|
||||
%newobject any_get;
|
||||
LassoNodeList *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSaCredentials();
|
||||
|
||||
~LassoSaCredentials();
|
||||
|
||||
int addAssertion(LassoSamlAssertion *assertion);
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
/* any */
|
||||
#define LassoSaCredentials_get_any(self) get_node_list((self)->any)
|
||||
#define LassoSaCredentials_any_get(self) get_node_list((self)->any)
|
||||
#define LassoSaCredentials_set_any(self, value) set_node_list(&(self)->any, (value))
|
||||
#define LassoSaCredentials_any_set(self, value) set_node_list(&(self)->any, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoSaCredentials lasso_sa_credentials_new
|
||||
#define delete_LassoSaCredentials(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSaCredentials_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
/* Implementation of methods */
|
||||
#define LassoSaCredentials_addAssertion lasso_sa_credentials_add_assertion
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* sa:SaSASLRequest
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SaSASLRequest) LassoSaSASLRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *mechanism;
|
||||
|
||||
char *authzID;
|
||||
|
||||
char *advisoryAuthnID;
|
||||
|
||||
char *id;
|
||||
|
||||
} LassoSaSASLRequest;
|
||||
%extend LassoSaSASLRequest {
|
||||
/* Attributes */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(data) Data;
|
||||
#endif
|
||||
%newobject Data_get;
|
||||
LassoNodeList *Data;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(requestAuthnContext) RequestAuthnContext;
|
||||
#endif
|
||||
%newobject RequestAuthnContext_get;
|
||||
LassoNodeList *RequestAuthnContext;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSaSASLRequest(char *mechanism);
|
||||
|
||||
~LassoSaSASLRequest();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
/* Data */
|
||||
#define LassoSaSASLRequest_get_Data(self) get_node_list((self)->Data)
|
||||
#define LassoSaSASLRequest_Data_get(self) get_node_list((self)->Data)
|
||||
#define LassoSaSASLRequest_set_Data(self, value) set_node_list(&(self)->Data, (value))
|
||||
#define LassoSaSASLRequest_Data_set(self, value) set_node_list(&(self)->Data, (value))
|
||||
|
||||
/* RequestAuthnContext */
|
||||
#define LassoSaSASLRequest_get_RequestAuthnContext(self) get_node((self)->RequestAuthnContext)
|
||||
#define LassoSaSASLRequest_RequestAuthnContext_get(self) get_node((self)->RequestAuthnContext)
|
||||
#define LassoSaSASLRequest_set_RequestAuthnContext(self, value) set_node((gpointer *) &(self)->RequestAuthnContext, (value))
|
||||
#define LassoSaSASLRequest_RequestAuthnContext_set(self, value) set_node((gpointer *) &(self)->RequestAuthnContext, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoSaSASLRequest lasso_sa_sasl_request_new
|
||||
#define delete_LassoSaSASLRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSaSASLRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
/***********************************************************************
|
||||
* sa:SaSASLResponse
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SaSASLResponse) LassoSaSASLResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
char *serverMechanism;
|
||||
|
||||
char *id;
|
||||
|
||||
} LassoSaSASLResponse;
|
||||
%extend LassoSaSASLResponse {
|
||||
/* Attributes */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(data) Data;
|
||||
#endif
|
||||
%newobject Data_get;
|
||||
LassoNodeList *Data;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(credentials) Credentials;
|
||||
#endif
|
||||
%newobject Credentials_get;
|
||||
LassoNodeList *Credentials;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(resourceOffering) ResourceOffering;
|
||||
#endif
|
||||
%newobject ResourceOffering_get;
|
||||
LassoNodeList *ResourceOffering;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(passwordTransforms) PasswordTransforms;
|
||||
#endif
|
||||
%newobject PasswordTransforms_get;
|
||||
LassoNodeList *PasswordTransforms;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject Status_get;
|
||||
LassoUtilityStatus *Status;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSaSASLResponse(LassoUtilityStatus *status);
|
||||
|
||||
~LassoSaSASLResponse();
|
||||
|
||||
int addCredentials(LassoSaCredentials *credentials);
|
||||
|
||||
int addResourceOffering(LassoDiscoResourceOffering *resourceOffering);
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
/* Data */
|
||||
#define LassoSaSASLResponse_get_Data(self) get_node_list((self)->Data)
|
||||
#define LassoSaSASLResponse_Data_get(self) get_node_list((self)->Data)
|
||||
#define LassoSaSASLResponse_set_Data(self, value) set_node_list(&(self)->Data, (value))
|
||||
#define LassoSaSASLResponse_Data_set(self, value) set_node_list(&(self)->Data, (value))
|
||||
|
||||
/* Credentials */
|
||||
#define LassoSaSASLResponse_get_Credentials(self) get_node_list((self)->Credentials)
|
||||
#define LassoSaSASLResponse_Credentials_get(self) get_node_list((self)->Credentials)
|
||||
#define LassoSaSASLResponse_set_Credentials(self, value) set_node_list(&(self)->Credentials, (value))
|
||||
#define LassoSaSASLResponse_Credentials_set(self, value) set_node_list(&(self)->Credentials, (value))
|
||||
|
||||
/* ResourceOffering */
|
||||
#define LassoSaSASLResponse_get_ResourceOffering(self) get_node_list((self)->ResourceOffering)
|
||||
#define LassoSaSASLResponse_ResourceOffering_get(self) get_node_list((self)->ResourceOffering)
|
||||
#define LassoSaSASLResponse_set_ResourceOffering(self, value) set_node_list(&(self)->ResourceOffering, (value))
|
||||
#define LassoSaSASLResponse_ResourceOffering_set(self, value) set_node_list(&(self)->ResourceOffering, (value))
|
||||
|
||||
/* PasswordTransforms */
|
||||
#define LassoSaSASLResponse_get_PasswordTransforms(self) get_node_list((self)->PasswordTransforms)
|
||||
#define LassoSaSASLResponse_PasswordTransforms_get(self) get_node_list((self)->PasswordTransforms)
|
||||
#define LassoSaSASLResponse_set_PasswordTransforms(self, value) set_node_list(&(self)->PasswordTransforms, (value))
|
||||
#define LassoSaSASLResponse_PasswordTransforms_set(self, value) set_node_list(&(self)->PasswordTransforms, (value))
|
||||
|
||||
/* ResourceOffering */
|
||||
#define LassoSaSASLResponse_get_ResourceOffering(self) get_node_list((self)->ResourceOffering)
|
||||
#define LassoSaSASLResponse_ResourceOffering_get(self) get_node_list((self)->ResourceOffering)
|
||||
#define LassoSaSASLResponse_set_ResourceOffering(self, value) set_node_list(&(self)->ResourceOffering, (value))
|
||||
#define LassoSaSASLResponse_ResourceOffering_set(self, value) set_node_list(&(self)->ResourceOffering, (value))
|
||||
|
||||
/* Status */
|
||||
#define LassoSaSASLResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoSaSASLResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoSaSASLResponse_set_Status(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
#define LassoSaSASLResponse_Status_set(self, value) set_node((gpointer *) &(self)->Status, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoSaSASLResponse lasso_sa_sasl_response_new
|
||||
#define delete_LassoSaSASLResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSaSASLResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods */
|
||||
#define LassoSaSASLResponse_addCredentials lasso_sa_sasl_response_add_credentials
|
||||
#define LassoSaSASLResponse_addResourceOffering lasso_sa_sasl_response_add_resource_offering
|
||||
|
||||
%}
|
|
@ -1,326 +0,0 @@
|
|||
/* -*- Mode: c; c-basic-offset: 8 -*-
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* SWIG bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
%{
|
||||
#include <lasso/xml/wsse_security.h>
|
||||
#include <lasso/xml/soap_body.h>
|
||||
#include <lasso/xml/soap_envelope.h>
|
||||
#include <lasso/xml/soap_header.h>
|
||||
#include <lasso/xml/soap_binding_correlation.h>
|
||||
#include <lasso/xml/soap_binding_provider.h>
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in Web Service Security Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* wsse:Security
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(WsseSecurity) LassoWsseSecurity;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
|
||||
} LassoWsseSecurity;
|
||||
%extend LassoWsseSecurity {
|
||||
|
||||
%newobject any_get;
|
||||
LassoNodeList *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoWsseSecurity();
|
||||
|
||||
~LassoWsseSecurity();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoWsseSecurity lasso_wsse_security_new
|
||||
#define delete_LassoWsseSecurity(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoWsseSecurity_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* any */
|
||||
#define LassoWsseSecurity_get_any(self) get_node_list((self)->any)
|
||||
#define LassoWsseSecurity_any_get(self) get_node_list((self)->any)
|
||||
#define LassoWsseSecurity_set_any(self, value) set_node_list(&(self)->any, (value))
|
||||
#define LassoWsseSecurity_any_set(self, value) set_node_list(&(self)->any, (value))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in soap-binding Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
/***********************************************************************
|
||||
* soap-binding:Correlation
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SoapBindingCorrelation) LassoSoapBindingCorrelation;
|
||||
#endif
|
||||
typedef struct {
|
||||
/* Attributes */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(messageId) messageID;
|
||||
#endif
|
||||
char *messageID;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(refToMessageId) refToMessageID;
|
||||
#endif
|
||||
char *refToMessageID;
|
||||
|
||||
char *timestamp;
|
||||
|
||||
} LassoSoapBindingCorrelation;
|
||||
%extend LassoSoapBindingCorrelation {
|
||||
/* Attributes */
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSoapBindingCorrelation(char *messageID, char *timestamp);
|
||||
|
||||
~LassoSoapBindingCorrelation();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
#define new_LassoSoapBindingCorrelation lasso_soap_binding_correlation_new
|
||||
#define delete_LassoSoapBindingCorrelation(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSoapBindingCorrelation_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* XML Elements in soap-env Namespace
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
/***********************************************************************
|
||||
* soap-env:Body
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SoapBody) LassoSoapBody;
|
||||
#endif
|
||||
typedef struct {
|
||||
|
||||
} LassoSoapBody;
|
||||
%extend LassoSoapBody {
|
||||
/* Attributes */
|
||||
|
||||
%newobject any_get;
|
||||
LassoNodeList *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSoapBody();
|
||||
|
||||
~LassoSoapBody();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* any */
|
||||
#define LassoSoapBody_get_any(self) get_node_list((self)->any)
|
||||
#define LassoSoapBody_any_get(self) get_node_list((self)->any)
|
||||
#define LassoSoapBody_set_any(self, value) set_node_list(&(self)->any, (value))
|
||||
#define LassoSoapBody_any_set(self, value) set_node_list(&(self)->any, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
#define new_LassoSoapBody lasso_soap_body_new
|
||||
#define delete_LassoSoapBody(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSoapBody_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* soap-env:Envelope
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SoapEnvelope) LassoSoapEnvelope;
|
||||
#endif
|
||||
typedef struct {
|
||||
|
||||
} LassoSoapEnvelope;
|
||||
%extend LassoSoapEnvelope {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(header) Header;
|
||||
#endif
|
||||
%newobject Header_get;
|
||||
LassoSoapHeader *Header;
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(body) Body;
|
||||
#endif
|
||||
%newobject Body_get;
|
||||
LassoSoapBody *Body;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSoapEnvelope(LassoSoapBody *body);
|
||||
|
||||
~LassoSoapEnvelope();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Header */
|
||||
#define LassoSoapEnvelope_get_Header(self) get_node(self->Header)
|
||||
#define LassoSoapEnvelope_Header_get(self) get_node(self->Header)
|
||||
#define LassoSoapEnvelope_set_Header(self, value) set_node((gpointer *) &self->Header, (value))
|
||||
#define LassoSoapEnvelope_Header_set(self, value) set_node((gpointer *) &self->Header, (value))
|
||||
|
||||
/* Body */
|
||||
#define LassoSoapEnvelope_get_Body(self) get_node(self->Body)
|
||||
#define LassoSoapEnvelope_Body_get(self) get_node(self->Body)
|
||||
#define LassoSoapEnvelope_set_Body(self, value) set_node((gpointer *) &self->Body, (value))
|
||||
#define LassoSoapEnvelope_Body_set(self, value) set_node((gpointer *) &self->Body, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
#define new_LassoSoapEnvelope lasso_soap_envelope_new
|
||||
#define delete_LassoSoapEnvelope(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSoapEnvelope_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
||||
/***********************************************************************
|
||||
* soap-env:Header
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(SoapHeader) LassoSoapHeader;
|
||||
#endif
|
||||
typedef struct {
|
||||
|
||||
} LassoSoapHeader;
|
||||
%extend LassoSoapHeader {
|
||||
/* Attributes */
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(other) Other;
|
||||
#endif
|
||||
%newobject Other_get;
|
||||
LassoNodeList *Other;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoSoapHeader();
|
||||
|
||||
~LassoSoapHeader();
|
||||
|
||||
void addOther(LassoNode *node) {
|
||||
if LASSO_IS_NODE(node) {
|
||||
self->Other = g_list_append(self->Other, node);
|
||||
}
|
||||
}
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes Implementations */
|
||||
|
||||
/* Other */
|
||||
#define LassoSoapHeader_get_Other(self) get_node_list((self)->Other)
|
||||
#define LassoSoapHeader_Other_get(self) get_node_list((self)->Other)
|
||||
#define LassoSoapHeader_set_Other(self, value) set_node_list(&(self)->Other, (value))
|
||||
#define LassoSoapHeader_Other_set(self, value) set_node_list(&(self)->Other, (value))
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
#define new_LassoSoapHeader lasso_soap_header_new
|
||||
#define delete_LassoSoapHeader(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoSoapHeader_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
1066
swig/Lasso-wsf.i
1066
swig/Lasso-wsf.i
File diff suppressed because it is too large
Load Diff
|
@ -1,495 +0,0 @@
|
|||
/* -*- Mode: c; c-basic-offset: 8 -*-
|
||||
*
|
||||
* $Id: Lasso-wsf.i,v 1.79 2006/03/06 14:01:29 Exp $
|
||||
*
|
||||
* SWIG bindings 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
%include Lasso-wsf-soap.i
|
||||
|
||||
%{
|
||||
#include <lasso/id-wsf-2.0/discovery.h>
|
||||
#include <lasso/id-wsf-2.0/data_service.h>
|
||||
%}
|
||||
|
||||
/* WSF prefix & href */
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IDWSF2_DISCO_HREF) LASSO_IDWSF2_DISCO_HREF;
|
||||
%rename(IDWSF2_DISCO_PREFIX) LASSO_IDWSF2_DISCO_PREFIX;
|
||||
#endif
|
||||
#define LASSO_IDWSF2_DISCO_HREF "urn:liberty:disco:2006-08"
|
||||
#define LASSO_IDWSF2_DISCO_PREFIX "disco"
|
||||
|
||||
/***********************************************************************
|
||||
***********************************************************************
|
||||
* ID-WSF 2
|
||||
***********************************************************************
|
||||
***********************************************************************/
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* lasso:IdWsf2Discovery
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IdWsf2Discovery) LassoIdWsf2Discovery;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2Discovery;
|
||||
%extend LassoIdWsf2Discovery {
|
||||
|
||||
/* Attributes inherited from LassoProfile */
|
||||
|
||||
%newobject identity_get;
|
||||
LassoIdentity *identity;
|
||||
|
||||
%newobject session_get;
|
||||
LassoSession *session;
|
||||
|
||||
%immutable isIdentityDirty;
|
||||
gboolean isIdentityDirty;
|
||||
|
||||
%immutable isSessionDirty;
|
||||
gboolean isSessionDirty;
|
||||
|
||||
%immutable msgBody;
|
||||
char *msgBody;
|
||||
|
||||
%immutable msgUrl;
|
||||
char *msgUrl;
|
||||
|
||||
%immutable nameIdentifier;
|
||||
LassoSaml2NameID *nameIdentifier;
|
||||
|
||||
%newobject request_get;
|
||||
LassoNode *request;
|
||||
|
||||
%newobject response_get;
|
||||
LassoNode *response;
|
||||
|
||||
%newobject server_get;
|
||||
LassoServer *server;
|
||||
|
||||
/* Attributes */
|
||||
|
||||
%newobject metadatas_get;
|
||||
GList *metadatas;
|
||||
|
||||
%immutable svcMDID;
|
||||
GList *svcMDIDs;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIdWsf2Discovery(LassoServer *server);
|
||||
|
||||
~LassoIdWsf2Discovery();
|
||||
|
||||
/* Methods inherited from LassoProfile */
|
||||
|
||||
THROW_ERROR()
|
||||
int setIdentityFromDump(char *dump);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int setSessionFromDump(char *dump);
|
||||
END_THROW_ERROR()
|
||||
|
||||
/* Methods inherited from LassoIdWsf2Profile */
|
||||
|
||||
THROW_ERROR()
|
||||
int buildRequestMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int buildResponseMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
/* Methods */
|
||||
|
||||
%newobject metadataRegisterSelf;
|
||||
char* metadataRegisterSelf(const char *service_type, const char *abstract,
|
||||
const char *soap_endpoint, const char *svcMDID = NULL);
|
||||
|
||||
THROW_ERROR()
|
||||
int initMetadataRegister(const char *service_type, const char *abstract,
|
||||
const char *disco_provider_id, const char *soap_endpoint);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processMetadataRegisterMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processMetadataRegisterResponseMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int initMetadataAssociationAdd(const char *svcMDID);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processMetadataAssociationAddMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int registerMetadata();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processMetadataAssociationAddResponseMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int initQuery(const char *security_mech_id = NULL);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int addRequestedServiceType(const char *service_type);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processQueryMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int buildQueryResponseEprs();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processQueryResponseMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
%newobject getService;
|
||||
LassoIdWsf2DataService* getService(const char *service_type = NULL);
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes inherited from LassoProfile */
|
||||
|
||||
/* identity */
|
||||
#define LassoIdWsf2Discovery_get_identity(self) lasso_profile_get_identity(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_identity_get(self) lasso_profile_get_identity(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_set_identity(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->identity, (value))
|
||||
#define LassoIdWsf2Discovery_identity_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->identity, (value))
|
||||
|
||||
/* isIdentityDirty */
|
||||
#define LassoIdWsf2Discovery_get_isIdentityDirty(self) lasso_profile_is_identity_dirty(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_isIdentityDirty_get(self) lasso_profile_is_identity_dirty(LASSO_PROFILE(self))
|
||||
|
||||
/* session */
|
||||
#define LassoIdWsf2Discovery_get_session(self) lasso_profile_get_session(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_session_get(self) lasso_profile_get_session(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_set_session(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->session, (value))
|
||||
#define LassoIdWsf2Discovery_session_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->session, (value))
|
||||
|
||||
/* isSessionDirty */
|
||||
#define LassoIdWsf2Discovery_get_isSessionDirty(self) lasso_profile_is_session_dirty(LASSO_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_isSessionDirty_get(self) lasso_profile_is_session_dirty(LASSO_PROFILE(self))
|
||||
|
||||
/* msgBody */
|
||||
#define LassoIdWsf2Discovery_get_msgBody(self) LASSO_PROFILE(self)->msg_body
|
||||
#define LassoIdWsf2Discovery_msgBody_get(self) LASSO_PROFILE(self)->msg_body
|
||||
|
||||
/* msgUrl */
|
||||
#define LassoIdWsf2Discovery_get_msgUrl(self) LASSO_PROFILE(self)->msg_url
|
||||
#define LassoIdWsf2Discovery_msgUrl_get(self) LASSO_PROFILE(self)->msg_url
|
||||
|
||||
/* nameIdentifier */
|
||||
#define LassoIdWsf2Discovery_get_nameIdentifier(self) \
|
||||
LASSO_SAML2_NAME_ID(get_node(LASSO_PROFILE(self)->nameIdentifier))
|
||||
#define LassoIdWsf2Discovery_nameIdentifier_get(self) \
|
||||
LASSO_SAML2_NAME_ID(get_node(LASSO_PROFILE(self)->nameIdentifier))
|
||||
|
||||
/* request */
|
||||
#define LassoIdWsf2Discovery_get_request(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoIdWsf2Discovery_request_get(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoIdWsf2Discovery_set_request(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
#define LassoIdWsf2Discovery_request_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
|
||||
/* response */
|
||||
#define LassoIdWsf2Discovery_get_response(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoIdWsf2Discovery_response_get(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoIdWsf2Discovery_set_response(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
#define LassoIdWsf2Discovery_response_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
|
||||
/* server */
|
||||
#define LassoIdWsf2Discovery_get_server(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoIdWsf2Discovery_server_get(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoIdWsf2Discovery_set_server(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
#define LassoIdWsf2Discovery_server_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
|
||||
/* Attributes */
|
||||
|
||||
/* metadata */
|
||||
#define LassoIdWsf2Discovery_get_metadatas(self) get_node_list(self->metadatas)
|
||||
#define LassoIdWsf2Discovery_metadatas_get(self) get_node_list(self->metadatas)
|
||||
#define LassoIdWsf2Discovery_set_metadatas(self, value) set_node_list(&self->metadatas, value)
|
||||
#define LassoIdWsf2Discovery_metadatas_set(self, value) set_node_list(&self->metadatas, value)
|
||||
|
||||
/* svcMDID */
|
||||
#define LassoIdWsf2Discovery_get_svcMDIDs(self) get_string_list(self->svcMDIDs)
|
||||
#define LassoIdWsf2Discovery_svcMDIDs_get(self) get_string_list(self->svcMDIDs)
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2Discovery lasso_idwsf2_discovery_new
|
||||
#define delete_LassoIdWsf2Discovery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoIdWsf2Profile */
|
||||
|
||||
#define LassoIdWsf2Discovery_setIdentityFromDump(self, dump) lasso_profile_set_identity_from_dump(LASSO_PROFILE(self), dump)
|
||||
#define LassoIdWsf2Discovery_setSessionFromDump(self, dump) lasso_profile_set_session_from_dump(LASSO_PROFILE(self), dump)
|
||||
|
||||
#define LassoIdWsf2Discovery_buildRequestMsg(self) lasso_idwsf2_profile_build_request_msg(LASSO_IDWSF2_PROFILE(self))
|
||||
#define LassoIdWsf2Discovery_buildResponseMsg(self) lasso_idwsf2_profile_build_response_msg(LASSO_IDWSF2_PROFILE(self))
|
||||
|
||||
/* Methods implementations */
|
||||
|
||||
#define LassoIdWsf2Discovery_metadataRegisterSelf lasso_idwsf2_discovery_metadata_register_self
|
||||
#define LassoIdWsf2Discovery_initMetadataRegister lasso_idwsf2_discovery_init_metadata_register
|
||||
#define LassoIdWsf2Discovery_processMetadataRegisterMsg lasso_idwsf2_discovery_process_metadata_register_msg
|
||||
#define LassoIdWsf2Discovery_processMetadataRegisterResponseMsg lasso_idwsf2_discovery_process_metadata_register_response_msg
|
||||
#define LassoIdWsf2Discovery_initMetadataAssociationAdd lasso_idwsf2_discovery_init_metadata_association_add
|
||||
#define LassoIdWsf2Discovery_processMetadataAssociationAddMsg lasso_idwsf2_discovery_process_metadata_association_add_msg
|
||||
#define LassoIdWsf2Discovery_processMetadataAssociationAddResponseMsg lasso_idwsf2_discovery_process_metadata_association_add_response_msg
|
||||
#define LassoIdWsf2Discovery_initQuery lasso_idwsf2_discovery_init_query
|
||||
#define LassoIdWsf2Discovery_addRequestedServiceType lasso_idwsf2_discovery_add_requested_service_type
|
||||
#define LassoIdWsf2Discovery_processQueryMsg lasso_idwsf2_discovery_process_query_msg
|
||||
#define LassoIdWsf2Discovery_buildQueryResponseEprs lasso_idwsf2_discovery_build_query_response_eprs
|
||||
#define LassoIdWsf2Discovery_processQueryResponseMsg lasso_idwsf2_discovery_process_query_response_msg
|
||||
#define LassoIdWsf2Discovery_registerMetadata lasso_idwsf2_discovery_register_metadata
|
||||
#define LassoIdWsf2Discovery_getService(self, type) \
|
||||
get_node(lasso_idwsf2_discovery_get_service(self, type))
|
||||
|
||||
%}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* lasso:IdWsf2DataService
|
||||
***********************************************************************/
|
||||
|
||||
#ifndef SWIG_PHP_RENAMES
|
||||
%rename(IdWsf2DataService) LassoIdWsf2DataService;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DataService;
|
||||
%extend LassoIdWsf2DataService {
|
||||
|
||||
/* Attributes inherited from LassoProfile */
|
||||
|
||||
%immutable msgBody;
|
||||
char *msgBody;
|
||||
|
||||
%immutable msgUrl;
|
||||
char *msgUrl;
|
||||
|
||||
%immutable nameIdentifier;
|
||||
LassoSaml2NameID *nameIdentifier;
|
||||
|
||||
%newobject request_get;
|
||||
LassoNode *request;
|
||||
|
||||
%newobject response_get;
|
||||
LassoNode *response;
|
||||
|
||||
%newobject server_get;
|
||||
LassoServer *server;
|
||||
|
||||
/* Attributes */
|
||||
|
||||
%newobject data;
|
||||
char *data;
|
||||
|
||||
%immutable type;
|
||||
char *type;
|
||||
|
||||
%immutable redirectUrl;
|
||||
char *redirectUrl;
|
||||
|
||||
%immutable queryItems;
|
||||
LassoStringList *queryItems;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
|
||||
LassoIdWsf2DataService(LassoServer *server);
|
||||
|
||||
~LassoIdWsf2DataService();
|
||||
|
||||
/* Methods inherited from LassoNode */
|
||||
|
||||
%newobject dump;
|
||||
char *dump();
|
||||
|
||||
/* Methods inherited from LassoIdWsf2Profile */
|
||||
|
||||
THROW_ERROR()
|
||||
int buildRequestMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int buildResponseMsg();
|
||||
END_THROW_ERROR()
|
||||
|
||||
/* Methods */
|
||||
|
||||
THROW_ERROR()
|
||||
int initQuery();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int addQueryItem(const char *item_xpath, const char *item_id);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processQueryMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int parseQueryItems();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processQueryResponseMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
%newobject getAttributeNode;
|
||||
char* getAttributeNode(const char *item_id = NULL);
|
||||
|
||||
%newobject getAttributeString;
|
||||
char* getAttributeString(const char *item_id = NULL);
|
||||
|
||||
THROW_ERROR()
|
||||
int initRedirectUserForConsent(const char *redirect_url);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int initModify();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int addModifyItem(const char *item_xpath, const char *item_id, const char *new_data,
|
||||
const gboolean overrideAllowed=FALSE);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processModifyMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int parseModifyItems();
|
||||
END_THROW_ERROR()
|
||||
|
||||
THROW_ERROR()
|
||||
int processModifyResponseMsg(const char *message);
|
||||
END_THROW_ERROR()
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Attributes inherited from LassoProfile */
|
||||
|
||||
/* msgBody */
|
||||
#define LassoIdWsf2DataService_get_msgBody(self) LASSO_PROFILE(self)->msg_body
|
||||
#define LassoIdWsf2DataService_msgBody_get(self) LASSO_PROFILE(self)->msg_body
|
||||
|
||||
/* msgUrl */
|
||||
#define LassoIdWsf2DataService_get_msgUrl(self) LASSO_PROFILE(self)->msg_url
|
||||
#define LassoIdWsf2DataService_msgUrl_get(self) LASSO_PROFILE(self)->msg_url
|
||||
|
||||
/* nameIdentifier */
|
||||
#define LassoIdWsf2DataService_get_nameIdentifier(self) \
|
||||
LASSO_SAML2_NAME_ID(get_node(LASSO_PROFILE(self)->nameIdentifier))
|
||||
#define LassoIdWsf2DataService_nameIdentifier_get(self) \
|
||||
LASSO_SAML2_NAME_ID(get_node(LASSO_PROFILE(self)->nameIdentifier))
|
||||
|
||||
/* request */
|
||||
#define LassoIdWsf2DataService_get_request(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoIdWsf2DataService_request_get(self) get_node(LASSO_PROFILE(self)->request)
|
||||
#define LassoIdWsf2DataService_set_request(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
#define LassoIdWsf2DataService_request_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->request, (value))
|
||||
|
||||
/* response */
|
||||
#define LassoIdWsf2DataService_get_response(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoIdWsf2DataService_response_get(self) get_node(LASSO_PROFILE(self)->response)
|
||||
#define LassoIdWsf2DataService_set_response(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
#define LassoIdWsf2DataService_response_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->response, (value))
|
||||
|
||||
/* server */
|
||||
#define LassoIdWsf2DataService_get_server(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoIdWsf2DataService_server_get(self) get_node(LASSO_PROFILE(self)->server)
|
||||
#define LassoIdWsf2DataService_set_server(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
#define LassoIdWsf2DataService_server_set(self, value) set_node((gpointer *) &LASSO_PROFILE(self)->server, (value))
|
||||
|
||||
/* Attributes */
|
||||
|
||||
/* data */
|
||||
#define LassoIdWsf2DataService_get_data(self) get_xml_string(xmlCopyNode((self)->data, 1))
|
||||
#define LassoIdWsf2DataService_data_get(self) get_xml_string(xmlCopyNode((self)->data, 1))
|
||||
#define LassoIdWsf2DataService_set_data(self, value) set_xml_string(&(self)->data, (value))
|
||||
#define LassoIdWsf2DataService_data_set(self, value) set_xml_string(&(self)->data, (value))
|
||||
|
||||
/* type */
|
||||
#define LassoIdWsf2DataService_get_type(self) self->type
|
||||
#define LassoIdWsf2DataService_type_get(self) self->type
|
||||
|
||||
/* redirectUrl */
|
||||
#define LassoIdWsf2DataService_get_redirectUrl(self) self->redirect_url
|
||||
#define LassoIdWsf2DataService_redirectUrl_get(self) self->redirect_url
|
||||
|
||||
/* queryItems */
|
||||
#define LassoIdWsf2DataService_get_queryItems(self) get_string_list((self)->query_items)
|
||||
#define LassoIdWsf2DataService_queryItems_get(self) get_string_list((self)->query_items)
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DataService lasso_idwsf2_data_service_new
|
||||
#define delete_LassoIdWsf2DataService(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DataService_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoIdWsf2Profile */
|
||||
|
||||
#define LassoIdWsf2DataService_buildRequestMsg(self) lasso_idwsf2_profile_build_request_msg(LASSO_IDWSF2_PROFILE(self))
|
||||
#define LassoIdWsf2DataService_buildResponseMsg(self) lasso_idwsf2_profile_build_response_msg(LASSO_IDWSF2_PROFILE(self))
|
||||
|
||||
/* Methods implementations */
|
||||
#define LassoIdWsf2DataService_initQuery lasso_idwsf2_data_service_init_query
|
||||
#define LassoIdWsf2DataService_addQueryItem lasso_idwsf2_data_service_add_query_item
|
||||
#define LassoIdWsf2DataService_processQueryMsg lasso_idwsf2_data_service_process_query_msg
|
||||
#define LassoIdWsf2DataService_parseQueryItems lasso_idwsf2_data_service_parse_query_items
|
||||
#define LassoIdWsf2DataService_processQueryResponseMsg lasso_idwsf2_data_service_process_query_response_msg
|
||||
#define LassoIdWsf2DataService_getAttributeNode(self, itemId) \
|
||||
get_xml_string(lasso_idwsf2_data_service_get_attribute_node(self, itemId))
|
||||
#define LassoIdWsf2DataService_getAttributeString lasso_idwsf2_data_service_get_attribute_string
|
||||
#define LassoIdWsf2DataService_initRedirectUserForConsent lasso_idwsf2_data_service_init_redirect_user_for_consent
|
||||
#define LassoIdWsf2DataService_initModify lasso_idwsf2_data_service_init_modify
|
||||
#define LassoIdWsf2DataService_addModifyItem lasso_idwsf2_data_service_add_modify_item
|
||||
#define LassoIdWsf2DataService_processModifyMsg lasso_idwsf2_data_service_process_modify_msg
|
||||
#define LassoIdWsf2DataService_parseModifyItems lasso_idwsf2_data_service_parse_modify_items
|
||||
#define LassoIdWsf2DataService_processModifyResponseMsg \
|
||||
lasso_idwsf2_data_service_process_modify_response_msg
|
||||
|
||||
%}
|
||||
|
7142
swig/Lasso.i
7142
swig/Lasso.i
File diff suppressed because it is too large
Load Diff
|
@ -1,8 +0,0 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
|
||||
EXTRA_DIST = Lasso.i Lasso-wsf.i Lasso-wsf-disco.i Lasso-wsf-dst.i \
|
||||
Lasso-wsf-is.i Lasso-wsf-sa.i Lasso-wsf-soap.i inheritance.h \
|
||||
wsf-support.i.in Lasso-wsf2.i \
|
||||
Lasso-saml2.i
|
||||
|
||||
SUBDIRS = saml-2.0 id-wsf-2.0 ws
|
|
@ -1,140 +0,0 @@
|
|||
MAINTAINERCLEANFILES = Makefile.in
|
||||
EXTRA_DIST = \
|
||||
inheritance.h \
|
||||
main.h \
|
||||
Makefile.am \
|
||||
disco_abstract.i \
|
||||
disco_endpoint_context.i \
|
||||
disco_keys.i \
|
||||
disco_options.i \
|
||||
disco_provider_id.i \
|
||||
disco_query.i \
|
||||
disco_query_response.i \
|
||||
disco_requested_service.i \
|
||||
disco_security_context.i \
|
||||
disco_service_context.i \
|
||||
disco_service_type.i \
|
||||
disco_svc_md_association_add.i \
|
||||
disco_svc_md_association_add_response.i \
|
||||
disco_svc_md_association_delete.i \
|
||||
disco_svc_md_association_delete_response.i \
|
||||
disco_svc_md_association_query.i \
|
||||
disco_svc_md_association_query_response.i \
|
||||
disco_svc_md_delete.i \
|
||||
disco_svc_md_delete_response.i \
|
||||
disco_svc_md_query.i \
|
||||
disco_svc_md_query_response.i \
|
||||
disco_svc_md_register.i \
|
||||
disco_svc_md_register_response.i \
|
||||
disco_svc_md_replace.i \
|
||||
disco_svc_md_replace_response.i \
|
||||
disco_svc_metadata.i \
|
||||
dst_data_response_base.i \
|
||||
dst_delete_item_base.i \
|
||||
dst_delete_response.i \
|
||||
dst_request.i \
|
||||
dst_result_query_base.i \
|
||||
dst_test_item_base.i \
|
||||
dstref_app_data.i \
|
||||
dstref_create.i \
|
||||
dstref_create_item.i \
|
||||
dstref_create_response.i \
|
||||
dstref_data.i \
|
||||
dstref_data_response.i \
|
||||
dstref_delete.i \
|
||||
dstref_delete_item.i \
|
||||
dstref_delete_response.i \
|
||||
dstref_item_data.i \
|
||||
dstref_modify.i \
|
||||
dstref_modify_item.i \
|
||||
dstref_modify_response.i \
|
||||
dstref_query.i \
|
||||
dstref_query_item.i \
|
||||
dstref_query_response.i \
|
||||
dstref_result_query.i \
|
||||
dstref_test_item.i \
|
||||
ims_identity_mapping_request.i \
|
||||
ims_identity_mapping_response.i \
|
||||
ims_mapping_input.i \
|
||||
ims_mapping_output.i \
|
||||
is_help.i \
|
||||
is_inquiry.i \
|
||||
is_inquiry_element.i \
|
||||
is_interaction_request.i \
|
||||
is_interaction_response.i \
|
||||
is_interaction_statement.i \
|
||||
is_item.i \
|
||||
is_parameter.i \
|
||||
is_select.i \
|
||||
is_text.i \
|
||||
ps_add_collection_request.i \
|
||||
ps_add_collection_response.i \
|
||||
ps_add_entity_request.i \
|
||||
ps_add_entity_response.i \
|
||||
ps_add_known_entity_request.i \
|
||||
ps_add_known_entity_response.i \
|
||||
ps_add_to_collection_request.i \
|
||||
ps_get_object_info_request.i \
|
||||
ps_get_object_info_response.i \
|
||||
ps_item_data.i \
|
||||
ps_list_members_request.i \
|
||||
ps_list_members_response.i \
|
||||
ps_notification.i \
|
||||
ps_notify.i \
|
||||
ps_object.i \
|
||||
ps_query_objects_request.i \
|
||||
ps_query_objects_response.i \
|
||||
ps_remove_collection_request.i \
|
||||
ps_remove_entity_request.i \
|
||||
ps_remove_from_collection_request.i \
|
||||
ps_request_abstract.i \
|
||||
ps_resolve_identifier_request.i \
|
||||
ps_resolve_identifier_response.i \
|
||||
ps_resolve_input.i \
|
||||
ps_response_abstract.i \
|
||||
ps_set_object_info_request.i \
|
||||
ps_test_membership_request.i \
|
||||
ps_test_membership_response.i \
|
||||
sb2_consent.i \
|
||||
sb2_credentials_context.i \
|
||||
sb2_endpoint_update.i \
|
||||
sb2_redirect_request.i \
|
||||
sb2_sender.i \
|
||||
sb2_target_identity.i \
|
||||
sb2_timeout.i \
|
||||
sb2_usage_directive.i \
|
||||
sb2_user_interaction_header.i \
|
||||
sbf_framework.i \
|
||||
sec_token.i \
|
||||
sec_token_policy.i \
|
||||
sec_transited_provider_path.i \
|
||||
subs_notification.i \
|
||||
subs_notify_response.i \
|
||||
subs_ref_item.i \
|
||||
subs_subscription.i \
|
||||
subsref_app_data.i \
|
||||
subsref_create.i \
|
||||
subsref_create_item.i \
|
||||
subsref_create_response.i \
|
||||
subsref_data.i \
|
||||
subsref_data_response.i \
|
||||
subsref_delete.i \
|
||||
subsref_delete_item.i \
|
||||
subsref_delete_response.i \
|
||||
subsref_item_data.i \
|
||||
subsref_modify.i \
|
||||
subsref_modify_item.i \
|
||||
subsref_modify_response.i \
|
||||
subsref_notification.i \
|
||||
subsref_notify.i \
|
||||
subsref_notify_response.i \
|
||||
subsref_query.i \
|
||||
subsref_query_item.i \
|
||||
subsref_query_response.i \
|
||||
subsref_result_query.i \
|
||||
subsref_subscription.i \
|
||||
subsref_test_item.i \
|
||||
util_empty.i \
|
||||
util_extension.i \
|
||||
util_response.i \
|
||||
util_status.i
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: disco_abstract.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoAbstract) LassoIdWsf2DiscoAbstract;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *content;
|
||||
} LassoIdWsf2DiscoAbstract;
|
||||
%extend LassoIdWsf2DiscoAbstract {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoAbstract();
|
||||
~LassoIdWsf2DiscoAbstract();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoAbstract lasso_idwsf2_disco_abstract_new
|
||||
#define delete_LassoIdWsf2DiscoAbstract(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoAbstract_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: disco_endpoint_context.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoEndpointContext) LassoIdWsf2DiscoEndpointContext;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoEndpointContext;
|
||||
%extend LassoIdWsf2DiscoEndpointContext {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoEndpointContext();
|
||||
~LassoIdWsf2DiscoEndpointContext();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoEndpointContext lasso_idwsf2_disco_endpoint_context_new
|
||||
#define delete_LassoIdWsf2DiscoEndpointContext(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoEndpointContext_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: disco_keys.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoKeys) LassoIdWsf2DiscoKeys;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoKeys;
|
||||
%extend LassoIdWsf2DiscoKeys {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoKeys();
|
||||
~LassoIdWsf2DiscoKeys();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoKeys lasso_idwsf2_disco_keys_new
|
||||
#define delete_LassoIdWsf2DiscoKeys(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoKeys_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: disco_options.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoOptions) LassoIdWsf2DiscoOptions;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoOptions;
|
||||
%extend LassoIdWsf2DiscoOptions {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoOptions();
|
||||
~LassoIdWsf2DiscoOptions();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoOptions lasso_idwsf2_disco_options_new
|
||||
#define delete_LassoIdWsf2DiscoOptions(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoOptions_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: disco_provider_id.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoProviderID) LassoIdWsf2DiscoProviderID;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *content;
|
||||
} LassoIdWsf2DiscoProviderID;
|
||||
%extend LassoIdWsf2DiscoProviderID {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoProviderID();
|
||||
~LassoIdWsf2DiscoProviderID();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoProviderID lasso_idwsf2_disco_provider_id_new
|
||||
#define delete_LassoIdWsf2DiscoProviderID(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoProviderID_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_query.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoQuery) LassoIdWsf2DiscoQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoQuery;
|
||||
%extend LassoIdWsf2DiscoQuery {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoQuery();
|
||||
~LassoIdWsf2DiscoQuery();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoQuery_attributes_get(LassoIdWsf2DiscoQuery *self);
|
||||
#define LassoIdWsf2DiscoQuery_get_attributes LassoIdWsf2DiscoQuery_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoQuery_attributes_get(LassoIdWsf2DiscoQuery *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoQuery lasso_idwsf2_disco_query_new
|
||||
#define delete_LassoIdWsf2DiscoQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_query_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoQueryResponse) LassoIdWsf2DiscoQueryResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoQueryResponse;
|
||||
%extend LassoIdWsf2DiscoQueryResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoQueryResponse();
|
||||
~LassoIdWsf2DiscoQueryResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoQueryResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoQueryResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoQueryResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoQueryResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoQueryResponse_attributes_get(LassoIdWsf2DiscoQueryResponse *self);
|
||||
#define LassoIdWsf2DiscoQueryResponse_get_attributes LassoIdWsf2DiscoQueryResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoQueryResponse_attributes_get(LassoIdWsf2DiscoQueryResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoQueryResponse lasso_idwsf2_disco_query_response_new
|
||||
#define delete_LassoIdWsf2DiscoQueryResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoQueryResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_requested_service.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoRequestedService) LassoIdWsf2DiscoRequestedService;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *reqID;
|
||||
char *resultsType;
|
||||
} LassoIdWsf2DiscoRequestedService;
|
||||
%extend LassoIdWsf2DiscoRequestedService {
|
||||
|
||||
%newobject *any_get;
|
||||
LassoNode *any;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoRequestedService();
|
||||
~LassoIdWsf2DiscoRequestedService();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any */
|
||||
|
||||
#define LassoIdWsf2DiscoRequestedService_get_any(self) get_node((self)->any)
|
||||
#define LassoIdWsf2DiscoRequestedService_any_get(self) get_node((self)->any)
|
||||
#define LassoIdWsf2DiscoRequestedService_set_any(self,value) set_node((gpointer*)&(self)->any, (value))
|
||||
#define LassoIdWsf2DiscoRequestedService_any_set(self,value) set_node((gpointer*)&(self)->any, (value))
|
||||
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoRequestedService lasso_idwsf2_disco_requested_service_new
|
||||
#define delete_LassoIdWsf2DiscoRequestedService(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoRequestedService_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: disco_security_context.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSecurityContext) LassoIdWsf2DiscoSecurityContext;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSecurityContext;
|
||||
%extend LassoIdWsf2DiscoSecurityContext {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSecurityContext();
|
||||
~LassoIdWsf2DiscoSecurityContext();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSecurityContext lasso_idwsf2_disco_security_context_new
|
||||
#define delete_LassoIdWsf2DiscoSecurityContext(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSecurityContext_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: disco_service_context.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoServiceContext) LassoIdWsf2DiscoServiceContext;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoServiceContext;
|
||||
%extend LassoIdWsf2DiscoServiceContext {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoServiceContext();
|
||||
~LassoIdWsf2DiscoServiceContext();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoServiceContext lasso_idwsf2_disco_service_context_new
|
||||
#define delete_LassoIdWsf2DiscoServiceContext(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoServiceContext_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: disco_service_type.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoServiceType) LassoIdWsf2DiscoServiceType;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *content;
|
||||
} LassoIdWsf2DiscoServiceType;
|
||||
%extend LassoIdWsf2DiscoServiceType {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoServiceType();
|
||||
~LassoIdWsf2DiscoServiceType();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoServiceType lasso_idwsf2_disco_service_type_new
|
||||
#define delete_LassoIdWsf2DiscoServiceType(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoServiceType_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_add.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationAdd) LassoIdWsf2DiscoSvcMDAssociationAdd;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationAdd;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationAdd {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationAdd();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationAdd();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationAdd_attributes_get(LassoIdWsf2DiscoSvcMDAssociationAdd *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAdd_get_attributes LassoIdWsf2DiscoSvcMDAssociationAdd_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationAdd_attributes_get(LassoIdWsf2DiscoSvcMDAssociationAdd *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationAdd lasso_idwsf2_disco_svc_md_association_add_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationAdd(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAdd_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_add_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationAddResponse) LassoIdWsf2DiscoSvcMDAssociationAddResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationAddResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationAddResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationAddResponse();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationAddResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationAddResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationAddResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_get_attributes LassoIdWsf2DiscoSvcMDAssociationAddResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationAddResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationAddResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationAddResponse lasso_idwsf2_disco_svc_md_association_add_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationAddResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationAddResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_delete.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationDelete) LassoIdWsf2DiscoSvcMDAssociationDelete;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationDelete;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationDelete {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationDelete();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationDelete();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationDelete_attributes_get(LassoIdWsf2DiscoSvcMDAssociationDelete *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDelete_get_attributes LassoIdWsf2DiscoSvcMDAssociationDelete_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationDelete_attributes_get(LassoIdWsf2DiscoSvcMDAssociationDelete *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationDelete lasso_idwsf2_disco_svc_md_association_delete_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationDelete(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDelete_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_delete_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationDeleteResponse) LassoIdWsf2DiscoSvcMDAssociationDeleteResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationDeleteResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationDeleteResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationDeleteResponse();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationDeleteResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_get_attributes LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationDeleteResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationDeleteResponse lasso_idwsf2_disco_svc_md_association_delete_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationDeleteResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationDeleteResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_query.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationQuery) LassoIdWsf2DiscoSvcMDAssociationQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationQuery;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationQuery {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationQuery();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationQuery();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationQuery_attributes_get(LassoIdWsf2DiscoSvcMDAssociationQuery *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQuery_get_attributes LassoIdWsf2DiscoSvcMDAssociationQuery_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationQuery_attributes_get(LassoIdWsf2DiscoSvcMDAssociationQuery *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationQuery lasso_idwsf2_disco_svc_md_association_query_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_association_query_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDAssociationQueryResponse) LassoIdWsf2DiscoSvcMDAssociationQueryResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDAssociationQueryResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDAssociationQueryResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDAssociationQueryResponse();
|
||||
~LassoIdWsf2DiscoSvcMDAssociationQueryResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationQueryResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationQueryResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_get_attributes LassoIdWsf2DiscoSvcMDAssociationQueryResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDAssociationQueryResponse_attributes_get(LassoIdWsf2DiscoSvcMDAssociationQueryResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDAssociationQueryResponse lasso_idwsf2_disco_svc_md_association_query_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDAssociationQueryResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDAssociationQueryResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_delete.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDDelete) LassoIdWsf2DiscoSvcMDDelete;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDDelete;
|
||||
%extend LassoIdWsf2DiscoSvcMDDelete {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDDelete();
|
||||
~LassoIdWsf2DiscoSvcMDDelete();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDDelete_attributes_get(LassoIdWsf2DiscoSvcMDDelete *self);
|
||||
#define LassoIdWsf2DiscoSvcMDDelete_get_attributes LassoIdWsf2DiscoSvcMDDelete_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDDelete_attributes_get(LassoIdWsf2DiscoSvcMDDelete *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDDelete lasso_idwsf2_disco_svc_md_delete_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDDelete(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDDelete_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_delete_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDDeleteResponse) LassoIdWsf2DiscoSvcMDDeleteResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDDeleteResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDDeleteResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDDeleteResponse();
|
||||
~LassoIdWsf2DiscoSvcMDDeleteResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDDeleteResponse_attributes_get(LassoIdWsf2DiscoSvcMDDeleteResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_get_attributes LassoIdWsf2DiscoSvcMDDeleteResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDDeleteResponse_attributes_get(LassoIdWsf2DiscoSvcMDDeleteResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDDeleteResponse lasso_idwsf2_disco_svc_md_delete_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDDeleteResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDDeleteResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_query.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDQuery) LassoIdWsf2DiscoSvcMDQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDQuery;
|
||||
%extend LassoIdWsf2DiscoSvcMDQuery {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDQuery();
|
||||
~LassoIdWsf2DiscoSvcMDQuery();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDQuery_attributes_get(LassoIdWsf2DiscoSvcMDQuery *self);
|
||||
#define LassoIdWsf2DiscoSvcMDQuery_get_attributes LassoIdWsf2DiscoSvcMDQuery_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDQuery_attributes_get(LassoIdWsf2DiscoSvcMDQuery *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDQuery lasso_idwsf2_disco_svc_md_query_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_query_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDQueryResponse) LassoIdWsf2DiscoSvcMDQueryResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDQueryResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDQueryResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDQueryResponse();
|
||||
~LassoIdWsf2DiscoSvcMDQueryResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDQueryResponse_attributes_get(LassoIdWsf2DiscoSvcMDQueryResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_get_attributes LassoIdWsf2DiscoSvcMDQueryResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDQueryResponse_attributes_get(LassoIdWsf2DiscoSvcMDQueryResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDQueryResponse lasso_idwsf2_disco_svc_md_query_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDQueryResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDQueryResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_register.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDRegister) LassoIdWsf2DiscoSvcMDRegister;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDRegister;
|
||||
%extend LassoIdWsf2DiscoSvcMDRegister {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDRegister();
|
||||
~LassoIdWsf2DiscoSvcMDRegister();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDRegister_attributes_get(LassoIdWsf2DiscoSvcMDRegister *self);
|
||||
#define LassoIdWsf2DiscoSvcMDRegister_get_attributes LassoIdWsf2DiscoSvcMDRegister_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDRegister_attributes_get(LassoIdWsf2DiscoSvcMDRegister *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDRegister lasso_idwsf2_disco_svc_md_register_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDRegister(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDRegister_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_register_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDRegisterResponse) LassoIdWsf2DiscoSvcMDRegisterResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDRegisterResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDRegisterResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDRegisterResponse();
|
||||
~LassoIdWsf2DiscoSvcMDRegisterResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDRegisterResponse_attributes_get(LassoIdWsf2DiscoSvcMDRegisterResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_get_attributes LassoIdWsf2DiscoSvcMDRegisterResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDRegisterResponse_attributes_get(LassoIdWsf2DiscoSvcMDRegisterResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDRegisterResponse lasso_idwsf2_disco_svc_md_register_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDRegisterResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDRegisterResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: disco_svc_md_replace.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDReplace) LassoIdWsf2DiscoSvcMDReplace;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDReplace;
|
||||
%extend LassoIdWsf2DiscoSvcMDReplace {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDReplace();
|
||||
~LassoIdWsf2DiscoSvcMDReplace();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDReplace_attributes_get(LassoIdWsf2DiscoSvcMDReplace *self);
|
||||
#define LassoIdWsf2DiscoSvcMDReplace_get_attributes LassoIdWsf2DiscoSvcMDReplace_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDReplace_attributes_get(LassoIdWsf2DiscoSvcMDReplace *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDReplace lasso_idwsf2_disco_svc_md_replace_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDReplace(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDReplace_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: disco_svc_md_replace_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMDReplaceResponse) LassoIdWsf2DiscoSvcMDReplaceResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DiscoSvcMDReplaceResponse;
|
||||
%extend LassoIdWsf2DiscoSvcMDReplaceResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMDReplaceResponse();
|
||||
~LassoIdWsf2DiscoSvcMDReplaceResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDReplaceResponse_attributes_get(LassoIdWsf2DiscoSvcMDReplaceResponse *self);
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_get_attributes LassoIdWsf2DiscoSvcMDReplaceResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DiscoSvcMDReplaceResponse_attributes_get(LassoIdWsf2DiscoSvcMDReplaceResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMDReplaceResponse lasso_idwsf2_disco_svc_md_replace_response_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMDReplaceResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMDReplaceResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
/* $Id: disco_svc_metadata.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DiscoSvcMetadata) LassoIdWsf2DiscoSvcMetadata;
|
||||
#endif
|
||||
typedef struct {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
/* XXX: SWIG 1.3.31 and more fails to compile the PHP 4 binding it
|
||||
generates if this * part is present */
|
||||
|
||||
#if !defined(SWIG_PHP_RENAMES) && !defined(SWIGCSHARP) && !defined(SWIGJAVA)
|
||||
/* "abstract" is a reserved word in PHP, C# and Java. */
|
||||
%rename(abstract) Abstract;
|
||||
#endif
|
||||
char *Abstract;
|
||||
|
||||
#endif /* !SWIGPHP4 */
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(providerID) ProviderID;
|
||||
#endif
|
||||
char *ProviderID;
|
||||
char *svcMDID;
|
||||
} LassoIdWsf2DiscoSvcMetadata;
|
||||
%extend LassoIdWsf2DiscoSvcMetadata {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DiscoSvcMetadata();
|
||||
~LassoIdWsf2DiscoSvcMetadata();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DiscoSvcMetadata lasso_idwsf2_disco_svc_metadata_new
|
||||
#define delete_LassoIdWsf2DiscoSvcMetadata(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DiscoSvcMetadata_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: dst_data_response_base.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstDataResponseBase) LassoIdWsf2DstDataResponseBase;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *timeStamp;
|
||||
} LassoIdWsf2DstDataResponseBase;
|
||||
%extend LassoIdWsf2DstDataResponseBase {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstDataResponseBase();
|
||||
~LassoIdWsf2DstDataResponseBase();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstDataResponseBase lasso_idwsf2_dst_data_response_base_new
|
||||
#define delete_LassoIdWsf2DstDataResponseBase(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstDataResponseBase_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,59 +0,0 @@
|
|||
/* $Id: dst_delete_item_base.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstDeleteItemBase) LassoIdWsf2DstDeleteItemBase;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *notChangedSince;
|
||||
char *id;
|
||||
char *itemID;
|
||||
char *objectType;
|
||||
char *predefined;
|
||||
} LassoIdWsf2DstDeleteItemBase;
|
||||
%extend LassoIdWsf2DstDeleteItemBase {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstDeleteItemBase();
|
||||
~LassoIdWsf2DstDeleteItemBase();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstDeleteItemBase lasso_idwsf2_dst_delete_item_base_new
|
||||
#define delete_LassoIdWsf2DstDeleteItemBase(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstDeleteItemBase_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dst_delete_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstDeleteResponse) LassoIdWsf2DstDeleteResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstDeleteResponse;
|
||||
%extend LassoIdWsf2DstDeleteResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstDeleteResponse();
|
||||
~LassoIdWsf2DstDeleteResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstDeleteResponse lasso_idwsf2_dst_delete_response_new
|
||||
#define delete_LassoIdWsf2DstDeleteResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstDeleteResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
/* $Id: dst_request.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRequest) LassoIdWsf2DstRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *itemID;
|
||||
} LassoIdWsf2DstRequest;
|
||||
%extend LassoIdWsf2DstRequest {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRequest();
|
||||
~LassoIdWsf2DstRequest();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2DstRequest_attributes_get(LassoIdWsf2DstRequest *self);
|
||||
#define LassoIdWsf2DstRequest_get_attributes LassoIdWsf2DstRequest_attributes_get
|
||||
LassoStringDict* LassoIdWsf2DstRequest_attributes_get(LassoIdWsf2DstRequest *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRequest lasso_idwsf2_dst_request_new
|
||||
#define delete_LassoIdWsf2DstRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
/* $Id: dst_result_query_base.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstResultQueryBase) LassoIdWsf2DstResultQueryBase;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(changeFormat) ChangeFormat;
|
||||
#endif
|
||||
char *ChangeFormat;
|
||||
char *itemIDRef;
|
||||
gboolean contingency;
|
||||
gboolean includeCommonAttributes;
|
||||
char *changedSince;
|
||||
char *itemID;
|
||||
char *objectType;
|
||||
char *predefined;
|
||||
} LassoIdWsf2DstResultQueryBase;
|
||||
%extend LassoIdWsf2DstResultQueryBase {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstResultQueryBase();
|
||||
~LassoIdWsf2DstResultQueryBase();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstResultQueryBase lasso_idwsf2_dst_result_query_base_new
|
||||
#define delete_LassoIdWsf2DstResultQueryBase(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstResultQueryBase_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/* $Id: dst_test_item_base.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstTestItemBase) LassoIdWsf2DstTestItemBase;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *id;
|
||||
char *itemID;
|
||||
char *objectType;
|
||||
char *predefined;
|
||||
} LassoIdWsf2DstTestItemBase;
|
||||
%extend LassoIdWsf2DstTestItemBase {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstTestItemBase();
|
||||
~LassoIdWsf2DstTestItemBase();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstTestItemBase lasso_idwsf2_dst_test_item_base_new
|
||||
#define delete_LassoIdWsf2DstTestItemBase(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstTestItemBase_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_app_data.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefAppData) LassoIdWsf2DstRefAppData;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefAppData;
|
||||
%extend LassoIdWsf2DstRefAppData {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefAppData();
|
||||
~LassoIdWsf2DstRefAppData();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefAppData lasso_idwsf2_dstref_app_data_new
|
||||
#define delete_LassoIdWsf2DstRefAppData(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefAppData_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_create.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefCreate) LassoIdWsf2DstRefCreate;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefCreate;
|
||||
%extend LassoIdWsf2DstRefCreate {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefCreate();
|
||||
~LassoIdWsf2DstRefCreate();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefCreate lasso_idwsf2_dstref_create_new
|
||||
#define delete_LassoIdWsf2DstRefCreate(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefCreate_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
/* $Id: dstref_create_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefCreateItem) LassoIdWsf2DstRefCreateItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *objectType;
|
||||
char *id;
|
||||
char *itemID;
|
||||
} LassoIdWsf2DstRefCreateItem;
|
||||
%extend LassoIdWsf2DstRefCreateItem {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(newData) NewData;
|
||||
#endif
|
||||
%newobject *NewData_get;
|
||||
LassoIdWsf2DstRefAppData *NewData;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefCreateItem();
|
||||
~LassoIdWsf2DstRefCreateItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* NewData */
|
||||
|
||||
#define LassoIdWsf2DstRefCreateItem_get_NewData(self) get_node((self)->NewData)
|
||||
#define LassoIdWsf2DstRefCreateItem_NewData_get(self) get_node((self)->NewData)
|
||||
#define LassoIdWsf2DstRefCreateItem_set_NewData(self,value) set_node((gpointer*)&(self)->NewData, (value))
|
||||
#define LassoIdWsf2DstRefCreateItem_NewData_set(self,value) set_node((gpointer*)&(self)->NewData, (value))
|
||||
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefCreateItem lasso_idwsf2_dstref_create_item_new
|
||||
#define delete_LassoIdWsf2DstRefCreateItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefCreateItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_create_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefCreateResponse) LassoIdWsf2DstRefCreateResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefCreateResponse;
|
||||
%extend LassoIdWsf2DstRefCreateResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefCreateResponse();
|
||||
~LassoIdWsf2DstRefCreateResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefCreateResponse lasso_idwsf2_dstref_create_response_new
|
||||
#define delete_LassoIdWsf2DstRefCreateResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefCreateResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
/* $Id: dstref_data.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefData) LassoIdWsf2DstRefData;
|
||||
#endif
|
||||
typedef struct {
|
||||
int remaining;
|
||||
int nextOffset;
|
||||
char *setID;
|
||||
} LassoIdWsf2DstRefData;
|
||||
%extend LassoIdWsf2DstRefData {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefData();
|
||||
~LassoIdWsf2DstRefData();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefData lasso_idwsf2_dstref_data_new
|
||||
#define delete_LassoIdWsf2DstRefData(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefData_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_data_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefDataResponse) LassoIdWsf2DstRefDataResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefDataResponse;
|
||||
%extend LassoIdWsf2DstRefDataResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefDataResponse();
|
||||
~LassoIdWsf2DstRefDataResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefDataResponse lasso_idwsf2_dstref_data_response_new
|
||||
#define delete_LassoIdWsf2DstRefDataResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefDataResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_delete.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefDelete) LassoIdWsf2DstRefDelete;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefDelete;
|
||||
%extend LassoIdWsf2DstRefDelete {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefDelete();
|
||||
~LassoIdWsf2DstRefDelete();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefDelete lasso_idwsf2_dstref_delete_new
|
||||
#define delete_LassoIdWsf2DstRefDelete(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefDelete_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/* $Id: dstref_delete_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefDeleteItem) LassoIdWsf2DstRefDeleteItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
char *Select;
|
||||
} LassoIdWsf2DstRefDeleteItem;
|
||||
%extend LassoIdWsf2DstRefDeleteItem {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefDeleteItem();
|
||||
~LassoIdWsf2DstRefDeleteItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefDeleteItem lasso_idwsf2_dstref_delete_item_new
|
||||
#define delete_LassoIdWsf2DstRefDeleteItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefDeleteItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_delete_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefDeleteResponse) LassoIdWsf2DstRefDeleteResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefDeleteResponse;
|
||||
%extend LassoIdWsf2DstRefDeleteResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefDeleteResponse();
|
||||
~LassoIdWsf2DstRefDeleteResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefDeleteResponse lasso_idwsf2_dstref_delete_response_new
|
||||
#define delete_LassoIdWsf2DstRefDeleteResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefDeleteResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
/* $Id: dstref_item_data.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefItemData) LassoIdWsf2DstRefItemData;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *itemIDRef;
|
||||
char *notSorted;
|
||||
char *changeFormat;
|
||||
} LassoIdWsf2DstRefItemData;
|
||||
%extend LassoIdWsf2DstRefItemData {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefItemData();
|
||||
~LassoIdWsf2DstRefItemData();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefItemData lasso_idwsf2_dstref_item_data_new
|
||||
#define delete_LassoIdWsf2DstRefItemData(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefItemData_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_modify.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefModify) LassoIdWsf2DstRefModify;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefModify;
|
||||
%extend LassoIdWsf2DstRefModify {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefModify();
|
||||
~LassoIdWsf2DstRefModify();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefModify lasso_idwsf2_dstref_modify_new
|
||||
#define delete_LassoIdWsf2DstRefModify(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefModify_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
/* $Id: dstref_modify_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefModifyItem) LassoIdWsf2DstRefModifyItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
char *Select;
|
||||
char *notChangedSince;
|
||||
gboolean overrideAllowed;
|
||||
char *id;
|
||||
char *itemID;
|
||||
} LassoIdWsf2DstRefModifyItem;
|
||||
%extend LassoIdWsf2DstRefModifyItem {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(newData) NewData;
|
||||
#endif
|
||||
%newobject *NewData_get;
|
||||
LassoIdWsf2DstRefAppData *NewData;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefModifyItem();
|
||||
~LassoIdWsf2DstRefModifyItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* NewData */
|
||||
|
||||
#define LassoIdWsf2DstRefModifyItem_get_NewData(self) get_node((self)->NewData)
|
||||
#define LassoIdWsf2DstRefModifyItem_NewData_get(self) get_node((self)->NewData)
|
||||
#define LassoIdWsf2DstRefModifyItem_set_NewData(self,value) set_node((gpointer*)&(self)->NewData, (value))
|
||||
#define LassoIdWsf2DstRefModifyItem_NewData_set(self,value) set_node((gpointer*)&(self)->NewData, (value))
|
||||
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefModifyItem lasso_idwsf2_dstref_modify_item_new
|
||||
#define delete_LassoIdWsf2DstRefModifyItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefModifyItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_modify_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefModifyResponse) LassoIdWsf2DstRefModifyResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefModifyResponse;
|
||||
%extend LassoIdWsf2DstRefModifyResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefModifyResponse();
|
||||
~LassoIdWsf2DstRefModifyResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefModifyResponse lasso_idwsf2_dstref_modify_response_new
|
||||
#define delete_LassoIdWsf2DstRefModifyResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefModifyResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_query.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefQuery) LassoIdWsf2DstRefQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefQuery;
|
||||
%extend LassoIdWsf2DstRefQuery {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefQuery();
|
||||
~LassoIdWsf2DstRefQuery();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefQuery lasso_idwsf2_dstref_query_new
|
||||
#define delete_LassoIdWsf2DstRefQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/* $Id: dstref_query_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefQueryItem) LassoIdWsf2DstRefQueryItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
int count;
|
||||
int offset;
|
||||
char *setID;
|
||||
char *setReq;
|
||||
} LassoIdWsf2DstRefQueryItem;
|
||||
%extend LassoIdWsf2DstRefQueryItem {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefQueryItem();
|
||||
~LassoIdWsf2DstRefQueryItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefQueryItem lasso_idwsf2_dstref_query_item_new
|
||||
#define delete_LassoIdWsf2DstRefQueryItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefQueryItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: dstref_query_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefQueryResponse) LassoIdWsf2DstRefQueryResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2DstRefQueryResponse;
|
||||
%extend LassoIdWsf2DstRefQueryResponse {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefQueryResponse();
|
||||
~LassoIdWsf2DstRefQueryResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefQueryResponse lasso_idwsf2_dstref_query_response_new
|
||||
#define delete_LassoIdWsf2DstRefQueryResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefQueryResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,62 +0,0 @@
|
|||
/* $Id: dstref_result_query.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefResultQuery) LassoIdWsf2DstRefResultQuery;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(select) Select;
|
||||
#endif
|
||||
char *Select;
|
||||
#ifndef SWIGPHP4
|
||||
%rename(sort) Sort;
|
||||
#endif
|
||||
char *Sort;
|
||||
} LassoIdWsf2DstRefResultQuery;
|
||||
%extend LassoIdWsf2DstRefResultQuery {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefResultQuery();
|
||||
~LassoIdWsf2DstRefResultQuery();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefResultQuery lasso_idwsf2_dstref_result_query_new
|
||||
#define delete_LassoIdWsf2DstRefResultQuery(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefResultQuery_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/* $Id: dstref_test_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2DstRefTestItem) LassoIdWsf2DstRefTestItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(testOp) TestOp;
|
||||
#endif
|
||||
char *TestOp;
|
||||
} LassoIdWsf2DstRefTestItem;
|
||||
%extend LassoIdWsf2DstRefTestItem {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2DstRefTestItem();
|
||||
~LassoIdWsf2DstRefTestItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2DstRefTestItem lasso_idwsf2_dstref_test_item_new
|
||||
#define delete_LassoIdWsf2DstRefTestItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2DstRefTestItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: ims_identity_mapping_request.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2ImsIdentityMappingRequest) LassoIdWsf2ImsIdentityMappingRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2ImsIdentityMappingRequest;
|
||||
%extend LassoIdWsf2ImsIdentityMappingRequest {
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2ImsIdentityMappingRequest();
|
||||
~LassoIdWsf2ImsIdentityMappingRequest();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2ImsIdentityMappingRequest_attributes_get(LassoIdWsf2ImsIdentityMappingRequest *self);
|
||||
#define LassoIdWsf2ImsIdentityMappingRequest_get_attributes LassoIdWsf2ImsIdentityMappingRequest_attributes_get
|
||||
LassoStringDict* LassoIdWsf2ImsIdentityMappingRequest_attributes_get(LassoIdWsf2ImsIdentityMappingRequest *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2ImsIdentityMappingRequest lasso_idwsf2_ims_identity_mapping_request_new
|
||||
#define delete_LassoIdWsf2ImsIdentityMappingRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2ImsIdentityMappingRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,81 +0,0 @@
|
|||
/* $Id: ims_identity_mapping_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2ImsIdentityMappingResponse) LassoIdWsf2ImsIdentityMappingResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2ImsIdentityMappingResponse;
|
||||
%extend LassoIdWsf2ImsIdentityMappingResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* any attribute */
|
||||
%immutable attributes;
|
||||
%newobject attributes_get;
|
||||
LassoStringDict *attributes;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2ImsIdentityMappingResponse();
|
||||
~LassoIdWsf2ImsIdentityMappingResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
/* any attribute */
|
||||
LassoStringDict* LassoIdWsf2ImsIdentityMappingResponse_attributes_get(LassoIdWsf2ImsIdentityMappingResponse *self);
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_get_attributes LassoIdWsf2ImsIdentityMappingResponse_attributes_get
|
||||
LassoStringDict* LassoIdWsf2ImsIdentityMappingResponse_attributes_get(LassoIdWsf2ImsIdentityMappingResponse *self) {
|
||||
return self->attributes;
|
||||
}
|
||||
/* TODO: implement attributes_set */
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2ImsIdentityMappingResponse lasso_idwsf2_ims_identity_mapping_response_new
|
||||
#define delete_LassoIdWsf2ImsIdentityMappingResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2ImsIdentityMappingResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: ims_mapping_input.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2ImsMappingInput) LassoIdWsf2ImsMappingInput;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *reqID;
|
||||
} LassoIdWsf2ImsMappingInput;
|
||||
%extend LassoIdWsf2ImsMappingInput {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2ImsMappingInput();
|
||||
~LassoIdWsf2ImsMappingInput();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2ImsMappingInput lasso_idwsf2_ims_mapping_input_new
|
||||
#define delete_LassoIdWsf2ImsMappingInput(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2ImsMappingInput_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
/* $Id: ims_mapping_output.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2ImsMappingOutput) LassoIdWsf2ImsMappingOutput;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *reqRef;
|
||||
} LassoIdWsf2ImsMappingOutput;
|
||||
%extend LassoIdWsf2ImsMappingOutput {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2ImsMappingOutput();
|
||||
~LassoIdWsf2ImsMappingOutput();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2ImsMappingOutput lasso_idwsf2_ims_mapping_output_new
|
||||
#define delete_LassoIdWsf2ImsMappingOutput(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2ImsMappingOutput_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,136 +0,0 @@
|
|||
SET_NODE_INFO(IdWsf2Sb2Sender, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2Consent, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2RedirectRequest, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2UserInteractionHeader, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2UsageDirective, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2TargetIdentity, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2Timeout, Node)
|
||||
SET_NODE_INFO(IdWsf2Sb2CredentialsContext, Node)
|
||||
SET_NODE_INFO(IdWsf2PsObject, Node)
|
||||
SET_NODE_INFO(IdWsf2PsRequestAbstract, Node)
|
||||
SET_NODE_INFO(IdWsf2PsTestMembershipRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsRemoveEntityRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddToCollectionRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsRemoveCollectionRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddKnownEntityRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddEntityRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsRemoveFromCollectionRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsListMembersRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsQueryObjectsRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsSetObjectInfoRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsGetObjectInfoRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsItemData, Node)
|
||||
SET_NODE_INFO(IdWsf2PsResponseAbstract, Node)
|
||||
SET_NODE_INFO(IdWsf2PsAddKnownEntityResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddEntityResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddCollectionResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsQueryObjectsResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsListMembersResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsGetObjectInfoResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsResolveIdentifierResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsResolveIdentifierRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsTestMembershipResponse, IdWsf2PsResponseAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsAddCollectionRequest, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2PsNotify, IdWsf2PsRequestAbstract)
|
||||
SET_NODE_INFO(IdWsf2SubsRefAppData, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefCreateItem, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefModifyItem, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefItemData, IdWsf2SubsRefAppData)
|
||||
SET_NODE_INFO(IdWsf2SubsRefData, IdWsf2SubsRefItemData)
|
||||
SET_NODE_INFO(IdWsf2SubsNotification, Node)
|
||||
SET_NODE_INFO(IdWsf2PsNotification, IdWsf2SubsNotification)
|
||||
SET_NODE_INFO(IdWsf2SubsRefNotification, IdWsf2SubsNotification)
|
||||
SET_NODE_INFO(IdWsf2SubsRefItem, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsSubscription, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefSubscription, IdWsf2SubsSubscription)
|
||||
SET_NODE_INFO(IdWsf2Sb2EndpointUpdate, WsAddrEndpointReference)
|
||||
SET_NODE_INFO(IdWsf2DstResultQueryBase, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefResultQuery, IdWsf2DstResultQueryBase)
|
||||
SET_NODE_INFO(IdWsf2SubsRefQueryItem, IdWsf2SubsRefResultQuery)
|
||||
SET_NODE_INFO(IdWsf2DstRequest, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefCreate, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2SubsRefModify, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2SubsRefDelete, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2SubsRefNotify, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2SubsRefQuery, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2DstDeleteItemBase, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefDeleteItem, IdWsf2DstDeleteItemBase)
|
||||
SET_NODE_INFO(IdWsf2DstTestItemBase, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefTestItem, IdWsf2DstTestItemBase)
|
||||
SET_NODE_INFO(IdWsf2DiscoEndpointContext, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDReplace, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDQuery, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoKeys, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMetadata, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoOptions, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoProviderID, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSecurityContext, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDReplaceResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDDelete, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoServiceType, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDRegister, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationDeleteResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationAdd, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDRegisterResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoRequestedService, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationQuery, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationDelete, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationAddResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDAssociationQueryResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDDeleteResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoSvcMDQueryResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoAbstract, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoServiceContext, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoQuery, Node)
|
||||
SET_NODE_INFO(IdWsf2DiscoQueryResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2UtilStatus, Node)
|
||||
SET_NODE_INFO(IdWsf2Utilextension, Node)
|
||||
SET_NODE_INFO(IdWsf2UtilResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2SubsRefDeleteResponse, IdWsf2UtilResponse)
|
||||
SET_NODE_INFO(IdWsf2SubsNotifyResponse, IdWsf2UtilResponse)
|
||||
SET_NODE_INFO(IdWsf2SubsRefNotifyResponse, IdWsf2SubsNotifyResponse)
|
||||
SET_NODE_INFO(IdWsf2DstDeleteResponse, IdWsf2UtilResponse)
|
||||
SET_NODE_INFO(IdWsf2DstDataResponseBase, IdWsf2UtilResponse)
|
||||
SET_NODE_INFO(IdWsf2SubsRefDataResponse, IdWsf2DstDataResponseBase)
|
||||
SET_NODE_INFO(IdWsf2SubsRefModifyResponse, IdWsf2SubsRefDataResponse)
|
||||
SET_NODE_INFO(IdWsf2SubsRefCreateResponse, IdWsf2SubsRefDataResponse)
|
||||
SET_NODE_INFO(IdWsf2SubsRefQueryResponse, IdWsf2DstDataResponseBase)
|
||||
SET_NODE_INFO(IdWsf2UtilEmpty, Node)
|
||||
SET_NODE_INFO(IdWsf2ImsMappingOutput, Node)
|
||||
SET_NODE_INFO(IdWsf2ImsIdentityMappingRequest, Node)
|
||||
SET_NODE_INFO(IdWsf2ImsMappingInput, Node)
|
||||
SET_NODE_INFO(IdWsf2PsResolveInput, IdWsf2ImsMappingInput)
|
||||
SET_NODE_INFO(IdWsf2ImsIdentityMappingResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2SecTransitedProviderPath, Node)
|
||||
SET_NODE_INFO(IdWsf2SecToken, Node)
|
||||
SET_NODE_INFO(IdWsf2SecTokenPolicy, Node)
|
||||
SET_NODE_INFO(IdWsf2SbfFramework, Node)
|
||||
SET_NODE_INFO(IdWsf2DstRefDataResponse, IdWsf2DstDataResponseBase)
|
||||
SET_NODE_INFO(IdWsf2DstRefDeleteResponse, IdWsf2UtilResponse)
|
||||
SET_NODE_INFO(IdWsf2DstRefModifyItem, Node)
|
||||
SET_NODE_INFO(IdWsf2DstRefAppData, Node)
|
||||
SET_NODE_INFO(IdWsf2DstRefTestItem, IdWsf2DstTestItemBase)
|
||||
SET_NODE_INFO(IdWsf2DstRefCreate, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2DstRefItemData, IdWsf2DstRefAppData)
|
||||
SET_NODE_INFO(IdWsf2DstRefData, IdWsf2DstRefItemData)
|
||||
SET_NODE_INFO(IdWsf2DstRefModify, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2DstRefResultQuery, IdWsf2DstResultQueryBase)
|
||||
SET_NODE_INFO(IdWsf2DstRefQueryItem, IdWsf2DstRefResultQuery)
|
||||
SET_NODE_INFO(IdWsf2DstRefCreateResponse, IdWsf2DstRefDataResponse)
|
||||
SET_NODE_INFO(IdWsf2DstRefCreateItem, Node)
|
||||
SET_NODE_INFO(IdWsf2DstRefQuery, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2DstRefDelete, IdWsf2DstRequest)
|
||||
SET_NODE_INFO(IdWsf2DstRefQueryResponse, IdWsf2DstDataResponseBase)
|
||||
SET_NODE_INFO(IdWsf2DstRefDeleteItem, IdWsf2DstDeleteItemBase)
|
||||
SET_NODE_INFO(IdWsf2DstRefModifyResponse, IdWsf2DstRefDataResponse)
|
||||
SET_NODE_INFO(IdWsf2IsInteractionStatement, Node)
|
||||
SET_NODE_INFO(IdWsf2IsHelp, Node)
|
||||
SET_NODE_INFO(IdWsf2IsInquiryElement, Node)
|
||||
SET_NODE_INFO(IdWsf2IsText, IdWsf2IsInquiryElement)
|
||||
SET_NODE_INFO(IdWsf2IsInteractionResponse, Node)
|
||||
SET_NODE_INFO(IdWsf2IsInteractionRequest, Node)
|
||||
SET_NODE_INFO(IdWsf2IsItem, Node)
|
||||
SET_NODE_INFO(IdWsf2IsInquiry, Node)
|
||||
SET_NODE_INFO(IdWsf2IsParameter, Node)
|
||||
SET_NODE_INFO(IdWsf2IsSelect, IdWsf2IsInquiryElement)
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
/* $Id: is_help.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsHelp) LassoIdWsf2IsHelp;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *label;
|
||||
char *link;
|
||||
char *moreLink;
|
||||
} LassoIdWsf2IsHelp;
|
||||
%extend LassoIdWsf2IsHelp {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsHelp();
|
||||
~LassoIdWsf2IsHelp();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsHelp lasso_idwsf2_is_help_new
|
||||
#define delete_LassoIdWsf2IsHelp(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsHelp_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
/* $Id: is_inquiry.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsInquiry) LassoIdWsf2IsInquiry;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *id;
|
||||
char *title;
|
||||
} LassoIdWsf2IsInquiry;
|
||||
%extend LassoIdWsf2IsInquiry {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsInquiry();
|
||||
~LassoIdWsf2IsInquiry();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsInquiry lasso_idwsf2_is_inquiry_new
|
||||
#define delete_LassoIdWsf2IsInquiry(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsInquiry_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,67 +0,0 @@
|
|||
/* $Id: is_inquiry_element.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsInquiryElement) LassoIdWsf2IsInquiryElement;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(hint) Hint;
|
||||
#endif
|
||||
char *Hint;
|
||||
#ifndef SWIGPHP4
|
||||
%rename(label) Label;
|
||||
#endif
|
||||
char *Label;
|
||||
#ifndef SWIGPHP4
|
||||
%rename(value) Value;
|
||||
#endif
|
||||
char *Value;
|
||||
char *name;
|
||||
} LassoIdWsf2IsInquiryElement;
|
||||
%extend LassoIdWsf2IsInquiryElement {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsInquiryElement();
|
||||
~LassoIdWsf2IsInquiryElement();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsInquiryElement lasso_idwsf2_is_inquiry_element_new
|
||||
#define delete_LassoIdWsf2IsInquiryElement(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsInquiryElement_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
/* $Id: is_interaction_request.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsInteractionRequest) LassoIdWsf2IsInteractionRequest;
|
||||
#endif
|
||||
typedef struct {
|
||||
char *id;
|
||||
char *language;
|
||||
int maxInteractTime;
|
||||
char *signed_;
|
||||
} LassoIdWsf2IsInteractionRequest;
|
||||
%extend LassoIdWsf2IsInteractionRequest {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsInteractionRequest();
|
||||
~LassoIdWsf2IsInteractionRequest();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsInteractionRequest lasso_idwsf2_is_interaction_request_new
|
||||
#define delete_LassoIdWsf2IsInteractionRequest(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsInteractionRequest_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
/* $Id: is_interaction_response.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsInteractionResponse) LassoIdWsf2IsInteractionResponse;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2IsInteractionResponse;
|
||||
%extend LassoIdWsf2IsInteractionResponse {
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(status) Status;
|
||||
#endif
|
||||
%newobject *Status_get;
|
||||
LassoIdWsf2UtilStatus *Status;
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsInteractionResponse();
|
||||
~LassoIdWsf2IsInteractionResponse();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
/* Status */
|
||||
|
||||
#define LassoIdWsf2IsInteractionResponse_get_Status(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2IsInteractionResponse_Status_get(self) get_node((self)->Status)
|
||||
#define LassoIdWsf2IsInteractionResponse_set_Status(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
#define LassoIdWsf2IsInteractionResponse_Status_set(self,value) set_node((gpointer*)&(self)->Status, (value))
|
||||
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsInteractionResponse lasso_idwsf2_is_interaction_response_new
|
||||
#define delete_LassoIdWsf2IsInteractionResponse(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsInteractionResponse_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
/* $Id: is_interaction_statement.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsInteractionStatement) LassoIdWsf2IsInteractionStatement;
|
||||
#endif
|
||||
typedef struct {
|
||||
} LassoIdWsf2IsInteractionStatement;
|
||||
%extend LassoIdWsf2IsInteractionStatement {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsInteractionStatement();
|
||||
~LassoIdWsf2IsInteractionStatement();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsInteractionStatement lasso_idwsf2_is_interaction_statement_new
|
||||
#define delete_LassoIdWsf2IsInteractionStatement(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsInteractionStatement_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
/* $Id: is_item.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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef SWIGPHP4
|
||||
%rename(IdWsf2IsItem) LassoIdWsf2IsItem;
|
||||
#endif
|
||||
typedef struct {
|
||||
#ifndef SWIGPHP4
|
||||
%rename(hint) Hint;
|
||||
#endif
|
||||
char *Hint;
|
||||
char *label;
|
||||
char *value;
|
||||
} LassoIdWsf2IsItem;
|
||||
%extend LassoIdWsf2IsItem {
|
||||
|
||||
/* Constructor, Destructor & Static Methods */
|
||||
LassoIdWsf2IsItem();
|
||||
~LassoIdWsf2IsItem();
|
||||
|
||||
/* Method inherited from LassoNode */
|
||||
%newobject dump;
|
||||
char* dump();
|
||||
}
|
||||
|
||||
%{
|
||||
|
||||
|
||||
/* Constructors, destructors & static methods implementations */
|
||||
|
||||
#define new_LassoIdWsf2IsItem lasso_idwsf2_is_item_new
|
||||
#define delete_LassoIdWsf2IsItem(self) lasso_node_destroy(LASSO_NODE(self))
|
||||
|
||||
/* Implementations of methods inherited from LassoNode */
|
||||
|
||||
#define LassoIdWsf2IsItem_dump(self) lasso_node_dump(LASSO_NODE(self))
|
||||
|
||||
%}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue