Home | History | Annotate | only in /src/include/rpc
History log of /src/include/rpc
RevisionDateAuthorComments
 1.13 04-Jun-2019  hannken Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.
 1.12 11-Jan-2003  tron branches: 1.12.102;
Include "bsd.rpc.mk" before "bsd.prog.mk" to fix the "cleandir" target.
 1.11 05-Jan-2003  sommerfeld Use <bsd.rpc.mk>
 1.10 08-Nov-2002  fvdl Install rpc_com.h
 1.9 29-Jan-2002  tv branches: 1.9.2;
Cope with RPCGEN now conta8ining multiple words.
 1.8 01-Nov-2001  tv 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 !=.
 1.7 31-Oct-2001  tv No need to do the tricky XRPCGEN dance.
 1.6 21-Mar-2001  mycroft Use `rpcgen -C'.
 1.5 16-Jan-2001  cgd branches: 1.5.2;
use expr to do subtraction. shell math isn't as portable.
 1.4 07-Jan-2001  enami Sync with lib/librpcsvc/Makefile; Pass -B ${MAKEFLAGS} to submake.
 1.3 10-Sep-2000  erh Make targets which are generated with rpcgen depend on the rpcgen binary.
 1.2 25-Jul-2000  cgd ${RPCGEN}, not hard-coded rpcgen
 1.1 03-Jun-2000  fvdl branches: 1.1.4;
Use a seperate Makefile in the rpc/ subdir. Needed because it generates
a file (rpcb_prot.h).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 03-Jun-2000  minoura file Makefile was added on branch minoura-xpg4dl on 2000-06-23 15:46:04 +0000
 1.5.2.8 17-Jan-2003  thorpej Sync with HEAD.
 1.5.2.7 06-Jan-2003  thorpej Sync with HEAD.
 1.5.2.6 11-Nov-2002  nathanw Catch up to -current
 1.5.2.5 22-Mar-2002  nathanw Catch up to -current.
 1.5.2.4 11-Mar-2002  nathanw Catch up to -current.
 1.5.2.3 23-Feb-2002  gmcgarry Merge-up from -current
 1.5.2.2 14-Nov-2001  nathanw Catch up to -current.
 1.5.2.1 08-Apr-2001  nathanw Merge trunk onto branch.
 1.9.2.1 06-Jan-2003  jmc Pull up revisions 1.9-1.10 (requested by fvdl in ticket #1037)
Install rpc_com.h
 1.12.102.1 10-Jun-2019  christos Sync with HEAD
 1.20 03-Oct-2020  christos add set_rpc_maxgrouplist(3)
 1.19 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.18 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.17 26-Dec-2005  perry u_intN_t -> uintN_t
 1.16 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.15 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.14 16-Nov-1998  christos branches: 1.14.8;
delint
 1.13 26-Jul-1998  mycroft const poisoning.
 1.12 11-Feb-1998  lukem revert to 1.9; we can't break the existing ABI and API
 1.11 11-Feb-1998  lukem use u_int32_t instead of size_t for oa_length
 1.10 10-Feb-1998  lukem 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
 1.9 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.8 13-Jul-1997  christos Add missing authentication prototypes _svcauth_{null,short,unix} and
xdr_opaque_auth
 1.7 29-Apr-1995  cgd 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.
 1.6 04-Dec-1994  cgd be much more careful with types, and add prototype everything.
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 07-Dec-1993  deraadt delete bogus #if
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.14.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.9 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.8 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.7 11-Feb-1998  lukem revert to 1.5; we can't break the existing ABI and API
 1.6 10-Feb-1998  lukem 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
 1.5 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.24 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.23 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.22 06-Jun-2014  christos Always use the reentrant rpc_createerr. Otherwise every threaded program
that uses rpc needs to define _REENTRANT to work properly. We'll keep
compatibility but setting the old variable in the library, but we are not
advertising it anymore.
 1.21 30-Aug-2011  plunky branches: 1.21.8; 1.21.18;
Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.20 03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.19 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.18 28-Jan-2003  wiz unknown, not unkown. Noted by mjl.
 1.17 08-Nov-2002  fvdl Include rpc_com.h.
 1.16 19-Jun-2001  wiz branches: 1.16.2;
`accessible' only has one `a'.
 1.15 13-Feb-2001  cgd branches: 1.15.2;
change 'char *' args of clnt_pcreateerror, clnt_spcreateerror,
clnt_perror, and clnt_sperror to 'const char *' to follow manual
pages (!!).
 1.14 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.13 16-Nov-1998  christos branches: 1.13.8;
