From owner-cvs-include Mon Dec 30 05:59:44 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA26236 for cvs-include-outgoing; Mon, 30 Dec 1996 05:59:44 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id FAA26229; Mon, 30 Dec 1996 05:59:43 -0800 (PST) Date: Mon, 30 Dec 1996 05:59:43 -0800 (PST) From: Peter Wemm Message-Id: <199612301359.FAA26229@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-include Subject: cvs commit: src/include/rpc auth.h clnt.h pmap_clnt.h rpc.h rpc_msg.h svc.h types.h xdr.h Sender: owner-cvs-include@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk peter 96/12/30 05:59:43 Modified: include/rpc auth.h clnt.h pmap_clnt.h rpc.h rpc_msg.h svc.h types.h xdr.h Log: First commit of a series of cleanups for the libc rpc code which has been 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. Revision Changes Path 1.6 +18 -9 src/include/rpc/auth.h 1.5 +27 -14 src/include/rpc/clnt.h 1.5 +3 -2 src/include/rpc/pmap_clnt.h 1.6 +5 -1 src/include/rpc/rpc.h 1.6 +10 -10 src/include/rpc/rpc_msg.h 1.6 +32 -17 src/include/rpc/svc.h 1.5 +3 -7 src/include/rpc/types.h 1.5 +39 -24 src/include/rpc/xdr.h