summaryrefslogtreecommitdiff
path: root/source3/python/py_common_proto.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-02 05:28:54 +0000
committerTim Potter <tpot@samba.org>2002-08-02 05:28:54 +0000
commit81a4862ae71795817cbe47edac615474ef26f0c9 (patch)
tree38c882b67e7051fdeff15fb97b6a5fc39d31775c /source3/python/py_common_proto.h
parent0efda5cc2160f5b0b8b6cc5d1d4a29539239239e (diff)
downloadsamba-81a4862ae71795817cbe47edac615474ef26f0c9.tar.gz
samba-81a4862ae71795817cbe47edac615474ef26f0c9.tar.bz2
samba-81a4862ae71795817cbe47edac615474ef26f0c9.zip
Broke out unpacking of a username/password stored in a Python
dictionary into a separate function. (This used to be commit 10889241d5f5813f499501a45edccc4acd3e9f74)
Diffstat (limited to 'source3/python/py_common_proto.h')
-rw-r--r--source3/python/py_common_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/python/py_common_proto.h b/source3/python/py_common_proto.h
index 143ea2947c..89f0f35fc9 100644
--- a/source3/python/py_common_proto.h
+++ b/source3/python/py_common_proto.h
@@ -12,6 +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);
+BOOL py_parse_creds(PyObject *creds, char **username, char **domain,
+ char **password, char **errstr);
struct cli_state *open_pipe_creds(char *server, PyObject *creds,
char *pipe_name, char **errstr);
BOOL get_level_value(PyObject *dict, uint32 *level);