xref: /freebsd-11-stable/usr.sbin/wpa/wpa_supplicant/ntddndis.h (revision d51c226b583d61aa4d4ed6fdaa827d94a82529d4)
1 #ifndef _NTDDNDIS_H_
2 #define _NTDDNDIS_H_
3 
4 /*
5  * $FreeBSD$
6  */
7 
8 /*
9  * Fake up some of the Windows type definitions so that the NDIS
10  * interface module in wpa_supplicant will build.
11  */
12 
13 #define ULONG uint32_t
14 #define USHORT uint16_t
15 #define UCHAR uint8_t
16 #define LONG int32_t
17 #define SHORT int16_t
18 #define CHAR int8_t
19 #define ULONGLONG uint64_t
20 #define LONGLONG int64_t
21 #define BOOLEAN uint8_t
22 typedef void * LPADAPTER;
23 typedef char * PTSTR;
24 typedef char * PCHAR;
25 
26 #define TRUE 1
27 #define FALSE 0
28 
29 #define OID_802_3_CURRENT_ADDRESS               0x01010102
30 
31 #endif /* _NTDDNDIS_H_ */
32