diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 15:50:07 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | db74cad1c638ae2142b89757397b50009ea0678a (patch) | |
tree | b037c1554c1790184820224179f46a779beda71d /libcli/util/ntstatus.h | |
parent | 344eb08ee4e444c1fc1beac26e50c6a85b942885 (diff) | |
download | samba-db74cad1c638ae2142b89757397b50009ea0678a.tar.gz samba-db74cad1c638ae2142b89757397b50009ea0678a.tar.bz2 samba-db74cad1c638ae2142b89757397b50009ea0678a.zip |
libcli/util Move NTSTATUS table to the top level
Diffstat (limited to 'libcli/util/ntstatus.h')
-rw-r--r-- | libcli/util/ntstatus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index d53f4bbc52..2217b4cd89 100644 --- a/libcli/util/ntstatus.h +++ b/libcli/util/ntstatus.h @@ -732,4 +732,10 @@ extern bool ntstatus_check_dos_mapping; (((NT_STATUS_V(status) & 0xFFFF) == 0xC0020000) || \ ((NT_STATUS_V(status) & 0xFFFF) == 0xC0030000)) +typedef struct +{ + const char *nt_errstr; + NTSTATUS nt_errcode; +} nt_err_code_struct; + #endif /* _NTSTATUS_H */ |