delint
 1.12 26-Jul-1998  mycroft const poisoning.
 1.11 13-Feb-1998  lukem minor typo and grammar fixes
 1.10 11-Feb-1998  lukem revert to 1.7; we can't break the existing ABI and API
 1.9 11-Feb-1998  lukem fix up type insanity for clntudp_create (thanks to thorpej who found this)
 1.8 10-Feb-1998  lukem 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
 1.7 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.6 29-Apr-1995  cgd 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.
 1.5 04-Dec-1994  cgd be much more careful with types, and add prototype everything.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.13.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.15.2.2 11-Nov-2002  nathanw Catch up to -current
 1.15.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.16.2.1 06-Jan-2003  jmc Pull up revisions 1.16-1.17 (requested by fvdl in ticket #1037)
Include rpc_com.h.
 1.21.18.1 10-Aug-2014  tls Rebase.
 1.21.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.4 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.3 06-Feb-2005  perry Remove "register" from a comment. Kind of silly for it to have been
listed as a parameter for a function anyway...
 1.2 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file clnt_soc.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.3 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.2 06-Jul-2000  christos const poisoning.
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file nettype.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.13 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.12 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.11 11-Jan-2009  christos merge christos-time_t
 1.10 03-Feb-2005  perry branches: 1.10.36;
de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.9 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.8 11-Feb-1998  lukem branches: 1.8.8;
revert to 1.6; we can't break the existing ABI and API
 1.7 10-Feb-1998  lukem 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
 1.6 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.5 04-Dec-1994  cgd be much more careful with types, and add prototype everything.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.8.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.10.36.1 08-Nov-2008  christos changes for 64 bit time_t
 1.9 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.8 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.7 11-Feb-1998  lukem branches: 1.7.8;
revert; we can't break the existing ABI and API
 1.6 10-Feb-1998  lukem 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
 1.5 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.7.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.9 03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.8 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.7 11-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.6 10-Feb-1998  lukem 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
 1.5 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file raw.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.16 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.15 22-Jun-2006  christos Centralize the TCP_NODELAY handling as discussed in tech-net.
 1.14 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.13 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.12 26-Jan-2000  itojun branches: 1.12.2;
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.
 1.11 11-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.10 10-Feb-1998  lukem 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
 1.9 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.8 25-Aug-1997  lukem 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>
 1.7 24-Aug-1997  lukem 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...
 1.6 13-Jul-1997  christos Add missing prototypes for: get_myaddress, bindresvport, registerrpc,
callrpc, getrpcport
 1.5 04-Dec-1994  cgd from Christos: kill nested comments, add a declaration.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.12.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.2 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.1 08-Nov-2002  fvdl branches: 1.1.2; 1.1.4;
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.
 1.1.4.2 08-Nov-2002  fvdl 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.
 1.1.4.1 08-Nov-2002  fvdl file rpc_com.h was added on branch netbsd-1-6 on 2002-11-08 00:08:21 +0000
 1.1.2.2 11-Nov-2002  nathanw Catch up to -current
 1.1.2.1 08-Nov-2002  nathanw file rpc_com.h was added on branch nathanw_sa on 2002-11-11 22:24:29 +0000
 1.15 25-Feb-2006  wiz Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.
 1.14 26-Dec-2005  perry u_intN_t -> uintN_t
 1.13 03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.12 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.11 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.10 13-Feb-1998  lukem branches: 1.10.8;
minor typo and grammar fixes
 1.9 11-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.8 10-Feb-1998  lukem 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
 1.7 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.6 13-Jul-1997  christos Add missing prototypes for xdr_{accepted,rejected}_reply
 1.5 29-Apr-1995  cgd 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.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.10.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4 11-Jan-2009  christos merge christos-time_t
 1.3 03-Dec-2005  yamt branches: 1.3.30;
- constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.2 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file rpcb_clnt.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.3.30.1 08-Nov-2008  christos changes for 64 bit time_t
 1.6 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.5 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.4 03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.3 25-Feb-2002  simonb Put token after #endif in comments (from Broadcom).
Fix some small tyops in two comments.
 1.2 04-Aug-2001  mrg #ifdef __STDC__ -> #if __STDC__.
 1.1 03-Jun-2000  fvdl branches: 1.1.2; 1.1.4; 1.1.6;
Move rpcb_prot.x to here from libc/rpc.
 1.1.6.2 11-Mar-2002  nathanw Catch up to -current.
 1.1.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 03-Jun-2000  minoura file rpcb_prot.x was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.1.2.1 11-Apr-2002  he Pull up revisions 1.2-1.3 (requested by wiz):
Change one #ifdef to #if, put token after #endif in comment, and
two minor typo fixes.
 1.3 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.2 16-Aug-2004  ginsbach * 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
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file rpcent.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.33 28-May-2022  andvar fix various typos in comments, mainly origional->original,
extened->extended, incomming->incoming.
 1.32 23-Jan-2016  dholland Needs sys/select.h for fd_set; fails only when _POSIX_SOURCE is defined,
because then something else doesn't include it. (I guess.)
 1.31 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.30 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.29 07-Nov-2015  christos provide a poll(2) based interface.
 1.28 07-Nov-2015  christos Put back NULL tests for allocation failures.
 1.27 06-Nov-2015  christos Switch to the size-unlimited fd_set. Some code will need to change to be
able to use this if the code allocates its own fd_set's.
 1.26 06-Nov-2015  christos - provide accessor functions for the fdset's used internally.
- add getreqset2 method that takes a setsize.
 1.25 04-Mar-2013  christos PR/47617: Thorsten Brehm: Memory and socket leak in librpc
 1.24 30-Aug-2011  plunky branches: 1.24.2; 1.24.8;
Apply casts to cases where xdrproc_t is expected but is not
strictly passed, for example because the second argument is
a different kind of pointer.
 1.23 26-Dec-2005  perry u_intN_t -> uintN_t
 1.22 03-Dec-2005  yamt - constify and remove __UNCONST from caller of clnt_call().
- use __UNCONST where approproate.
 1.21 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.20 08-Nov-2002  fvdl include rpc_com.h, and define SVC{GET,SET}_CONNMAXREC
 1.19 25-Feb-2002  simonb branches: 1.19.2;
Make it obvious in comments that dispatch takes some arguments (from
Broadcom).
Fix some white space nits.
 1.18 19-Jun-2001  wiz `existent', not `existant'
 1.17 02-Jun-2000  fvdl branches: 1.17.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.16 31-Jan-1999  christos branches: 1.16.8;
Fully prototype the test service and put it between begin and end decls.
 1.15 16-Nov-1998  christos delint
 1.14 26-Jul-1998  mycroft const poisoning.
 1.13 11-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.12 10-Feb-1998  lukem 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
 1.11 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.10 13-Jul-1997  christos Add missing prototype for svcudp_enablecache
 1.9 29-Apr-1995  cgd 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.
 1.8 06-Jan-1995  pk Unhide `svc_maxfd'. Why do we bother with `#if FD_SETSIZE' anyway?
 1.7 04-Jan-1995  mycroft Add svc_maxfd.
 1.6 04-Dec-1994  cgd from Christos: kill nested comments, add a declaration.
 1.5 04-Dec-1994  cgd be much more careful with types, and add prototype everything.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.16.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.17.4.4 11-Nov-2002  nathanw Catch up to -current
 1.17.4.3 22-Mar-2002  nathanw Catch up to -current.
 1.17.4.2 11-Mar-2002  nathanw Catch up to -current.
 1.17.4.1 08-Oct-2001  nathanw Catch up to -current.
 1.19.2.1 06-Jan-2003  jmc Pull up revisions 1.19-1.20 (requested by fvdl in ticket #1037)
include rpc_com.h, and define SVC{GET,SET}_CONNMAXREC
 1.24.8.1 23-Jun-2013  tls resync from head
 1.24.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.9 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.8 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.7 11-Feb-1998  lukem branches: 1.7.8;
revert; we can't break the existing ABI and API
 1.6 10-Feb-1998  lukem 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
 1.5 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.4 26-Oct-1994  cgd new RCS ID format.
 1.3 01-Aug-1993  mycroft Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.7.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.3 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.2 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.1 02-Jun-2000  fvdl branches: 1.1.4;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.1.4.2 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1 02-Jun-2000  minoura file svc_soc.h was added on branch minoura-xpg4dl on 2000-06-23 15:46:05 +0000
 1.16 04-Jun-2019  hannken Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.
 1.15 26-Dec-2005  perry branches: 1.15.90;
u_intN_t -> uintN_t
 1.14 30-Dec-2004  christos cast 1 to size_t
 1.13 13-Jun-2000  thorpej Make the RPC mem_alloc() macro use calloc() to prevent RPC from
using only partially-initialized data structures.
 1.12 02-Jun-2000  fvdl New headers for the new RPC code (based on TI-RPC from Sun).
 1.11 11-Feb-1998  lukem branches: 1.11.8;
revert; we can't break the existing ABI and API
 1.10 10-Feb-1998  lukem 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
 1.9 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.8 29-Apr-1995  cgd 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.
 1.7 26-Oct-1994  cgd new RCS ID format.
 1.6 06-Dec-1993  cgd remove INADDR_LOOPBACK; it's defined in netinet/in.h now
 1.5 01-Aug-1993  mycroft Add RCS identifiers.
 1.4 15-Jun-1993  deraadt ugh. INADDR_LOOPBACK needs to be here.
cgd suggests there might be dragons here...
 1.3 14-Jun-1993  deraadt removed stuff which should not be here.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.11.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.15.90.1 10-Jun-2019  christos Sync with HEAD
 1.32 04-Jun-2019  hannken Move the basic part of XDR to common/include/rpc and common/lib/libc/rpc.

No functional change intended.
 1.31 04-Jun-2019  hannken Implement xdrmem_control(), used as xdr_control(xdr, XDR_GET_BYTES_AVAIL ...
and bump libc minor number.

Final goal is to remove the unmaintained XDR implementation
at external/cddl/osnet/dist/uts/common/rpc.
 1.30 16-Aug-2017  christos branches: 1.30.4;
s/not sure why// and make these work :-)
 1.29 23-Jan-2016  dholland unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
 1.28 23-Jan-2016  dholland u_int -> unsigned, u_long -> unsigned long, etc.
 1.27 30-Aug-2011  plunky provide a complete prototype for xdrproc_t

(I found no instances where three arguments were actually
used, as per the claim in the comment. If there are any
in third party code then they will need to use a cast)
 1.26 04-Jul-2011  manu Import xdr_sizeof() from FreeBSD
 1.25 28-Dec-2005  yamt put back inline to __inline, as it's a user-visible header.
 1.24 26-Dec-2005  perry u_intN_t -> uintN_t
 1.23 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.22 03-Feb-2005  perry de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.
 1.21 19-Apr-2003  christos don't use TRUE or FALSE
 1.20 19-Mar-2003  christos x_handy is currently used only by xdr_mem and contains the number of bytes
left. make it unsigned.
 1.19 17-Jul-2000  matt branches: 1.19.4;
Add some missing ints
 1.18 14-Jul-2000  fvdl Add explicit int32 get/put macros (and 2 inline functions), as in Solaris.
Needed to get things right on 64bit big-endian systems.
 1.17 02-Jun-2000  fvdl branches: 1.17.2;
New headers for the new RPC code (based on TI-RPC from Sun).
 1.16 01-Dec-1999  thorpej branches: 1.16.2;
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.
 1.15 16-Nov-1998  christos branches: 1.15.6;
delint
 1.14 26-Jul-1998  mycroft Oops; that wasn't quite right.
 1.13 26-Jul-1998  mycroft const poisoning.
 1.12 26-Jul-1998  mycroft const poisoning.
 1.11 26-Jul-1998  mycroft const poisoning.
 1.10 11-Feb-1998  lukem revert; we can't break the existing ABI and API
 1.9 10-Feb-1998  lukem 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
 1.8 10-Feb-1998  perry cleanup multiple inclusion protection.
 1.7 29-Apr-1995  cgd 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.
 1.6 04-Dec-1994  cgd be much more careful with types, and add prototype everything.
 1.5 26-Oct-1994  cgd new RCS ID format.
 1.4 09-Aug-1994  jtc Fix prototype for xdr_u_char() (PR #364)
 1.3 01-Aug-1993  mycroft branches: 1.3.2;
Add RCS identifiers.
 1.2 09-Jun-1993  brezak 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.
 1.1 03-May-1993  deraadt rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
 1.3.2.1 13-Aug-1994  mycroft update from trunk
 1.15.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.16.2.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.17.2.3 27-Mar-2003  msaitoh Pull up revisions 1.20 (requested by David Maxwell in ticket #36):

x_handy is currently used only by xdr_mem and contains the number of
bytes
left. make it unsigned.
 1.17.2.2 18-Jul-2000  matt Add missing int to untyped static __inline__ xdr_{get,put}int32
 1.17.2.1 14-Jul-2000  fvdl From trunk: add explicit int32 put/get macros (or inline functions).
 1.19.4.1 21-Mar-2003  tron Pull up revision 1.20 (requested by david in ticket #1224):
x_handy is currently used only by xdr_mem and contains the number of
bytes
left. make it unsigned.
 1.30.4.1 10-Jun-2019  christos Sync with HEAD

RSS XML Feed