From 4d89a65a845dbf6f8fa8aa46d2631cfd3a879e0a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 16 Sep 2001 02:35:55 +0000 Subject: 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) --- source3/include/smb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/smb.h') 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) -- cgit