/********************************************************Copyright.IBM*****/
/*                                                                        */
/*                                                                        */
/*      Multi-Protocol Transport Services                                 */
/*                                                                        */
/*      Licensed Materials - Property of IBM (R)                          */
/*      5622-069                                                          */
/*      (C) Copyright IBM Corp. 1993, All right reserved.                 */
/*      US Government Users Restricted Rights - Use, duplication,         */
/*      disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */
/*                                                                        */
/********************************************************Copyright.IBM*****/


#ifndef MPTNTYPES                
#define MPTNTYPES               

/* #define DEBUG */
#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;
typedef unsigned (*FUNC)();
#define NIL ((char *) 0)
/*
#ifdef KERNEL
#define NULL ((struct mbuf *) 0)
#endif
*/
#define PZERO 0
#define BSD 43
/* 32 bit socket - include .h files using default path instead of local */
#include <sems.h>
#include <splx.h>
/* #include <utils.h> */             
#include <utils.h>                  
#include <errno.h>
#include <nerrno.h>
#include <logsys.h>
#include <sys\msg.h>
#if !defined(__32BIT__) && !defined(__IBMC__)
#include <netlib.h>
#endif

#define MAXHOSTNAMELEN 120
#ifndef MAXPATHLEN
#define MAXPATHLEN 80
#endif
#define MAXSOCKETS 2048          
#define LINT
#ifdef LINT
#ifdef KERNEL
/* change include .h files using default path */
#include <lint.h>
#endif
#else
in_cksum();
#endif

#if defined(__32BIT__) && defined(__IBMC__)
#include <string.h>
#endif
#define index(string,c) strchr((string),(c))
/* #define perror(x)  _perror(x) */      
#define TRUE 1
#define FALSE 0

#endif /* MPTNTYPES */            
