summaryrefslogtreecommitdiff
path: root/source3/python/py_common_proto.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-18 03:35:05 +0000
committerTim Potter <tpot@samba.org>2002-04-18 03:35:05 +0000
commitb0fbd72b41dda039d4fd1036998721ee7387cd45 (patch)
treeaba55f37665e6389cc443023f86f00a55aacf829 /source3/python/py_common_proto.h
parenteaf7e2b374d6a77e573195da1d7617bea97b1a94 (diff)
downloadsamba-b0fbd72b41dda039d4fd1036998721ee7387cd45.tar.gz
samba-b0fbd72b41dda039d4fd1036998721ee7387cd45.tar.bz2
samba-b0fbd72b41dda039d4fd1036998721ee7387cd45.zip
Started working on setprinter code.
(This used to be commit 38d2b1794a0942ac4c2787f06bc5e546508c2515)
Diffstat (limited to 'source3/python/py_common_proto.h')
-rw-r--r--source3/python/py_common_proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_common_proto.h b/source3/python/py_common_proto.h
index 0c227ffef8..bca59689a4 100644
--- a/source3/python/py_common_proto.h
+++ b/source3/python/py_common_proto.h
@@ -19,12 +19,12 @@ struct cli_state *open_pipe_creds(char *system_name, PyObject *creds,
/* The following definitions come from python/py_ntsec.c */
BOOL py_from_SID(PyObject **obj, DOM_SID *sid);
-BOOL py_to_SID(DOM_SID *sid, PyObject *dict);
+BOOL py_to_SID(DOM_SID *sid, PyObject *obj);
BOOL py_from_ACE(PyObject **dict, SEC_ACE *ace);
BOOL py_to_ACE(SEC_ACE *ace, PyObject *dict);
BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl);
-BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict);
+BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx);
BOOL py_from_SECDESC(PyObject **dict, SEC_DESC *sd);
-BOOL py_to_SECDESC(SEC_DESC *sd, PyObject *dict);
+BOOL py_to_SECDESC(SEC_DESC **sd, PyObject *dict, TALLOC_CTX *mem_ctx);
#endif /* _PY_COMMON_PROTO_H */