Debian Codegraph @

3rd_party/footag/ipc7351b/priv.h

raw
1 /*
2 * Copyright 2018 Martin Ã…berg
3 *
4 * This file is part of Footag.
5 *
6 * Footag is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation, either version 3 of the License, or (at your option) any later
9 * version.
10 *
11 * Footag is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 * details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #include <footag/ipc7351b.h>
21
22 #ifndef UNUSED
23 #define UNUSED(i) (void) (sizeof (i))
24 #endif
25
26 #ifndef NELEM
27 #define NELEM(a) ((sizeof a) / (sizeof (a[0])))
28 #endif
29
30 /* From IPC-7351B */
31 struct ipcbtable {
32 const char *ref;
33 const char *desc;
34 double toe[IPCB_DENSITY_NUM];
35 double heel[IPCB_DENSITY_NUM];
36 double side[IPCB_DENSITY_NUM];
37 double round;
38 double cyexc[IPCB_DENSITY_NUM];
39 };
40
41 extern const struct ipcbtable ipcb_table3_2;
42 extern const struct ipcbtable ipcb_table3_3;
43 extern const struct ipcbtable ipcb_table3_4;
44 extern const struct ipcbtable ipcb_table3_5;
45 extern const struct ipcbtable ipcb_table3_6;
46 extern const struct ipcbtable ipcb_table3_7;
47 extern const struct ipcbtable ipcb_table3_9;
48 extern const struct ipcbtable ipcb_table3_10;
49 extern const struct ipcbtable ipcb_table3_11;
50 extern const struct ipcbtable ipcb_table3_13;
51 extern const struct ipcbtable ipcb_table3_15;
52 extern const struct ipcbtable ipcb_table3_16;
53 extern const struct ipcbtable ipcb_table3_18;
54 extern const struct ipcbtable ipcb_table3_20;
55 extern const struct ipcbtable ipcb_table3_22;
56