1 /* Copyright 1996,1997,2001,2002,2009 Alain Knaff.
2 * This file is part of mtools.
4 * Mtools is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Mtools is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Mtools. If not, see <http://www.gnu.org/licenses/>.
18 typedef struct Codepage_l {
20 unsigned char tounix[128];
24 typedef struct country_l {
32 void init_codepage(void);
33 unsigned char to_dos(unsigned char c);
34 void to_unix(char *a, int n);
35 char contents_to_unix(char a);
37 extern Codepage_t *Codepage;
38 extern char *mstoupper;
39 extern country_t countries[];
40 extern unsigned char toucase[][128];
41 extern Codepage_t codepages[];
42 extern char *country_string;