diff options
Diffstat (limited to 'include/rpc/netdb.h')
-rw-r--r-- | include/rpc/netdb.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h index a9d93e13ad..54a4b70052 100644 --- a/include/rpc/netdb.h +++ b/include/rpc/netdb.h @@ -1 +1,24 @@ +#ifndef _RPC_NETDB_H #include <sunrpc/rpc/netdb.h> + +extern int __getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, + char *__buffer, size_t __buflen, + struct rpcent **__result); +extern int __old_getrpcbyname_r (__const char *__name, + struct rpcent *__result_buf, + char *__buffer, size_t __buflen, + struct rpcent **__result); + +extern int __getrpcbynumber_r (int __number, struct rpcent *__result_buf, + char *__buffer, size_t __buflen, + struct rpcent **__result); +extern int __old_getrpcbynumber_r (int __number, struct rpcent *__result_buf, + char *__buffer, size_t __buflen, + struct rpcent **__result); + +extern int __getrpcent_r (struct rpcent *__result_buf, char *__buffer, + size_t __buflen, struct rpcent **__result); +extern int __old_getrpcent_r (struct rpcent *__result_buf, char *__buffer, + size_t __buflen, struct rpcent **__result); + +#endif |