Debian Codegraph @

texk/web2c/luatexdir/utils/utils.h

raw
1 /* utils.h
2
3 Copyright 1996-2006 Han The Thanh <[email protected]>
4 Copyright 2006-2012 Taco Hoekwater <[email protected]>
5
6 This file is part of LuaTeX.
7
8 LuaTeX is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 2 of the License, or (at your
11 option) any later version.
12
13 LuaTeX is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 License for more details.
17
18 You should have received a copy of the GNU General Public License along
19 with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
20
21
22 #ifndef UTILS_H
23 # define UTILS_H
24
25 extern int epochseconds;
26 extern int microseconds;
27
28 void make_subset_tag(fd_entry *);
29
30 __attribute__ ((format(printf, 1, 2)))
31 void tex_printf(const char *, ...);
32
33 void garbage_warning(void);
34 size_t xfwrite(void *, size_t size, size_t nmemb, FILE *);
35 int xfflush(FILE *);
36 int xgetc(FILE *);
37 int xputc(int, FILE *);
38 scaled ext_xn_over_d(scaled, scaled, scaled);
39 void initversionstring(char **versions);
40 extern void check_buffer_overflow(int wsize);
41 extern void check_pool_overflow(int wsize);
42
43 extern char *cur_file_name;
44
45 # include "luatex-common.h"
46
47 #endif /* UTILS_H */