1 |
/* |
2 |
* File: grkelot.h |
3 |
* $Id: grkelot.h,v 1.1 2003/11/18 14:22:17 root Exp $ |
4 |
* |
5 |
* Synopsis: string -> greek ELOT928 string; 4-state FSM. |
6 |
* |
7 |
* Copyright (c) 1994 Angelo Haritsis. All rights reserved. |
8 |
* Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
9 |
* |
10 |
* This program is free software; you can redistribute it and/or modify |
11 |
* it under the terms of the GNU General Public License as published by |
12 |
* the Free Software Foundation; either version 2 of the License, or |
13 |
* (at your option) any later version. |
14 |
* |
15 |
* This program is distributed in the hope that it will be useful, |
16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 |
* GNU General Public License for more details. |
19 |
* |
20 |
* You should have received a copy of the GNU General Public License |
21 |
* along with this program; if not, write to the Free Software |
22 |
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 |
*/ |
24 |
|
25 |
#ifndef _GRKELOT_H |
26 |
#define _GRKELOT_H |
27 |
|
28 |
#define GREEK_ELOT928 0 |
29 |
#define GREEK_IBM437 1 |
30 |
|
31 |
#ifdef __cplusplus |
32 |
extern "C" { |
33 |
#endif |
34 |
extern void greek_init (void); |
35 |
extern void greek_end (void); |
36 |
extern void greek_reset (void); |
37 |
extern void greek_setmode(int greek_mode); |
38 |
extern int greek_getmode(void); |
39 |
extern int greek_xlat (char *s, int num_chars); |
40 |
#ifdef __cplusplus |
41 |
} |
42 |
#endif |
43 |
#endif /* _GRKELOT_H */ |