1 | /* |
1 | /* |
2 | * File: grkelot.h |
2 | * File: grkelot.h |
3 | * $Id: grkelot.h,v 1.1 2003/11/24 17:28:08 pcg Exp $ |
|
|
4 | * |
3 | * |
5 | * Synopsis: string -> greek ELOT928 string; 4-state FSM. |
4 | * Synopsis: string -> greek ELOT928 string; 4-state FSM. |
6 | * |
5 | * |
7 | * Copyright (c) 1994 Angelo Haritsis. All rights reserved. |
6 | * Copyright (c) 1994 Angelo Haritsis. All rights reserved. |
8 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
7 | * Copyright (c) 1997,1998 Oezguer Kesim <kesim@math.fu-berlin.de> |
… | |
… | |
20 | * You should have received a copy of the GNU General Public License |
19 | * You should have received a copy of the GNU General Public License |
21 | * along with this program; if not, write to the Free Software |
20 | * along with this program; if not, write to the Free Software |
22 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
23 | */ |
22 | */ |
24 | |
23 | |
25 | #ifndef _GRKELOT_H |
24 | #ifndef GRKELOT_H |
26 | #define _GRKELOT_H |
25 | #define GRKELOT_H |
27 | |
26 | |
28 | #define GREEK_ELOT928 0 |
27 | #define GREEK_ELOT928 0 |
29 | #define GREEK_IBM437 1 |
28 | #define GREEK_IBM437 1 |
30 | |
29 | |
31 | #ifdef __cplusplus |
30 | #ifdef __cplusplus |
32 | extern "C" { |
31 | extern "C" { |
33 | #endif |
32 | #endif |
34 | extern void greek_init (void); |
33 | extern void greek_init (void); |
35 | extern void greek_end (void); |
34 | extern void greek_end (void); |
36 | extern void greek_reset (void); |
35 | extern void greek_reset (void); |
37 | extern void greek_setmode(int greek_mode); |
36 | extern void greek_setmode (int greek_mode); |
38 | extern int greek_getmode(void); |
37 | extern int greek_getmode (void); |
39 | extern int greek_xlat (char *s, int num_chars); |
38 | extern int greek_xlat (char *s, int num_chars); |
40 | #ifdef __cplusplus |
39 | #ifdef __cplusplus |
41 | } |
40 | } |
42 | #endif |
41 | #endif |
43 | #endif /* _GRKELOT_H */ |
42 | #endif /* _GRKELOT_H */ |