home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 29 Fixes_o
/
29-Fixes_o.zip
/
prgcsd.exe
/
TYPES.H
< prev
next >
Wrap
Text File
|
1992-11-13
|
3KB
|
83 lines
/********************************************************copyrite.xic***/
/* */
/* Licensed Materials - Property of IBM */
/* */
/* This product contains "Restricted Materials of IBM": */
/* Program Number: 5798RXW */
/* Program Name: IBM TCP/IP Version 1.2 for OS/2 */
/* (C) Copyright IBM Corporation. 1990, 1991. */
/* */
/* All rights reserved. */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication or disclosure restricted by GSA ADP Schedule */
/* Contract with IBM Corp. */
/* */
/* See IBM Copyright Instructions. */
/* */
/********************************************************copyrite.xic***/
/* #define DEBUG */
#ifndef SOC_TYPES_INCLUDED
#define SOC_TYPES_INCLUDED
#ifdef KERNEL
#define memcpy mymemcpy
#define MIB
#endif
#ifdef KERNEL
#include <mt\stdio.h>
#endif
#define INET
typedef unsigned long u_long;
typedef unsigned short u_short;
typedef unsigned short ushort;
typedef unsigned int u_int;
typedef unsigned char u_char;
typedef long off_t;
typedef char *caddr_t;
typedef long daddr_t;
#if 0
typedef unsigned (*FUNC)();
#endif
#define NIL ((char *) 0)
/*
#ifdef KERNEL
#define NULL ((struct mbuf *) 0)
#endif
*/
#define PZERO 0
#define BSD 43
#include "sems.h"
#include "splx.h"
#include "utils.h"
#include "errno.h"
#include "nerrno.h"
#include "logsys.h"
#include <sys\msg.h>
#include "netlib.h"
#define MAXHOSTNAMELEN 120
#ifndef MAXPATHLEN
#define MAXPATHLEN 80
#endif
#define MAXSOCKETS 2048
#define LINT
#ifdef LINT
#ifdef KERNEL
#include "lint.h"
#endif
#else
in_cksum();
#endif
#define index(string,c) strchr((string),(c))
#ifndef __32BIT__
#define perror(x) _perror(x)
#else
void _Far16 _Cdecl _perror(char * _Seg16);
#endif
#define TRUE 1
#define FALSE 0
#endif