/* * Please do not edit this file. * It was generated using rpcgen. */ #ifndef _YPUPDATED_PROT_H_RPCGEN #define _YPUPDATED_PROT_H_RPCGEN #include #ifdef __cplusplus extern "C" { #endif /* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. * See the License for the specific language governing permissions * and limitations under the License. * * When distributing Covered Code, include this CDDL HEADER in each * file and include the License file at usr/src/OPENSOLARIS.LICENSE. * If applicable, add the following below this CDDL HEADER, with the * fields enclosed by brackets "[]" replaced with your own identifying * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END * * Copyright 1990 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" /* * Compiled from ypupdate_prot.x using rpcgen * This is NOT source code! * DO NOT EDIT THIS FILE! */ #define MAXMAPNAMELEN 255 #define MAXYPDATALEN 1023 #define MAXERRMSGLEN 255 typedef struct { u_int yp_buf_len; char *yp_buf_val; } yp_buf; struct ypupdate_args { char *mapname; yp_buf key; yp_buf datum; }; typedef struct ypupdate_args ypupdate_args; struct ypdelete_args { char *mapname; yp_buf key; }; typedef struct ypdelete_args ypdelete_args; #define YPU_PROG 100028 #define YPU_VERS 1 #if defined(__STDC__) || defined(__cplusplus) #define YPU_CHANGE 1 extern u_int * ypu_change_1(ypupdateargs *, CLIENT *); extern u_int * ypu_change_1_svc(ypupdateargs *, struct svc_req *); #define YPU_INSERT 2 extern u_int * ypu_insert_1(ypupdateargs *, CLIENT *); extern u_int * ypu_insert_1_svc(ypupdateargs *, struct svc_req *); #define YPU_DELETE 3 extern u_int * ypu_delete_1(ypdeleteargs *, CLIENT *); extern u_int * ypu_delete_1_svc(ypdeleteargs *, struct svc_req *); #define YPU_STORE 4 extern u_int * ypu_store_1(ypupdateargs *, CLIENT *); extern u_int * ypu_store_1_svc(ypupdateargs *, struct svc_req *); extern int ypu_prog_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t); #else /* K&R C */ #define YPU_CHANGE 1 extern u_int * ypu_change_1(); extern u_int * ypu_change_1_svc(); #define YPU_INSERT 2 extern u_int * ypu_insert_1(); extern u_int * ypu_insert_1_svc(); #define YPU_DELETE 3 extern u_int * ypu_delete_1(); extern u_int * ypu_delete_1_svc(); #define YPU_STORE 4 extern u_int * ypu_store_1(); extern u_int * ypu_store_1_svc(); extern int ypu_prog_1_freeresult(); #endif /* K&R C */ /* the xdr functions */ #if defined(__STDC__) || defined(__cplusplus) extern bool_t xdr_yp_buf(XDR *, yp_buf*); extern bool_t xdr_ypupdate_args(XDR *, ypupdate_args*); extern bool_t xdr_ypdelete_args(XDR *, ypdelete_args*); #else /* K&R C */ extern bool_t xdr_yp_buf(); extern bool_t xdr_ypupdate_args(); extern bool_t xdr_ypdelete_args(); #endif /* K&R C */ #ifdef __cplusplus } #endif #endif /* !_YPUPDATED_PROT_H_RPCGEN */