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