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., 59 Temple Place, Suite 330, |
---|
17 | * Boston, MA 02111-1307, 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 2 |
---|
31 | |
---|
32 | int pack_table (int *base, |
---|
33 | int key_num, |
---|
34 | int key_size, |
---|
35 | int max_depth, |
---|
36 | int tab_width, |
---|
37 | const char * const *name, |
---|
38 | const char *key_type_name, |
---|
39 | const char *table_name, |
---|
40 | const char *macro_name, |
---|
41 | FILE * out); |
---|
42 | |
---|
43 | #ifdef __cplusplus |
---|
44 | } |
---|
45 | #endif |
---|
46 | |
---|
47 | #endif /* PACKTAB_H */ |
---|