summaryrefslogtreecommitdiffstats
path: root/swig/saml-2.0/saml2_name_id.i
blob: 832a54175badea08824ace7abccbcf99d6dd7752 (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

#ifndef SWIGPHP4
%rename(Saml2NameID) LassoSaml2NameID;
#endif
typedef struct {
	char *content;
	char *Format;
	char *SPProvidedID;
	char *NameQualifier;
	char *SPNameQualifier;
} LassoSaml2NameID;
%extend LassoSaml2NameID {


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

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

%{


/* Constructors, destructors & static methods implementations */

#define new_LassoSaml2NameID lasso_saml2_name_id_new
#define delete_LassoSaml2NameID(self) lasso_node_destroy(LASSO_NODE(self))

/* Implementations of methods inherited from LassoNode */

#define LassoSaml2NameID_dump(self) lasso_node_dump(LASSO_NODE(self))

%}