TODO pyrpc_string_array_{from,to}_PyList()
[metze/samba/wip.git] / source4 / librpc / rpc / pyrpc_util.h
index 5a5f14de285d0e90b18a5865572d9c79f932e90e..6464b5195684a1ac19c045701784b1c143876f8f 100644 (file)
@@ -59,6 +59,10 @@ PyObject *py_return_ndr_struct(const char *module_name, const char *type_name,
 
 PyObject *PyString_FromStringOrNULL(const char *str);
 
+const char **pyrpc_string_array_from_PyList(TALLOC_CTX *mem_ctx, PyObject *list,
+                                           const char *debug_name);
+PyObject *pyrpc_string_array_to_PyList(const char **string_array);
+
 PyObject *pyrpc_import_union(PyTypeObject *type, TALLOC_CTX *mem_ctx, int level,
                             const void *in, const char *typename);
 void *pyrpc_export_union(PyTypeObject *type, TALLOC_CTX *mem_ctx, int level,