/usr/include/rpcsvc/spray.h is in libc6-dev 2.19-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | /*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _SPRAY_H_RPCGEN
#define _SPRAY_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
#define SPRAYMAX 8845
struct spraytimeval {
u_int sec;
u_int usec;
};
typedef struct spraytimeval spraytimeval;
struct spraycumul {
u_int counter;
spraytimeval clock;
};
typedef struct spraycumul spraycumul;
typedef struct {
u_int sprayarr_len;
char *sprayarr_val;
} sprayarr;
#define SPRAYPROG 100012
#define SPRAYVERS 1
#if defined(__STDC__) || defined(__cplusplus)
#define SPRAYPROC_SPRAY 1
extern void * sprayproc_spray_1(sprayarr *, CLIENT *);
extern void * sprayproc_spray_1_svc(sprayarr *, struct svc_req *);
#define SPRAYPROC_GET 2
extern spraycumul * sprayproc_get_1(void *, CLIENT *);
extern spraycumul * sprayproc_get_1_svc(void *, struct svc_req *);
#define SPRAYPROC_CLEAR 3
extern void * sprayproc_clear_1(void *, CLIENT *);
extern void * sprayproc_clear_1_svc(void *, struct svc_req *);
extern int sprayprog_1_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
#else /* K&R C */
#define SPRAYPROC_SPRAY 1
extern void * sprayproc_spray_1();
extern void * sprayproc_spray_1_svc();
#define SPRAYPROC_GET 2
extern spraycumul * sprayproc_get_1();
extern spraycumul * sprayproc_get_1_svc();
#define SPRAYPROC_CLEAR 3
extern void * sprayproc_clear_1();
extern void * sprayproc_clear_1_svc();
extern int sprayprog_1_freeresult ();
#endif /* K&R C */
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_spraytimeval (XDR *, spraytimeval*);
extern bool_t xdr_spraycumul (XDR *, spraycumul*);
extern bool_t xdr_sprayarr (XDR *, sprayarr*);
#else /* K&R C */
extern bool_t xdr_spraytimeval ();
extern bool_t xdr_spraycumul ();
extern bool_t xdr_sprayarr ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_SPRAY_H_RPCGEN */
|