/* some typedefs */
#include
/* external data representation interfaces */
#include /* generic (de)serializer */
/* Client side only authentication */
#include /* generic authenticator (client side) */
/* Client side (mostly) remote procedure call */
#include /* generic rpc stuff */
/* semi-private protocol headers */
#include /* protocol for rpc messages */
#include /* protocol for unix style cred */
#include /* RPCSEC_GSS */
/*
* Uncomment-out the next line if you are building the rpc library with
* DES Authentication (see the README file in the secure_rpc/ directory).
*/
#if 0
#include protocol for des style cred
#endif
/* Server side only remote procedure callee */
#include /* service side authenticator */
#include /* service manager and multiplexer */
/*
* Punt the rpc/netdb.h everywhere because it just makes things much more
* difficult. We don't use the *rpcent functions anyway.
*/
#if 0
/*
* COMMENT OUT THE NEXT INCLUDE IF RUNNING ON SUN OS OR ON A VERSION
* OF UNIX BASED ON NFSSRC. These systems will already have the structures
* defined by included in .
*/
/* routines for parsing /etc/rpc */
#if 0 /* netdb.h already included in rpc/types.h */
#include
#endif
#include /* structures and routines to parse /etc/rpc */
#endif
/*
* get the local host's IP address without consulting
* name service library functions
*/
GSSRPC__BEGIN_DECLS
extern int get_myaddress(struct sockaddr_in *);
extern int bindresvport(int, struct sockaddr_in *);
extern int bindresvport_sa(int, struct sockaddr *);
extern int callrpc(char *, rpcprog_t, rpcvers_t, rpcproc_t, xdrproc_t,
char *, xdrproc_t , char *);
extern int getrpcport(char *, rpcprog_t, rpcvers_t, rpcprot_t);
extern int gssrpc__rpc_dtablesize(void);
GSSRPC__END_DECLS
#endif /* !defined(GSSRPC_RPC_H) */