]> git.ipfire.org Git - thirdparty/glibc.git/blame - sunrpc/proto.h
Fix typos.
[thirdparty/glibc.git] / sunrpc / proto.h
CommitLineData
0d204b0a
UD
1/****** rpc_clntout.c ******/
2
3void write_stubs(void);
880f421f 4void printarglist(proc_list *proc, const char *result,
0d204b0a
UD
5 const char *addargname, const char *addargtype);
6
7/****** rpc_cout.c ******/
8
880f421f 9void emit (definition *def);
0d204b0a
UD
10
11/****** rpc_hout.c ******/
12
13void print_datadef(definition *def);
14void print_funcdef(definition *def);
15void pxdrfuncdecl(const char *name, int pointerp);
1f205a47 16void pprocdef(proc_list *proc, version_list *vp,
0d204b0a 17 const char *addargtype, int server_p, int mode);
1f205a47 18void pdeclaration(const char *name, declaration *dec, int tab,
0d204b0a 19 const char *separator);
880f421f 20void print_xdr_func_def (char* name, int pointerp, int i);
0d204b0a
UD
21
22/****** rpc_main.c ******/
23 /* nil */
24
25/****** rpc_parse.c ******/
26definition *get_definition(void);
27
28/****** rpc_sample.c ******/
29void write_sample_svc(definition *def);
30int write_sample_clnt(definition *def);
31void add_sample_msg(void);
32void write_sample_clnt_main(void);
33
34/****** rpc_scan.c ******/
35 /* see rpc_scan.h */
36
37/****** rpc_svcout.c ******/
1f205a47 38int nullproc(const proc_list *proc);
0d204b0a
UD
39void write_svc_aux(int nomain);
40void write_msg_out(void);
41
42/****** rpc_tblout.c ******/
43void write_tables(void);
44
45/****** rpc_util.c ******/
46void reinitialize(void);
47int streq(const char *a, const char *b);
4e6bc1f6
AJ
48void error(const char *msg) __attribute__ ((noreturn));
49void crash(void) __attribute__ ((noreturn));
0d204b0a
UD
50void tabify(FILE *f, int tab);
51char *make_argname(const char *pname, const char *vname);
52void add_type(int len, const char *type);
28e72501
MK
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
28e72501 65#endif