Add __getrpcbyname_r, __getrpcbynumber_r, __getrpcent_r prototypes.
authordrepper <drepper>
Sun, 26 Nov 2000 09:13:50 +0000 (09:13 +0000)
committerdrepper <drepper>
Sun, 26 Nov 2000 09:13:50 +0000 (09:13 +0000)
include/rpc/netdb.h

index a9d93e1..3106723 100644 (file)
@@ -1 +1,14 @@
+#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 __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);
+#endif