version 1.1, 1995/10/18 08:46:01 |
version 1.2, 1996/03/27 19:32:51 |
|
|
/* $NetBSD: rpc_main.c,v 1.8 1995/08/29 23:05:53 cgd Exp $ */ |
/* $OpenBSD$ */ |
|
/* $NetBSD: rpc_main.c,v 1.9 1996/02/19 11:12:43 pk Exp $ */ |
/* |
/* |
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for |
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for |
* unrestricted use provided that this legend is included on all tape |
* unrestricted use provided that this legend is included on all tape |
|
|
|
|
#ifndef lint |
#ifndef lint |
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI"; |
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI"; |
static char cvsid[] = "$Id$"; |
static char cvsid[] = "$OpenBSD$"; |
#endif |
#endif |
|
|
/* |
/* |
* rpc_main.c, Top level of the RPC protocol compiler. |
* rpc_main.c, Top level of the RPC protocol compiler. |
*/ |
*/ |
|
|
|
#define RPCGEN_VERSION "199506" /* This program's version (year & month) */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
|
|
f_print(fout,"#ifndef _%s\n#define _%s\n\n", guard, |
f_print(fout,"#ifndef _%s\n#define _%s\n\n", guard, |
guard); |
guard); |
|
|
|
f_print(fout, "#define RPCGEN_VERSION\t%s\n\n", RPCGEN_VERSION); |
f_print(fout, "#include <rpc/rpc.h>\n\n"); |
f_print(fout, "#include <rpc/rpc.h>\n\n"); |
|
|
tell = ftell(fout); |
tell = ftell(fout); |