Include needed headers and declare myaddress.

This commit is contained in:
Ulrich Drepper 1997-11-19 23:37:06 +00:00
parent e6a8d860ba
commit f5d3e6bb77

View File

@ -38,6 +38,9 @@
#define _RPC_CLNT_H 1
#include <features.h>
#include <sys/types.h>
#include <rpc/types.h>
#include <rpc/auth.h>
__BEGIN_DECLS
@ -337,6 +340,12 @@ extern struct rpc_createerr rpc_createerr;
extern char *clnt_sperrno __P ((enum clnt_stat __num)); /* string */
/*
* get the local host's IP address without consulting
* name service library functions
*/
extern void get_myaddress __P ((struct sockaddr_in *));
#define UDPMSGSIZE 8800 /* rpc imposed limit on udp msg size */
#define RPCSMALLMSGSIZE 400 /* a more reasonable packet size */