diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/nw/rdr/convert.h | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/nw/rdr/convert.h')
-rw-r--r-- | private/nw/rdr/convert.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/private/nw/rdr/convert.h b/private/nw/rdr/convert.h new file mode 100644 index 000000000..e093e4d2c --- /dev/null +++ b/private/nw/rdr/convert.h @@ -0,0 +1,33 @@ + +/*++ + +Copyright (c) 1992 Microsoft Corporation + +Module Name: + + Convert.h + +Abstract: + + This module declares the types used to permit exchange.c to be used + with minimal change in the NetWare file system. + +Author: + + Colin Watson [ColinW] 23-Dec-1992 + +Revision History: + +--*/ + +#ifndef _CONVERT_ +#define _CONVERT_ + +#define byte UCHAR +#define word USHORT +#define dword ULONG + +#define offsetof(r,f) ((size_t)&(((r*)0)->f)) +#define byteswap(x) ((x>>8)+((x&0xFF)<<8)) + +#endif //_CONVERT_ |