diff options
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/util/error.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h index 5a7cc1b0b9..03e76a2a39 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 */ |