summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/dcerpc.i
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/swig/dcerpc.i')
-rw-r--r--source4/scripting/swig/dcerpc.i27
1 files changed, 26 insertions, 1 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i
index 9d5e9f295d..6ad8f8b631 100644
--- a/source4/scripting/swig/dcerpc.i
+++ b/source4/scripting/swig/dcerpc.i
@@ -127,11 +127,26 @@ PyObject *policy_handle_to_python(struct policy_handle *handle)
return PyString_FromStringAndSize((char *)handle, sizeof(*handle));
}
-struct security_descriptor *security_descriptor_from_python(PyObject *obj)
+struct security_descriptor *security_descriptor_from_python(TALLOC_CTX *mem_ctx, PyObject *obj)
{
return NULL;
}
+PyObject *security_descriptor_to_python(struct security_descriptor *obj)
+{
+ return Py_None;
+}
+
+struct dom_sid2 *dom_sid2_from_python(TALLOC_CTX *mem_ctx, PyObject *obj)
+{
+ return NULL;
+}
+
+PyObject *dom_sid2_to_python(struct dom_sid2 *obj)
+{
+ return Py_None;
+}
+
char *string_from_python(PyObject *obj)
{
if (obj == Py_None)
@@ -148,6 +163,16 @@ PyObject *string_to_python(char *obj)
return PyString_FromString(obj);
}
+struct samr_Password *samr_Password_from_python(TALLOC_CTX *mem_ctx, PyObject *obj)
+{
+ return NULL;
+}
+
+PyObject *samr_Password_to_python(struct samr_Password *obj)
+{
+ return NULL;
+}
+
%}
%include "samba.i"