|
||||
File indexing completed on 2025-01-18 10:01:04
0001 /* @(#)pmap_rmt.h 2.1 88/07/29 4.0 RPCSRC; from 1.2 88/02/08 SMI */ 0002 /* 0003 * Copyright (c) 2010, Oracle America, Inc. 0004 * 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 * 0010 * * Redistributions of source code must retain the above copyright 0011 * notice, this list of conditions and the following disclaimer. 0012 * 0013 * * Redistributions in binary form must reproduce the above copyright 0014 * notice, this list of conditions and the following disclaimer in 0015 * the documentation and/or other materials provided with the 0016 * distribution. 0017 * 0018 * * Neither the name of the "Oracle America, Inc." nor the names of 0019 * its contributors may be used to endorse or promote products 0020 * derived from this software without specific prior written permission. 0021 * 0022 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 0023 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 0024 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 0025 * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 0026 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 0027 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 0028 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 0029 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 0030 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 0031 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 0032 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 0033 */ 0034 0035 /* 0036 * Structures and XDR routines for parameters to and replies from 0037 * the portmapper remote-call-service. 0038 */ 0039 0040 #ifndef GSSRPC_PMAP_RMT_H 0041 #define GSSRPC_PMAP_RMT_H 0042 GSSRPC__BEGIN_DECLS 0043 0044 struct rmtcallargs { 0045 rpcprog_t prog; 0046 rpcvers_t vers; 0047 rpcproc_t proc; 0048 uint32_t arglen; 0049 caddr_t args_ptr; 0050 xdrproc_t xdr_args; 0051 }; 0052 0053 bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *); 0054 0055 struct rmtcallres { 0056 rpcport_t *port_ptr; 0057 uint32_t resultslen; 0058 caddr_t results_ptr; 0059 xdrproc_t xdr_results; 0060 }; 0061 0062 bool_t xdr_rmtcallres(XDR *, struct rmtcallres *); 0063 0064 GSSRPC__END_DECLS 0065 #endif /* !defined(GSSRPC_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 |