]>
Commit | Line | Data |
---|---|---|
ff7c6d11 XL |
1 | // Licensed under the Apache License, Version 2.0 |
2 | // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
3 | // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. | |
4 | // All files in the project carrying such notice may not be copied, modified, or distributed | |
5 | // except according to those terms. | |
6 | use ctypes::{__int64, __uint64, c_char, c_uchar, c_ulong}; | |
7 | pub const NDR_CHAR_REP_MASK: c_ulong = 0x0000000F; | |
8 | pub const NDR_INT_REP_MASK: c_ulong = 0x000000F0; | |
9 | pub const NDR_FLOAT_REP_MASK: c_ulong = 0x0000FF00; | |
10 | pub const NDR_LITTLE_ENDIAN: c_ulong = 0x00000010; | |
11 | pub const NDR_BIG_ENDIAN: c_ulong = 0x00000000; | |
12 | pub const NDR_IEEE_FLOAT: c_ulong = 0x00000000; | |
13 | pub const NDR_VAX_FLOAT: c_ulong = 0x00000100; | |
14 | pub const NDR_IBM_FLOAT: c_ulong = 0x00000300; | |
15 | pub const NDR_ASCII_CHAR: c_ulong = 0x00000000; | |
16 | pub const NDR_EBCDIC_CHAR: c_ulong = 0x00000001; | |
17 | pub const NDR_LOCAL_DATA_REPRESENTATION: c_ulong = 0x00000010; | |
18 | pub const NDR_LOCAL_ENDIAN: c_ulong = NDR_LITTLE_ENDIAN; | |
19 | pub type small = c_char; | |
20 | pub type byte = c_uchar; | |
21 | pub type cs_byte = byte; | |
22 | pub type boolean = c_uchar; | |
23 | pub type hyper = __int64; | |
24 | pub type MIDL_uhyper = __uint64; | |
25 | // TODO Finish the rest |