version 1.10, 2001/12/05 09:50:31 |
version 1.11, 2002/02/16 21:27:51 |
|
|
#include "rpc_parse.h" |
#include "rpc_parse.h" |
#include "rpc_util.h" |
#include "rpc_util.h" |
|
|
static int findtype __P((definition *, char *)); |
static int findtype(definition *, char *); |
static int undefined __P((char *)); |
static int undefined(char *); |
static void print_generic_header __P((char *, int)); |
static void print_generic_header(char *, int); |
static void print_header __P((definition *)); |
static void print_header(definition *); |
static void print_prog_header __P((proc_list *)); |
static void print_prog_header(proc_list *); |
static void print_trailer __P((void)); |
static void print_trailer(void); |
static void print_ifopen __P((int, char *)); |
static void print_ifopen(int, char *); |
static void print_ifarg __P((char *)); |
static void print_ifarg(char *); |
static void print_ifsizeof __P((char *, char *)); |
static void print_ifsizeof(char *, char *); |
static void print_ifclose __P((int)); |
static void print_ifclose(int); |
static void print_ifstat __P((int, char *, char *, relation, char *, char *, char *)); |
static void print_ifstat(int, char *, char *, relation, char *, char *, char *); |
static void emit_num __P((definition *)); |
static void emit_num(definition *); |
static void emit_program __P((definition *)); |
static void emit_program(definition *); |
static void emit_enum __P((definition *)); |
static void emit_enum(definition *); |
static void emit_union __P((definition *)); |
static void emit_union(definition *); |
static void emit_struct __P((definition *)); |
static void emit_struct(definition *); |
static void emit_typedef __P((definition *)); |
static void emit_typedef(definition *); |
static void print_stat __P((int, declaration *)); |
static void print_stat(int, declaration *); |
void emit_inline __P((declaration *, int)); |
void emit_inline(declaration *, int); |
void emit_single_in_line __P((declaration *, int, relation)); |
void emit_single_in_line(declaration *, int, relation); |
|
|
/* |
/* |
* Emit the C-routine for the given definition |
* Emit the C-routine for the given definition |
|
|
print_ifstat(indent, prefix, type, rel, amax, name, dec->name); |
print_ifstat(indent, prefix, type, rel, amax, name, dec->name); |
} |
} |
|
|
char *upcase __P((char *)); |
char *upcase(char *); |
|
|
void |
void |
emit_inline(decl, flag) |
emit_inline(decl, flag) |