Blame src/rpc_com.h

Packit Service 4f68e0
/*
Packit Service 4f68e0
 * Copyright (c) 2009, Sun Microsystems, Inc.
Packit Service 4f68e0
 * All rights reserved.
Packit Service 4f68e0
 *
Packit Service 4f68e0
 * Redistribution and use in source and binary forms, with or without
Packit Service 4f68e0
 * modification, are permitted provided that the following conditions are met:
Packit Service 4f68e0
 * - Redistributions of source code must retain the above copyright notice,
Packit Service 4f68e0
 *   this list of conditions and the following disclaimer.
Packit Service 4f68e0
 * - Redistributions in binary form must reproduce the above copyright notice,
Packit Service 4f68e0
 *   this list of conditions and the following disclaimer in the documentation
Packit Service 4f68e0
 *   and/or other materials provided with the distribution.
Packit Service 4f68e0
 * - Neither the name of Sun Microsystems, Inc. nor the names of its
Packit Service 4f68e0
 *   contributors may be used to endorse or promote products derived
Packit Service 4f68e0
 *   from this software without specific prior written permission.
Packit Service 4f68e0
 *
Packit Service 4f68e0
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Packit Service 4f68e0
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Packit Service 4f68e0
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Packit Service 4f68e0
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
Packit Service 4f68e0
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
Packit Service 4f68e0
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
Packit Service 4f68e0
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
Packit Service 4f68e0
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
Packit Service 4f68e0
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
Packit Service 4f68e0
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
Packit Service 4f68e0
 * POSSIBILITY OF SUCH DAMAGE.
Packit Service 4f68e0
 */
Packit Service 4f68e0
/*
Packit Service 4f68e0
 * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc.
Packit Service 4f68e0
 */
Packit Service 4f68e0
Packit Service 4f68e0
/*
Packit Service 4f68e0
 * rpc_com.h, Common definitions for both the server and client side.
Packit Service 4f68e0
 * All for the topmost layer of rpc
Packit Service 4f68e0
 *
Packit Service 4f68e0
 * In Sun's tirpc distribution, this was installed as <rpc/rpc_com.h>,
Packit Service 4f68e0
 * but as it contains only non-exported interfaces, it was moved here.
Packit Service 4f68e0
 */
Packit Service 4f68e0
Packit Service 4f68e0
#ifndef _TIRPC_RPCCOM_H
Packit Service 4f68e0
#define	_TIRPC_RPCCOM_H
Packit Service 4f68e0
Packit Service 4f68e0
#include <rpc/rpc_com.h>
Packit Service 4f68e0
Packit Service 4f68e0
#ifdef __cplusplus
Packit Service 4f68e0
extern "C" {
Packit Service 4f68e0
#endif
Packit Service 4f68e0
Packit Service 4f68e0
struct netbuf *__rpc_set_netbuf(struct netbuf *, const void *, size_t);
Packit Service 4f68e0
Packit Service 4f68e0
struct netbuf *__rpcb_findaddr_timed(rpcprog_t, rpcvers_t,
Packit Service 4f68e0
    const struct netconfig *, const char *host, CLIENT **clpp,
Packit Service 4f68e0
    struct timeval *tp);
Packit Service 4f68e0
Packit Service 4f68e0
bool_t __rpc_control(int,void *);
Packit Service 4f68e0
Packit Service 4f68e0
bool_t __svc_clean_idle(fd_set *, int, bool_t);
Packit Service 4f68e0
bool_t __xdrrec_setnonblock(XDR *, int);
Packit Service 4f68e0
bool_t __xdrrec_getrec(XDR *, enum xprt_stat *, bool_t);
Packit Service 4f68e0
void __xprt_unregister_unlocked(SVCXPRT *);
Packit Service 4f68e0
void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *);
Packit Service 4f68e0
Packit Service 4f68e0
Packit Service 4f68e0
SVCXPRT **__svc_xports;
Packit Service 4f68e0
int __svc_maxrec;
Packit Service 4f68e0
Packit Service 4f68e0
#ifdef __cplusplus
Packit Service 4f68e0
}
Packit Service 4f68e0
#endif
Packit Service 4f68e0
Packit Service 4f68e0
#endif /* _TIRPC_RPCCOM_H */