summaryrefslogtreecommitdiff
path: root/libcli/util/error.h
diff options
context:
space:
mode:
authorbubulle <bubulle@alioth.debian.org>2011-06-07 20:08:36 +0000
committerbubulle <bubulle@alioth.debian.org>2011-06-07 20:08:36 +0000
commit6fe9013ae23927a67fa6b6033e2711cef99b3533 (patch)
tree5018bffeace42912accb0d67ddd3893fd15b61d1 /libcli/util/error.h
parent4d16e8d5702fb98dda73c5c0f3404d662ae62df6 (diff)
downloadsamba-6fe9013ae23927a67fa6b6033e2711cef99b3533.tar.gz
Load samba-3.6.0rc2 into branches/samba/upstream.
git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@3807 fc4039ab-9d04-0410-8cac-899223bdd6b0
Diffstat (limited to 'libcli/util/error.h')
-rw-r--r--libcli/util/error.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libcli/util/error.h b/libcli/util/error.h
index 5a7cc1b0b9..7b7de6c4f0 100644
--- a/libcli/util/error.h
+++ b/libcli/util/error.h
@@ -46,4 +46,11 @@ WERROR ntstatus_to_werror(NTSTATUS error);
*********************************************************************/
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 nt_status_squash(NTSTATUS nt_status);
+
#endif /* _SAMBA_ERROR_H */