Home | History | Annotate | Download | only in rpcsvc
      1  0  stevel /*
      2  0  stevel  * CDDL HEADER START
      3  0  stevel  *
      4  0  stevel  * The contents of this file are subject to the terms of the
      5  0  stevel  * Common Development and Distribution License, Version 1.0 only
      6  0  stevel  * (the "License").  You may not use this file except in compliance
      7  0  stevel  * with the License.
      8  0  stevel  *
      9  0  stevel  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     10  0  stevel  * or http://www.opensolaris.org/os/licensing.
     11  0  stevel  * See the License for the specific language governing permissions
     12  0  stevel  * and limitations under the License.
     13  0  stevel  *
     14  0  stevel  * When distributing Covered Code, include this CDDL HEADER in each
     15  0  stevel  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     16  0  stevel  * If applicable, add the following below this CDDL HEADER, with the
     17  0  stevel  * fields enclosed by brackets "[]" replaced with your own identifying
     18  0  stevel  * information: Portions Copyright [yyyy] [name of copyright owner]
     19  0  stevel  *
     20  0  stevel  * CDDL HEADER END
     21  0  stevel  */
     22  0  stevel /*
     23  0  stevel  * Copyright 1998 Sun Microsystems, Inc.  All rights reserved.
     24  0  stevel  * Use is subject to license terms.
     25  0  stevel  */
     26  0  stevel 
     27  0  stevel /*	Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T	*/
     28  0  stevel /*	  All Rights Reserved  	*/
     29  0  stevel 
     30  0  stevel /*
     31  0  stevel  * Portions of this source code were derived from Berkeley 4.3 BSD
     32  0  stevel  * under license from the Regents of the University of California.
     33  0  stevel  */
     34  0  stevel 
     35  0  stevel #ifndef	_RPCSVC_YPUPD_H
     36  0  stevel #define	_RPCSVC_YPUPD_H
     37  0  stevel 
     38  0  stevel #pragma ident	"%Z%%M%	%I%	%E% SMI"
     39  0  stevel 
     40  0  stevel /*
     41  0  stevel  * Please do not edit this file.
     42  0  stevel  * It was generated using rpcgen.
     43  0  stevel  */
     44  0  stevel 
     45  0  stevel #include <sys/types.h>
     46  0  stevel 
     47  0  stevel #ifdef	__cplusplus
     48  0  stevel extern "C" {
     49  0  stevel #endif
     50  0  stevel 
     51  0  stevel /*
     52  0  stevel  * Compiled from ypupdate_prot.x using rpcgen
     53  0  stevel  * This is NOT source code!
     54  0  stevel  * DO NOT EDIT THIS FILE!
     55  0  stevel  */
     56  0  stevel #define	MAXMAPNAMELEN 255
     57  0  stevel #define	MAXYPDATALEN 1023
     58  0  stevel #define	MAXERRMSGLEN 255
     59  0  stevel 
     60  0  stevel #define	YPU_PROG ((ulong_t)100028)
     61  0  stevel #define	YPU_VERS ((ulong_t)1)
     62  0  stevel #define	YPU_CHANGE ((ulong_t)1)
     63  0  stevel extern uint_t *ypu_change_1();
     64  0  stevel #define	YPU_INSERT ((ulong_t)2)
     65  0  stevel extern uint_t *ypu_insert_1();
     66  0  stevel #define	YPU_DELETE ((ulong_t)3)
     67  0  stevel extern uint_t *ypu_delete_1();
     68  0  stevel #define	YPU_STORE ((ulong_t)4)
     69  0  stevel extern uint_t *ypu_store_1();
     70  0  stevel 
     71  0  stevel typedef struct {
     72  0  stevel 	uint_t yp_buf_len;
     73  0  stevel 	char *yp_buf_val;
     74  0  stevel } yp_buf;
     75  0  stevel bool_t xdr_yp_buf();
     76  0  stevel 
     77  0  stevel struct ypupdate_args {
     78  0  stevel 	char *mapname;
     79  0  stevel 	yp_buf key;
     80  0  stevel 	yp_buf datum;
     81  0  stevel };
     82  0  stevel typedef struct ypupdate_args ypupdate_args;
     83  0  stevel bool_t xdr_ypupdate_args();
     84  0  stevel 
     85  0  stevel struct ypdelete_args {
     86  0  stevel 	char *mapname;
     87  0  stevel 	yp_buf key;
     88  0  stevel };
     89  0  stevel typedef struct ypdelete_args ypdelete_args;
     90  0  stevel bool_t xdr_ypdelete_args();
     91  0  stevel 
     92  0  stevel #ifdef	__cplusplus
     93  0  stevel }
     94  0  stevel #endif
     95  0  stevel 
     96  0  stevel #endif	/* _RPCSVC_YPUPD_H */
     97