Commit Graph

69 Commits

Author SHA1 Message Date
christos
290d5e3632 don't use TRUE or FALSE 2003-04-19 01:40:36 +00:00
christos
edd9f0f170 x_handy is currently used only by xdr_mem and contains the number of bytes
left. make it unsigned.
2003-03-19 23:51:55 +00:00
wiz
7bd6fd354d unknown, not unkown. Noted by mjl. 2003-01-28 22:19:22 +00:00
tron
503456a35a Include "bsd.rpc.mk" before "bsd.prog.mk" to fix the "cleandir" target. 2003-01-11 13:28:43 +00:00
sommerfeld
8f6f405641 Use <bsd.rpc.mk> 2003-01-05 19:24:06 +00:00
fvdl
858b3fd46a Include rpc_com.h. 2002-11-08 00:10:58 +00:00
fvdl
0a46d2378d include rpc_com.h, and define SVC{GET,SET}_CONNMAXREC 2002-11-08 00:10:44 +00:00
fvdl
c6e006104d Install rpc_com.h 2002-11-08 00:08:38 +00:00
fvdl
00503f61de Moved here from libc/rpc. Install this in /usr/include/rpc, just
like on Solaris. This wasn't done before, since it only contained
internal libc interfaces. These have been moved to rpc_internal.h,
and this file now contains some actual exported definitions.
2002-11-08 00:08:20 +00:00
simonb
698144f2f8 Make it obvious in comments that dispatch takes some arguments (from
Broadcom).
Fix some white space nits.
2002-02-25 22:44:56 +00:00
simonb
8afa23b8bb Put token after #endif in comments (from Broadcom).
Fix some small tyops in two comments.
2002-02-25 22:37:44 +00:00
tv
5e6444c144 Cope with RPCGEN now conta8ining multiple words. 2002-01-29 11:22:25 +00:00
tv
b6499748ae Be smarter about finding rpcgen's absolute path; only do it if ${RPCGEN}
(when evaluated) does not start with a /.  Also don't go through a make(1)
recursion step; just use !=.
2001-11-01 15:03:07 +00:00
tv
01523890ba No need to do the tricky XRPCGEN dance. 2001-10-31 20:58:28 +00:00
mrg
140ad8e524 #ifdef __STDC__ -> #if __STDC__. 2001-08-04 07:08:55 +00:00
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