summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-30 18:40:25 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-08-30 18:40:25 -0700
commit5c4cc39c56470b0a01274e69be703f0d4fc3080b (patch)
treedced6401e2eeec88b659f8781df424b5227af4ee /dive.h
parentf3a338a9af53f31f9a72de021950cbe725a6782f (diff)
downloadsubsurface-5c4cc39c56470b0a01274e69be703f0d4fc3080b.tar.gz
Start moving some of the non-parsing stuff out of 'parse.c'
Create a 'main.c' with the main routine and argument "parsing" etc. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 9fc390867..53ecdfe00 100644
--- a/dive.h
+++ b/dive.h
@@ -111,4 +111,16 @@ struct dive {
struct sample sample[];
};
+extern int verbose;
+
+struct dive_table {
+ int nr, allocated;
+ struct dive **dives;
+};
+
+extern struct dive_table dive_table;
+
+void parse_xml_init(void);
+void parse_xml_file(const char *filename);
+
#endif /* DIVE_H */