Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/rpcsvc
File: rquota.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 _RQUOTA_H_RPCGEN
[5] Fix | Delete
#define _RQUOTA_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
#define RQ_PATHLEN 1024
[15] Fix | Delete
[16] Fix | Delete
struct sq_dqblk {
[17] Fix | Delete
u_int rq_bhardlimit;
[18] Fix | Delete
u_int rq_bsoftlimit;
[19] Fix | Delete
u_int rq_curblocks;
[20] Fix | Delete
u_int rq_fhardlimit;
[21] Fix | Delete
u_int rq_fsoftlimit;
[22] Fix | Delete
u_int rq_curfiles;
[23] Fix | Delete
u_int rq_btimeleft;
[24] Fix | Delete
u_int rq_ftimeleft;
[25] Fix | Delete
};
[26] Fix | Delete
typedef struct sq_dqblk sq_dqblk;
[27] Fix | Delete
[28] Fix | Delete
struct getquota_args {
[29] Fix | Delete
char *gqa_pathp;
[30] Fix | Delete
int gqa_uid;
[31] Fix | Delete
};
[32] Fix | Delete
typedef struct getquota_args getquota_args;
[33] Fix | Delete
[34] Fix | Delete
struct setquota_args {
[35] Fix | Delete
int sqa_qcmd;
[36] Fix | Delete
char *sqa_pathp;
[37] Fix | Delete
int sqa_id;
[38] Fix | Delete
sq_dqblk sqa_dqblk;
[39] Fix | Delete
};
[40] Fix | Delete
typedef struct setquota_args setquota_args;
[41] Fix | Delete
[42] Fix | Delete
struct ext_getquota_args {
[43] Fix | Delete
char *gqa_pathp;
[44] Fix | Delete
int gqa_type;
[45] Fix | Delete
int gqa_id;
[46] Fix | Delete
};
[47] Fix | Delete
typedef struct ext_getquota_args ext_getquota_args;
[48] Fix | Delete
[49] Fix | Delete
struct ext_setquota_args {
[50] Fix | Delete
int sqa_qcmd;
[51] Fix | Delete
char *sqa_pathp;
[52] Fix | Delete
int sqa_id;
[53] Fix | Delete
int sqa_type;
[54] Fix | Delete
sq_dqblk sqa_dqblk;
[55] Fix | Delete
};
[56] Fix | Delete
typedef struct ext_setquota_args ext_setquota_args;
[57] Fix | Delete
[58] Fix | Delete
struct rquota {
[59] Fix | Delete
int rq_bsize;
[60] Fix | Delete
bool_t rq_active;
[61] Fix | Delete
u_int rq_bhardlimit;
[62] Fix | Delete
u_int rq_bsoftlimit;
[63] Fix | Delete
u_int rq_curblocks;
[64] Fix | Delete
u_int rq_fhardlimit;
[65] Fix | Delete
u_int rq_fsoftlimit;
[66] Fix | Delete
u_int rq_curfiles;
[67] Fix | Delete
u_int rq_btimeleft;
[68] Fix | Delete
u_int rq_ftimeleft;
[69] Fix | Delete
};
[70] Fix | Delete
typedef struct rquota rquota;
[71] Fix | Delete
[72] Fix | Delete
enum qr_status {
[73] Fix | Delete
Q_OK = 1,
[74] Fix | Delete
Q_NOQUOTA = 2,
[75] Fix | Delete
Q_EPERM = 3,
[76] Fix | Delete
};
[77] Fix | Delete
typedef enum qr_status qr_status;
[78] Fix | Delete
[79] Fix | Delete
struct getquota_rslt {
[80] Fix | Delete
qr_status status;
[81] Fix | Delete
union {
[82] Fix | Delete
rquota gqr_rquota;
[83] Fix | Delete
} getquota_rslt_u;
[84] Fix | Delete
};
[85] Fix | Delete
typedef struct getquota_rslt getquota_rslt;
[86] Fix | Delete
[87] Fix | Delete
struct setquota_rslt {
[88] Fix | Delete
qr_status status;
[89] Fix | Delete
union {
[90] Fix | Delete
rquota sqr_rquota;
[91] Fix | Delete
} setquota_rslt_u;
[92] Fix | Delete
};
[93] Fix | Delete
typedef struct setquota_rslt setquota_rslt;
[94] Fix | Delete
[95] Fix | Delete
#define RQUOTAPROG 100011
[96] Fix | Delete
#define RQUOTAVERS 1
[97] Fix | Delete
[98] Fix | Delete
#if defined(__STDC__) || defined(__cplusplus)
[99] Fix | Delete
#define RQUOTAPROC_GETQUOTA 1
[100] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_1(getquota_args *, CLIENT *);
[101] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_1_svc(getquota_args *, struct svc_req *);
[102] Fix | Delete
#define RQUOTAPROC_GETACTIVEQUOTA 2
[103] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_1(getquota_args *, CLIENT *);
[104] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_1_svc(getquota_args *, struct svc_req *);
[105] Fix | Delete
#define RQUOTAPROC_SETQUOTA 3
[106] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_1(setquota_args *, CLIENT *);
[107] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_1_svc(setquota_args *, struct svc_req *);
[108] Fix | Delete
#define RQUOTAPROC_SETACTIVEQUOTA 4
[109] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_1(setquota_args *, CLIENT *);
[110] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_1_svc(setquota_args *, struct svc_req *);
[111] Fix | Delete
extern int rquotaprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
[112] Fix | Delete
[113] Fix | Delete
#else /* K&R C */
[114] Fix | Delete
#define RQUOTAPROC_GETQUOTA 1
[115] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_1();
[116] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_1_svc();
[117] Fix | Delete
#define RQUOTAPROC_GETACTIVEQUOTA 2
[118] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_1();
[119] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_1_svc();
[120] Fix | Delete
#define RQUOTAPROC_SETQUOTA 3
[121] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_1();
[122] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_1_svc();
[123] Fix | Delete
#define RQUOTAPROC_SETACTIVEQUOTA 4
[124] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_1();
[125] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_1_svc();
[126] Fix | Delete
extern int rquotaprog_1_freeresult ();
[127] Fix | Delete
#endif /* K&R C */
[128] Fix | Delete
#define EXT_RQUOTAVERS 2
[129] Fix | Delete
[130] Fix | Delete
#if defined(__STDC__) || defined(__cplusplus)
[131] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_2(ext_getquota_args *, CLIENT *);
[132] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_2_svc(ext_getquota_args *, struct svc_req *);
[133] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_2(ext_getquota_args *, CLIENT *);
[134] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_2_svc(ext_getquota_args *, struct svc_req *);
[135] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_2(ext_setquota_args *, CLIENT *);
[136] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_2_svc(ext_setquota_args *, struct svc_req *);
[137] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_2(ext_setquota_args *, CLIENT *);
[138] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_2_svc(ext_setquota_args *, struct svc_req *);
[139] Fix | Delete
extern int rquotaprog_2_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
[140] Fix | Delete
[141] Fix | Delete
#else /* K&R C */
[142] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_2();
[143] Fix | Delete
extern getquota_rslt * rquotaproc_getquota_2_svc();
[144] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_2();
[145] Fix | Delete
extern getquota_rslt * rquotaproc_getactivequota_2_svc();
[146] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_2();
[147] Fix | Delete
extern setquota_rslt * rquotaproc_setquota_2_svc();
[148] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_2();
[149] Fix | Delete
extern setquota_rslt * rquotaproc_setactivequota_2_svc();
[150] Fix | Delete
extern int rquotaprog_2_freeresult ();
[151] Fix | Delete
#endif /* K&R C */
[152] Fix | Delete
[153] Fix | Delete
/* the xdr functions */
[154] Fix | Delete
[155] Fix | Delete
#if defined(__STDC__) || defined(__cplusplus)
[156] Fix | Delete
extern bool_t xdr_sq_dqblk (XDR *, sq_dqblk*);
[157] Fix | Delete
extern bool_t xdr_getquota_args (XDR *, getquota_args*);
[158] Fix | Delete
extern bool_t xdr_setquota_args (XDR *, setquota_args*);
[159] Fix | Delete
extern bool_t xdr_ext_getquota_args (XDR *, ext_getquota_args*);
[160] Fix | Delete
extern bool_t xdr_ext_setquota_args (XDR *, ext_setquota_args*);
[161] Fix | Delete
extern bool_t xdr_rquota (XDR *, rquota*);
[162] Fix | Delete
extern bool_t xdr_qr_status (XDR *, qr_status*);
[163] Fix | Delete
extern bool_t xdr_getquota_rslt (XDR *, getquota_rslt*);
[164] Fix | Delete
extern bool_t xdr_setquota_rslt (XDR *, setquota_rslt*);
[165] Fix | Delete
[166] Fix | Delete
#else /* K&R C */
[167] Fix | Delete
extern bool_t xdr_sq_dqblk ();
[168] Fix | Delete
extern bool_t xdr_getquota_args ();
[169] Fix | Delete
extern bool_t xdr_setquota_args ();
[170] Fix | Delete
extern bool_t xdr_ext_getquota_args ();
[171] Fix | Delete
extern bool_t xdr_ext_setquota_args ();
[172] Fix | Delete
extern bool_t xdr_rquota ();
[173] Fix | Delete
extern bool_t xdr_qr_status ();
[174] Fix | Delete
extern bool_t xdr_getquota_rslt ();
[175] Fix | Delete
extern bool_t xdr_setquota_rslt ();
[176] Fix | Delete
[177] Fix | Delete
#endif /* K&R C */
[178] Fix | Delete
[179] Fix | Delete
#ifdef __cplusplus
[180] Fix | Delete
}
[181] Fix | Delete
#endif
[182] Fix | Delete
[183] Fix | Delete
#endif /* !_RQUOTA_H_RPCGEN */
[184] Fix | Delete
[185] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function