Rev | Line | |
---|
[7bb8184] | 1 | /* validate.h |
---|
| 2 | * Header file for validate.c |
---|
| 3 | * |
---|
| 4 | * Copyright (C) 1994,1996,2001 Olly Betts |
---|
| 5 | * |
---|
| 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. |
---|
| 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 |
---|
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 14 | * GNU General Public License for more details. |
---|
| 15 | * |
---|
| 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
| 19 | */ |
---|
| 20 | |
---|
| 21 | #ifndef VALIDATE_H |
---|
| 22 | #define VALIDATE_H |
---|
| 23 | |
---|
| 24 | #include "debug.h" |
---|
| 25 | #include "cavern.h" |
---|
| 26 | |
---|
| 27 | bool validate(void); |
---|
| 28 | void dump_node(node *stn); |
---|
| 29 | void dump_network(void); |
---|
| 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 |
---|
| 39 | |
---|
| 40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.