Imported Upstream version 0.19.7
[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 <fwpg@sharif.edu>. 
20  */
21
22 #ifndef PACKTAB_H
23 #define PACKTAB_H
24
25 #ifdef __cplusplus
26 extern "C"
27 {
28 #endif
29
30 #define packtab_version 3
31
32   int pack_table (
33   const signed int *base,
34   long key_num,
35   int key_size,
36   signed int default_key,
37   int max_depth,
38   int tab_width,
39   const char *const *name,
40   const char *key_type_name,
41   const char *table_name,
42   const char *macro_name,
43   FILE *out
44   );
45
46 #ifdef  __cplusplus
47 }
48 #endif
49
50 #endif                          /* PACKTAB_H */