updated SAML2 bindings with all attributes; and added copyright / licence

notice.
This commit is contained in:
Frédéric Péters 2007-08-13 10:43:37 +00:00
parent 0d9c106ab6
commit a570bf599e
48 changed files with 1430 additions and 111 deletions

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Action) LassoSaml2Action; %rename(Saml2Action) LassoSaml2Action;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Advice) LassoSaml2Advice; %rename(Saml2Advice) LassoSaml2Advice;
@ -6,6 +29,30 @@ typedef struct {
} LassoSaml2Advice; } LassoSaml2Advice;
%extend LassoSaml2Advice { %extend LassoSaml2Advice {
#ifndef SWIG_PHP_RENAMES
%rename(assertionIDRef) AssertionIDRef;
#endif
%newobject AssertionIDRef_get;
LassoNodeList *AssertionIDRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertionURIRef) AssertionURIRef;
#endif
%newobject AssertionURIRef_get;
LassoStringList *AssertionURIRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSaml2Advice(); LassoSaml2Advice();
@ -18,6 +65,38 @@ typedef struct {
%{ %{
/* AssertionIDRef */
#define LassoSaml2Advice_get_AssertionIDRef(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Advice_AssertionIDRef_get(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Advice_set_AssertionIDRef(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
#define LassoSaml2Advice_AssertionIDRef_set(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
/* AssertionURIRef */
#define LassoSaml2Advice_get_AssertionURIRef(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Advice_AssertionURIRef_get(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Advice_set_AssertionURIRef(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
#define LassoSaml2Advice_AssertionURIRef_set(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
/* Assertion */
#define LassoSaml2Advice_get_Assertion(self) get_node((self)->Assertion)
#define LassoSaml2Advice_Assertion_get(self) get_node((self)->Assertion)
#define LassoSaml2Advice_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSaml2Advice_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSaml2Advice_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Advice_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Advice_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSaml2Advice_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Assertion) LassoSaml2Assertion; %rename(Saml2Assertion) LassoSaml2Assertion;
@ -21,27 +44,33 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer; %rename(issuer) Issuer;
#endif #endif
%newobject *Issuer_get; %newobject Issuer_get;
LassoSaml2NameID *Issuer; LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subject) Subject; %rename(subject) Subject;
#endif #endif
%newobject *Subject_get; %newobject Subject_get;
LassoSaml2Subject *Subject; LassoSaml2Subject *Subject;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(conditions) Conditions; %rename(conditions) Conditions;
#endif #endif
%newobject *Conditions_get; %newobject Conditions_get;
LassoSaml2Conditions *Conditions; LassoSaml2Conditions *Conditions;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(advice) Advice; %rename(advice) Advice;
#endif #endif
%newobject *Advice_get; %newobject Advice_get;
LassoSaml2Advice *Advice; LassoSaml2Advice *Advice;
#ifndef SWIG_PHP_RENAMES
%rename(statement) Statement;
#endif
%newobject Statement_get;
LassoNodeList *Statement;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(authnStatement) AuthnStatement; %rename(authnStatement) AuthnStatement;
#endif #endif
@ -60,6 +89,7 @@ typedef struct {
%newobject AttributeStatement_get; %newobject AttributeStatement_get;
LassoNodeList *AttributeStatement; LassoNodeList *AttributeStatement;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSaml2Assertion(); LassoSaml2Assertion();
~LassoSaml2Assertion(); ~LassoSaml2Assertion();
@ -102,30 +132,38 @@ typedef struct {
#define LassoSaml2Assertion_set_Advice(self,value) set_node((gpointer*)&(self)->Advice, (value)) #define LassoSaml2Assertion_set_Advice(self,value) set_node((gpointer*)&(self)->Advice, (value))
#define LassoSaml2Assertion_Advice_set(self,value) set_node((gpointer*)&(self)->Advice, (value)) #define LassoSaml2Assertion_Advice_set(self,value) set_node((gpointer*)&(self)->Advice, (value))
/* Statement */
#define LassoSaml2Assertion_get_Statement(self) get_node((self)->Statement)
#define LassoSaml2Assertion_Statement_get(self) get_node((self)->Statement)
#define LassoSaml2Assertion_set_Statement(self,value) set_node((gpointer*)&(self)->Statement, (value))
#define LassoSaml2Assertion_Statement_set(self,value) set_node((gpointer*)&(self)->Statement, (value))
/* AuthnStatement */ /* AuthnStatement */
#define LassoSaml2Assertion_get_AuthnStatement(self) get_node_list((self)->AuthnStatement) #define LassoSaml2Assertion_get_AuthnStatement(self) get_node((self)->AuthnStatement)
#define LassoSaml2Assertion_AuthnStatement_get(self) get_node_list((self)->AuthnStatement) #define LassoSaml2Assertion_AuthnStatement_get(self) get_node((self)->AuthnStatement)
#define LassoSaml2Assertion_set_AuthnStatement(self, value) set_node_list(&(self)->AuthnStatement, (value)) #define LassoSaml2Assertion_set_AuthnStatement(self,value) set_node((gpointer*)&(self)->AuthnStatement, (value))
#define LassoSaml2Assertion_AuthnStatement_set(self, value) set_node_list(&(self)->AuthnStatement, (value)) #define LassoSaml2Assertion_AuthnStatement_set(self,value) set_node((gpointer*)&(self)->AuthnStatement, (value))
/* AuthzDecisionStatement */ /* AuthzDecisionStatement */
#define LassoSaml2Assertion_get_AuthzDecisionStatement(self) get_node_list((self)->AuthzDecisionStatement) #define LassoSaml2Assertion_get_AuthzDecisionStatement(self) get_node((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_AuthzDecisionStatement_get(self) get_node_list((self)->AuthzDecisionStatement) #define LassoSaml2Assertion_AuthzDecisionStatement_get(self) get_node((self)->AuthzDecisionStatement)
#define LassoSaml2Assertion_set_AuthzDecisionStatement(self, value) set_node_list(&(self)->AuthzDecisionStatement, (value)) #define LassoSaml2Assertion_set_AuthzDecisionStatement(self,value) set_node((gpointer*)&(self)->AuthzDecisionStatement, (value))
#define LassoSaml2Assertion_AuthzDecisionStatement_set(self, value) set_node_list(&(self)->AuthzDecisionStatement, (value)) #define LassoSaml2Assertion_AuthzDecisionStatement_set(self,value) set_node((gpointer*)&(self)->AuthzDecisionStatement, (value))
/* AttributeStatement */ /* AttributeStatement */
#define LassoSaml2Assertion_get_AttributeStatement(self) get_node_list((self)->AttributeStatement) #define LassoSaml2Assertion_get_AttributeStatement(self) get_node((self)->AttributeStatement)
#define LassoSaml2Assertion_AttributeStatement_get(self) get_node_list((self)->AttributeStatement) #define LassoSaml2Assertion_AttributeStatement_get(self) get_node((self)->AttributeStatement)
#define LassoSaml2Assertion_set_AttributeStatement(self, value) set_node_list(&(self)->AttributeStatement, (value)) #define LassoSaml2Assertion_set_AttributeStatement(self,value) set_node((gpointer*)&(self)->AttributeStatement, (value))
#define LassoSaml2Assertion_AttributeStatement_set(self, value) set_node_list(&(self)->AttributeStatement, (value)) #define LassoSaml2Assertion_AttributeStatement_set(self,value) set_node((gpointer*)&(self)->AttributeStatement, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Attribute) LassoSaml2Attribute; %rename(Saml2Attribute) LassoSaml2Attribute;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2AttributeStatement) LassoSaml2AttributeStatement; %rename(Saml2AttributeStatement) LassoSaml2AttributeStatement;
@ -6,6 +29,18 @@ typedef struct {
} LassoSaml2AttributeStatement; } LassoSaml2AttributeStatement;
%extend LassoSaml2AttributeStatement { %extend LassoSaml2AttributeStatement {
#ifndef SWIG_PHP_RENAMES
%rename(attribute) Attribute;
#endif
%newobject Attribute_get;
LassoNodeList *Attribute;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAttribute) EncryptedAttribute;
#endif
%newobject EncryptedAttribute_get;
LassoNodeList *EncryptedAttribute;
/* inherited from Saml2StatementAbstract */ /* inherited from Saml2StatementAbstract */
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
@ -19,6 +54,22 @@ typedef struct {
%{ %{
/* Attribute */
#define LassoSaml2AttributeStatement_get_Attribute(self) get_node((self)->Attribute)
#define LassoSaml2AttributeStatement_Attribute_get(self) get_node((self)->Attribute)
#define LassoSaml2AttributeStatement_set_Attribute(self,value) set_node((gpointer*)&(self)->Attribute, (value))
#define LassoSaml2AttributeStatement_Attribute_set(self,value) set_node((gpointer*)&(self)->Attribute, (value))
/* EncryptedAttribute */
#define LassoSaml2AttributeStatement_get_EncryptedAttribute(self) get_node((self)->EncryptedAttribute)
#define LassoSaml2AttributeStatement_EncryptedAttribute_get(self) get_node((self)->EncryptedAttribute)
#define LassoSaml2AttributeStatement_set_EncryptedAttribute(self,value) set_node((gpointer*)&(self)->EncryptedAttribute, (value))
#define LassoSaml2AttributeStatement_EncryptedAttribute_set(self,value) set_node((gpointer*)&(self)->EncryptedAttribute, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2AudienceRestriction) LassoSaml2AudienceRestriction; %rename(Saml2AudienceRestriction) LassoSaml2AudienceRestriction;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthnContext) LassoSaml2AuthnContext; %rename(Saml2AuthnContext) LassoSaml2AuthnContext;
@ -12,7 +35,7 @@ typedef struct {
#endif #endif
char *AuthnContextDeclRef; char *AuthnContextDeclRef;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(authenticationAuthority) AuthenticationAuthority; %rename(authenticatingAuthority) AuthenticatingAuthority;
#endif #endif
char *AuthenticatingAuthority; char *AuthenticatingAuthority;
} LassoSaml2AuthnContext; } LassoSaml2AuthnContext;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthnStatement) LassoSaml2AuthnStatement; %rename(Saml2AuthnStatement) LassoSaml2AuthnStatement;
@ -21,13 +44,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subjectLocality) SubjectLocality; %rename(subjectLocality) SubjectLocality;
#endif #endif
%newobject *SubjectLocality_get; %newobject SubjectLocality_get;
LassoSaml2SubjectLocality *SubjectLocality; LassoSaml2SubjectLocality *SubjectLocality;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(authnContext) AuthnContext; %rename(authnContext) AuthnContext;
#endif #endif
%newobject *AuthnContext_get; %newobject AuthnContext_get;
LassoSaml2AuthnContext *AuthnContext; LassoSaml2AuthnContext *AuthnContext;
/* inherited from Saml2StatementAbstract */ /* inherited from Saml2StatementAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2AuthzDecisionStatement) LassoSaml2AuthzDecisionStatement; %rename(Saml2AuthzDecisionStatement) LassoSaml2AuthzDecisionStatement;
@ -17,13 +40,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(action) Action; %rename(action) Action;
#endif #endif
%newobject *Action_get; %newobject Action_get;
LassoSaml2Action *Action; LassoSaml2Action *Action;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(evidence) Evidence; %rename(evidence) Evidence;
#endif #endif
%newobject *Evidence_get; %newobject Evidence_get;
LassoSaml2Evidence *Evidence; LassoSaml2Evidence *Evidence;
/* inherited from Saml2StatementAbstract */ /* inherited from Saml2StatementAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2BaseIDAbstract) LassoSaml2BaseIDAbstract; %rename(Saml2BaseIDAbstract) LassoSaml2BaseIDAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2ConditionAbstract) LassoSaml2ConditionAbstract; %rename(Saml2ConditionAbstract) LassoSaml2ConditionAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Conditions) LassoSaml2Conditions; %rename(Saml2Conditions) LassoSaml2Conditions;
@ -13,6 +36,7 @@ typedef struct {
char *NotOnOrAfter; char *NotOnOrAfter;
} LassoSaml2Conditions; } LassoSaml2Conditions;
%extend LassoSaml2Conditions { %extend LassoSaml2Conditions {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(condition) Condition; %rename(condition) Condition;
#endif #endif
@ -25,6 +49,19 @@ typedef struct {
%newobject AudienceRestriction_get; %newobject AudienceRestriction_get;
LassoNodeList *AudienceRestriction; LassoNodeList *AudienceRestriction;
#ifndef SWIG_PHP_RENAMES
%rename(oneTimeUse) OneTimeUse;
#endif
%newobject OneTimeUse_get;
LassoNodeList *OneTimeUse;
#ifndef SWIG_PHP_RENAMES
%rename(proxyRestriction) ProxyRestriction;
#endif
%newobject ProxyRestriction_get;
LassoNodeList *ProxyRestriction;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSaml2Conditions(); LassoSaml2Conditions();
~LassoSaml2Conditions(); ~LassoSaml2Conditions();
@ -38,19 +75,35 @@ typedef struct {
/* Condition */ /* Condition */
#define LassoSaml2Conditions_get_Condition(self) get_node_list((self)->Condition) #define LassoSaml2Conditions_get_Condition(self) get_node((self)->Condition)
#define LassoSaml2Conditions_Condition_get(self) get_node_list((self)->Condition) #define LassoSaml2Conditions_Condition_get(self) get_node((self)->Condition)
#define LassoSaml2Conditions_set_Condition(self, value) set_node_list(&(self)->Condition, (value)) #define LassoSaml2Conditions_set_Condition(self,value) set_node((gpointer*)&(self)->Condition, (value))
#define LassoSaml2Conditions_Condition_set(self, value) set_node_list(&(self)->Condition, (value)) #define LassoSaml2Conditions_Condition_set(self,value) set_node((gpointer*)&(self)->Condition, (value))
/* AudienceRestriction */ /* AudienceRestriction */
#define LassoSaml2Conditions_get_AudienceRestriction(self) get_node_list((self)->AudienceRestriction) #define LassoSaml2Conditions_get_AudienceRestriction(self) get_node((self)->AudienceRestriction)
#define LassoSaml2Conditions_AudienceRestriction_get(self) get_node_list((self)->AudienceRestriction) #define LassoSaml2Conditions_AudienceRestriction_get(self) get_node((self)->AudienceRestriction)
#define LassoSaml2Conditions_set_AudienceRestriction(self, value) set_node_list(&(self)->AudienceRestriction, (value)) #define LassoSaml2Conditions_set_AudienceRestriction(self,value) set_node((gpointer*)&(self)->AudienceRestriction, (value))
#define LassoSaml2Conditions_AudienceRestriction_set(self, value) set_node_list(&(self)->AudienceRestriction, (value)) #define LassoSaml2Conditions_AudienceRestriction_set(self,value) set_node((gpointer*)&(self)->AudienceRestriction, (value))
/* OneTimeUse */
#define LassoSaml2Conditions_get_OneTimeUse(self) get_node((self)->OneTimeUse)
#define LassoSaml2Conditions_OneTimeUse_get(self) get_node((self)->OneTimeUse)
#define LassoSaml2Conditions_set_OneTimeUse(self,value) set_node((gpointer*)&(self)->OneTimeUse, (value))
#define LassoSaml2Conditions_OneTimeUse_set(self,value) set_node((gpointer*)&(self)->OneTimeUse, (value))
/* ProxyRestriction */
#define LassoSaml2Conditions_get_ProxyRestriction(self) get_node((self)->ProxyRestriction)
#define LassoSaml2Conditions_ProxyRestriction_get(self) get_node((self)->ProxyRestriction)
#define LassoSaml2Conditions_set_ProxyRestriction(self,value) set_node((gpointer*)&(self)->ProxyRestriction, (value))
#define LassoSaml2Conditions_ProxyRestriction_set(self,value) set_node((gpointer*)&(self)->ProxyRestriction, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2EncryptedElement) LassoSaml2EncryptedElement; %rename(Saml2EncryptedElement) LassoSaml2EncryptedElement;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Evidence) LassoSaml2Evidence; %rename(Saml2Evidence) LassoSaml2Evidence;
@ -6,6 +29,30 @@ typedef struct {
} LassoSaml2Evidence; } LassoSaml2Evidence;
%extend LassoSaml2Evidence { %extend LassoSaml2Evidence {
#ifndef SWIG_PHP_RENAMES
%rename(assertionIDRef) AssertionIDRef;
#endif
%newobject AssertionIDRef_get;
LassoNodeList *AssertionIDRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertionURIRef) AssertionURIRef;
#endif
%newobject AssertionURIRef_get;
LassoStringList *AssertionURIRef;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSaml2Evidence(); LassoSaml2Evidence();
@ -18,6 +65,38 @@ typedef struct {
%{ %{
/* AssertionIDRef */
#define LassoSaml2Evidence_get_AssertionIDRef(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Evidence_AssertionIDRef_get(self) get_node((self)->AssertionIDRef)
#define LassoSaml2Evidence_set_AssertionIDRef(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
#define LassoSaml2Evidence_AssertionIDRef_set(self,value) set_node((gpointer*)&(self)->AssertionIDRef, (value))
/* AssertionURIRef */
#define LassoSaml2Evidence_get_AssertionURIRef(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Evidence_AssertionURIRef_get(self) get_node((self)->AssertionURIRef)
#define LassoSaml2Evidence_set_AssertionURIRef(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
#define LassoSaml2Evidence_AssertionURIRef_set(self,value) set_node((gpointer*)&(self)->AssertionURIRef, (value))
/* Assertion */
#define LassoSaml2Evidence_get_Assertion(self) get_node((self)->Assertion)
#define LassoSaml2Evidence_Assertion_get(self) get_node((self)->Assertion)
#define LassoSaml2Evidence_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSaml2Evidence_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSaml2Evidence_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Evidence_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSaml2Evidence_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSaml2Evidence_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2KeyInfoConfirmationData) LassoSaml2KeyInfoConfirmationData; %rename(Saml2KeyInfoConfirmationData) LassoSaml2KeyInfoConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2NameID) LassoSaml2NameID; %rename(Saml2NameID) LassoSaml2NameID;
@ -9,7 +32,7 @@ typedef struct {
#endif #endif
char *Format; char *Format;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(spProviderId) SPProviderID; %rename(spProvidedId) SPProvidedID;
#endif #endif
char *SPProvidedID; char *SPProvidedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2OneTimeUse) LassoSaml2OneTimeUse; %rename(Saml2OneTimeUse) LassoSaml2OneTimeUse;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2ProxyRestriction) LassoSaml2ProxyRestriction; %rename(Saml2ProxyRestriction) LassoSaml2ProxyRestriction;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2StatementAbstract) LassoSaml2StatementAbstract; %rename(Saml2StatementAbstract) LassoSaml2StatementAbstract;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2Subject) LassoSaml2Subject; %rename(Saml2Subject) LassoSaml2Subject;
@ -9,25 +32,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID; %rename(baseID) BaseID;
#endif #endif
%newobject *BaseID_get; %newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID; LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subjectConfirmation) SubjectConfirmation; %rename(subjectConfirmation) SubjectConfirmation;
#endif #endif
%newobject *SubjectConfirmation_get; %newobject SubjectConfirmation_get;
LassoSaml2SubjectConfirmation *SubjectConfirmation; LassoSaml2SubjectConfirmation *SubjectConfirmation;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectConfirmation) LassoSaml2SubjectConfirmation; %rename(Saml2SubjectConfirmation) LassoSaml2SubjectConfirmation;
@ -13,25 +36,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID; %rename(baseID) BaseID;
#endif #endif
%newobject *BaseID_get; %newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID; LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subjectConfirmationData) SubjectConfirmationData; %rename(subjectConfirmationData) SubjectConfirmationData;
#endif #endif
%newobject *SubjectConfirmationData_get; %newobject SubjectConfirmationData_get;
LassoSaml2SubjectConfirmationData *SubjectConfirmationData; LassoSaml2SubjectConfirmationData *SubjectConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectConfirmationData) LassoSaml2SubjectConfirmationData; %rename(Saml2SubjectConfirmationData) LassoSaml2SubjectConfirmationData;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Saml2SubjectLocality) LassoSaml2SubjectLocality; %rename(Saml2SubjectLocality) LassoSaml2SubjectLocality;
@ -8,7 +31,7 @@ typedef struct {
#endif #endif
char *Address; char *Address;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(dnsName) DNSName; %rename(dNSName) DNSName;
#endif #endif
char *DNSName; char *DNSName;
} LassoSaml2SubjectLocality; } LassoSaml2SubjectLocality;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2ArtifactResolve) LassoSamlp2ArtifactResolve; %rename(Samlp2ArtifactResolve) LassoSamlp2ArtifactResolve;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2ArtifactResponse) LassoSamlp2ArtifactResponse; %rename(Samlp2ArtifactResponse) LassoSamlp2ArtifactResponse;
@ -6,7 +29,7 @@ typedef struct {
} LassoSamlp2ArtifactResponse; } LassoSamlp2ArtifactResponse;
%extend LassoSamlp2ArtifactResponse { %extend LassoSamlp2ArtifactResponse {
%newobject *any_get; %newobject any_get;
LassoNode *any; LassoNode *any;
/* inherited from Samlp2StatusResponse */ /* inherited from Samlp2StatusResponse */

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2AssertionIDRequest) LassoSamlp2AssertionIDRequest; %rename(Samlp2AssertionIDRequest) LassoSamlp2AssertionIDRequest;
#endif #endif
typedef struct { typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(assertionIdRef) AssertionIDRef; %rename(assertionIDRef) AssertionIDRef;
#endif #endif
char *AssertionIDRef; char *AssertionIDRef;
} LassoSamlp2AssertionIDRequest; } LassoSamlp2AssertionIDRequest;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2AttributeQuery) LassoSamlp2AttributeQuery; %rename(Samlp2AttributeQuery) LassoSamlp2AttributeQuery;
@ -9,7 +32,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(attribute) Attribute; %rename(attribute) Attribute;
#endif #endif
%newobject *Attribute_get; %newobject Attribute_get;
LassoSaml2Attribute *Attribute; LassoSaml2Attribute *Attribute;
/* inherited from Samlp2SubjectQueryAbstract */ /* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthnQuery) LassoSamlp2AuthnQuery; %rename(Samlp2AuthnQuery) LassoSamlp2AuthnQuery;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(requestedAuthnContext) RequestedAuthnContext; %rename(requestedAuthnContext) RequestedAuthnContext;
#endif #endif
%newobject *RequestedAuthnContext_get; %newobject RequestedAuthnContext_get;
LassoSamlp2RequestedAuthnContext *RequestedAuthnContext; LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
/* inherited from Samlp2SubjectQueryAbstract */ /* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthnRequest) LassoSamlp2AuthnRequest; %rename(Samlp2AuthnRequest) LassoSamlp2AuthnRequest;
@ -19,11 +42,17 @@ typedef struct {
%rename(assertionConsumerServiceIndex) AssertionConsumerServiceIndex; %rename(assertionConsumerServiceIndex) AssertionConsumerServiceIndex;
#endif #endif
int AssertionConsumerServiceIndex; int AssertionConsumerServiceIndex;
#ifndef SWIG_PHP_RENAMES
%rename(assertionConsumerServiceURL) AssertionConsumerServiceURL;
#endif
char *AssertionConsumerServiceURL; char *AssertionConsumerServiceURL;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(attributeConsumingServiceIndex) AttributeConsumingServiceIndex; %rename(attributeConsumingServiceIndex) AttributeConsumingServiceIndex;
#endif #endif
int AttributeConsumingServiceIndex; int AttributeConsumingServiceIndex;
#ifndef SWIG_PHP_RENAMES
%rename(providerName) ProviderName;
#endif
char *ProviderName; char *ProviderName;
} LassoSamlp2AuthnRequest; } LassoSamlp2AuthnRequest;
%extend LassoSamlp2AuthnRequest { %extend LassoSamlp2AuthnRequest {
@ -31,31 +60,31 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subject) Subject; %rename(subject) Subject;
#endif #endif
%newobject *Subject_get; %newobject Subject_get;
LassoSaml2Subject *Subject; LassoSaml2Subject *Subject;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameIDPolicy) NameIDPolicy; %rename(nameIDPolicy) NameIDPolicy;
#endif #endif
%newobject *NameIDPolicy_get; %newobject NameIDPolicy_get;
LassoSamlp2NameIDPolicy *NameIDPolicy; LassoSamlp2NameIDPolicy *NameIDPolicy;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(conditions) Conditions; %rename(conditions) Conditions;
#endif #endif
%newobject *Conditions_get; %newobject Conditions_get;
LassoSaml2Conditions *Conditions; LassoSaml2Conditions *Conditions;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(requestedAuthnContext) RequestedAuthnContext; %rename(requestedAuthnContext) RequestedAuthnContext;
#endif #endif
%newobject *RequestedAuthnContext_get; %newobject RequestedAuthnContext_get;
LassoSamlp2RequestedAuthnContext *RequestedAuthnContext; LassoSamlp2RequestedAuthnContext *RequestedAuthnContext;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(scoping) Scoping; %rename(scoping) Scoping;
#endif #endif
%newobject *Scoping_get; %newobject Scoping_get;
LassoSamlp2Scoping *Scoping; LassoSamlp2Scoping *Scoping;
/* inherited from Samlp2RequestAbstract */ /* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2AuthzDecisionQuery) LassoSamlp2AuthzDecisionQuery; %rename(Samlp2AuthzDecisionQuery) LassoSamlp2AuthzDecisionQuery;
@ -13,13 +36,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(action) Action; %rename(action) Action;
#endif #endif
%newobject *Action_get; %newobject Action_get;
LassoSaml2Action *Action; LassoSaml2Action *Action;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(evidence) Evidence; %rename(evidence) Evidence;
#endif #endif
%newobject *Evidence_get; %newobject Evidence_get;
LassoSaml2Evidence *Evidence; LassoSaml2Evidence *Evidence;
/* inherited from Samlp2SubjectQueryAbstract */ /* inherited from Samlp2SubjectQueryAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2Extensions) LassoSamlp2Extensions; %rename(Samlp2Extensions) LassoSamlp2Extensions;

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2IDPEntry) LassoSamlp2IDPEntry; %rename(Samlp2IDPEntry) LassoSamlp2IDPEntry;
#endif #endif
typedef struct { typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(providerId) ProviderID; %rename(providerID) ProviderID;
#endif #endif
char *ProviderID; char *ProviderID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2IDPList) LassoSamlp2IDPList; %rename(Samlp2IDPList) LassoSamlp2IDPList;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(iDPEntry) IDPEntry; %rename(iDPEntry) IDPEntry;
#endif #endif
%newobject *IDPEntry_get; %newobject IDPEntry_get;
LassoSamlp2IDPEntry *IDPEntry; LassoSamlp2IDPEntry *IDPEntry;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2LogoutRequest) LassoSamlp2LogoutRequest; %rename(Samlp2LogoutRequest) LassoSamlp2LogoutRequest;
@ -7,12 +30,10 @@ typedef struct {
%rename(sessionIndex) SessionIndex; %rename(sessionIndex) SessionIndex;
#endif #endif
char *SessionIndex; char *SessionIndex;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(reason) Reason; %rename(reason) Reason;
#endif #endif
char *Reason; char *Reason;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(notOnOrAfter) NotOnOrAfter; %rename(notOnOrAfter) NotOnOrAfter;
#endif #endif
@ -23,19 +44,19 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID; %rename(baseID) BaseID;
#endif #endif
%newobject *BaseID_get; %newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID; LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
/* inherited from Samlp2RequestAbstract */ /* inherited from Samlp2RequestAbstract */

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2ManageNameIDRequest) LassoSamlp2ManageNameIDRequest; %rename(Samlp2ManageNameIDRequest) LassoSamlp2ManageNameIDRequest;
#endif #endif
typedef struct { typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(newId) NewID; %rename(newID) NewID;
#endif #endif
char *NewID; char *NewID;
} LassoSamlp2ManageNameIDRequest; } LassoSamlp2ManageNameIDRequest;
@ -13,25 +36,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(newEncryptedID) NewEncryptedID; %rename(newEncryptedID) NewEncryptedID;
#endif #endif
%newobject *NewEncryptedID_get; %newobject NewEncryptedID_get;
LassoSaml2EncryptedElement *NewEncryptedID; LassoSaml2EncryptedElement *NewEncryptedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(terminate) Terminate; %rename(terminate) Terminate;
#endif #endif
%newobject *Terminate_get; %newobject Terminate_get;
LassoSamlp2Terminate *Terminate; LassoSamlp2Terminate *Terminate;
/* inherited from Samlp2RequestAbstract */ /* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDMappingRequest) LassoSamlp2NameIDMappingRequest; %rename(Samlp2NameIDMappingRequest) LassoSamlp2NameIDMappingRequest;
@ -9,25 +32,25 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(baseID) BaseID; %rename(baseID) BaseID;
#endif #endif
%newobject *BaseID_get; %newobject BaseID_get;
LassoSaml2BaseIDAbstract *BaseID; LassoSaml2BaseIDAbstract *BaseID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameIDPolicy) NameIDPolicy; %rename(nameIDPolicy) NameIDPolicy;
#endif #endif
%newobject *NameIDPolicy_get; %newobject NameIDPolicy_get;
LassoSamlp2NameIDPolicy *NameIDPolicy; LassoSamlp2NameIDPolicy *NameIDPolicy;
/* inherited from Samlp2RequestAbstract */ /* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDMappingResponse) LassoSamlp2NameIDMappingResponse; %rename(Samlp2NameIDMappingResponse) LassoSamlp2NameIDMappingResponse;
@ -9,13 +32,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(nameID) NameID; %rename(nameID) NameID;
#endif #endif
%newobject *NameID_get; %newobject NameID_get;
LassoSaml2NameID *NameID; LassoSaml2NameID *NameID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(encryptedID) EncryptedID; %rename(encryptedID) EncryptedID;
#endif #endif
%newobject *EncryptedID_get; %newobject EncryptedID_get;
LassoSaml2EncryptedElement *EncryptedID; LassoSaml2EncryptedElement *EncryptedID;
/* inherited from Samlp2StatusResponse */ /* inherited from Samlp2StatusResponse */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2NameIDPolicy) LassoSamlp2NameIDPolicy; %rename(Samlp2NameIDPolicy) LassoSamlp2NameIDPolicy;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2RequestAbstract) LassoSamlp2RequestAbstract; %rename(Samlp2RequestAbstract) LassoSamlp2RequestAbstract;
@ -29,13 +52,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer; %rename(issuer) Issuer;
#endif #endif
%newobject *Issuer_get; %newobject Issuer_get;
LassoSaml2NameID *Issuer; LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(extensions) Extensions; %rename(extensions) Extensions;
#endif #endif
%newobject *Extensions_get; %newobject Extensions_get;
LassoSamlp2Extensions *Extensions; LassoSamlp2Extensions *Extensions;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2RequestedAuthnContext) LassoSamlp2RequestedAuthnContext; %rename(Samlp2RequestedAuthnContext) LassoSamlp2RequestedAuthnContext;
@ -9,11 +32,19 @@ typedef struct {
char *Comparison; char *Comparison;
} LassoSamlp2RequestedAuthnContext; } LassoSamlp2RequestedAuthnContext;
%extend LassoSamlp2RequestedAuthnContext { %extend LassoSamlp2RequestedAuthnContext {
%newobject authnContextClassRef_get;
LassoStringList *authnContextClassRef;
%newobject authnContextDeclRef_get; #ifndef SWIG_PHP_RENAMES
LassoStringList *authnContextDeclRef; %rename(authnContextClassRef) AuthnContextClassRef;
#endif
%newobject AuthnContextClassRef_get;
LassoStringList *AuthnContextClassRef;
#ifndef SWIG_PHP_RENAMES
%rename(authnContextDeclRef) AuthnContextDeclRef;
#endif
%newobject AuthnContextDeclRef_get;
LassoStringList *AuthnContextDeclRef;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSamlp2RequestedAuthnContext(); LassoSamlp2RequestedAuthnContext();
@ -26,17 +57,21 @@ typedef struct {
%{ %{
/* authnContextClassRef */ /* AuthnContextClassRef */
#define LassoSamlp2RequestedAuthnContext_get_authnContextClassRef(self) get_string_list((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_get(self) get_string_list((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_set_authnContextClassRef(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_set(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
/* authnContextDeclRef */ #define LassoSamlp2RequestedAuthnContext_get_AuthnContextClassRef(self) get_node((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_get_authnContextDeclRef(self) get_string_list((self)->AuthnContextDeclRef) #define LassoSamlp2RequestedAuthnContext_AuthnContextClassRef_get(self) get_node((self)->AuthnContextClassRef)
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_get(self) get_string_list((self)->AuthnContextDeclRef) #define LassoSamlp2RequestedAuthnContext_set_AuthnContextClassRef(self,value) set_node((gpointer*)&(self)->AuthnContextClassRef, (value))
#define LassoSamlp2RequestedAuthnContext_set_authnContextDeclRef(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value)) #define LassoSamlp2RequestedAuthnContext_AuthnContextClassRef_set(self,value) set_node((gpointer*)&(self)->AuthnContextClassRef, (value))
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_set(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value))
/* AuthnContextDeclRef */
#define LassoSamlp2RequestedAuthnContext_get_AuthnContextDeclRef(self) get_node((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_AuthnContextDeclRef_get(self) get_node((self)->AuthnContextDeclRef)
#define LassoSamlp2RequestedAuthnContext_set_AuthnContextDeclRef(self,value) set_node((gpointer*)&(self)->AuthnContextDeclRef, (value))
#define LassoSamlp2RequestedAuthnContext_AuthnContextDeclRef_set(self,value) set_node((gpointer*)&(self)->AuthnContextDeclRef, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2Response) LassoSamlp2Response; %rename(Samlp2Response) LassoSamlp2Response;
@ -6,6 +29,18 @@ typedef struct {
} LassoSamlp2Response; } LassoSamlp2Response;
%extend LassoSamlp2Response { %extend LassoSamlp2Response {
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
#ifndef SWIG_PHP_RENAMES
%rename(encryptedAssertion) EncryptedAssertion;
#endif
%newobject EncryptedAssertion_get;
LassoNodeList *EncryptedAssertion;
/* inherited from Samlp2StatusResponse */ /* inherited from Samlp2StatusResponse */
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer; %rename(issuer) Issuer;
@ -50,12 +85,6 @@ typedef struct {
#endif #endif
char *Consent; char *Consent;
#ifndef SWIG_PHP_RENAMES
%rename(assertion) Assertion;
#endif
%newobject Assertion_get;
LassoNodeList *Assertion;
/* Constructor, Destructor & Static Methods */ /* Constructor, Destructor & Static Methods */
LassoSamlp2Response(); LassoSamlp2Response();
~LassoSamlp2Response(); ~LassoSamlp2Response();
@ -67,6 +96,22 @@ typedef struct {
%{ %{
/* Assertion */
#define LassoSamlp2Response_get_Assertion(self) get_node((self)->Assertion)
#define LassoSamlp2Response_Assertion_get(self) get_node((self)->Assertion)
#define LassoSamlp2Response_set_Assertion(self,value) set_node((gpointer*)&(self)->Assertion, (value))
#define LassoSamlp2Response_Assertion_set(self,value) set_node((gpointer*)&(self)->Assertion, (value))
/* EncryptedAssertion */
#define LassoSamlp2Response_get_EncryptedAssertion(self) get_node((self)->EncryptedAssertion)
#define LassoSamlp2Response_EncryptedAssertion_get(self) get_node((self)->EncryptedAssertion)
#define LassoSamlp2Response_set_EncryptedAssertion(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
#define LassoSamlp2Response_EncryptedAssertion_set(self,value) set_node((gpointer*)&(self)->EncryptedAssertion, (value))
/* inherited from StatusResponse */ /* inherited from StatusResponse */
/* Issuer */ /* Issuer */
@ -142,14 +187,6 @@ typedef struct {
#define LassoSamlp2Response_Consent_set(self,value) set_string(&LASSO_SAMLP2_STATUS_RESPONSE(self)->Consent, (value)) #define LassoSamlp2Response_Consent_set(self,value) set_string(&LASSO_SAMLP2_STATUS_RESPONSE(self)->Consent, (value))
/* Assertion */
#define LassoSamlp2Response_get_Assertion(self) get_node_list((self)->Assertion)
#define LassoSamlp2Response_Assertion_get(self) get_node_list((self)->Assertion)
#define LassoSamlp2Response_set_Assertion(self, value) set_node_list(&(self)->Assertion, (value))
#define LassoSamlp2Response_Assertion_set(self, value) set_node_list(&(self)->Assertion, (value))
/* Constructors, destructors & static methods implementations */ /* Constructors, destructors & static methods implementations */
#define new_LassoSamlp2Response lasso_samlp2_response_new #define new_LassoSamlp2Response lasso_samlp2_response_new

View File

@ -1,10 +1,33 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2Scoping) LassoSamlp2Scoping; %rename(Samlp2Scoping) LassoSamlp2Scoping;
#endif #endif
typedef struct { typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(requesterId) RequesterID; %rename(requesterID) RequesterID;
#endif #endif
char *RequesterID; char *RequesterID;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
@ -17,7 +40,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(iDPList) IDPList; %rename(iDPList) IDPList;
#endif #endif
%newobject *IDPList_get; %newobject IDPList_get;
LassoSamlp2IDPList *IDPList; LassoSamlp2IDPList *IDPList;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2Status) LassoSamlp2Status; %rename(Samlp2Status) LassoSamlp2Status;
@ -13,13 +36,13 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(statusCode) StatusCode; %rename(statusCode) StatusCode;
#endif #endif
%newobject *StatusCode_get; %newobject StatusCode_get;
LassoSamlp2StatusCode *StatusCode; LassoSamlp2StatusCode *StatusCode;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(statusDetail) StatusDetail; %rename(statusDetail) StatusDetail;
#endif #endif
%newobject *StatusDetail_get; %newobject StatusDetail_get;
LassoSamlp2StatusDetail *StatusDetail; LassoSamlp2StatusDetail *StatusDetail;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusCode) LassoSamlp2StatusCode; %rename(Samlp2StatusCode) LassoSamlp2StatusCode;
@ -13,7 +36,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(statusCode) StatusCode; %rename(statusCode) StatusCode;
#endif #endif
%newobject *StatusCode_get; %newobject StatusCode_get;
LassoSamlp2StatusCode *StatusCode; LassoSamlp2StatusCode *StatusCode;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusDetail) LassoSamlp2StatusDetail; %rename(Samlp2StatusDetail) LassoSamlp2StatusDetail;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2StatusResponse) LassoSamlp2StatusResponse; %rename(Samlp2StatusResponse) LassoSamlp2StatusResponse;
@ -33,19 +56,19 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(issuer) Issuer; %rename(issuer) Issuer;
#endif #endif
%newobject *Issuer_get; %newobject Issuer_get;
LassoSaml2NameID *Issuer; LassoSaml2NameID *Issuer;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(extensions) Extensions; %rename(extensions) Extensions;
#endif #endif
%newobject *Extensions_get; %newobject Extensions_get;
LassoSamlp2Extensions *Extensions; LassoSamlp2Extensions *Extensions;
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(status) Status; %rename(status) Status;
#endif #endif
%newobject *Status_get; %newobject Status_get;
LassoSamlp2Status *Status; LassoSamlp2Status *Status;

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2SubjectQueryAbstract) LassoSamlp2SubjectQueryAbstract; %rename(Samlp2SubjectQueryAbstract) LassoSamlp2SubjectQueryAbstract;
@ -9,7 +32,7 @@ typedef struct {
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(subject) Subject; %rename(subject) Subject;
#endif #endif
%newobject *Subject_get; %newobject Subject_get;
LassoSaml2Subject *Subject; LassoSaml2Subject *Subject;
/* inherited from Samlp2RequestAbstract */ /* inherited from Samlp2RequestAbstract */

View File

@ -1,3 +1,26 @@
/* $Id$
*
* Lasso - A free implementation of the Liberty Alliance specifications.
*
* Copyright (C) 2004-2007 Entr'ouvert
* http://lasso.entrouvert.org
*
* Authors: See AUTHORS file in top-level directory.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef SWIG_PHP_RENAMES #ifndef SWIG_PHP_RENAMES
%rename(Samlp2Terminate) LassoSamlp2Terminate; %rename(Samlp2Terminate) LassoSamlp2Terminate;