PowerPC: Fix gettimeofday ifunc selection
[jlayton/glibc.git] / sunrpc / proto.h
1 /****** rpc_clntout.c ******/
2
3 void write_stubs(void);
4 void printarglist(proc_list *proc, const char *result,
5                   const char *addargname, const char *addargtype);
6
7 /****** rpc_cout.c ******/
8
9 void emit (definition *def);
10
11 /****** rpc_hout.c ******/
12
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);
21
22 /****** rpc_main.c ******/
23         /* nil */
24
25 /****** rpc_parse.c ******/
26 definition *get_definition(void);
27
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);
33
34 /****** rpc_scan.c ******/
35    /* see rpc_scan.h */
36
37 /****** rpc_svcout.c ******/
38 int nullproc(const proc_list *proc);
39 void write_svc_aux(int nomain);
40 void write_msg_out(void);
41
42 /****** rpc_tblout.c ******/
43 void write_tables(void);
44
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);
53
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.  */
57
58 #ifdef IS_IN_build
59
60 /* Disable translated messages when built for $build and used in
61    building glibc.  */
62 #define _(X) (X)
63 #define textdomain(X) ((void) 0)
64
65 #endif