summaryrefslogtreecommitdiffstats
path: root/python/protocols
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-04-27 14:54:39 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-04-27 14:54:39 +0000
commit340881c5858f1a3debbb8c7ec1fd592428911b8b (patch)
treeff87dcf1e7a3af9fe8e86ba69d788eac82626bcf /python/protocols
parent7d5c442cc20fd40ea4784682c24fd4f8945b63a0 (diff)
downloadlasso-340881c5858f1a3debbb8c7ec1fd592428911b8b.tar.gz
lasso-340881c5858f1a3debbb8c7ec1fd592428911b8b.tar.xz
lasso-340881c5858f1a3debbb8c7ec1fd592428911b8b.zip
add optional element RelayState
Diffstat (limited to 'python/protocols')
-rw-r--r--python/protocols/py_register_name_identifier_request.c14
-rw-r--r--python/protocols/py_register_name_identifier_request.h1
2 files changed, 15 insertions, 0 deletions
diff --git a/python/protocols/py_register_name_identifier_request.c b/python/protocols/py_register_name_identifier_request.c
index 3c0790e8..3a7476e5 100644
--- a/python/protocols/py_register_name_identifier_request.c
+++ b/python/protocols/py_register_name_identifier_request.c
@@ -106,3 +106,17 @@ PyObject *register_name_identifier_request_change_attribute_names_identifiers(Py
return (int_wrap(1));
}
+
+PyObject *register_name_identifier_request_set_relayState(PyObject *self, PyObject *args){
+ PyObject *request_obj;
+ const xmlChar *relayState;
+
+ if(!PyArg_ParseTuple(args, (char *) "Os:register_name_identifier_request_set_relayState",
+ &request_obj, &relayState))
+ return NULL;
+
+ lasso_lib_register_name_identifier_request_set_relayState(lassoRegisterNameIdentifierRequest_get(request_obj),
+ relayState);
+
+ 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 14bb2f7f..0622c581 100644
--- a/python/protocols/py_register_name_identifier_request.h
+++ b/python/protocols/py_register_name_identifier_request.h
@@ -39,5 +39,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);
+PyObject *register_name_identifier_request_set_relayState(PyObject *self, PyObject *args);
#endif /* __PYLASSO_PY_REGISTER_NAME_IDENTIFIER_REQUEST_H__ */