mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
f3a338a9af
commit
5c4cc39c56
4 changed files with 127 additions and 90 deletions
12
dive.h
12
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue