1 /* lib.h: declare prototypes for functions in lib.a.
2   Public domain. */
3 
4 #ifndef LIB_LIB_H
5 #define LIB_LIB_H
6 
7 /* basechsuffix.c */
8 extern string basenamechangesuffix (const_string, const_string, const_string);
9 
10 /* chartostring.c */
11 extern string chartostring (char);
12 
13 /* eofeoln.c */
14 extern boolean eof (FILE *);
15 extern boolean eoln (FILE *);
16 extern void readln (FILE *);
17 
18 /* fprintreal.c */
19 extern void fprintreal (FILE *, double, int, int);
20 
21 /* inputint.c */
22 extern integer inputint (FILE *);
23 
24 /* input2int.c */
25 extern void zinput2ints (integer *, integer *);
26 extern void zinput3ints (integer *, integer *, integer *);
27 
28 /* main.c (or win32main.c or texmfmp.c) */
29 #ifndef NOT_WEB2C
30 /* Only used in Web2C programs and possibly harmful otherwise.  */
31 extern int argc;
32 extern string *argv;
33 extern string cmdline (int);
34 extern void mainbody (void); /* generated by web2c */
35 #endif
36 
37 /* openclose.c */
38 extern boolean open_input (FILE **, int, const_string fopen_mode);
39 extern boolean open_output (FILE **, const_string fopen_mode);
40 extern void close_file (FILE *);
41 extern void recorder_change_filename (string);
42 extern void recorder_record_input (const_string);
43 extern void recorder_record_output (const_string);
44 
45 extern string fullnameoffile;
46 extern boolean recorder_enabled;
47 extern string output_directory;
48 
49 /* printversion.c */
50 extern void printversionandexit (const_string, const_string, const_string, const_string);
51 
52 /* setupvar.c */
53 /* Set an array size from texmf.cnf.  */
54 extern void setupboundvariable (integer *, const_string, integer);
55 
56 /* version.c */
57 extern const char *versionstring;
58 
59 /* zround.c */
60 extern integer zround (double);
61 
62 #endif /* not LIB_LIB_H */
63