/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72Q src/bos/usr/include/rpc/rpcb_prot.h 1.1.1.2                     */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* Restricted Materials of IBM                                            */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1996,2019              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/*
 * This file includes ./rpc/rpcb_prot.h from the tirpc
 * header directory if _AIX_TIRPC is defined.
 */
#ifdef _AIX_TIRPC

#include <tirpc/rpc/rpcb_prot.h>

#else

#ifdef __cplusplus
extern "C" {
#endif

/*
 * A mapping of (program, version, network ID) to address
 */
struct rpcb {
	u_long  r_prog;                 /* program number */
	u_long  r_vers;                 /* version number */
	char    *r_netid;               /* network id */
	char    *r_addr;                /* universal address */
	char    *r_owner;               /* owner of the mapping */
};

typedef struct rpcb             RPCB;

#define RPCBPROG                ((u_long)100000)
#define RPCBVERS                ((u_long)3)
#define RPCBPROC_GETADDR        ((u_long)3)

extern u_short rpcb_getport6(struct sockaddr_in6 *, u_long , u_long, char *);

#ifdef __cplusplus
}
#endif

#endif
