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

#ifndef SWIGPHP4
%rename(Saml2SubjectLocality) LassoSaml2SubjectLocality;
#endif
typedef struct {
	char *Address;
	char *DNSName;
} LassoSaml2SubjectLocality;
%extend LassoSaml2SubjectLocality {


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

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

%{


/* Constructors, destructors & static methods implementations */

#define new_LassoSaml2SubjectLocality lasso_saml2_subject_locality_new
#define delete_LassoSaml2SubjectLocality(self) lasso_node_destroy(LASSO_NODE(self))

/* Implementations of methods inherited from LassoNode */

#define LassoSaml2SubjectLocality_dump(self) lasso_node_dump(LASSO_NODE(self))

%}