Commit Graph

27 Commits

Author SHA1 Message Date
plunky 76be87e1ac 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)
2011-08-30 17:09:51 +00:00
manu 319b6ef0ee Import xdr_sizeof() from FreeBSD 2011-07-04 07:54:38 +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
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 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
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
fvdl c257a3b3ea New headers for the new RPC code (based on TI-RPC from Sun). 2000-06-02 22:57:54 +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 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 9c286352d4 const poisoning. 1998-07-26 11:37:23 +00:00
lukem 423e29d2ec revert; we can't break the existing ABI and API 1998-02-11 23:01:22 +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
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
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
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
brezak e9d4dc6e4f 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.
1993-06-09 19:29:34 +00:00
deraadt e63190e8b9 rpc include files moved into /usr/src/include. Makes more sense and
lets YP and libc compile cleanly.
1993-05-03 07:42:45 +00:00