108 lines
2.5 KiB
C
Executable File
108 lines
2.5 KiB
C
Executable File
#ifndef h_port_status
|
|
#define h_port_status
|
|
/******************************************************************************
|
|
*
|
|
* Private header for uv port status functions.
|
|
*
|
|
* Module %M% Version %I% Date %H%
|
|
*
|
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
|
* The copyright notice above does not evidence any actual or intented
|
|
* publication of such source code.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* Maintenence log - insert most recent change descriptions at top
|
|
*
|
|
* Date.... GTAR# WHO Description.........................................
|
|
* 12/02/98 23866 SAP Port 9.5 to Unixware7
|
|
* 10/20/98 23814 SAP Port 9.5 to PTX 442
|
|
* 10/14/98 23801 SAP Change copyrights.
|
|
* 08/29/96 19149 SAP Port release 8 to ICL
|
|
* 05/14/96 18384 JJV Created file for use by list_readu(), pstat_utils()
|
|
* only.
|
|
*****************************************************************************/
|
|
|
|
#ifndef MSWIN
|
|
#if COMPUTER == UNIVEL
|
|
#ifndef UNIXWARE7
|
|
#define _KMEMUSER
|
|
#endif
|
|
#endif
|
|
#if (COMPUTER == IBMrios)
|
|
#include <storclass.h>
|
|
#endif
|
|
|
|
#if SYSV_AOUT
|
|
# include SY_SHMSYS_H
|
|
#endif
|
|
|
|
#include ERRNO_H
|
|
#include SIGNAL_H
|
|
#include PWD_H
|
|
#if COMPUTER == PYR_DCOSX || COMPUTER == I860 || COMPUTER == CONTINUUM || COMPUTER == ICL
|
|
# define _KMEMUSER
|
|
#endif
|
|
|
|
#if COMPUTER == PTX
|
|
# include <sys/vnode.h>
|
|
# define _KMEMUSER
|
|
#endif
|
|
#if COMPUTER == ICL
|
|
# define _KERNEL
|
|
#endif
|
|
# include SY_IPC_H
|
|
# include SY_SHM_H
|
|
#if COMPUTER == PTX
|
|
# undef _KMEMUSER
|
|
# define shmid_ds shmid_k
|
|
#endif
|
|
#if COMPUTER == ICL
|
|
# undef _KERNEL
|
|
#endif
|
|
#if COMPUTER == PYR_DCOSX || COMPUTER == I860 || COMPUTER == CONTINUUM || COMPUTER == ICL
|
|
# undef _KMEMUSER
|
|
#endif
|
|
|
|
#include CTYPE_H
|
|
#include SY_SEM_H
|
|
#include SY_STAT_H
|
|
|
|
#ifdef DGUX
|
|
#include <sys/dg_ipc_info.h>
|
|
#endif
|
|
|
|
#if COMPUTER == Solaris || COMPUTER == SUNX86
|
|
#include <kvm.h>
|
|
#endif
|
|
|
|
#if COMPUTER == HP
|
|
#include <sys/utsname.h>
|
|
#endif
|
|
#endif /* MSWIN */
|
|
|
|
|
|
#ifdef MSWIN
|
|
struct shmlist { struct shmlist *next;
|
|
PTE *pte;
|
|
};
|
|
#else
|
|
struct shmlist { struct shmlist *next;
|
|
struct shmid_ds shmdata;
|
|
};
|
|
#endif
|
|
|
|
|
|
|
|
#define GENMSG(xxxx) ( ( (xxxx) > Lkmmax ) ?\
|
|
( sprintf(Lkdefmsg,"Message[LKM%04d]\n",(xxxx)), Lkdefmsg ) :\
|
|
( Lkmmsg[(xxxx-1)] != 0 ?\
|
|
Lkmmsg[(xxxx-1)] :\
|
|
( sprintf(Lkdefmsg,"Message[LKM%04d]\n",(xxxx)),\
|
|
Lkdefmsg )))
|
|
|
|
|
|
#endif /* end of port_status.h */
|
|
|