Remove sunrpc compatibility
[openafs.git] / src / rxgen / rpc_util.h
index 6b091f6..4382d3f 100644 (file)
@@ -6,31 +6,31 @@
  * may copy or modify Sun RPC without charge, but are not authorized
  * to license or distribute it to anyone else except as part of a product or
  * program developed by the user.
- * 
+ *
  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
  * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
- * 
+ *
  * Sun RPC is provided with no support and without any obligation on the
  * part of Sun Microsystems, Inc. to assist in its use, correction,
  * modification or enhancement.
- * 
+ *
  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
  * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
  * OR ANY PART THEREOF.
- * 
+ *
  * In no event will Sun Microsystems, Inc. be liable for any lost revenue
  * or profits or other special, indirect and consequential damages, even if
  * Sun has been advised of the possibility of such damages.
- * 
+ *
  * Sun Microsystems, Inc.
  * 2550 Garcia Avenue
  * Mountain View, California  94043
  */
 
 /*
- * rpc_util.h, Useful definitions for the RPC protocol compiler 
- * Copyright (C) 1987, Sun Microsystems, Inc. 
+ * rpc_util.h, Useful definitions for the RPC protocol compiler
+ * Copyright (C) 1987, Sun Microsystems, Inc.
  */
 
 #include "rxgen_consts.h"
@@ -56,7 +56,9 @@ extern char *prefix;
 extern int nincludes;
 extern char *OutFileFlag;
 extern char OutFile[];
-extern char Sflag, Cflag, hflag, cflag, kflag;
+extern char Sflag, Cflag, hflag, cflag, kflag, uflag;
+extern char ansic_flag;
+extern char brief_flag;
 extern char zflag;
 extern char xflag;
 extern char yflag;
@@ -100,9 +102,6 @@ extern void tabify(FILE * f, int tab);
 #define FINDVAL(list,item,finder) \
        findval(list, (char *) item, finder)
 
-/* rpc_clntout.c */
-extern void write_stubs(void);
-
 /* rpc_cout.c */
 extern void emit(definition * def);
 extern void print_param(declaration * dec);
@@ -110,7 +109,6 @@ extern void print_param(declaration * dec);
 /* rpc_hout.c */
 extern void print_datadef(definition * def);
 extern void pdefine(char *name, char *num);
-extern void pprocdef(proc_list * proc, version_list * vp);
 
 /* rpc_parse.c */
 extern list *proc_defined[MAX_PACKAGES], *special_defined, *typedef_defined,
@@ -140,6 +138,7 @@ extern int function_list_index;
 extern definition *get_definition(void);
 
 extern void er_Proc_CodeGeneration(void);
+extern void h_Proc_CodeGeneration(void);
 extern void h_opcode_stats(void);
 extern void generate_multi_macros(definition * defp);
 extern int IsRxgenToken(token * tokp);
@@ -151,13 +150,6 @@ extern int IsRxgenDefinition(definition * def);
 extern proc1_list *Proc_list, **Proc_listp;
 
 
-/* rpc_svcout.c */
-extern int nullproc(proc_list * proc);
-extern void write_programs(char *storage);
-extern void write_rest(void);
-extern void write_most(void);
-extern void write_register(char *transp);
-
 /* rpc_scan.c */
 extern int pushed;
 extern token lasttok;