RELEASE/1.0RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersfaster-cavernlogstereowalls-datawalls-data-hanging-as-warning
Rev | Line | |
---|
[d1b1380] | 1 | /* > validate.h |
---|
| 2 | * Header file for validate.c |
---|
[846746e] | 3 | * |
---|
[a9f5117] | 4 | * Copyright (C) 1994,1996,2001 Olly Betts |
---|
[846746e] | 5 | * |
---|
[89231c4] | 6 | * This program is free software; you can redistribute it and/or modify |
---|
| 7 | * it under the terms of the GNU General Public License as published by |
---|
| 8 | * the Free Software Foundation; either version 2 of the License, or |
---|
| 9 | * (at your option) any later version. |
---|
[846746e] | 10 | * |
---|
| 11 | * This program is distributed in the hope that it will be useful, |
---|
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
[89231c4] | 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | * GNU General Public License for more details. |
---|
[846746e] | 15 | * |
---|
[89231c4] | 16 | * You should have received a copy of the GNU General Public License |
---|
| 17 | * along with this program; if not, write to the Free Software |
---|
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
[d1b1380] | 19 | */ |
---|
| 20 | |
---|
[a420b49] | 21 | #ifndef VALIDATE_H |
---|
| 22 | #define VALIDATE_H |
---|
[d1b1380] | 23 | |
---|
| 24 | #include "debug.h" |
---|
[a420b49] | 25 | #include "cavern.h" |
---|
[d1b1380] | 26 | |
---|
[a9f5117] | 27 | bool validate(void); |
---|
| 28 | void dump_node(node *stn); |
---|
| 29 | void dump_network(void); |
---|
[d1b1380] | 30 | |
---|
| 31 | #if (VALIDATE==0) |
---|
| 32 | # define validate() NOP |
---|
| 33 | # define dump_node(S) NOP |
---|
| 34 | #endif |
---|
| 35 | |
---|
| 36 | #if (DUMP_NETWORK==0) |
---|
| 37 | # define dump_network() NOP |
---|
| 38 | #endif |
---|
[a420b49] | 39 | |
---|
| 40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.