mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-18 14:30:43 +08:00
Include needed headers and declare myaddress.
This commit is contained in:
parent
e6a8d860ba
commit
f5d3e6bb77
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user