Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../usr/include/tirpc/rpc
File: rpcb_clnt.h
/* $NetBSD: rpcb_clnt.h,v 1.1 2000/06/02 22:57:56 fvdl Exp $ */
[0] Fix | Delete
/* $FreeBSD: src/include/rpc/rpcb_clnt.h,v 1.2 2002/03/23 17:24:55 imp Exp $ */
[1] Fix | Delete
[2] Fix | Delete
/*
[3] Fix | Delete
* Copyright (c) 2009, Sun Microsystems, Inc.
[4] Fix | Delete
* All rights reserved.
[5] Fix | Delete
*
[6] Fix | Delete
* Redistribution and use in source and binary forms, with or without
[7] Fix | Delete
* modification, are permitted provided that the following conditions are met:
[8] Fix | Delete
* - Redistributions of source code must retain the above copyright notice,
[9] Fix | Delete
* this list of conditions and the following disclaimer.
[10] Fix | Delete
* - Redistributions in binary form must reproduce the above copyright notice,
[11] Fix | Delete
* this list of conditions and the following disclaimer in the documentation
[12] Fix | Delete
* and/or other materials provided with the distribution.
[13] Fix | Delete
* - Neither the name of Sun Microsystems, Inc. nor the names of its
[14] Fix | Delete
* contributors may be used to endorse or promote products derived
[15] Fix | Delete
* from this software without specific prior written permission.
[16] Fix | Delete
*
[17] Fix | Delete
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
[18] Fix | Delete
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
[19] Fix | Delete
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
[20] Fix | Delete
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
[21] Fix | Delete
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
[22] Fix | Delete
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
[23] Fix | Delete
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
[24] Fix | Delete
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
[25] Fix | Delete
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
[26] Fix | Delete
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
[27] Fix | Delete
* POSSIBILITY OF SUCH DAMAGE.
[28] Fix | Delete
*/
[29] Fix | Delete
/*
[30] Fix | Delete
* Copyright (c) 1986 - 1991 by Sun Microsystems, Inc.
[31] Fix | Delete
*/
[32] Fix | Delete
[33] Fix | Delete
/*
[34] Fix | Delete
* rpcb_clnt.h
[35] Fix | Delete
* Supplies C routines to get to rpcbid services.
[36] Fix | Delete
*
[37] Fix | Delete
*/
[38] Fix | Delete
[39] Fix | Delete
/*
[40] Fix | Delete
* Usage:
[41] Fix | Delete
* success = rpcb_set(program, version, nconf, address);
[42] Fix | Delete
* success = rpcb_unset(program, version, nconf);
[43] Fix | Delete
* success = rpcb_getaddr(program, version, nconf, host);
[44] Fix | Delete
* head = rpcb_getmaps(nconf, host);
[45] Fix | Delete
* clnt_stat = rpcb_rmtcall(nconf, host, program, version, procedure,
[46] Fix | Delete
* xdrargs, argsp, xdrres, resp, tout, addr_ptr)
[47] Fix | Delete
* success = rpcb_gettime(host, timep)
[48] Fix | Delete
* uaddr = rpcb_taddr2uaddr(nconf, taddr);
[49] Fix | Delete
* taddr = rpcb_uaddr2uaddr(nconf, uaddr);
[50] Fix | Delete
*/
[51] Fix | Delete
[52] Fix | Delete
#ifndef _RPC_RPCB_CLNT_H
[53] Fix | Delete
#define _RPC_RPCB_CLNT_H
[54] Fix | Delete
[55] Fix | Delete
/* #pragma ident "@(#)rpcb_clnt.h 1.13 94/04/25 SMI" */
[56] Fix | Delete
/* rpcb_clnt.h 1.3 88/12/05 SMI */
[57] Fix | Delete
[58] Fix | Delete
#include <rpc/types.h>
[59] Fix | Delete
#include <rpc/rpcb_prot.h>
[60] Fix | Delete
#ifdef __cplusplus
[61] Fix | Delete
extern "C" {
[62] Fix | Delete
#endif
[63] Fix | Delete
extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t,
[64] Fix | Delete
const struct netconfig *, const struct netbuf *);
[65] Fix | Delete
extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t,
[66] Fix | Delete
const struct netconfig *);
[67] Fix | Delete
extern rpcblist *rpcb_getmaps(const struct netconfig *, const char *);
[68] Fix | Delete
extern enum clnt_stat rpcb_rmtcall(const struct netconfig *,
[69] Fix | Delete
const char *, const rpcprog_t,
[70] Fix | Delete
const rpcvers_t, const rpcproc_t,
[71] Fix | Delete
const xdrproc_t, const caddr_t,
[72] Fix | Delete
const xdrproc_t, const caddr_t,
[73] Fix | Delete
const struct timeval,
[74] Fix | Delete
const struct netbuf *);
[75] Fix | Delete
extern bool_t rpcb_getaddr(const rpcprog_t, const rpcvers_t,
[76] Fix | Delete
const struct netconfig *, struct netbuf *,
[77] Fix | Delete
const char *);
[78] Fix | Delete
extern bool_t rpcb_gettime(const char *, time_t *);
[79] Fix | Delete
extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
[80] Fix | Delete
extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
[81] Fix | Delete
#ifdef __cplusplus
[82] Fix | Delete
}
[83] Fix | Delete
#endif
[84] Fix | Delete
[85] Fix | Delete
#endif /* !_RPC_RPCB_CLNT_H */
[86] Fix | Delete
[87] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function