126206Swpaul%/* 226206Swpaul% * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 326206Swpaul% * unrestricted use provided that this legend is included on all tape 426206Swpaul% * media and as a part of the software program in whole or part. Users 526206Swpaul% * may copy or modify Sun RPC without charge, but are not authorized 626206Swpaul% * to license or distribute it to anyone else except as part of a product or 726206Swpaul% * program developed by the user or with the express written consent of 826206Swpaul% * Sun Microsystems, Inc. 926206Swpaul% * 1026206Swpaul% * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 1126206Swpaul% * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 1226206Swpaul% * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 1326206Swpaul% * 1426206Swpaul% * Sun RPC is provided with no support and without any obligation on the 1526206Swpaul% * part of Sun Microsystems, Inc. to assist in its use, correction, 1626206Swpaul% * modification or enhancement. 1726206Swpaul% * 1826206Swpaul% * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 1926206Swpaul% * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 2026206Swpaul% * OR ANY PART THEREOF. 2126206Swpaul% * 2226206Swpaul% * In no event will Sun Microsystems, Inc. be liable for any lost revenue 2326206Swpaul% * or profits or other special, indirect and consequential damages, even if 2426206Swpaul% * Sun has been advised of the possibility of such damages. 2526206Swpaul% * 2626206Swpaul% * Sun Microsystems, Inc. 2726206Swpaul% * 2550 Garcia Avenue 2826206Swpaul% * Mountain View, California 94043 2926206Swpaul% */ 3026206Swpaul 3126206Swpaul%/* 3226206Swpaul% * Copyright (c) 1986, 1990 by Sun Microsystems, Inc. 3326206Swpaul% */ 3426206Swpaul% 3526206Swpaul%/* from @(#)ypupdate_prot.x 1.3 91/03/11 TIRPC 1.0 */ 3626206Swpaul#ifndef RPC_HDR 37114629Sobrien%#include <sys/cdefs.h> 38114629Sobrien%__FBSDID("$FreeBSD: releng/10.2/include/rpcsvc/ypupdate_prot.x 114629 2003-05-04 02:51:42Z obrien $"); 3926206Swpaul#endif 4026206Swpaul% 4126206Swpaul%/* 4226206Swpaul% * Compiled from ypupdate_prot.x using rpcgen 4326206Swpaul% * This is NOT source code! 4426206Swpaul% * DO NOT EDIT THIS FILE! 4526206Swpaul% */ 4626206Swpaul 4726206Swpaul/* 4826206Swpaul * YP update service protocol 4926206Swpaul */ 5026206Swpaul#ifdef RPC_HDR 5126206Swpaul% 5226206Swpaul%#ifndef _rpcsvc_ypupdate_prot_h 5326206Swpaul%#define _rpcsvc_ypupdate_prot_h 5426206Swpaul% 5526206Swpaul#endif 5626206Swpaul 5726206Swpaulconst MAXMAPNAMELEN = 255; 5826206Swpaulconst MAXYPDATALEN = 1023; 5926206Swpaulconst MAXERRMSGLEN = 255; 6026206Swpaul 6126206Swpaulprogram YPU_PROG { 6226206Swpaul version YPU_VERS { 6326206Swpaul u_int YPU_CHANGE(ypupdate_args) = 1; 6426206Swpaul u_int YPU_INSERT(ypupdate_args) = 2; 6526206Swpaul u_int YPU_DELETE(ypdelete_args) = 3; 6626206Swpaul u_int YPU_STORE(ypupdate_args) = 4; 6726206Swpaul } = 1; 6826206Swpaul} = 100028; 6926206Swpaul 7026206Swpaultypedef opaque yp_buf<MAXYPDATALEN>; 7126206Swpaul 7226206Swpaulstruct ypupdate_args { 7326206Swpaul string mapname<MAXMAPNAMELEN>; 7426206Swpaul yp_buf key; 7526206Swpaul yp_buf datum; 7626206Swpaul}; 7726206Swpaul 7826206Swpaulstruct ypdelete_args { 7926206Swpaul string mapname<MAXMAPNAMELEN>; 8026206Swpaul yp_buf key; 8126206Swpaul}; 8226206Swpaul 8326206Swpaul#ifdef RPC_HDR 8426206Swpaul% 8526206Swpaul%#endif /* !_rpcsvc_ypupdate_prot_h */ 8626206Swpaul#endif 87