1 /*
2  * Please do not edit this file.
3  * It was generated using rpcgen.
4  */
5 
6 #ifndef _RWALL_H_RPCGEN
7 #define	_RWALL_H_RPCGEN
8 
9 #include <rpc/rpc.h>
10 #ifndef _KERNEL
11 #include <synch.h>
12 #include <thread.h>
13 #endif /* !_KERNEL */
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18 
19 /*
20  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
21  * Use is subject to license terms.
22  *
23  * CDDL HEADER START
24  *
25  * The contents of this file are subject to the terms of the
26  * Common Development and Distribution License, Version 1.0 only
27  * (the "License").  You may not use this file except in compliance
28  * with the License.
29  *
30  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
31  * or http://www.opensolaris.org/os/licensing.
32  * See the License for the specific language governing permissions
33  * and limitations under the License.
34  *
35  * When distributing Covered Code, include this CDDL HEADER in each
36  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
37  * If applicable, add the following below this CDDL HEADER, with the
38  * fields enclosed by brackets "[]" replaced with your own identifying
39  * information: Portions Copyright [yyyy] [name of copyright owner]
40  *
41  * CDDL HEADER END
42  */
43 /* from rwall.x */
44 
45 /*
46  * Remote write-all ONC service
47  */
48 
49 
50 typedef char *wrapstring;
51 
52 
53 #if defined(__STDC__) || defined(__cplusplus)
54 enum clnt_stat rwall(char *, char *);
55 #else
56 enum clnt_stat rwall();
57 #endif
58 
59 
60 #define	WALLPROG	100008
61 #define	WALLVERS	1
62 
63 #if defined(__STDC__) || defined(__cplusplus)
64 #define	WALLPROC_WALL	2
65 extern  enum clnt_stat wallproc_wall_1(wrapstring *, void *, CLIENT *);
66 extern  bool_t wallproc_wall_1_svc(wrapstring *, void *, struct svc_req *);
67 extern int wallprog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
68 
69 #else /* K&R C */
70 #define	WALLPROC_WALL	2
71 extern  enum clnt_stat wallproc_wall_1();
72 extern  bool_t wallproc_wall_1_svc();
73 extern int wallprog_1_freeresult();
74 #endif /* K&R C */
75 
76 /* the xdr functions */
77 
78 #if defined(__STDC__) || defined(__cplusplus)
79 extern  bool_t xdr_wrapstring(XDR *, wrapstring*);
80 
81 #else /* K&R C */
82 extern bool_t xdr_wrapstring();
83 
84 #endif /* K&R C */
85 
86 #ifdef __cplusplus
87 }
88 #endif
89 
90 #endif /* !_RWALL_H_RPCGEN */
91