13b0f7467SBill Paul %/* 23b0f7467SBill Paul % * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 33b0f7467SBill Paul % * unrestricted use provided that this legend is included on all tape 43b0f7467SBill Paul % * media and as a part of the software program in whole or part. Users 53b0f7467SBill Paul % * may copy or modify Sun RPC without charge, but are not authorized 63b0f7467SBill Paul % * to license or distribute it to anyone else except as part of a product or 73b0f7467SBill Paul % * program developed by the user or with the express written consent of 83b0f7467SBill Paul % * Sun Microsystems, Inc. 93b0f7467SBill Paul % * 103b0f7467SBill Paul % * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 113b0f7467SBill Paul % * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 123b0f7467SBill Paul % * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 133b0f7467SBill Paul % * 143b0f7467SBill Paul % * Sun RPC is provided with no support and without any obligation on the 153b0f7467SBill Paul % * part of Sun Microsystems, Inc. to assist in its use, correction, 163b0f7467SBill Paul % * modification or enhancement. 173b0f7467SBill Paul % * 183b0f7467SBill Paul % * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 193b0f7467SBill Paul % * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 203b0f7467SBill Paul % * OR ANY PART THEREOF. 213b0f7467SBill Paul % * 223b0f7467SBill Paul % * In no event will Sun Microsystems, Inc. be liable for any lost revenue 233b0f7467SBill Paul % * or profits or other special, indirect and consequential damages, even if 243b0f7467SBill Paul % * Sun has been advised of the possibility of such damages. 253b0f7467SBill Paul % * 263b0f7467SBill Paul % * Sun Microsystems, Inc. 273b0f7467SBill Paul % * 2550 Garcia Avenue 283b0f7467SBill Paul % * Mountain View, California 94043 293b0f7467SBill Paul % */ 303b0f7467SBill Paul 313b0f7467SBill Paul /* 323b0f7467SBill Paul * nis_callback.x 333b0f7467SBill Paul * 343b0f7467SBill Paul * Copyright (c) 1988-1992 Sun Microsystems Inc 353b0f7467SBill Paul * All Rights Reserved. 363b0f7467SBill Paul */ 373b0f7467SBill Paul 383b0f7467SBill Paul /* From: %#pragma ident "@(#)nis_callback.x 1.7 94/05/03 SMI" */ 393b0f7467SBill Paul 403b0f7467SBill Paul #ifndef RPC_HDR 413b0f7467SBill Paul %#ifndef lint 423b0f7467SBill Paul %static const char rcsid[] = "$Id: nis_callback.x,v 1.3 1996/07/29 14:32:56 wpaul Exp $"; 433b0f7467SBill Paul %#endif /* not lint */ 443b0f7467SBill Paul #endif 453b0f7467SBill Paul 463b0f7467SBill Paul /* 473b0f7467SBill Paul * "@(#)zns_cback.x 1.2 90/09/10 Copyr 1990 Sun Micro" 483b0f7467SBill Paul * 493b0f7467SBill Paul * RPCL description of the Callback Service. 503b0f7467SBill Paul */ 513b0f7467SBill Paul 523b0f7467SBill Paul #ifdef RPC_HDR 533b0f7467SBill Paul %#include <rpcsvc/nis.h> 543b0f7467SBill Paul #endif 553b0f7467SBill Paul #ifdef RPC_XDR 563b0f7467SBill Paul #ifdef SOLARIS 573b0f7467SBill Paul %#include "nis_clnt.h" 583b0f7467SBill Paul #else 593b0f7467SBill Paul %#include "nis.h" 603b0f7467SBill Paul #endif 613b0f7467SBill Paul #endif 623b0f7467SBill Paul 633b0f7467SBill Paul typedef nis_object *obj_p; 643b0f7467SBill Paul 653b0f7467SBill Paul struct cback_data { 663b0f7467SBill Paul obj_p entries<>; /* List of objects */ 673b0f7467SBill Paul }; 683b0f7467SBill Paul 693b0f7467SBill Paul program CB_PROG { 703b0f7467SBill Paul version CB_VERS { 713b0f7467SBill Paul bool CBPROC_RECEIVE(cback_data) = 1; 723b0f7467SBill Paul void CBPROC_FINISH(void) = 2; 733b0f7467SBill Paul void CBPROC_ERROR(nis_error) = 3; 743b0f7467SBill Paul } = 1; 753b0f7467SBill Paul } = 100302; 76