Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


spray.h
01: /*
02:  * Please do not edit this file.
03:  * It was generated using rpcgen.
04:  */
05: 
06: #ifndef _SPRAY_H_RPCGEN
07: #define _SPRAY_H_RPCGEN
08: 
09: #include <rpc/rpc.h>
10: 
11: 
12: #ifdef __cplusplus
13: extern "C" {
14: #endif
15: 
16: #define SPRAYMAX 8845
17: 
18: struct spraytimeval {
19:         u_int sec;
20:         u_int usec;
21: };
22: typedef struct spraytimeval spraytimeval;
23: 
24: struct spraycumul {
25:         u_int counter;
26:         spraytimeval clock;
27: };
28: typedef struct spraycumul spraycumul;
29: 
30: typedef struct {
31:         u_int sprayarr_len;
32:         char *sprayarr_val;
33: } sprayarr;
34: 
35: #define SPRAYPROG 100012
36: #define SPRAYVERS 1
37: 
38: #if defined(__STDC__) || defined(__cplusplus)
39: #define SPRAYPROC_SPRAY 1
40: extern  void * sprayproc_spray_1(sprayarr *, CLIENT *);
41: extern  void * sprayproc_spray_1_svc(sprayarr *, struct svc_req *);
42: #define SPRAYPROC_GET 2
43: extern  spraycumul * sprayproc_get_1(void *, CLIENT *);
44: extern  spraycumul * sprayproc_get_1_svc(void *, struct svc_req *);
45: #define SPRAYPROC_CLEAR 3
46: extern  void * sprayproc_clear_1(void *, CLIENT *);
47: extern  void * sprayproc_clear_1_svc(void *, struct svc_req *);
48: extern int sprayprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
49: 
50: #else /* K&R C */
51: #define SPRAYPROC_SPRAY 1
52: extern  void * sprayproc_spray_1();
53: extern  void * sprayproc_spray_1_svc();
54: #define SPRAYPROC_GET 2
55: extern  spraycumul * sprayproc_get_1();
56: extern  spraycumul * sprayproc_get_1_svc();
57: #define SPRAYPROC_CLEAR 3
58: extern  void * sprayproc_clear_1();
59: extern  void * sprayproc_clear_1_svc();
60: extern int sprayprog_1_freeresult ();
61: #endif /* K&R C */
62: 
63: /* the xdr functions */
64: 
65: #if defined(__STDC__) || defined(__cplusplus)
66: extern  bool_t xdr_spraytimeval (XDR *, spraytimeval*);
67: extern  bool_t xdr_spraycumul (XDR *, spraycumul*);
68: extern  bool_t xdr_sprayarr (XDR *, sprayarr*);
69: 
70: #else /* K&R C */
71: extern bool_t xdr_spraytimeval ();
72: extern bool_t xdr_spraycumul ();
73: extern bool_t xdr_sprayarr ();
74: 
75: #endif /* K&R C */
76: 
77: #ifdef __cplusplus
78: }
79: #endif
80: 
81: #endif /* !_SPRAY_H_RPCGEN */
82: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/