Merge branch 'test-ip_mreq_source-android-only' into 'master'
[glib.git] / glib / glib-mirroring-tab / packtab.h
blob62616659d934f23ac5c75e56adc8581694f803fe
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.
14 * You should have received a copy of the GNU Lesser General Public License
15 * along with this library; if not, see <http://www.gnu.org/licenses/>.
17 * For licensing issues, contact <fwpg@sharif.edu>.
20 #ifndef PACKTAB_H
21 #define PACKTAB_H
23 #ifdef __cplusplus
24 extern "C"
26 #endif
28 #define packtab_version 3
30 int pack_table (
31 const signed int *base,
32 long key_num,
33 int key_size,
34 signed int default_key,
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
44 #ifdef __cplusplus
46 #endif
48 #endif /* PACKTAB_H */