nis_callback.x revision 26206
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 * nis_callback.x 3326206Swpaul * 3426206Swpaul * Copyright (c) 1988-1992 Sun Microsystems Inc 3526206Swpaul * All Rights Reserved. 3626206Swpaul */ 3726206Swpaul 3826206Swpaul/* From: %#pragma ident "@(#)nis_callback.x 1.7 94/05/03 SMI" */ 3926206Swpaul 4026206Swpaul#ifndef RPC_HDR 4126206Swpaul%#ifndef lint 4226206Swpaul%static const char rcsid[] = "$Id: nis_callback.x,v 1.3 1996/07/29 14:32:56 wpaul Exp $"; 4326206Swpaul%#endif /* not lint */ 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