summaryrefslogtreecommitdiff
path: root/sysroot/usr/include/rpcsvc/spray.h
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-01-09 15:05:59 -0800
committerJean-Baptiste Queru <jbq@google.com>2012-01-09 15:05:59 -0800
commitd4dbdb67cac22f22ceb70055090b492b3010bd13 (patch)
tree62b5afc30427a0462c3aca90d26ed725a68a30ad /sysroot/usr/include/rpcsvc/spray.h
parent4c0f9817f605ad9f6da98b46aa1530f6af97de1b (diff)
downloadi686-linux-glibc2.7-4.4.3-d4dbdb67cac22f22ceb70055090b492b3010bd13.tar.gz
Relocate SDK toolchain
Change-Id: I4aa13a365108300e29cf3de3e5c463c3b13e10a8
Diffstat (limited to 'sysroot/usr/include/rpcsvc/spray.h')
-rw-r--r--sysroot/usr/include/rpcsvc/spray.h81
1 files changed, 81 insertions, 0 deletions
diff --git a/sysroot/usr/include/rpcsvc/spray.h b/sysroot/usr/include/rpcsvc/spray.h
new file mode 100644
index 0000000..b19e402
--- /dev/null
+++ b/sysroot/usr/include/rpcsvc/spray.h
@@ -0,0 +1,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 */