Add script to list fixed bugs for the NEWS file.
[glibc.git] / sunrpc / proto.h
blobea28565b1e6e7a0035a73b5114c88f42ee8e9263
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);
54 /* This header is the last one included in all rpc_*.c files,
55 so we define stuff for cross-rpcgen here to avoid conflicts with
56 $build's C library and $host's glibc. */
58 #ifdef IS_IN_build
60 /* Disable translated messages when built for $build and used in
61 building glibc. */
62 #define _(X) (X)
63 #define textdomain(X) ((void) 0)
65 #endif