Commit Graph

54 Commits

Author SHA1 Message Date
wiz
3f9984fc90 existent', not existant' 2001-06-19 13:42:07 +00:00
wiz
f3f6c5b675 accessible' only has one a'. 2001-06-19 12:52:20 +00:00
mycroft
fd917aa892 Use `rpcgen -C'. 2001-03-21 20:48:09 +00:00
cgd
8318d9d0b9 change 'char *' args of clnt_pcreateerror, clnt_spcreateerror,
clnt_perror, and clnt_sperror to 'const char *' to follow manual
pages (!!).
2001-02-13 01:00:21 +00:00
cgd
c338834cd9 use expr to do subtraction. shell math isn't as portable. 2001-01-16 02:42:39 +00:00
enami
c89a720a26 Sync with lib/librpcsvc/Makefile; Pass -B ${MAKEFLAGS} to submake. 2001-01-07 06:56:15 +00:00
erh
5303e70da5 Make targets which are generated with rpcgen depend on the rpcgen binary. 2000-09-10 23:21:49 +00:00
cgd
4bf5f7086b ${RPCGEN}, not hard-coded rpcgen 2000-07-25 06:29:44 +00:00
matt
428b8d7beb Add some missing ints 2000-07-17 05:00:45 +00:00
fvdl
02a1d5ef14 Add explicit int32 get/put macros (and 2 inline functions), as in Solaris.
Needed to get things right on 64bit big-endian systems.
2000-07-14 08:39:31 +00:00
christos
797c24d612 const poisoning. 2000-07-06 03:17:19 +00:00
thorpej
d0ba56f938 Make the RPC mem_alloc() macro use calloc() to prevent RPC from
using only partially-initialized data structures.
2000-06-13 01:02:44 +00:00
fvdl
5e1597f492 Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).
2000-06-03 11:23:54 +00:00
fvdl
431e8abf29 Move rpcb_prot.x to here from libc/rpc. 2000-06-03 02:29:22 +00:00
fvdl
c257a3b3ea New headers for the new RPC code (based on TI-RPC from Sun). 2000-06-02 22:57:54 +00:00
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
thorpej
0bbf216692 Implement XDR routines for 64-bit integer data types:
- xdr_int64_t(), xdr_u_int64_t(), per NetBSD convention.
- xdr_hyper(), xdr_u_hyper(), xdr_longlong_t(), xdr_u_longlong_t(), a'la
  Solaris, implemented in terms of the above.
1999-12-01 18:34:21 +00:00
christos
d8bf9a851d Fully prototype the test service and put it between begin and end decls. 1999-01-31 19:45:25 +00:00
christos
714fa78bc3 delint 1998-11-16 12:07:43 +00:00
mycroft
51f121a8b0 Oops; that wasn't quite right. 1998-07-26 12:43:24 +00:00
mycroft
25138f4af3 const poisoning. 1998-07-26 12:39:40 +00:00
mycroft
dae9fd960e const poisoning. 1998-07-26 12:35:24 +00:00
mycroft
0c38099309 const poisoning. 1998-07-26 11:45:21 +00:00
mycroft
9c286352d4 const poisoning. 1998-07-26 11:37:23 +00:00
lukem
8cc8e93ab9 minor typo and grammar fixes 1998-02-13 04:36:13 +00:00
lukem
423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +00:00
lukem
88a058d32b revert to 1.6; we can't break the existing ABI and API 1998-02-11 22:53:13 +00:00
lukem
27c585ce51 revert to 1.7; we can't break the existing ABI and API 1998-02-11 22:52:38 +00:00
lukem
6dabc120ba revert to 1.5; we can't break the existing ABI and API 1998-02-11 22:46:41 +00:00
lukem
c889fe8fd3 revert to 1.9; we can't break the existing ABI and API 1998-02-11 22:41:30 +00:00
lukem
29c82e2ef6 use u_int32_t instead of size_t for oa_length 1998-02-11 08:05:54 +00:00
lukem
279cdc6c6d fix up type insanity for clntudp_create (thanks to thorpej who found this) 1998-02-11 07:57:55 +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
5ffea610c1 Add missing prototype for svcudp_enablecache 1997-07-13 18:17:43 +00:00
christos
c970a909de Add missing prototypes for xdr_{accepted,rejected}_reply 1997-07-13 18:16:43 +00:00
christos
5fce2becd3 Add missing prototypes for: get_myaddress, bindresvport, registerrpc,
callrpc, getrpcport
1997-07-13 18:15:46 +00:00
christos
7e34a0b230 Add missing authentication prototypes _svcauth_{null,short,unix} and
xdr_opaque_auth
1997-07-13 18:14:22 +00:00
cgd
2583d406f9 change some of the rpc "on-the-wire" structures' fields to be explicitly-sized
types.  add xdr_{,u_}int{16,32}_t() functions to convert them.
This is necessary, because things like BPF use the RPC headers to look
at the on-the-wire data, so the headers must accurately represent
what's on the wire, too.
1995-04-29 05:26:31 +00:00
pk
04bdb8c3d6 Unhide svc_maxfd'. Why do we bother with #if FD_SETSIZE' anyway? 1995-01-06 09:55:52 +00:00
mycroft
5cd1a683da Add svc_maxfd. 1995-01-04 02:57:47 +00:00
cgd
90cd4c0366 from Christos: kill nested comments, add a declaration. 1994-12-04 01:15:30 +00:00
cgd
2e2a3a256a be much more careful with types, and add prototype everything. 1994-12-04 01:12:39 +00:00
cgd
4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
jtc
928575d9bf Fix prototype for xdr_u_char() (PR #364) 1994-08-09 00:49:47 +00:00
deraadt
e99174c716 delete bogus #if 1993-12-07 05:41:23 +00:00
cgd
ced62eee4c remove INADDR_LOOPBACK; it's defined in netinet/in.h now 1993-12-06 08:40:00 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00