/usr/hppa-linux-gnu/include/rpcsvc/rstat.h is in libc6-dev-hppa-cross 2.27-3ubuntu1cross1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | /*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _RSTAT_H_RPCGEN
#define _RSTAT_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifndef FSCALE
/*
* Scale factor for scaled integers used to count load averages.
*/
#define FSHIFT 8 /* bits to right of fixed binary point */
#define FSCALE (1<<FSHIFT)
#endif /* ndef FSCALE */
#define CPUSTATES 4
#define DK_NDRIVE 4
struct rstat_timeval {
u_int tv_sec;
u_int tv_usec;
};
typedef struct rstat_timeval rstat_timeval;
struct statstime {
int cp_time[CPUSTATES];
int dk_xfer[DK_NDRIVE];
u_int v_pgpgin;
u_int v_pgpgout;
u_int v_pswpin;
u_int v_pswpout;
u_int v_intr;
int if_ipackets;
int if_ierrors;
int if_oerrors;
int if_collisions;
u_int v_swtch;
int avenrun[3];
rstat_timeval boottime;
rstat_timeval curtime;
int if_opackets;
};
typedef struct statstime statstime;
struct statsswtch {
int cp_time[CPUSTATES];
int dk_xfer[DK_NDRIVE];
u_int v_pgpgin;
u_int v_pgpgout;
u_int v_pswpin;
u_int v_pswpout;
u_int v_intr;
int if_ipackets;
int if_ierrors;
int if_oerrors;
int if_collisions;
u_int v_swtch;
u_int avenrun[3];
rstat_timeval boottime;
int if_opackets;
};
typedef struct statsswtch statsswtch;
struct stats {
int cp_time[CPUSTATES];
int dk_xfer[DK_NDRIVE];
u_int v_pgpgin;
u_int v_pgpgout;
u_int v_pswpin;
u_int v_pswpout;
u_int v_intr;
int if_ipackets;
int if_ierrors;
int if_oerrors;
int if_collisions;
int if_opackets;
};
typedef struct stats stats;
#define RSTATPROG 100001
#define RSTATVERS_TIME 3
#if defined(__STDC__) || defined(__cplusplus)
#define RSTATPROC_STATS 1
extern statstime * rstatproc_stats_3(void *, CLIENT *);
extern statstime * rstatproc_stats_3_svc(void *, struct svc_req *);
#define RSTATPROC_HAVEDISK 2
extern u_int * rstatproc_havedisk_3(void *, CLIENT *);
extern u_int * rstatproc_havedisk_3_svc(void *, struct svc_req *);
extern int rstatprog_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
#define RSTATPROC_STATS 1
extern statstime * rstatproc_stats_3();
extern statstime * rstatproc_stats_3_svc();
#define RSTATPROC_HAVEDISK 2
extern u_int * rstatproc_havedisk_3();
extern u_int * rstatproc_havedisk_3_svc();
extern int rstatprog_3_freeresult ();
#endif /* K&R C */
#define RSTATVERS_SWTCH 2
#if defined(__STDC__) || defined(__cplusplus)
extern statsswtch * rstatproc_stats_2(void *, CLIENT *);
extern statsswtch * rstatproc_stats_2_svc(void *, struct svc_req *);
extern u_int * rstatproc_havedisk_2(void *, CLIENT *);
extern u_int * rstatproc_havedisk_2_svc(void *, struct svc_req *);
extern int rstatprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
extern statsswtch * rstatproc_stats_2();
extern statsswtch * rstatproc_stats_2_svc();
extern u_int * rstatproc_havedisk_2();
extern u_int * rstatproc_havedisk_2_svc();
extern int rstatprog_2_freeresult ();
#endif /* K&R C */
#define RSTATVERS_ORIG 1
#if defined(__STDC__) || defined(__cplusplus)
extern stats * rstatproc_stats_1(void *, CLIENT *);
extern stats * rstatproc_stats_1_svc(void *, struct svc_req *);
extern u_int * rstatproc_havedisk_1(void *, CLIENT *);
extern u_int * rstatproc_havedisk_1_svc(void *, struct svc_req *);
extern int rstatprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
extern stats * rstatproc_stats_1();
extern stats * rstatproc_stats_1_svc();
extern u_int * rstatproc_havedisk_1();
extern u_int * rstatproc_havedisk_1_svc();
extern int rstatprog_1_freeresult ();
#endif /* K&R C */
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_rstat_timeval (XDR *, rstat_timeval*);
extern bool_t xdr_statstime (XDR *, statstime*);
extern bool_t xdr_statsswtch (XDR *, statsswtch*);
extern bool_t xdr_stats (XDR *, stats*);
#else /* K&R C */
extern bool_t xdr_rstat_timeval ();
extern bool_t xdr_statstime ();
extern bool_t xdr_statsswtch ();
extern bool_t xdr_stats ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_RSTAT_H_RPCGEN */
|