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