The C and C++ Include Header Files
/usr/include/rpcsvc/rquota.h
$ cat -n /usr/include/rpcsvc/rquota.h 1 /* 2 * Please do not edit this file. 3 * It was generated using rpcgen. 4 */ 5 6 #ifndef _RQUOTA_H_RPCGEN 7 #define _RQUOTA_H_RPCGEN 8 9 #include
10 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 #define RQ_PATHLEN 1024 17 18 struct getquota_args { 19 char *gqa_pathp; 20 int gqa_uid; 21 }; 22 typedef struct getquota_args getquota_args; 23 24 struct rquota { 25 int rq_bsize; 26 bool_t rq_active; 27 u_int rq_bhardlimit; 28 u_int rq_bsoftlimit; 29 u_int rq_curblocks; 30 u_int rq_fhardlimit; 31 u_int rq_fsoftlimit; 32 u_int rq_curfiles; 33 u_int rq_btimeleft; 34 u_int rq_ftimeleft; 35 }; 36 typedef struct rquota rquota; 37 38 enum gqr_status { 39 Q_OK = 1, 40 Q_NOQUOTA = 2, 41 Q_EPERM = 3, 42 }; 43 typedef enum gqr_status gqr_status; 44 45 struct getquota_rslt { 46 gqr_status status; 47 union { 48 rquota gqr_rquota; 49 } getquota_rslt_u; 50 }; 51 typedef struct getquota_rslt getquota_rslt; 52 53 #define RQUOTAPROG 100011 54 #define RQUOTAVERS 1 55 56 #if defined(__STDC__) || defined(__cplusplus) 57 #define RQUOTAPROC_GETQUOTA 1 58 extern getquota_rslt * rquotaproc_getquota_1(getquota_args *, CLIENT *); 59 extern getquota_rslt * rquotaproc_getquota_1_svc(getquota_args *, struct svc_req *); 60 #define RQUOTAPROC_GETACTIVEQUOTA 2 61 extern getquota_rslt * rquotaproc_getactivequota_1(getquota_args *, CLIENT *); 62 extern getquota_rslt * rquotaproc_getactivequota_1_svc(getquota_args *, struct svc_req *); 63 extern int rquotaprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 64 65 #else /* K&R C */ 66 #define RQUOTAPROC_GETQUOTA 1 67 extern getquota_rslt * rquotaproc_getquota_1(); 68 extern getquota_rslt * rquotaproc_getquota_1_svc(); 69 #define RQUOTAPROC_GETACTIVEQUOTA 2 70 extern getquota_rslt * rquotaproc_getactivequota_1(); 71 extern getquota_rslt * rquotaproc_getactivequota_1_svc(); 72 extern int rquotaprog_1_freeresult (); 73 #endif /* K&R C */ 74 75 /* the xdr functions */ 76 77 #if defined(__STDC__) || defined(__cplusplus) 78 extern bool_t xdr_getquota_args (XDR *, getquota_args*); 79 extern bool_t xdr_rquota (XDR *, rquota*); 80 extern bool_t xdr_gqr_status (XDR *, gqr_status*); 81 extern bool_t xdr_getquota_rslt (XDR *, getquota_rslt*); 82 83 #else /* K&R C */ 84 extern bool_t xdr_getquota_args (); 85 extern bool_t xdr_rquota (); 86 extern bool_t xdr_gqr_status (); 87 extern bool_t xdr_getquota_rslt (); 88 89 #endif /* K&R C */ 90 91 #ifdef __cplusplus 92 } 93 #endif 94 95 #endif /* !_RQUOTA_H_RPCGEN */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2024 MyWebUniversity.com ™