diff options
Diffstat (limited to 'swig/saml-2.0/samlp2_requested_authn_context.i')
-rw-r--r-- | swig/saml-2.0/samlp2_requested_authn_context.i | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/swig/saml-2.0/samlp2_requested_authn_context.i b/swig/saml-2.0/samlp2_requested_authn_context.i new file mode 100644 index 00000000..6fc3d75d --- /dev/null +++ b/swig/saml-2.0/samlp2_requested_authn_context.i @@ -0,0 +1,35 @@ + +#ifndef SWIGPHP4 +%rename(Samlp2RequestedAuthnContext) LassoSamlp2RequestedAuthnContext; +#endif +typedef struct { + char *AuthnContextClassRef; + char *AuthnContextDeclRef; + char *Comparison; +} LassoSamlp2RequestedAuthnContext; +%extend LassoSamlp2RequestedAuthnContext { + + + /* Constructor, Destructor & Static Methods */ + LassoSamlp2RequestedAuthnContext(); + ~LassoSamlp2RequestedAuthnContext(); + + /* Method inherited from LassoNode */ + %newobject dump; + char* dump(); +} + +%{ + + +/* Constructors, destructors & static methods implementations */ + +#define new_LassoSamlp2RequestedAuthnContext lasso_samlp2_requested_authn_context_new +#define delete_LassoSamlp2RequestedAuthnContext(self) lasso_node_destroy(LASSO_NODE(self)) + +/* Implementations of methods inherited from LassoNode */ + +#define LassoSamlp2RequestedAuthnContext_dump(self) lasso_node_dump(LASSO_NODE(self)) + +%} + |