summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-09-13 12:42:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:44 -0500
commit12b29d8bb7e0b984dc51644763cd544dbe350172 (patch)
treedcfc555be0eee23611073c62c870b75f1052969d /source4/scripting
parent6c4a789d605fbad1313f92cc35b20be50e1eef7d (diff)
downloadsamba-12b29d8bb7e0b984dc51644763cd544dbe350172.tar.gz
samba-12b29d8bb7e0b984dc51644763cd544dbe350172.tar.bz2
samba-12b29d8bb7e0b984dc51644763cd544dbe350172.zip
r2324: Add hand-written versions of functions from misc.idl.
(This used to be commit d6876701cc027ec2b14923e3483e0432e7011138)
Diffstat (limited to 'source4/scripting')
-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"