home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 29 Fixes_o / 29-Fixes_o.zip / prgcsd.exe / TYPES.H < prev    next >
Text File  |  1992-11-13  |  3KB  |  83 lines

  1. /********************************************************copyrite.xic***/
  2. /*                                                                     */
  3. /*   Licensed Materials - Property of IBM                              */
  4. /*                                                                     */
  5. /*   This product contains "Restricted Materials of IBM":              */
  6. /*      Program Number:   5798RXW                                      */
  7. /*      Program Name:     IBM TCP/IP Version 1.2 for OS/2              */
  8. /*   (C) Copyright IBM Corporation. 1990, 1991.                        */
  9. /*                                                                     */
  10. /*   All rights reserved.                                              */
  11. /*                                                                     */
  12. /*   US Government Users Restricted Rights -                           */
  13. /*   Use, duplication or disclosure restricted by GSA ADP Schedule     */
  14. /*   Contract with IBM Corp.                                           */
  15. /*                                                                     */
  16. /*   See IBM Copyright Instructions.                                   */
  17. /*                                                                     */
  18. /********************************************************copyrite.xic***/
  19. /* #define DEBUG */
  20. #ifndef SOC_TYPES_INCLUDED
  21. #define SOC_TYPES_INCLUDED
  22. #ifdef KERNEL
  23. #define memcpy mymemcpy
  24. #define MIB
  25. #endif
  26.  
  27. #ifdef KERNEL
  28. #include <mt\stdio.h>
  29. #endif
  30. #define INET
  31. typedef unsigned long u_long;
  32. typedef unsigned short u_short;
  33. typedef unsigned short ushort;
  34. typedef unsigned int u_int;
  35. typedef unsigned char u_char;
  36. typedef long off_t;
  37. typedef char *caddr_t;
  38. typedef long daddr_t;
  39. #if 0
  40. typedef unsigned (*FUNC)();
  41. #endif
  42. #define NIL ((char *) 0)
  43. /*
  44. #ifdef KERNEL
  45. #define NULL ((struct mbuf *) 0)
  46. #endif
  47. */
  48. #define PZERO 0
  49. #define BSD 43
  50.  
  51. #include "sems.h"
  52. #include "splx.h"
  53. #include "utils.h"
  54. #include "errno.h"
  55. #include "nerrno.h"
  56. #include "logsys.h"
  57. #include <sys\msg.h>
  58. #include "netlib.h"
  59.  
  60. #define MAXHOSTNAMELEN 120
  61. #ifndef MAXPATHLEN
  62. #define MAXPATHLEN 80
  63. #endif
  64. #define MAXSOCKETS 2048
  65. #define LINT
  66. #ifdef LINT
  67. #ifdef KERNEL
  68. #include "lint.h"
  69. #endif
  70. #else
  71. in_cksum();
  72. #endif
  73.  
  74. #define index(string,c) strchr((string),(c))
  75. #ifndef __32BIT__
  76. #define perror(x)  _perror(x)
  77. #else
  78. void _Far16 _Cdecl _perror(char * _Seg16);
  79. #endif
  80. #define TRUE 1
  81. #define FALSE 0
  82. #endif
  83.