18c2ecf20Sopenharmony_ci/*	BSDI sys_info.h,v 1.6 1998/06/03 19:14:59 karels Exp	*/
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ci/*
48c2ecf20Sopenharmony_ci * Copyright (c) 1996-1999 Distributed Processing Technology Corporation
58c2ecf20Sopenharmony_ci * All rights reserved.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Redistribution and use in source form, with or without modification, are
88c2ecf20Sopenharmony_ci * permitted provided that redistributions of source code must retain the
98c2ecf20Sopenharmony_ci * above copyright notice, this list of conditions and the following disclaimer.
108c2ecf20Sopenharmony_ci *
118c2ecf20Sopenharmony_ci * This software is provided `as is' by Distributed Processing Technology and
128c2ecf20Sopenharmony_ci * any express or implied warranties, including, but not limited to, the
138c2ecf20Sopenharmony_ci * implied warranties of merchantability and fitness for a particular purpose,
148c2ecf20Sopenharmony_ci * are disclaimed. In no event shall Distributed Processing Technology be
158c2ecf20Sopenharmony_ci * liable for any direct, indirect, incidental, special, exemplary or
168c2ecf20Sopenharmony_ci * consequential damages (including, but not limited to, procurement of
178c2ecf20Sopenharmony_ci * substitute goods or services; loss of use, data, or profits; or business
188c2ecf20Sopenharmony_ci * interruptions) however caused and on any theory of liability, whether in
198c2ecf20Sopenharmony_ci * contract, strict liability, or tort (including negligence or otherwise)
208c2ecf20Sopenharmony_ci * arising in any way out of the use of this driver software, even if advised
218c2ecf20Sopenharmony_ci * of the possibility of such damage.
228c2ecf20Sopenharmony_ci *
238c2ecf20Sopenharmony_ci */
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#ifndef         __SYS_INFO_H
268c2ecf20Sopenharmony_ci#define         __SYS_INFO_H
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci/*File - SYS_INFO.H
298c2ecf20Sopenharmony_ci ****************************************************************************
308c2ecf20Sopenharmony_ci *
318c2ecf20Sopenharmony_ci *Description:
328c2ecf20Sopenharmony_ci *
338c2ecf20Sopenharmony_ci *      This file contains structure definitions for the OS dependent
348c2ecf20Sopenharmony_ci *layer system information buffers.
358c2ecf20Sopenharmony_ci *
368c2ecf20Sopenharmony_ci *Copyright Distributed Processing Technology, Corp.
378c2ecf20Sopenharmony_ci *        140 Candace Dr.
388c2ecf20Sopenharmony_ci *        Maitland, Fl. 32751   USA
398c2ecf20Sopenharmony_ci *        Phone: (407) 830-5522  Fax: (407) 260-5366
408c2ecf20Sopenharmony_ci *        All Rights Reserved
418c2ecf20Sopenharmony_ci *
428c2ecf20Sopenharmony_ci *Author:       Don Kemper
438c2ecf20Sopenharmony_ci *Date:         5/10/94
448c2ecf20Sopenharmony_ci *
458c2ecf20Sopenharmony_ci *Editors:
468c2ecf20Sopenharmony_ci *
478c2ecf20Sopenharmony_ci *Remarks:
488c2ecf20Sopenharmony_ci *
498c2ecf20Sopenharmony_ci *
508c2ecf20Sopenharmony_ci *****************************************************************************/
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci/*Include Files ------------------------------------------------------------- */
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci#include        "osd_util.h"
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ci#ifndef NO_PACK
588c2ecf20Sopenharmony_ci#if defined (_DPT_AIX)
598c2ecf20Sopenharmony_ci#pragma options align=packed
608c2ecf20Sopenharmony_ci#else
618c2ecf20Sopenharmony_ci#pragma pack(1)
628c2ecf20Sopenharmony_ci#endif  /* aix */
638c2ecf20Sopenharmony_ci#endif  // no unpack
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci/*struct - driveParam_S - start
678c2ecf20Sopenharmony_ci *===========================================================================
688c2ecf20Sopenharmony_ci *
698c2ecf20Sopenharmony_ci *Description:
708c2ecf20Sopenharmony_ci *
718c2ecf20Sopenharmony_ci *      This structure defines the drive parameters seen during
728c2ecf20Sopenharmony_ci *booting.
738c2ecf20Sopenharmony_ci *
748c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci#ifdef  __cplusplus
778c2ecf20Sopenharmony_ci   struct driveParam_S {
788c2ecf20Sopenharmony_ci#else
798c2ecf20Sopenharmony_ci   typedef struct  {
808c2ecf20Sopenharmony_ci#endif
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci   uSHORT       cylinders;      /* Up to 1024 */
838c2ecf20Sopenharmony_ci   uCHAR        heads;          /* Up to 255 */
848c2ecf20Sopenharmony_ci   uCHAR        sectors;        /* Up to 63 */
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci#ifdef  __cplusplus
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
898c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
908c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
918c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
928c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
938c2ecf20Sopenharmony_ci//--------------------------------------------
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci   };
968c2ecf20Sopenharmony_ci#else
978c2ecf20Sopenharmony_ci   } driveParam_S;
988c2ecf20Sopenharmony_ci#endif
998c2ecf20Sopenharmony_ci/*driveParam_S - end */
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci/*struct - sysInfo_S - start
1038c2ecf20Sopenharmony_ci *===========================================================================
1048c2ecf20Sopenharmony_ci *
1058c2ecf20Sopenharmony_ci *Description:
1068c2ecf20Sopenharmony_ci *
1078c2ecf20Sopenharmony_ci *      This structure defines the command system information that
1088c2ecf20Sopenharmony_ci *should be returned by every OS dependent layer.
1098c2ecf20Sopenharmony_ci *
1108c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci/*flags - bit definitions */
1138c2ecf20Sopenharmony_ci#define SI_CMOS_Valid           0x0001
1148c2ecf20Sopenharmony_ci#define SI_NumDrivesValid       0x0002
1158c2ecf20Sopenharmony_ci#define SI_ProcessorValid       0x0004
1168c2ecf20Sopenharmony_ci#define SI_MemorySizeValid      0x0008
1178c2ecf20Sopenharmony_ci#define SI_DriveParamsValid     0x0010
1188c2ecf20Sopenharmony_ci#define SI_SmartROMverValid     0x0020
1198c2ecf20Sopenharmony_ci#define SI_OSversionValid       0x0040
1208c2ecf20Sopenharmony_ci#define SI_OSspecificValid      0x0080  /* 1 if OS structure returned */
1218c2ecf20Sopenharmony_ci#define SI_BusTypeValid         0x0100
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ci#define SI_ALL_VALID            0x0FFF  /* All Std SysInfo is valid */
1248c2ecf20Sopenharmony_ci#define SI_NO_SmartROM          0x8000
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci/*busType - definitions */
1278c2ecf20Sopenharmony_ci#define SI_ISA_BUS      0x00
1288c2ecf20Sopenharmony_ci#define SI_MCA_BUS      0x01
1298c2ecf20Sopenharmony_ci#define SI_EISA_BUS     0x02
1308c2ecf20Sopenharmony_ci#define SI_PCI_BUS      0x04
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ci#ifdef  __cplusplus
1338c2ecf20Sopenharmony_ci   struct sysInfo_S {
1348c2ecf20Sopenharmony_ci#else
1358c2ecf20Sopenharmony_ci   typedef struct  {
1368c2ecf20Sopenharmony_ci#endif
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci   uCHAR        drive0CMOS;             /* CMOS Drive 0 Type */
1398c2ecf20Sopenharmony_ci   uCHAR        drive1CMOS;             /* CMOS Drive 1 Type */
1408c2ecf20Sopenharmony_ci   uCHAR        numDrives;              /* 0040:0075 contents */
1418c2ecf20Sopenharmony_ci   uCHAR        processorFamily;        /* Same as DPTSIG's definition */
1428c2ecf20Sopenharmony_ci   uCHAR        processorType;          /* Same as DPTSIG's definition */
1438c2ecf20Sopenharmony_ci   uCHAR        smartROMMajorVersion;
1448c2ecf20Sopenharmony_ci   uCHAR        smartROMMinorVersion;   /* SmartROM version */
1458c2ecf20Sopenharmony_ci   uCHAR        smartROMRevision;
1468c2ecf20Sopenharmony_ci   uSHORT       flags;                  /* See bit definitions above */
1478c2ecf20Sopenharmony_ci   uSHORT       conventionalMemSize;    /* in KB */
1488c2ecf20Sopenharmony_ci   uINT         extendedMemSize;        /* in KB */
1498c2ecf20Sopenharmony_ci   uINT         osType;                 /* Same as DPTSIG's definition */
1508c2ecf20Sopenharmony_ci   uCHAR        osMajorVersion;
1518c2ecf20Sopenharmony_ci   uCHAR        osMinorVersion;         /* The OS version */
1528c2ecf20Sopenharmony_ci   uCHAR        osRevision;
1538c2ecf20Sopenharmony_ci#ifdef _SINIX_ADDON
1548c2ecf20Sopenharmony_ci   uCHAR        busType;                /* See defininitions above */
1558c2ecf20Sopenharmony_ci   uSHORT       osSubRevision;
1568c2ecf20Sopenharmony_ci   uCHAR        pad[2];                 /* For alignment */
1578c2ecf20Sopenharmony_ci#else
1588c2ecf20Sopenharmony_ci   uCHAR        osSubRevision;
1598c2ecf20Sopenharmony_ci   uCHAR        busType;                /* See defininitions above */
1608c2ecf20Sopenharmony_ci   uCHAR        pad[3];                 /* For alignment */
1618c2ecf20Sopenharmony_ci#endif
1628c2ecf20Sopenharmony_ci   driveParam_S drives[16];             /* SmartROM Logical Drives */
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ci#ifdef  __cplusplus
1658c2ecf20Sopenharmony_ci
1668c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
1678c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
1688c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
1698c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
1708c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
1718c2ecf20Sopenharmony_ci//--------------------------------------------
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ci   };
1748c2ecf20Sopenharmony_ci#else
1758c2ecf20Sopenharmony_ci   } sysInfo_S;
1768c2ecf20Sopenharmony_ci#endif
1778c2ecf20Sopenharmony_ci/*sysInfo_S - end */
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ci
1808c2ecf20Sopenharmony_ci/*struct - DOS_Info_S - start
1818c2ecf20Sopenharmony_ci *===========================================================================
1828c2ecf20Sopenharmony_ci *
1838c2ecf20Sopenharmony_ci *Description:
1848c2ecf20Sopenharmony_ci *
1858c2ecf20Sopenharmony_ci *      This structure defines the system information specific to a
1868c2ecf20Sopenharmony_ci *DOS workstation.
1878c2ecf20Sopenharmony_ci *
1888c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ci/*flags - bit definitions */
1918c2ecf20Sopenharmony_ci#define DI_DOS_HIGH             0x01    /* DOS is loaded high */
1928c2ecf20Sopenharmony_ci#define DI_DPMI_VALID           0x02    /* DPMI version is valid */
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ci#ifdef  __cplusplus
1958c2ecf20Sopenharmony_ci   struct DOS_Info_S {
1968c2ecf20Sopenharmony_ci#else
1978c2ecf20Sopenharmony_ci   typedef struct {
1988c2ecf20Sopenharmony_ci#endif
1998c2ecf20Sopenharmony_ci
2008c2ecf20Sopenharmony_ci   uCHAR        flags;          /* See bit definitions above */
2018c2ecf20Sopenharmony_ci   uSHORT       driverLocation; /* SmartROM BIOS address */
2028c2ecf20Sopenharmony_ci   uSHORT       DOS_version;
2038c2ecf20Sopenharmony_ci   uSHORT       DPMI_version;
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ci#ifdef  __cplusplus
2068c2ecf20Sopenharmony_ci
2078c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
2088c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
2098c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
2108c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
2118c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
2128c2ecf20Sopenharmony_ci//--------------------------------------------
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ci   };
2158c2ecf20Sopenharmony_ci#else
2168c2ecf20Sopenharmony_ci   } DOS_Info_S;
2178c2ecf20Sopenharmony_ci#endif
2188c2ecf20Sopenharmony_ci/*DOS_Info_S - end */
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ci
2218c2ecf20Sopenharmony_ci/*struct - Netware_Info_S - start
2228c2ecf20Sopenharmony_ci *===========================================================================
2238c2ecf20Sopenharmony_ci *
2248c2ecf20Sopenharmony_ci *Description:
2258c2ecf20Sopenharmony_ci *
2268c2ecf20Sopenharmony_ci *      This structure defines the system information specific to a
2278c2ecf20Sopenharmony_ci *Netware machine.
2288c2ecf20Sopenharmony_ci *
2298c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
2308c2ecf20Sopenharmony_ci
2318c2ecf20Sopenharmony_ci#ifdef  __cplusplus
2328c2ecf20Sopenharmony_ci   struct Netware_Info_S {
2338c2ecf20Sopenharmony_ci#else
2348c2ecf20Sopenharmony_ci   typedef struct {
2358c2ecf20Sopenharmony_ci#endif
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ci   uCHAR        driverName[13];         /* ie PM12NW31.DSK */
2388c2ecf20Sopenharmony_ci   uCHAR        serverName[48];
2398c2ecf20Sopenharmony_ci   uCHAR        netwareVersion;         /* The Netware OS version */
2408c2ecf20Sopenharmony_ci   uCHAR        netwareSubVersion;
2418c2ecf20Sopenharmony_ci   uCHAR        netwareRevision;
2428c2ecf20Sopenharmony_ci   uSHORT       maxConnections;         /* Probably  250 or 1000 */
2438c2ecf20Sopenharmony_ci   uSHORT       connectionsInUse;
2448c2ecf20Sopenharmony_ci   uSHORT       maxVolumes;
2458c2ecf20Sopenharmony_ci   uCHAR        unused;
2468c2ecf20Sopenharmony_ci   uCHAR        SFTlevel;
2478c2ecf20Sopenharmony_ci   uCHAR        TTSlevel;
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ci   uCHAR        clibMajorVersion;       /* The CLIB.NLM version */
2508c2ecf20Sopenharmony_ci   uCHAR        clibMinorVersion;
2518c2ecf20Sopenharmony_ci   uCHAR        clibRevision;
2528c2ecf20Sopenharmony_ci
2538c2ecf20Sopenharmony_ci#ifdef  __cplusplus
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
2568c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
2578c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
2588c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
2598c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
2608c2ecf20Sopenharmony_ci//--------------------------------------------
2618c2ecf20Sopenharmony_ci
2628c2ecf20Sopenharmony_ci   };
2638c2ecf20Sopenharmony_ci#else
2648c2ecf20Sopenharmony_ci   } Netware_Info_S;
2658c2ecf20Sopenharmony_ci#endif
2668c2ecf20Sopenharmony_ci/*Netware_Info_S - end */
2678c2ecf20Sopenharmony_ci
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ci/*struct - OS2_Info_S - start
2708c2ecf20Sopenharmony_ci *===========================================================================
2718c2ecf20Sopenharmony_ci *
2728c2ecf20Sopenharmony_ci *Description:
2738c2ecf20Sopenharmony_ci *
2748c2ecf20Sopenharmony_ci *      This structure defines the system information specific to an
2758c2ecf20Sopenharmony_ci *OS/2 machine.
2768c2ecf20Sopenharmony_ci *
2778c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ci#ifdef  __cplusplus
2808c2ecf20Sopenharmony_ci   struct OS2_Info_S {
2818c2ecf20Sopenharmony_ci#else
2828c2ecf20Sopenharmony_ci   typedef struct {
2838c2ecf20Sopenharmony_ci#endif
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci   uCHAR        something;
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_ci#ifdef  __cplusplus
2888c2ecf20Sopenharmony_ci
2898c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
2908c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
2918c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
2928c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
2938c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
2948c2ecf20Sopenharmony_ci//--------------------------------------------
2958c2ecf20Sopenharmony_ci
2968c2ecf20Sopenharmony_ci   };
2978c2ecf20Sopenharmony_ci#else
2988c2ecf20Sopenharmony_ci   } OS2_Info_S;
2998c2ecf20Sopenharmony_ci#endif
3008c2ecf20Sopenharmony_ci/*OS2_Info_S - end */
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ci/*struct - WinNT_Info_S - start
3048c2ecf20Sopenharmony_ci *===========================================================================
3058c2ecf20Sopenharmony_ci *
3068c2ecf20Sopenharmony_ci *Description:
3078c2ecf20Sopenharmony_ci *
3088c2ecf20Sopenharmony_ci *      This structure defines the system information specific to a
3098c2ecf20Sopenharmony_ci *Windows NT machine.
3108c2ecf20Sopenharmony_ci *
3118c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3148c2ecf20Sopenharmony_ci   struct WinNT_Info_S {
3158c2ecf20Sopenharmony_ci#else
3168c2ecf20Sopenharmony_ci   typedef struct {
3178c2ecf20Sopenharmony_ci#endif
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ci   uCHAR        something;
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3228c2ecf20Sopenharmony_ci
3238c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
3248c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
3258c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
3268c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
3278c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
3288c2ecf20Sopenharmony_ci//--------------------------------------------
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_ci   };
3318c2ecf20Sopenharmony_ci#else
3328c2ecf20Sopenharmony_ci   } WinNT_Info_S;
3338c2ecf20Sopenharmony_ci#endif
3348c2ecf20Sopenharmony_ci/*WinNT_Info_S - end */
3358c2ecf20Sopenharmony_ci
3368c2ecf20Sopenharmony_ci
3378c2ecf20Sopenharmony_ci/*struct - SCO_Info_S - start
3388c2ecf20Sopenharmony_ci *===========================================================================
3398c2ecf20Sopenharmony_ci *
3408c2ecf20Sopenharmony_ci *Description:
3418c2ecf20Sopenharmony_ci *
3428c2ecf20Sopenharmony_ci *      This structure defines the system information specific to an
3438c2ecf20Sopenharmony_ci *SCO UNIX machine.
3448c2ecf20Sopenharmony_ci *
3458c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3488c2ecf20Sopenharmony_ci   struct SCO_Info_S {
3498c2ecf20Sopenharmony_ci#else
3508c2ecf20Sopenharmony_ci   typedef struct {
3518c2ecf20Sopenharmony_ci#endif
3528c2ecf20Sopenharmony_ci
3538c2ecf20Sopenharmony_ci   uCHAR        something;
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3568c2ecf20Sopenharmony_ci
3578c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
3588c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
3598c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
3608c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
3618c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
3628c2ecf20Sopenharmony_ci//--------------------------------------------
3638c2ecf20Sopenharmony_ci
3648c2ecf20Sopenharmony_ci   };
3658c2ecf20Sopenharmony_ci#else
3668c2ecf20Sopenharmony_ci   } SCO_Info_S;
3678c2ecf20Sopenharmony_ci#endif
3688c2ecf20Sopenharmony_ci/*SCO_Info_S - end */
3698c2ecf20Sopenharmony_ci
3708c2ecf20Sopenharmony_ci
3718c2ecf20Sopenharmony_ci/*struct - USL_Info_S - start
3728c2ecf20Sopenharmony_ci *===========================================================================
3738c2ecf20Sopenharmony_ci *
3748c2ecf20Sopenharmony_ci *Description:
3758c2ecf20Sopenharmony_ci *
3768c2ecf20Sopenharmony_ci *      This structure defines the system information specific to a
3778c2ecf20Sopenharmony_ci *USL UNIX machine.
3788c2ecf20Sopenharmony_ci *
3798c2ecf20Sopenharmony_ci *---------------------------------------------------------------------------*/
3808c2ecf20Sopenharmony_ci
3818c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3828c2ecf20Sopenharmony_ci   struct USL_Info_S {
3838c2ecf20Sopenharmony_ci#else
3848c2ecf20Sopenharmony_ci   typedef struct {
3858c2ecf20Sopenharmony_ci#endif
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ci   uCHAR        something;
3888c2ecf20Sopenharmony_ci
3898c2ecf20Sopenharmony_ci#ifdef  __cplusplus
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ci//---------- Portability Additions ----------- in sp_sinfo.cpp
3928c2ecf20Sopenharmony_ci#ifdef DPT_PORTABLE
3938c2ecf20Sopenharmony_ci	uSHORT		netInsert(dptBuffer_S *buffer);
3948c2ecf20Sopenharmony_ci	uSHORT		netExtract(dptBuffer_S *buffer);
3958c2ecf20Sopenharmony_ci#endif // DPT PORTABLE
3968c2ecf20Sopenharmony_ci//--------------------------------------------
3978c2ecf20Sopenharmony_ci
3988c2ecf20Sopenharmony_ci   };
3998c2ecf20Sopenharmony_ci#else
4008c2ecf20Sopenharmony_ci   } USL_Info_S;
4018c2ecf20Sopenharmony_ci#endif
4028c2ecf20Sopenharmony_ci/*USL_Info_S - end */
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_ci
4058c2ecf20Sopenharmony_ci  /* Restore default structure packing */
4068c2ecf20Sopenharmony_ci#ifndef NO_UNPACK
4078c2ecf20Sopenharmony_ci#if defined (_DPT_AIX)
4088c2ecf20Sopenharmony_ci#pragma options align=reset
4098c2ecf20Sopenharmony_ci#elif defined (UNPACK_FOUR)
4108c2ecf20Sopenharmony_ci#pragma pack(4)
4118c2ecf20Sopenharmony_ci#else
4128c2ecf20Sopenharmony_ci#pragma pack()
4138c2ecf20Sopenharmony_ci#endif  /* aix */
4148c2ecf20Sopenharmony_ci#endif  // no unpack
4158c2ecf20Sopenharmony_ci
4168c2ecf20Sopenharmony_ci#endif  // __SYS_INFO_H
4178c2ecf20Sopenharmony_ci
418