summaryrefslogtreecommitdiffstats
path: root/python/protocols
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-04-27 13:35:41 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-04-27 13:35:41 +0000
commitc30649b1c4577bb10c62ccce85e62db889e3b1a0 (patch)
treebb1b6b4b9865e93f26c4f0bbdad481d4b02723d6 /python/protocols
parenta8d4a678963c6f693fc0ed90e1a6e4151ecb1150 (diff)
downloadlasso-c30649b1c4577bb10c62ccce85e62db889e3b1a0.tar.gz
lasso-c30649b1c4577bb10c62ccce85e62db889e3b1a0.tar.xz
lasso-c30649b1c4577bb10c62ccce85e62db889e3b1a0.zip
add fonction to change names of attributes in identitiers
Diffstat (limited to 'python/protocols')
-rw-r--r--python/protocols/py_register_name_identifier_request.c12
-rw-r--r--python/protocols/py_register_name_identifier_request.h1
2 files changed, 13 insertions, 0 deletions
diff --git a/python/protocols/py_register_name_identifier_request.c b/python/protocols/py_register_name_identifier_request.c
index 6df48e50..3c0790e8 100644
--- a/python/protocols/py_register_name_identifier_request.c
+++ b/python/protocols/py_register_name_identifier_request.c
@@ -94,3 +94,15 @@ PyObject *register_name_identifier_request(PyObject *self, PyObject *args) {
return (lassoRegisterNameIdentifierRequest_wrap(request));
}
+
+PyObject *register_name_identifier_request_change_attribute_names_identifiers(PyObject *self, PyObject *args){
+ PyObject *request_obj;
+
+ if(!PyArg_ParseTuple(args, (char *) "O:register_name_identifier_request",
+ &request_obj))
+ return NULL;
+
+ lasso_register_name_identifier_change_attribute_names_identifiers(lassoRegisterNameIdentifierRequest_get(request_obj));
+
+ return (int_wrap(1));
+}
diff --git a/python/protocols/py_register_name_identifier_request.h b/python/protocols/py_register_name_identifier_request.h
index cb4cfc3c..14bb2f7f 100644
--- a/python/protocols/py_register_name_identifier_request.h
+++ b/python/protocols/py_register_name_identifier_request.h
@@ -38,5 +38,6 @@ PyObject *lassoRegisterNameIdentifierRequest_wrap(LassoRegisterNameIdentifierReq
PyObject *register_name_identifier_request_getattr(PyObject *self, PyObject *args);
PyObject *register_name_identifier_request(PyObject *self, PyObject *args);
+PyObject *register_name_identifier_request_change_attribute_names_identifiers(PyObject *self, PyObject *args);
#endif /* __PYLASSO_PY_REGISTER_NAME_IDENTIFIER_REQUEST_H__ */