glibc/include/rpc/pmap_clnt.h
Ulrich Drepper faf10b955b * sunrpc/pm_getport.c (__get_socket): New function.
(pmap_getport): Use it to open a non-reserved socket to the portmapper
	for TCP.
	* include/rpc/pmap_clnt.h (__get_socket): Declare.
	* sunrpc/pm_getmaps.c (pmap_getmaps): Use __get_socket to get an
	non-reserved socket for the portmapper.

	range to even lower ports.
2005-05-23 17:14:22 +00:00

13 lines
288 B
C

#ifndef _RPC_PMAP_CLNT_H
# include <sunrpc/rpc/pmap_clnt.h>
libc_hidden_proto (pmap_getport)
libc_hidden_proto (pmap_set)
libc_hidden_proto (pmap_unset)
/* Defined in pm_getport.c. */
extern int __get_socket (struct sockaddr_in *saddr)
attribute_hidden internal_function;
#endif