diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-08 17:30:56 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2005-01-08 17:30:56 +0000 |
| commit | ed9d5178ceeeaa1810855c52acce5986c677856f (patch) | |
| tree | 11f08546ea68c3576df549dfbca99484f696ec06 | |
| parent | 6ddec77e1bc46af42824d1cd10603a823bab693c (diff) | |
Swig: Added Assertion attribute in samlp:Response.
| -rw-r--r-- | swig/Lasso.i | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i index befce554..7f92846b 100644 --- a/swig/Lasso.i +++ b/swig/Lasso.i @@ -1881,7 +1881,11 @@ typedef struct { %extend LassoSamlpResponse { /* Attributes */ - /* LassoSamlAssertion *Assertion; FIXME: unbounded */ +#ifndef SWIGPHP4 + %rename(assertion) Assertion; +#endif + %newobject Assertion_get; + LassoNodeArray *Assertion; #ifndef SWIGPHP4 %rename(status) Status; @@ -1905,6 +1909,12 @@ typedef struct { /* Attributes Implementations */ +/* Assertion */ +#define LassoSamlAttribute_get_Assertion(self) get_node_list((self)->Assertion) +#define LassoSamlAttribute_Assertion_get(self) get_node_list((self)->Assertion) +#define LassoSamlAttribute_set_Assertion(self, value) set_node_list(&(self)->Assertion, (value)) +#define LassoSamlAttribute_Assertion_set(self, value) set_node_list(&(self)->Assertion, (value)) + /* Status */ #define LassoSamlpResponse_get_Status(self) get_node((self)->Status) #define LassoSamlpResponse_Status_get(self) get_node((self)->Status) |
