1259117Shrs%/*- 2259117Shrs% * Copyright (c) 2010, Oracle America, Inc. 326206Swpaul% * 4259117Shrs% * Redistribution and use in source and binary forms, with or without 5259117Shrs% * modification, are permitted provided that the following conditions are 6259117Shrs% * met: 726206Swpaul% * 8259117Shrs% * * Redistributions of source code must retain the above copyright 9259117Shrs% * notice, this list of conditions and the following disclaimer. 10259117Shrs% * * Redistributions in binary form must reproduce the above 11259117Shrs% * copyright notice, this list of conditions and the following 12259117Shrs% * disclaimer in the documentation and/or other materials 13259117Shrs% * provided with the distribution. 14259117Shrs% * * Neither the name of the "Oracle America, Inc." nor the names of its 15259117Shrs% * contributors may be used to endorse or promote products derived 16259117Shrs% * from this software without specific prior written permission. 1726206Swpaul% * 18259117Shrs% * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19259117Shrs% * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20259117Shrs% * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 21259117Shrs% * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22259117Shrs% * COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 23259117Shrs% * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24259117Shrs% * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 25259117Shrs% * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26259117Shrs% * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 27259117Shrs% * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 28259117Shrs% * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29259117Shrs% * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3026206Swpaul% */ 3126206Swpaul 3226206Swpaul/* 3326206Swpaul * nis_callback.x 3426206Swpaul * 3526206Swpaul * Copyright (c) 1988-1992 Sun Microsystems Inc 3626206Swpaul * All Rights Reserved. 3726206Swpaul */ 3826206Swpaul 3926206Swpaul/* From: %#pragma ident "@(#)nis_callback.x 1.7 94/05/03 SMI" */ 4026206Swpaul 4126206Swpaul#ifndef RPC_HDR 42114629Sobrien%#include <sys/cdefs.h> 43114629Sobrien%__FBSDID("$FreeBSD: releng/11.0/include/rpcsvc/nis_callback.x 259117 2013-12-09 04:26:50Z hrs $"); 4426206Swpaul#endif 4526206Swpaul 4626206Swpaul/* 4726206Swpaul * "@(#)zns_cback.x 1.2 90/09/10 Copyr 1990 Sun Micro" 4826206Swpaul * 4926206Swpaul * RPCL description of the Callback Service. 5026206Swpaul */ 5126206Swpaul 5226206Swpaul#ifdef RPC_HDR 5326206Swpaul%#include <rpcsvc/nis.h> 5426206Swpaul#endif 5526206Swpaul#ifdef RPC_XDR 5626206Swpaul#ifdef SOLARIS 5726206Swpaul%#include "nis_clnt.h" 5826206Swpaul#else 5926206Swpaul%#include "nis.h" 6026206Swpaul#endif 6126206Swpaul#endif 6226206Swpaul 6326206Swpaultypedef nis_object *obj_p; 6426206Swpaul 6526206Swpaulstruct cback_data { 6626206Swpaul obj_p entries<>; /* List of objects */ 6726206Swpaul}; 6826206Swpaul 6926206Swpaulprogram CB_PROG { 7026206Swpaul version CB_VERS { 7126206Swpaul bool CBPROC_RECEIVE(cback_data) = 1; 7226206Swpaul void CBPROC_FINISH(void) = 2; 7326206Swpaul void CBPROC_ERROR(nis_error) = 3; 7426206Swpaul } = 1; 7526206Swpaul} = 100302; 76