summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-16 02:35:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-16 02:35:55 +0000
commit4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a (patch)
tree0e434cc7e484d8fac280894a9f1a59518e459aff /source3/include
parent41432074f56307cd3043ec5ed1ef6359a1a01cea (diff)
downloadsamba-4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a.tar.gz
samba-4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a.tar.bz2
samba-4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a.zip
Start pushing the NTSTATUS stuff out to the wire for session setups.
Rework the 'map to guest' code, its now possible to follow what its trying to do... Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at. Andrew Bartlett (This used to be commit d618880661976644a6ee713edf969ad561e82097)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index e426f46921..85cd042976 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -235,6 +235,7 @@ typedef uint32 WERROR;
#define NT_STATUS_IS_OK(x) (NT_STATUS_V(x) == 0)
#define NT_STATUS_IS_ERR(x) ((NT_STATUS_V(x) & 0xc0000000) == 0xc0000000)
+#define NT_STATUS_EQUAL(x,y) (NT_STATUS_V(x) == NT_STATUS_V(y))
#define W_ERROR_IS_OK(x) (W_ERROR_V(x) == 0)