Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/ntirpc/rpc/pmap_rmt.h
$ cat -n /usr/include/ntirpc/rpc/pmap_rmt.h 1 /* $NetBSD: pmap_rmt.h,v 1.7 1998/02/11 23:01:23 lukem Exp $ */ 2 3 /* 4 * Copyright (c) 2009, Sun Microsystems, Inc. 5 * Copyright (c) 2013-2018 Red Hat, Inc. and/or its affiliates. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions are met: 10 * - Redistributions of source code must retain the above copyright notice, 11 * this list of conditions and the following disclaimer. 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 14 * and/or other materials provided with the distribution. 15 * - Neither the name of Sun Microsystems, Inc. nor the names of its 16 * contributors may be used to endorse or promote products derived 17 * from this software without specific prior written permission. 18 * 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 20 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 23 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29 * POSSIBILITY OF SUCH DAMAGE. 30 * 31 * from: @(#)pmap_rmt.h 1.2 88/02/08 SMI 32 * from: @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC 33 * $FreeBSD: src/include/rpc/pmap_rmt.h,v 1.12 2002/03/23 17:24:55 imp Exp $ 34 */ 35 36 /* 37 * Structures and XDR routines for parameters to and replies from 38 * the portmapper remote-call-service. 39 * 40 * Copyright (C) 1986, Sun Microsystems, Inc. 41 */ 42 43 #ifndef _RPC_PMAP_RMT_H 44 #define _RPC_PMAP_RMT_H 45 #include
46 47 struct rmtcallargs { 48 xdrproc_t xdr_args; 49 void *args_ptr; 50 uint32_t arglen; /* count of args_ptr */ 51 rpcprog_t prog; 52 rpcvers_t vers; 53 rpcproc_t proc; 54 }; 55 56 struct rmtcallres { 57 xdrproc_t xdr_results; 58 void *results_ptr; 59 uint32_t resultslen; /* count of results_ptr */ 60 rpcport_t port; 61 }; 62 63 __BEGIN_DECLS 64 extern bool xdr_rmtcall_args(XDR *, struct rmtcallargs *); 65 extern bool xdr_rmtcallres(XDR *, struct rmtcallres *); 66 __END_DECLS 67 #endif /* !_RPC_PMAP_RMT_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™