mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
lib: Make nt_err_code_struct private
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Sep 17 02:56:54 CEST 2014 on sn-devel-104
This commit is contained in:
parent
b3cc5e204d
commit
6ce6262014
@ -33,6 +33,12 @@
|
||||
#define DOS_CODE(class, code) { #class ":" #code, NT_STATUS_DOS(class, code) }
|
||||
#define LDAP_CODE(code) { #code, NT_STATUS_LDAP(code) }
|
||||
|
||||
typedef struct
|
||||
{
|
||||
const char *nt_errstr;
|
||||
NTSTATUS nt_errcode;
|
||||
} nt_err_code_struct;
|
||||
|
||||
const nt_err_code_struct nt_errs[] =
|
||||
{
|
||||
{ "NT_STATUS_OK", NT_STATUS_OK },
|
||||
|
@ -2008,10 +2008,4 @@ NTSTATUS nt_status_string_to_code(const char *nt_status_str);
|
||||
(((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 */
|
||||
|
Loading…
Reference in New Issue
Block a user