Commit Graph

12 Commits

Author SHA1 Message Date
itojun 5a38b81b42 implement bindresvport_sa(), which is necessary for IPv6 support in certain
programs (like rshd or rlogind).

bindresvport() and bindresvport_sa() exhibits exactly the same functionality,
with different function prototype (sockaddr_in * and sockaddr *).

The behavior and prototype was discussed and agreed among shin@kame.net
(who is doing freebsd-current kame merge), deraadt@openbsd.org, and
Jean-Luc.Richier@imag.fr (INRIA IPv6/IPv6 RPC support).  so it will be
portable across *bsd.
2000-01-26 13:20:24 +00:00
lukem 423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +00:00
lukem ddc57feb42 major cleanup
* use int32_t instead of long
* use size_t instead of u_int as appropriate
* use in_port_t instead of u_short as appropriate
* KNF, cleanup typos and spellos in comments
* deprecate svc_fds; it's obselete and not supported in libc/rpc anyway
1998-02-10 03:52:14 +00:00
perry 3d7d6c33df cleanup multiple inclusion protection. 1998-02-10 00:44:23 +00:00
lukem 9aacc303fc don't include <rpc/pmap_rmt.h> - it's a "private" header file for
portmap. fixes [bin/4036] by Thorsten Frueauf <frueauf@ira.uka.de>
1997-08-25 22:20:31 +00:00
lukem f77381e893 Include <rpc/pmap_clnt.h>, <rpc/pmap_prot.h> and <rpc/pmap_rmt.h>.
The rpc man pages don't mention that these are required (only
<rpc/rpc.h> is mentioned there), but some of the prototypes come from
these files...
1997-08-24 01:47:12 +00:00
christos 5fce2becd3 Add missing prototypes for: get_myaddress, bindresvport, registerrpc,
callrpc, getrpcport
1997-07-13 18:15:46 +00:00
cgd 90cd4c0366 from Christos: kill nested comments, add a declaration. 1994-12-04 01:15:30 +00:00
cgd 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak e9d4dc6e4f Changes from:
conklin@talisman.kaleida.com

	* use consistant macro names for multiple #include protection
	  of header files.  I used the same convention used by TIRPC.

	* added function prototypes to header files.

	* fixed C source where it conflicted with prototypes, documentation,
	  and TIRPC.
1993-06-09 19:29:34 +00:00
deraadt e63190e8b9 rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
1993-05-03 07:42:45 +00:00