summaryrefslogtreecommitdiff
path: root/source/include/smb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index ab2e45aabd5..d3babb54832 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -239,6 +239,7 @@ typedef uint32 WERROR;
#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)
+#define W_ERROR_EQUAL(x,y) (W_ERROR_V(x) == W_ERROR_V(y))
/* Allowable account control bits */
#define ACB_DISABLED 0x0001 /* 1 = User account disabled */
@@ -1419,6 +1420,7 @@ extern int global_is_multibyte_codepage;
*/
extern int unix_ERR_class;
extern int unix_ERR_code;
+extern NTSTATUS unix_ERR_ntstatus;
/*
* Used in chaining code.