summaryrefslogtreecommitdiff
path: root/source3/python/py_common.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-04-05 04:47:43 +0000
committerTim Potter <tpot@samba.org>2002-04-05 04:47:43 +0000
commitf243d4e7c8bf1eb4c9356dd1447e5cee77ba6949 (patch)
tree58f470366126eeaf733b082f56e3357b59f83c95 /source3/python/py_common.h
parent562706b32bda551e2674db4f7dae3017a8259e13 (diff)
downloadsamba-f243d4e7c8bf1eb4c9356dd1447e5cee77ba6949.tar.gz
samba-f243d4e7c8bf1eb4c9356dd1447e5cee77ba6949.tar.bz2
samba-f243d4e7c8bf1eb4c9356dd1447e5cee77ba6949.zip
Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors. (This used to be commit cb243e2766260f03de6b748d20734b8183cf192b)
Diffstat (limited to 'source3/python/py_common.h')
-rw-r--r--source3/python/py_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/python/py_common.h b/source3/python/py_common.h
index 1d2d4d6cd0..30a47eba25 100644
--- a/source3/python/py_common.h
+++ b/source3/python/py_common.h
@@ -24,5 +24,7 @@
/* Function prototypes */
void py_samba_init(void);
+PyObject *py_werror_tuple(WERROR werror);
+PyObject *py_ntstatus_tuple(NTSTATUS ntstatus);
#endif /* _PY_COMMON_H */