libkvm - Update for new dumps & minidumps
[dragonfly.git] / include / rpcsvc / spray.h
blob6bf8d4146e046ad8f9bc1d6cdfaad1142fcecfef
1 /*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
6 #ifndef _SPRAY_H_RPCGEN
7 #define _SPRAY_H_RPCGEN
9 #include <rpc/rpc.h>
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #define SPRAYMAX 8845
17 struct spraytimeval {
18 u_int sec;
19 u_int usec;
21 typedef struct spraytimeval spraytimeval;
23 struct spraycumul {
24 u_int counter;
25 spraytimeval clock;
27 typedef struct spraycumul spraycumul;
29 typedef struct {
30 u_int sprayarr_len;
31 char *sprayarr_val;
32 } sprayarr;
34 #define SPRAYPROG ((unsigned long)(100012))
35 #define SPRAYVERS ((unsigned long)(1))
37 extern void sprayprog_1(struct svc_req *rqstp, SVCXPRT *transp);
38 #define SPRAYPROC_SPRAY ((unsigned long)(1))
39 extern void * sprayproc_spray_1(sprayarr *, CLIENT *);
40 extern void * sprayproc_spray_1_svc(sprayarr *, struct svc_req *);
41 #define SPRAYPROC_GET ((unsigned long)(2))
42 extern spraycumul * sprayproc_get_1(void *, CLIENT *);
43 extern spraycumul * sprayproc_get_1_svc(void *, struct svc_req *);
44 #define SPRAYPROC_CLEAR ((unsigned long)(3))
45 extern void * sprayproc_clear_1(void *, CLIENT *);
46 extern void * sprayproc_clear_1_svc(void *, struct svc_req *);
47 extern int sprayprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
49 /* the xdr functions */
50 extern bool_t xdr_spraytimeval(XDR *, spraytimeval*);
51 extern bool_t xdr_spraycumul(XDR *, spraycumul*);
52 extern bool_t xdr_sprayarr(XDR *, sprayarr*);
54 #ifdef __cplusplus
56 #endif
58 #endif /* !_SPRAY_H_RPCGEN */