Category : C Source Code
Archive   : INIFUN.ZIP
Filename : TYPES.H

 
Output of file : TYPES.H contained in archive : INIFUN.ZIP
/*
** daf/types.h
**
** Define signed/unsigned and hardware-style variables
**
*/


#ifndef daf_types_h
#define daf_types_h


#include


#ifndef FALSE
#define FALSE 0
#define TRUE 1
#endif



#if defined(__FLAT__) || defined(__386__) || defined(_M_IX86)
#define FAR
#define NEAR
#else
#define FAR far
#define NEAR near
#endif



#ifndef _BSD_T_DEFINED

typedef signed char schar;
typedef unsigned char uchar, *puchar;
typedef unsigned char unchar;
typedef unsigned short ushort, *pushort;
typedef unsigned int uint;
typedef unsigned long ulong, *pulong;

typedef char * caddr_t;

#define _BSD_T_DEFINED
#endif



#ifndef _MACH_T_DEFINED

typedef int BOOL;
typedef unsigned char BYTE, UCHAR;
typedef signed short SHORT;
typedef unsigned short WORD, USHORT;
typedef signed long LONG;
typedef unsigned long DWORD, ULONG;
typedef BYTE *pBYTE, *pUCHAR;
typedef BYTE NEAR *npBYTE, *npUCHAR;
typedef BYTE FAR *fpBYTE, *fpUCHAR;
typedef WORD *pWORD, *pUSHORT;
typedef WORD NEAR *npWORD, *npUSHORT;
typedef WORD FAR *fpWORD, *fpUSHORT;
typedef DWORD *pDWORD, *pULONG;
typedef DWORD NEAR *npDWORD, *npULONG;
typedef DWORD FAR *fpDWORD, *fpULONG;
typedef LONG *pLONG;
typedef LONG NEAR *npLONG;
typedef LONG FAR *fpLONG;
typedef void *pVOID;
typedef void NEAR *npVOID;
typedef void FAR *fpVOID;

#define _MACH_T_DEFINED
#endif


#endif



  3 Responses to “Category : C Source Code
Archive   : INIFUN.ZIP
Filename : TYPES.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/