summaryrefslogtreecommitdiff
path: root/source3/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
commit286d3a80fdcd316ebbf63b007a24e787143313a4 (patch)
tree7eeabd842ec6e6f1721f5b3ecb19d350092d53e8 /source3/python/py_common_proto.h
parentce03ce2e5629930e582f9fd17445e52ce1b08907 (diff)
downloadsamba-286d3a80fdcd316ebbf63b007a24e787143313a4.tar.gz
samba-286d3a80fdcd316ebbf63b007a24e787143313a4.tar.bz2
samba-286d3a80fdcd316ebbf63b007a24e787143313a4.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 (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
Diffstat (limited to 'source3/python/py_common_proto.h')
-rw-r--r--source3/python/py_common_proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_common_proto.h b/source3/python/py_common_proto.h
index 98d970d7bc..dd823dd4c0 100644
--- a/source3/python/py_common_proto.h
+++ b/source3/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 */