summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-04-16 11:49:25 +0200
committerKai Blin <kai@samba.org>2009-04-22 00:14:45 +0200
commit7a9be21916589f2c2956e8b264648b66d074bfcb (patch)
tree44c4b4a5df10b375ffdb485d55a035a97008f8b9 /libcli
parent57267a300f35e8555ece9015c46353aa73e8eb2e (diff)
downloadsamba-7a9be21916589f2c2956e8b264648b66d074bfcb.tar.gz
errormap: Add wbcErr to NTSTATUS mappings
Diffstat (limited to 'libcli')
-rw-r--r--libcli/util/error.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h
index 5a7cc1b0b99..03e76a2a39d 100644
--- a/libcli/util/error.h
+++ b/libcli/util/error.h
@@ -22,6 +22,7 @@
#include "libcli/util/werror.h"
#include "libcli/util/doserr.h"
#include "libcli/util/ntstatus.h"
+#include "nsswitch/libwbclient/wbclient.h"
/** NT error on DOS connection! (NT_STATUS_OK) */
bool ntstatus_dos_equal(NTSTATUS status1, NTSTATUS status2);
@@ -46,4 +47,9 @@ WERROR ntstatus_to_werror(NTSTATUS error);
*********************************************************************/
NTSTATUS map_nt_error_from_unix(int unix_error);
+/*******************************************************************************
+ Map between wbcErr and NT status.
+*******************************************************************************/
+NTSTATUS map_nt_error_from_wbcErr(wbcErr wbc_err);
+
#endif /* _SAMBA_ERROR_H */