Add extra parm to cli_full_connection call. Tim, you should probably look at this.
[kai/samba.git] / source / python / py_common_proto.h
1 #ifndef _PY_COMMON_PROTO_H
2 #define _PY_COMMON_PROTO_H
3
4 /* This file is automatically generated with "make proto". DO NOT EDIT */
5
6
7 /* The following definitions come from python/py_common.c  */
8
9 PyObject *py_werror_tuple(WERROR werror);
10 PyObject *py_ntstatus_tuple(NTSTATUS ntstatus);
11 void py_samba_init(void);
12 PyObject *get_debuglevel(PyObject *self, PyObject *args);
13 PyObject *set_debuglevel(PyObject *self, PyObject *args);
14 PyObject *py_setup_logging(PyObject *self, PyObject *args, PyObject *kw);
15 BOOL py_parse_creds(PyObject *creds, char **username, char **domain, 
16                     char **password, char **errstr);
17 struct cli_state *open_pipe_creds(char *server, PyObject *creds, 
18                                   int pipe_idx, char **errstr);
19 BOOL get_level_value(PyObject *dict, uint32 *level);
20
21 /* The following definitions come from python/py_ntsec.c  */
22
23 BOOL py_from_SID(PyObject **obj, DOM_SID *sid);
24 BOOL py_to_SID(DOM_SID *sid, PyObject *obj);
25 BOOL py_from_ACE(PyObject **dict, SEC_ACE *ace);
26 BOOL py_to_ACE(SEC_ACE *ace, PyObject *dict);
27 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl);
28 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx);
29 BOOL py_from_SECDESC(PyObject **dict, SEC_DESC *sd);
30 BOOL py_to_SECDESC(SEC_DESC **sd, PyObject *dict, TALLOC_CTX *mem_ctx);
31
32 #endif /*  _PY_COMMON_PROTO_H  */