1 /* Copyright (C) 1994 Cazamar Systems, Inc. */
4 uuid(7E8952D8
-1B50
-101B
-8952-204C4F4F5020
),
11 const long OSI_DBRPC_NOENTRY
= 1;
12 const long OSI_DBRPC_EOF
= 2;
13 const long OSI_DBRPC_NOFD
= 3;
15 /* parameter for string descr */
16 const long OSI_DBRPC_STRLEN
= 256; /* max bytes string */
18 /* info passed around */
19 const long OSI_DBRPC_NUMINTS
= 32; /* # of integers */
20 const long OSI_DBRPC_NUMSTRS
= 8; /* # of strings */
23 const long OSI_DBRPC_MUTEXTYPE
= 1; /* a mutex */
24 const long OSI_DBRPC_RWLOCKTYPE
= 2; /* a rwlock */
26 /* getformat region values */
27 const long OSI_DBRPC_REGIONSTRING
= 0; /* string index */
28 const long OSI_DBRPC_REGIONINT
= 1; /* index in the integer region */
31 const long OSI_DBRPC_OK
= 0;
32 const long OSI_DBRPC_DONE
= 1;
33 const long OSI_DBRPC_BADFD
= 2;
36 const long OSI_DBRPC_SUPRESSIFZERO
= 1; /* don't print zeroes */
37 const long OSI_DBRPC_HEX
= 2; /* print #s in hex */
38 const long OSI_DBRPC_SIGNED
= 4; /* print as signed # */
40 /* describe the format of a statistics entry */
41 typedef struct osi_remFormat
{
46 typedef struct osi_remHyper
{
47 unsigned long LowPart
;
48 unsigned long HighPart
;
51 typedef char osi_remString_t
[OSI_DBRPC_STRLEN
];
53 typedef struct osi_remGetInfoParms
{
56 /* [length_is (icount)] __int64 idata[OSI_DBRPC_NUMINTS]; */
57 __int64 idata
[OSI_DBRPC_NUMINTS
];
58 [length_is (scount
)] osi_remString_t sdata
[OSI_DBRPC_NUMSTRS
];
59 } osi_remGetInfoParms_t
;
67 [in, string] char *namep
,
68 [out, ref] osi_remHyper_t
*fd
,
74 [in, ref] osi_remHyper_t
*fd
,
75 [out, ref] osi_remGetInfoParms_t
*status
,
81 [in, ref] osi_remHyper_t
*fd
,
87 [in, string] char *namep
,
88 [in] long region
, /* 0 for string, 1 for integer */
90 [out, ref] osi_remFormat_t
*formatp
,