summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_main.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up. (I hope I'm doing this right.)wpaul1995-12-131-94/+1031
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <stropts.h>' 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.
* Remove trailing whitespace.rgrimes1995-05-301-15/+15
|
* Fix rpcgen so that generated files are written to the current workingnate1995-03-041-4/+10
| | | | | | | directory (instead of the same directory as the source files) and that #includes in those files do not contain the path to the source file. Obtained from: J.T. Conklin via NetBSD
* Move RPC stub generator program over from 1.1.5.wollman1994-08-071-0/+438
Submitted by: Original work in 1.x by J. T. Conklin.
OpenPOWER on IntegriCloud