home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / header45.zip / stack16 / types.h < prev    next >
Text File  |  1999-05-11  |  770b  |  42 lines

  1. #ifndef __TYPES_32H
  2. #define __TYPES_32H
  3.  
  4. #define INET
  5. typedef unsigned long u_long;
  6. typedef unsigned short u_short;
  7. typedef unsigned short ushort;
  8. typedef unsigned int u_int;
  9. typedef unsigned char u_char;
  10.  
  11. #ifndef __off_t
  12. typedef long off_t;
  13. #define __off_t
  14. #endif /* off_t */
  15.  
  16. typedef char *caddr_t;
  17. typedef long daddr_t;
  18. #define NIL ((char *) 0)
  19.  
  20. #define PZERO 0
  21. #define BSD 43
  22. #include <errno.h>
  23. #include <nerrno.h>
  24. #include <sys/time.h>
  25. #include <utils.h>
  26.  
  27. #define MAXHOSTNAMELEN 120
  28. #ifndef MAXPATHLEN
  29. #define MAXPATHLEN 80
  30. #endif
  31. #define MAXSOCKETS 2048
  32.  
  33. #ifndef X11     /* defined by Xos.h */
  34. #define index(string,c) strchr((string),(c))
  35. #endif
  36.  
  37. #define TRUE 1
  38. #define FALSE 0
  39. #define SIGALRM 0
  40.  
  41. #endif /* __TYPES_32H */
  42.