~ubuntu-branches/ubuntu/intrepid/lasso/intrepid-updates

« back to all changes in this revision

Viewing changes to swig/saml-2.0/saml2_assertion.i

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2006-07-11 10:01:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060711100132-e50ymjc54bsizza6
Tags: 0.6.5-2ubuntu1
* Synchronize with Debian unstable.
* Convert to updated Python policy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
#ifndef SWIGPHP4
 
3
%rename(Saml2Assertion) LassoSaml2Assertion;
 
4
#endif
 
5
typedef struct {
 
6
        char *Version;
 
7
        char *ID;
 
8
        char *IssueInstant;
 
9
} LassoSaml2Assertion;
 
10
%extend LassoSaml2Assertion {
 
11
 
 
12
#ifndef SWIGPHP4
 
13
        %rename(issuer) Issuer;
 
14
#endif
 
15
        %newobject *Issuer_get;
 
16
        LassoSaml2NameID *Issuer;
 
17
 
 
18
#ifndef SWIGPHP4
 
19
        %rename(subject) Subject;
 
20
#endif
 
21
        %newobject *Subject_get;
 
22
        LassoSaml2Subject *Subject;
 
23
 
 
24
#ifndef SWIGPHP4
 
25
        %rename(conditions) Conditions;
 
26
#endif
 
27
        %newobject *Conditions_get;
 
28
        LassoSaml2Conditions *Conditions;
 
29
 
 
30
#ifndef SWIGPHP4
 
31
        %rename(advice) Advice;
 
32
#endif
 
33
        %newobject *Advice_get;
 
34
        LassoSaml2Advice *Advice;
 
35
 
 
36
 
 
37
        /* Constructor, Destructor & Static Methods */
 
38
        LassoSaml2Assertion();
 
39
        ~LassoSaml2Assertion();
 
40
 
 
41
        /* Method inherited from LassoNode */
 
42
        %newobject dump;
 
43
        char* dump();
 
44
}
 
45
 
 
46
%{
 
47
 
 
48
/* Issuer */
 
49
 
 
50
#define LassoSaml2Assertion_get_Issuer(self) get_node((self)->Issuer)
 
51
#define LassoSaml2Assertion_Issuer_get(self) get_node((self)->Issuer)
 
52
#define LassoSaml2Assertion_set_Issuer(self,value) set_node((gpointer*)&(self)->Issuer, (value))
 
53
#define LassoSaml2Assertion_Issuer_set(self,value) set_node((gpointer*)&(self)->Issuer, (value))
 
54
                    
 
55
 
 
56
/* Subject */
 
57
 
 
58
#define LassoSaml2Assertion_get_Subject(self) get_node((self)->Subject)
 
59
#define LassoSaml2Assertion_Subject_get(self) get_node((self)->Subject)
 
60
#define LassoSaml2Assertion_set_Subject(self,value) set_node((gpointer*)&(self)->Subject, (value))
 
61
#define LassoSaml2Assertion_Subject_set(self,value) set_node((gpointer*)&(self)->Subject, (value))
 
62
                    
 
63
 
 
64
/* Conditions */
 
65
 
 
66
#define LassoSaml2Assertion_get_Conditions(self) get_node((self)->Conditions)
 
67
#define LassoSaml2Assertion_Conditions_get(self) get_node((self)->Conditions)
 
68
#define LassoSaml2Assertion_set_Conditions(self,value) set_node((gpointer*)&(self)->Conditions, (value))
 
69
#define LassoSaml2Assertion_Conditions_set(self,value) set_node((gpointer*)&(self)->Conditions, (value))
 
70
                    
 
71
 
 
72
/* Advice */
 
73
 
 
74
#define LassoSaml2Assertion_get_Advice(self) get_node((self)->Advice)
 
75
#define LassoSaml2Assertion_Advice_get(self) get_node((self)->Advice)
 
76
#define LassoSaml2Assertion_set_Advice(self,value) set_node((gpointer*)&(self)->Advice, (value))
 
77
#define LassoSaml2Assertion_Advice_set(self,value) set_node((gpointer*)&(self)->Advice, (value))
 
78
                    
 
79
 
 
80
 
 
81
/* Constructors, destructors & static methods implementations */
 
82
 
 
83
#define new_LassoSaml2Assertion lasso_saml2_assertion_new
 
84
#define delete_LassoSaml2Assertion(self) lasso_node_destroy(LASSO_NODE(self))
 
85
 
 
86
/* Implementations of methods inherited from LassoNode */
 
87
 
 
88
#define LassoSaml2Assertion_dump(self) lasso_node_dump(LASSO_NODE(self))
 
89
 
 
90
%}
 
91