summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-27 08:19:43 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-27 08:19:43 +0000
commit83d9896c1ea8be796192b51a4678c2a3b87f7518 (patch)
tree3eca52e51950890d1a5b6e7c8b0ddfdee78a239a /source/include/smb.h
parent9e0c9a99f6ca01cd6a0ee3084f85e1c36b11d7c3 (diff)
downloadsamba-83d9896c1ea8be796192b51a4678c2a3b87f7518.tar.gz
samba-83d9896c1ea8be796192b51a4678c2a3b87f7518.tar.xz
samba-83d9896c1ea8be796192b51a4678c2a3b87f7518.zip
converted smbd to use NTSTATUS by default
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index a4887e15293..d8b55405106 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -205,9 +205,10 @@ typedef struct nttime_info
{
uint32 low;
uint32 high;
-
} NTTIME;
+typedef uint32 NTSTATUS;
+
/* Allowable account control bits */
#define ACB_DISABLED 0x0001 /* 1 = User account disabled */
#define ACB_HOMDIRREQ 0x0002 /* 1 = Home directory required */
@@ -370,7 +371,6 @@ typedef struct files_struct
SMB_OFF_T size;
mode_t mode;
uint16 vuid;
- write_bmpx_struct *wbmpx_ptr;
write_cache *wcp;
struct timeval open_time;
int share_mode;