version up to 1.0.5
[platform/upstream/fribidi.git] / gen.tab / packtab.h
1 /* PackTab - Pack a static table
2  * Copyright (C) 2001 Behdad Esfahbod. 
3  * 
4  * This library is free software; you can redistribute it and/or 
5  * modify it under the terms of the GNU Lesser General Public 
6  * License as published by the Free Software Foundation; either 
7  * version 2.1 of the License, or (at your option) any later version. 
8  * 
9  * This library 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 GNU 
12  * Lesser General Public License for more details. 
13  * 
14  * You should have received a copy of the GNU Lesser General Public License 
15  * along with this library, in a file named COPYING; if not, write to the 
16  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 
17  * Boston, MA 02110-1301, USA  
18  * 
19  * For licensing issues, contact <fribidi.license@gmail.com>.
20  */
21
22 #ifndef PACKTAB_H
23 #define PACKTAB_H
24
25 #include <stdio.h>
26
27 #ifdef __cplusplus
28 extern "C"
29 {
30 #endif
31
32 #define packtab_version 3
33
34   int pack_table (
35   const signed int *base,
36   long key_num,
37   int key_size,
38   signed int default_key,
39   int max_depth,
40   int tab_width,
41   const char *const *name,
42   const char *key_type_name,
43   const char *table_name,
44   const char *macro_name,
45   FILE *out
46   );
47
48 #ifdef  __cplusplus
49 }
50 #endif
51
52 #endif                          /* PACKTAB_H */