diff options
Diffstat (limited to 'python/xml')
| -rw-r--r-- | python/xml/py_xml.c | 16 | ||||
| -rw-r--r-- | python/xml/py_xml.h | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/python/xml/py_xml.c b/python/xml/py_xml.c index 405fee16..76384319 100644 --- a/python/xml/py_xml.c +++ b/python/xml/py_xml.c @@ -130,6 +130,22 @@ PyObject *node_url_encode(PyObject *self, PyObject *args) { return (charPtr_wrap(ret)); } +PyObject *node_soap_envelop(PyObject *self, PyObject *args) { + PyObject *node_obj; + gchar *ret; + + if (CheckArgs(args, "O:node_unref")) { + if(!PyArg_ParseTuple(args, (char *) "O:node_url_encode", + &node_obj)) + return NULL; + } + else return NULL; + + ret = lasso_node_soap_envelop(LassoNode_get(node_obj)); + + return (charPtr_wrap(ret)); +} + PyObject *node_verify_signature(PyObject *self, PyObject *args) { PyObject *node_obj; const gchar *certificate_file; diff --git a/python/xml/py_xml.h b/python/xml/py_xml.h index 41d7d5b6..52723113 100644 --- a/python/xml/py_xml.h +++ b/python/xml/py_xml.h @@ -41,6 +41,7 @@ PyObject *node_get_attr_value(PyObject *self, PyObject *args); PyObject *node_get_child(PyObject *self, PyObject *args); PyObject *node_unref(PyObject *self, PyObject *args); PyObject *node_url_encode(PyObject *self, PyObject *args); +PyObject *node_soap_envelop(PyObject *self, PyObject *args); PyObject *node_verify_signature(PyObject *self, PyObject *args); #endif /* __PYLASSO_PY_XML_H__ */ |
