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