OSDN Git Service

touaTeX + Y&Y TeX.
[putex/putex.git] / src / texsourc / fontmap.h
1 /* fontmap.h: declarations for reading a file to define additional font names.
2
3    Copyright 1993 Karl Berry
4    Copyright 2007 TeX Users Group
5    Copyright 2014 Clerk Ma
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11
12    This program is distributed in the hope that it will be useful, but
13    WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15    General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20    02110-1301 USA.  */
21
22 /* isn't used by anything as far can be determined */
23
24 #ifndef FONTMAP_H
25 #define FONTMAP_H
26
27 typedef struct map_element_struct
28 {
29   char *key;
30   char *value;
31   struct map_element_struct *next;
32 } map_element_type;
33
34 typedef map_element_type **map_type;
35
36 extern map_type map_create (string *dir_list);
37
38 extern char *map_lookup (map_type map, char *key);
39
40 #endif /* not FONTMAP_H */