Fix coding style
[survex.git] / src / validate.h
blob12a54460bca04d2301dc96ff40af314d59885d79
1 /* validate.h
2 * Header file for validate.c
4 * Copyright (C) 1994,1996,2001 Olly Betts
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.
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.
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
21 #ifndef VALIDATE_H
22 #define VALIDATE_H
24 #include "debug.h"
25 #include "cavern.h"
27 bool validate(void);
28 void dump_node(node *stn);
29 void dump_network(void);
31 #if (VALIDATE==0)
32 # define validate() NOP
33 # define dump_node(S) NOP
34 #endif
36 #if (DUMP_NETWORK==0)
37 # define dump_network() NOP
38 #endif
40 #endif