xref: /titanic_50/usr/src/head/rpcsvc/rwall.x (revision b3700b074e637f8c6991b70754c88a2cfffb246b)
1 %/*
2 % * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
3 % * Use is subject to license terms.
4 % *
5 % * CDDL HEADER START
6 % *
7 % * The contents of this file are subject to the terms of the
8 % * Common Development and Distribution License, Version 1.0 only
9 % * (the "License").  You may not use this file except in compliance
10 % * with the License.
11 % *
12 % * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13 % * or http://www.opensolaris.org/os/licensing.
14 % * See the License for the specific language governing permissions
15 % * and limitations under the License.
16 % *
17 % * When distributing Covered Code, include this CDDL HEADER in each
18 % * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19 % * If applicable, add the following below this CDDL HEADER, with the
20 % * fields enclosed by brackets "[]" replaced with your own identifying
21 % * information: Portions Copyright [yyyy] [name of copyright owner]
22 % *
23 % * CDDL HEADER END
24 % */
25 
26 %/* from rwall.x */
27 %
28 %/*
29 % * Remote write-all ONC service
30 % */
31 
32 #ifdef RPC_HDR
33 %
34 #elif RPC_SVC
35 %
36 %/*
37 % *  Server side stub routines for the rpc.rwalld daemon
38 % */
39 %
40 #elif RPC_CLNT
41 %
42 %/*
43 % *  Client side stub routines for the rwall program
44 % */
45 %
46 #endif
47 
48 typedef string wrapstring<>;	/* Define for RPC library's xdr_wrapstring */
49 
50 program WALLPROG {
51 	version WALLVERS {
52 		/*
53 		 * There is no procedure 1
54 		 */
55 		void
56 		WALLPROC_WALL (wrapstring) = 2;
57 	} = 1;
58 } = 100008;
59 
60 #ifdef RPC_HDR
61 %
62 %
63 %#if defined(__STDC__) || defined(__cplusplus)
64 %enum clnt_stat rwall(char *, char *);
65 %#else
66 %enum clnt_stat rwall();
67 %#endif
68 %
69 #endif
70