summaryrefslogtreecommitdiffstats
path: root/source/python/py_common_proto.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-16 04:00:31 +0000
committerTim Potter <tpot@samba.org>2002-05-16 04:00:31 +0000
commitd35cad359df3bd53e6bb49f6655d4c7b9993abb0 (patch)
treeefb1d228784af05eb67569b41d2aefd8b03bc5f5 /source/python/py_common_proto.h
parent36ed06cb5078429445f3bbb0f69baa2e0f8356a4 (diff)
downloadsamba-d35cad359df3bd53e6bb49f6655d4c7b9993abb0.tar.gz
samba-d35cad359df3bd53e6bb49f6655d4c7b9993abb0.tar.xz
samba-d35cad359df3bd53e6bb49f6655d4c7b9993abb0.zip
More cleanups.
- removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting
Diffstat (limited to 'source/python/py_common_proto.h')
-rw-r--r--source/python/py_common_proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/python/py_common_proto.h b/source/python/py_common_proto.h
index 98d970d7bcf..dd823dd4c03 100644
--- a/source/python/py_common_proto.h
+++ b/source/python/py_common_proto.h
@@ -12,8 +12,8 @@ void py_samba_init(void);
PyObject *get_debuglevel(PyObject *self, PyObject *args);
PyObject *set_debuglevel(PyObject *self, PyObject *args);
PyObject *py_setup_logging(PyObject *self, PyObject *args, PyObject *kw);
-struct cli_state *open_pipe_creds(char *system_name, PyObject *creds,
- cli_pipe_fn *connect_fn);
+struct cli_state *open_pipe_creds(char *server, PyObject *creds,
+ cli_pipe_fn *connect_fn, char **errstr);
/* The following definitions come from python/py_ntsec.c */