From owner-cvs-usrbin Tue Dec 12 19:31:21 1995 Return-Path: owner-cvs-usrbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA13206 for cvs-usrbin-outgoing; Tue, 12 Dec 1995 19:31:21 -0800 (PST) Received: (from wpaul@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA13197 Tue, 12 Dec 1995 19:31:17 -0800 (PST) Date: Tue, 12 Dec 1995 19:31:17 -0800 (PST) From: Bill Paul Message-Id: <199512130331.TAA13197@freefall.freebsd.org> To: CVS-committers, cvs-usrbin Subject: cvs commit: src/usr.bin/rpcgen Makefile rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c rpc_parse.c rpc_parse.h rpc_scan.c rpc_scan.h rpc_svcout.c rpc_util.c rpc_util.h rpcgen.1 Sender: owner-cvs-usrbin@FreeBSD.ORG Precedence: bulk wpaul 95/12/12 19:31:16 Modified: usr.bin/rpcgen Makefile rpc_clntout.c rpc_cout.c rpc_hout.c rpc_main.c rpc_parse.c rpc_parse.h rpc_scan.c rpc_scan.h rpc_svcout.c rpc_util.c rpc_util.h rpcgen.1 Log: Clean up. (I hope I'm doing this right.) Update rpcgen with the one from the TI-RPC 2.3 distribution. Note that when built for FreeBSD, this version of rpcgen assumes backwards compatibility mode by default. This means that it will produce ONCRPC 4.0 compatible code unless otherwise instructed, instead of the other way around. One incompatibility has also been worked around: this rpcgen normally always emits an '#include ' directive whether you select backwards compatibility mode or not. We don't have STREAMS, so this behavior has been changed: now it will only emit this line if run in TI-RPC mode. The 'generate output files in current directory instead of the directory where the protocol definition file lives' hack from the original rpcgen has been preserved. Notable new features: - Can be used to generate RPC servers that can be launched from port monitors such as inetd(5). - Can generate ANSI C code. - Can generate sample client and server top-level programs and makefiles in addition to the usual client and server stubs. - Can generate inline XDR routines. Revision Changes Path 1.3 +10 -4 src/usr.bin/rpcgen/Makefile 1.3 +245 -44 src/usr.bin/rpcgen/rpc_clntout.c 1.3 +461 -64 src/usr.bin/rpcgen/rpc_cout.c 1.3 +273 -50 src/usr.bin/rpcgen/rpc_hout.c 1.4 +1032 -95 src/usr.bin/rpcgen/rpc_main.c 1.4 +255 -24 src/usr.bin/rpcgen/rpc_parse.c 1.3 +57 -19 src/usr.bin/rpcgen/rpc_parse.h 1.3 +81 -40 src/usr.bin/rpcgen/rpc_scan.c 1.3 +45 -15 src/usr.bin/rpcgen/rpc_scan.h 1.4 +891 -85 src/usr.bin/rpcgen/rpc_svcout.c 1.3 +136 -67 src/usr.bin/rpcgen/rpc_util.c 1.3 +127 -31 src/usr.bin/rpcgen/rpc_util.h 1.2 +542 -144 src/usr.bin/rpcgen/rpcgen.1