diff options
author | Tim Potter <tpot@samba.org> | 2004-09-14 12:19:59 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:44 -0500 |
commit | 31288d654552736ee96a0c7edbbc0b0cdcf1a3f5 (patch) | |
tree | 75516f41196e8fc8b8a8c0b1c07bb9c813961e23 /source4/scripting/swig/dcerpc.i | |
parent | d203c7899dbdb7b0b2a321215f3c67e6c9320e1c (diff) | |
download | samba-31288d654552736ee96a0c7edbbc0b0cdcf1a3f5.tar.gz samba-31288d654552736ee96a0c7edbbc0b0cdcf1a3f5.tar.bz2 samba-31288d654552736ee96a0c7edbbc0b0cdcf1a3f5.zip |
r2336: Add another conversion function to allow union arms that contain structures
not pointers to structures. Do some renaming of hand-written functions
as a result.
Include lsa interface before samr interface as samr depends on some lsa
structures.
Build up a nice hashed index of interfaces, functions, structs and
unions.
Add test for samr_Connect5() function which contains a union.
(This used to be commit 30f068164a5125f84a34f28ed0f2586a2bdec7e4)
Diffstat (limited to 'source4/scripting/swig/dcerpc.i')
-rw-r--r-- | source4/scripting/swig/dcerpc.i | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i index 6ad8f8b631..7679b773f4 100644 --- a/source4/scripting/swig/dcerpc.i +++ b/source4/scripting/swig/dcerpc.i @@ -127,7 +127,7 @@ PyObject *policy_handle_to_python(struct policy_handle *handle) return PyString_FromStringAndSize((char *)handle, sizeof(*handle)); } -struct security_descriptor *security_descriptor_from_python(TALLOC_CTX *mem_ctx, PyObject *obj) +struct security_descriptor *security_descriptor_ptr_from_python(TALLOC_CTX *mem_ctx, PyObject *obj) { return NULL; } @@ -137,7 +137,7 @@ 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) +struct dom_sid2 *dom_sid2_ptr_from_python(TALLOC_CTX *mem_ctx, PyObject *obj) { return NULL; } @@ -163,7 +163,7 @@ PyObject *string_to_python(char *obj) return PyString_FromString(obj); } -struct samr_Password *samr_Password_from_python(TALLOC_CTX *mem_ctx, PyObject *obj) +struct samr_Password *samr_Password_ptr_from_python(TALLOC_CTX *mem_ctx, PyObject *obj) { return NULL; } @@ -228,5 +228,5 @@ NTSTATUS dcerpc_pipe_connect(struct dcerpc_pipe **OUT, const char *username, const char *password); -%include "librpc/gen_ndr/samr.i" %include "librpc/gen_ndr/lsa.i" +%include "librpc/gen_ndr/samr.i" |