beta-0.89.2
[luatex.git] / source / texk / web2c / lib / lib.h
blob31f423508c581b7b42ea9976cecb6169b6b0b0a9
1 /* lib.h: declare prototypes for functions in lib.a.
2 Public domain. */
4 #ifndef LIB_LIB_H
5 #define LIB_LIB_H
7 /* basechsuffix.c */
8 extern string basenamechangesuffix (const_string, const_string, const_string);
10 /* chartostring.c */
11 extern string chartostring (char);
13 /* eofeoln.c */
14 extern boolean eof (FILE *);
15 extern boolean eoln (FILE *);
16 extern void readln (FILE *);
18 /* fprintreal.c */
19 extern void fprintreal (FILE *, double, int, int);
21 /* inputint.c */
22 extern integer inputint (FILE *);
24 /* input2int.c */
25 extern void zinput2ints (integer *, integer *);
26 extern void zinput3ints (integer *, integer *, integer *);
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
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);
45 extern string fullnameoffile;
46 extern boolean recorder_enabled;
47 extern string output_directory;
49 /* printversion.c */
50 extern void printversionandexit (const_string, const_string, const_string, const_string);
52 /* setupvar.c */
53 /* Set an array size from texmf.cnf. */
54 extern void setupboundvariable (integer *, const_string, integer);
56 /* version.c */
57 extern const char *versionstring;
59 /* zround.c */
60 extern integer zround (double);
62 #endif /* not LIB_LIB_H */