svn commit: samba r2324 - in branches/SAMBA_4_0/source/scripting/swig: .

tpot at samba.org tpot at samba.org
Mon Sep 13 12:42:25 GMT 2004


Author: tpot
Date: 2004-09-13 12:42:25 +0000 (Mon, 13 Sep 2004)
New Revision: 2324

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/scripting/swig&rev=2324&nolog=1

Log:
Add hand-written versions of functions from misc.idl.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/dcerpc.i


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-09-13 12:14:48 UTC (rev 2323)
+++ branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-09-13 12:42:25 UTC (rev 2324)
@@ -127,11 +127,26 @@
 	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 @@
 	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"



More information about the samba-cvs mailing list