summaryrefslogtreecommitdiffstats
path: root/include/rpc/xdr.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some signed/unsigned issues in the XDR code.nectar2003-03-071-1/+1
| | | | Obtained from: OpenBSD
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-1/+1
| | | | especially in troff files.
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-5/+5
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* Breath deep and take __P out of the system include files.imp2002-03-231-55/+55
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedefalfred2001-03-201-1/+6
| | | | | | revert the spammage Pointed out by: bde
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andalfred2001-03-191-33/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul
* Back out 1.15. It caused more harm than good. Something, however,nsayer2000-07-211-4/+4
| | | | | | must be done to fix this situation. Submitted by: bde
* Moving forward on my commitment to always make at least one commit fromnsayer2000-06-221-4/+4
| | | | | | a terminal room of any conference I attend.... Fix xdrproc_t prototype. () instead of (...) breaks C++ programs.
* Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL"peter1999-12-291-1/+1
| | | | | | is an application space macro and the applications are supposed to be free to use it as they please (but cannot). This is consistant with the other BSD's who made this change quite some time ago. More commits to come.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Don't declare functions without a prototype if KERNEL is defined. Thisbde1998-09-211-3/+8
| | | | fixes lots of warnings about missing prototypes in sys/netatm/spans/*.
* Add support for the RPC 64-bit integer type ``hyper''.obrien1998-09-081-1/+3
|
* Resolve conflicts.wpaul1997-05-281-1/+2
|
* Back out all of yesterdays include file changes.eivind1997-05-071-2/+1
|
* Make a lot of include-files self-contained. I excluded the patches changingeivind1997-05-071-1/+2
| | | | | | | | int's to gid_t and uid_t - should I commit these, too? Closes PR misc/2625. Submitted by: Julian Assange <proff@iq.org>
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* First commit of a series of cleanups for the libc rpc code which has beenpeter1996-12-301-24/+39
| | | | | | | | | | | suffering a bad case neglect for the last few years. - Add full prototypes, including to function pointers. - Make the wire protocols 64-bit type safe, eg: 32 bit quantities are int32_t, not long. The orginal rpc code was implemented when an int could be 16 bits. Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
* Fix a bunch of spelling errors in the comment fieldsmpp1996-01-301-5/+5
| | | | of a bunch of system include files.
* Remove trailing whitespace.rgrimes1995-05-301-7/+7
|
* Use the header files that are compatible with the code just moved overwollman1994-08-071-33/+54
| | | | from 1.1.5.
* Install RPC headers from include, like they always should have been.wollman1994-08-041-0/+270
OpenPOWER on IntegriCloud