|
||||
File indexing completed on 2025-01-30 10:25:05
0001 /* $NetBSD: pmap_rmt.h,v 1.7 1998/02/11 23:01:23 lukem Exp $ */ 0002 0003 /* 0004 * Copyright (c) 2009, Sun Microsystems, Inc. 0005 * All rights reserved. 0006 * 0007 * Redistribution and use in source and binary forms, with or without 0008 * modification, are permitted provided that the following conditions are met: 0009 * - Redistributions of source code must retain the above copyright notice, 0010 * this list of conditions and the following disclaimer. 0011 * - Redistributions in binary form must reproduce the above copyright notice, 0012 * this list of conditions and the following disclaimer in the documentation 0013 * and/or other materials provided with the distribution. 0014 * - Neither the name of Sun Microsystems, Inc. nor the names of its 0015 * contributors may be used to endorse or promote products derived 0016 * from this software without specific prior written permission. 0017 * 0018 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 0019 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 0020 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 0021 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 0022 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0023 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0024 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 0025 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 0026 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 0027 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0028 * POSSIBILITY OF SUCH DAMAGE. 0029 * 0030 * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI 0031 * from: @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC 0032 * $FreeBSD: src/include/rpc/pmap_rmt.h,v 1.12 2002/03/23 17:24:55 imp Exp $ 0033 */ 0034 0035 /* 0036 * Structures and XDR routines for parameters to and replies from 0037 * the portmapper remote-call-service. 0038 * 0039 * Copyright (C) 1986, Sun Microsystems, Inc. 0040 */ 0041 0042 #ifndef _RPC_PMAP_RMT_H 0043 #define _RPC_PMAP_RMT_H 0044 0045 struct rmtcallargs { 0046 u_long prog, vers, proc, arglen; 0047 caddr_t args_ptr; 0048 xdrproc_t xdr_args; 0049 }; 0050 0051 struct rmtcallres { 0052 u_long *port_ptr; 0053 u_long resultslen; 0054 caddr_t results_ptr; 0055 xdrproc_t xdr_results; 0056 }; 0057 0058 #ifdef __cplusplus 0059 extern "C" { 0060 #endif 0061 extern bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *); 0062 extern bool_t xdr_rmtcallres(XDR *, struct rmtcallres *); 0063 #ifdef __cplusplus 0064 } 0065 #endif 0066 0067 #endif /* !_RPC_PMAP_RMT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |