diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2005-10-06 15:05:42 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2005-10-06 15:05:42 +0000 |
| commit | 4ad3abe1ab75f23de645b95d45f6f2718a95463e (patch) | |
| tree | af32895f6c6fd3b65dbe7fa8b797b06edba25bc0 | |
| parent | 2b247d80b9428b78f0adbf603c7ada5172f2cf53 (diff) | |
Added binding to set more than one security mecanism authentication in DiscoDescription.
| -rw-r--r-- | swig/Lasso-wsf-disco.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/swig/Lasso-wsf-disco.i b/swig/Lasso-wsf-disco.i index 9cd7b937..6030b0a6 100644 --- a/swig/Lasso-wsf-disco.i +++ b/swig/Lasso-wsf-disco.i @@ -463,6 +463,9 @@ typedef struct { %newobject dump; char *dump(); + + /* Methods */ + void addSecurityMechId(const char *security_mech_id); } %{ @@ -497,7 +500,12 @@ typedef struct { #define new_LassoDiscoDescription lasso_disco_description_new #define delete_LassoDiscoDescription(self) lasso_node_destroy(LASSO_NODE(self)) +/* Implementations of methods */ + /* Implementations of methods inherited from LassoNode */ +LassoDiscoDescription_addSecurityMechId(LassoDiscoDescription *self, const char *security_mech_id) { + self->SecurityMechID = g_list_append(self->SecurityMechID, g_strdup(security_mech_id)); +} #define LassoDiscoDescription_dump(self) lasso_node_dump(LASSO_NODE(self)) |
