HardenedBSD/usr.sbin/wpa/wpa_supplicant/ntddndis.h
Bill Paul d51c226b58 Implement the PacketGetVersion() routine, which is used in
the 0.4.x versions of wpa_supplicant.
2005-10-20 16:49:31 +00:00

32 lines
584 B
C

#ifndef _NTDDNDIS_H_
#define _NTDDNDIS_H_
/*
* $FreeBSD$
*/
/*
* Fake up some of the Windows type definitions so that the NDIS
* interface module in wpa_supplicant will build.
*/
#define ULONG uint32_t
#define USHORT uint16_t
#define UCHAR uint8_t
#define LONG int32_t
#define SHORT int16_t
#define CHAR int8_t
#define ULONGLONG uint64_t
#define LONGLONG int64_t
#define BOOLEAN uint8_t
typedef void * LPADAPTER;
typedef char * PTSTR;
typedef char * PCHAR;
#define TRUE 1
#define FALSE 0
#define OID_802_3_CURRENT_ADDRESS 0x01010102
#endif /* _NTDDNDIS_H_ */