2.9
[glibc/nacl-glibc.git] / sunrpc / proto.h
blob3e1ecd1f268f7eda01ca8cc603c9d86d95829ac8
1 /****** rpc_clntout.c ******/
3 void write_stubs(void);
4 void printarglist(proc_list *proc, const char *result,
5 const char *addargname, const char *addargtype);
7 /****** rpc_cout.c ******/
9 void emit (definition *def);
11 /****** rpc_hout.c ******/
13 void print_datadef(definition *def);
14 void print_funcdef(definition *def);
15 void pxdrfuncdecl(const char *name, int pointerp);
16 void pprocdef(proc_list *proc, version_list *vp,
17 const char *addargtype, int server_p, int mode);
18 void pdeclaration(const char *name, declaration *dec, int tab,
19 const char *separator);
20 void print_xdr_func_def (char* name, int pointerp, int i);
22 /****** rpc_main.c ******/
23 /* nil */
25 /****** rpc_parse.c ******/
26 definition *get_definition(void);
28 /****** rpc_sample.c ******/
29 void write_sample_svc(definition *def);
30 int write_sample_clnt(definition *def);
31 void add_sample_msg(void);
32 void write_sample_clnt_main(void);
34 /****** rpc_scan.c ******/
35 /* see rpc_scan.h */
37 /****** rpc_svcout.c ******/
38 int nullproc(const proc_list *proc);
39 void write_svc_aux(int nomain);
40 void write_msg_out(void);
42 /****** rpc_tblout.c ******/
43 void write_tables(void);
45 /****** rpc_util.c ******/
46 void reinitialize(void);
47 int streq(const char *a, const char *b);
48 void error(const char *msg) __attribute__ ((noreturn));
49 void crash(void) __attribute__ ((noreturn));
50 void tabify(FILE *f, int tab);
51 char *make_argname(const char *pname, const char *vname);
52 void add_type(int len, const char *type);