summaryrefslogtreecommitdiffstats
path: root/swig/saml-2.0/samlp2_name_id_policy.i
blob: 5f573b4d984ad5744db2846e6ba8a6b562a9ea8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#ifndef SWIGPHP4
%rename(Samlp2NameIDPolicy) LassoSamlp2NameIDPolicy;
#endif
typedef struct {
	char *Format;
	char *SPNameQualifier;
#ifndef SWIGPHP4
	%rename(allowCreate) AllowCreate;
#endif
	gboolean AllowCreate;
} LassoSamlp2NameIDPolicy;
%extend LassoSamlp2NameIDPolicy {


	/* Constructor, Destructor & Static Methods */
	LassoSamlp2NameIDPolicy();
	~LassoSamlp2NameIDPolicy();

	/* Method inherited from LassoNode */
	%newobject dump;
	char* dump();
}

%{


/* Constructors, destructors & static methods implementations */

#define new_LassoSamlp2NameIDPolicy lasso_samlp2_name_id_policy_new
#define delete_LassoSamlp2NameIDPolicy(self) lasso_node_destroy(LASSO_NODE(self))

/* Implementations of methods inherited from LassoNode */

#define LassoSamlp2NameIDPolicy_dump(self) lasso_node_dump(LASSO_NODE(self))

%}