summaryrefslogtreecommitdiffstats
path: root/swig/saml-2.0/saml2_subject_locality.i
diff options
context:
space:
mode:
Diffstat (limited to 'swig/saml-2.0/saml2_subject_locality.i')
-rw-r--r--swig/saml-2.0/saml2_subject_locality.i34
1 files changed, 34 insertions, 0 deletions
diff --git a/swig/saml-2.0/saml2_subject_locality.i b/swig/saml-2.0/saml2_subject_locality.i
new file mode 100644
index 00000000..f51cdbb3
--- /dev/null
+++ b/swig/saml-2.0/saml2_subject_locality.i
@@ -0,0 +1,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))
+
+%}
+