X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.h;h=ba9f66882baefa1d5a18a46de0ceff2bd7472d19;hb=d1ae1c48309cd0ac5af96114040407dd51e92c37;hp=9fc3908678464fd147c6e0ecc25c9db1e1045a97;hpb=f3a338a9af53f31f9a72de021950cbe725a6782f;p=ext%2Fsubsurface.git diff --git a/dive.h b/dive.h index 9fc3908..ba9f668 100644 --- a/dive.h +++ b/dive.h @@ -101,6 +101,7 @@ struct sample { }; struct dive { + const char *name; time_t when; depth_t maxdepth, meandepth; duration_t duration, surfacetime; @@ -111,4 +112,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 */