2 * Please do not edit this file.
3 * It was generated using rpcgen.
6 #ifndef _RQUOTA_H_RPCGEN
7 #define _RQUOTA_H_RPCGEN
11 #ifndef IXDR_GET_INT32
12 #define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
14 #ifndef IXDR_PUT_INT32
15 #define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v))
17 #ifndef IXDR_GET_U_INT32
18 #define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf))
20 #ifndef IXDR_PUT_U_INT32
21 #define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v))
23 #define RQ_PATHLEN 1024
25 struct getquota_args {
29 typedef struct getquota_args getquota_args;
31 extern "C" bool_t xdr_getquota_args(XDR *, getquota_args*);
33 extern bool_t xdr_getquota_args(XDR *, getquota_args*);
34 #else /* Old Style C */
35 bool_t xdr_getquota_args();
36 #endif /* Old Style C */
39 struct ext_getquota_args {
44 typedef struct ext_getquota_args ext_getquota_args;
46 extern "C" bool_t xdr_ext_getquota_args(XDR *, ext_getquota_args*);
48 extern bool_t xdr_ext_getquota_args(XDR *, ext_getquota_args*);
49 #else /* Old Style C */
50 bool_t xdr_ext_getquota_args();
51 #endif /* Old Style C */
66 typedef struct rquota rquota;
68 extern "C" bool_t xdr_rquota(XDR *, rquota*);
70 extern bool_t xdr_rquota(XDR *, rquota*);
71 #else /* Old Style C */
73 #endif /* Old Style C */
81 typedef enum gqr_status gqr_status;
83 extern "C" bool_t xdr_gqr_status(XDR *, gqr_status*);
85 extern bool_t xdr_gqr_status(XDR *, gqr_status*);
86 #else /* Old Style C */
87 bool_t xdr_gqr_status();
88 #endif /* Old Style C */
91 struct getquota_rslt {
97 typedef struct getquota_rslt getquota_rslt;
99 extern "C" bool_t xdr_getquota_rslt(XDR *, getquota_rslt*);
101 extern bool_t xdr_getquota_rslt(XDR *, getquota_rslt*);
102 #else /* Old Style C */
103 bool_t xdr_getquota_rslt();
104 #endif /* Old Style C */
107 #define RQUOTAPROG ((u_int32_t)100011)
108 #define RQUOTAVERS ((u_int32_t)1)
111 #define RQUOTAPROC_GETQUOTA ((u_int32_t)1)
112 extern "C" getquota_rslt * rquotaproc_getquota_1(getquota_args *, CLIENT *);
113 extern "C" getquota_rslt * rquotaproc_getquota_1_svc(getquota_args *, struct svc_req *);
114 #define RQUOTAPROC_GETACTIVEQUOTA ((u_int32_t)2)
115 extern "C" getquota_rslt * rquotaproc_getactivequota_1(getquota_args *, CLIENT *);
116 extern "C" getquota_rslt * rquotaproc_getactivequota_1_svc(getquota_args *, struct svc_req *);
119 #define RQUOTAPROC_GETQUOTA ((u_int32_t)1)
120 extern getquota_rslt * rquotaproc_getquota_1(getquota_args *, CLIENT *);
121 extern getquota_rslt * rquotaproc_getquota_1_svc(getquota_args *, struct svc_req *);
122 #define RQUOTAPROC_GETACTIVEQUOTA ((u_int32_t)2)
123 extern getquota_rslt * rquotaproc_getactivequota_1(getquota_args *, CLIENT *);
124 extern getquota_rslt * rquotaproc_getactivequota_1_svc(getquota_args *, struct svc_req *);
126 #else /* Old Style C */
127 #define RQUOTAPROC_GETQUOTA ((u_int32_t)1)
128 extern getquota_rslt * rquotaproc_getquota_1();
129 extern getquota_rslt * rquotaproc_getquota_1_svc();
130 #define RQUOTAPROC_GETACTIVEQUOTA ((u_int32_t)2)
131 extern getquota_rslt * rquotaproc_getactivequota_1();
132 extern getquota_rslt * rquotaproc_getactivequota_1_svc();
133 #endif /* Old Style C */
134 #define EXT_RQUOTAVERS ((u_int32_t)2)
137 extern "C" getquota_rslt * rquotaproc_getquota_2(ext_getquota_args *, CLIENT *);
138 extern "C" getquota_rslt * rquotaproc_getquota_2_svc(ext_getquota_args *, struct svc_req *);
139 extern "C" getquota_rslt * rquotaproc_getactivequota_2(ext_getquota_args *, CLIENT *);
140 extern "C" getquota_rslt * rquotaproc_getactivequota_2_svc(ext_getquota_args *, struct svc_req *);
143 extern getquota_rslt * rquotaproc_getquota_2(ext_getquota_args *, CLIENT *);
144 extern getquota_rslt * rquotaproc_getquota_2_svc(ext_getquota_args *, struct svc_req *);
145 extern getquota_rslt * rquotaproc_getactivequota_2(ext_getquota_args *, CLIENT *);
146 extern getquota_rslt * rquotaproc_getactivequota_2_svc(ext_getquota_args *, struct svc_req *);
148 #else /* Old Style C */
149 extern getquota_rslt * rquotaproc_getquota_2();
150 extern getquota_rslt * rquotaproc_getquota_2_svc();
151 extern getquota_rslt * rquotaproc_getactivequota_2();
152 extern getquota_rslt * rquotaproc_getactivequota_2_svc();
153 #endif /* Old Style C */
155 #endif /* !_RQUOTA_H_RPCGEN */