/ db / include /
/db/include/warningconstants.m4
1 dnl Copyright (C) 2015 The Meme Factory, Inc. http://www.meme.com/
2 dnl
3 dnl This file is part of Gombe-MI.
4 dnl
5 dnl Gombe-MI is free software; you can redistribute it and/or modify
6 dnl it under the terms of the GNU General Public License as published by
7 dnl the Free Software Foundation; either version 3 of the License, or
8 dnl (at your option) any later version.
9 dnl
10 dnl This program is distributed in the hope that it will be useful,
11 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
12 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 dnl GNU General Public License for more details.
14 dnl
15 dnl You should have received a copy of the GNU General Public License
16 dnl along with Gombe-MI. If not, see <http://www.gnu.org/licenses/>.
17 dnl
18 dnl Constant data values hardcoded into the system.
19 dnl
20 dnl Karl O. Pinc <kop@meme.com>
21 dnl
22 dnl Bugs:
23 dnl This file is processed by Makefiles (with m4toentityconstants)
24 dnl to produce xml entities for use in the documentation and the
25 dnl view definitions. This processing is simplistic and requires
26 dnl defines be a single line and arguments be quoted.
27 dnl
28 dnl
29 changequote([{[,]}])dnl m4 foolery so includes include only once.
30 dnl Once the macro is in the text, change the quotes back
31 ifdef([{[_warningconstants.m4]}], [{[changequote(`,')]}], [{[dnl
32 changequote(`,')dnl
33 dnl
34 dnl Standard test for having already included the file.
35 define(`_warningconstants.m4')dnl
36 dnl
37 dnl Turn output off. This file produces no output.
38 divert(-1)
39
40 dnl
41 dnl Constants for data types.
42 dnl (Lengths and so forth)
43 dnl
44
45 dnl Maximum length of the IQType column.
46 define(`warn_iqtype_len', `5')
47
48 dnl Maximum length of the WRID column.
49 define(`warn_wrid_len', `15')
50
51 dnl Maximum length of INTEGRITY_QUERIES.IQName.
52 define(`warn_iqname_len', `15')
53
54 dnl Turn output back on
55 divert`'dnl
56 dnl
57 dnl
58 ]}])dnl End of ifdef over the whole file.