summaryrefslogtreecommitdiffstats
path: root/swig/saml-2.0/samlp2_scoping.i
blob: 109a18d4bf8b7f57d52455c3f1bcbcdfe394f886 (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
39
40
41
42
43
44
45
46
47
48

#ifndef SWIGPHP4
%rename(Samlp2Scoping) LassoSamlp2Scoping;
#endif
typedef struct {
	char *RequesterID;
	char *ProxyCount;
} LassoSamlp2Scoping;
%extend LassoSamlp2Scoping {

#ifndef SWIGPHP4
	%rename(iDPList) IDPList;
#endif
	%newobject *IDPList_get;
	LassoSamlp2IDPList *IDPList;


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

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

%{

/* IDPList */

#define LassoSamlp2Scoping_get_IDPList(self) get_node((self)->IDPList)
#define LassoSamlp2Scoping_IDPList_get(self) get_node((self)->IDPList)
#define LassoSamlp2Scoping_set_IDPList(self,value) set_node((gpointer*)&(self)->IDPList, (value))
#define LassoSamlp2Scoping_IDPList_set(self,value) set_node((gpointer*)&(self)->IDPList, (value))
                    


/* Constructors, destructors & static methods implementations */

#define new_LassoSamlp2Scoping lasso_samlp2_scoping_new
#define delete_LassoSamlp2Scoping(self) lasso_node_destroy(LASSO_NODE(self))

/* Implementations of methods inherited from LassoNode */

#define LassoSamlp2Scoping_dump(self) lasso_node_dump(LASSO_NODE(self))

%}