diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 16:26:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-24 16:26:23 +1000 |
commit | 6da26870e0ae5acd6ff49a30ec2f6886b44d095e (patch) | |
tree | 850c71039563c16a5d563c47e7ba2ab645baf198 /libcli/util/error.h | |
parent | 6925a799d04c6fa59dd2ddef1f5510f9bb7d17d1 (diff) | |
parent | 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 (diff) | |
download | samba-4.0.0alpha16.tar.gz samba-4.0.0alpha16.tar.xz samba-4.0.0alpha16.zip |
Merge 2610c05b5b95cc7036b3d6dfb894c6cfbdb68483 as Samba-4.0alpha16samba-4.0.0alpha16
Diffstat (limited to 'libcli/util/error.h')
-rw-r--r-- | libcli/util/error.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h index 7b7de6c4f0f..5c4dc10916b 100644 --- a/libcli/util/error.h +++ b/libcli/util/error.h @@ -23,9 +23,6 @@ #include "libcli/util/doserr.h" #include "libcli/util/ntstatus.h" -/** NT error on DOS connection! (NT_STATUS_OK) */ -bool ntstatus_dos_equal(NTSTATUS status1, NTSTATUS status2); - /***************************************************************************** convert a NT status code to a dos class/code *****************************************************************************/ @@ -44,12 +41,7 @@ WERROR ntstatus_to_werror(NTSTATUS error); /********************************************************************* Map an NT error code from a Unix error code. *********************************************************************/ -NTSTATUS map_nt_error_from_unix(int unix_error); - -/********************************************************************* -convert a Unix error code to a WERROR -*********************************************************************/ -WERROR unix_to_werror(int unix_error); +NTSTATUS map_nt_error_from_unix_common(int unix_error); NTSTATUS nt_status_squash(NTSTATUS nt_status); |