Commit Graph

14 Commits

Author SHA1 Message Date
christos 0e1ce86abc cast 1 to size_t 2004-12-30 04:58:40 +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 c257a3b3ea New headers for the new RPC code (based on TI-RPC from Sun). 2000-06-02 22:57:54 +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 4d2cbfce0a new RCS ID format. 1994-10-26 00:55:40 +00:00
cgd ced62eee4c remove INADDR_LOOPBACK; it's defined in netinet/in.h now 1993-12-06 08:40:00 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
deraadt e82a74188f ugh. INADDR_LOOPBACK needs to be here.
cgd suggests there might be dragons here...
1993-06-15 01:03:37 +00:00
deraadt 4332fde98f removed stuff which should not be here. 1993-06-14 17:34:53 +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