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