Commit Graph

78 Commits

Author SHA1 Message Date
wiz
1ad8067cb3 Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +00:00
yamt
354b4aa135 put back inline to __inline, as it's a user-visible header. 2005-12-28 15:26:06 +00:00
perry
5f65228b74 u_intN_t -> uintN_t 2005-12-26 19:01:47 +00:00
perry
a2cd732268 Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 19:12:23 +00:00
yamt
347f995cea - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
2005-12-03 15:16:19 +00:00
perry
bbac53bdab Remove "register" from a comment. Kind of silly for it to have been
listed as a parameter for a function anyway...
2005-02-06 04:40:51 +00:00
perry
19b7469a00 de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
2005-02-03 04:39:32 +00:00
christos
0e1ce86abc cast 1 to size_t 2004-12-30 04:58:40 +00:00
ginsbach
ebcc92c100 * add const qualifier making getrpcbyname() and getrpcbyname_r()
prototypes match those used in latest Sun RPC code (TI-RPC 2.3)
* modify function getrpcbyname() definition as appropriate
2004-08-16 02:47:54 +00:00
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