summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 19:56:04 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-01 19:56:04 -0700
commit22fcef2ec7fd1efd3d1df2aba2b7b3af5d463288 (patch)
tree02e55dce4695cf93e4f54756903ea84564c1342e /dive.h
parent0189de695c1b361a1ef85c0523a50f2abc5f0dbf (diff)
downloadsubsurface-22fcef2ec7fd1efd3d1df2aba2b7b3af5d463288.tar.gz
Save and parse notes and locations
It's pretty rough, but it seems to work. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 15a357f89..c1b95e3f6 100644
--- a/dive.h
+++ b/dive.h
@@ -104,6 +104,8 @@ struct sample {
struct dive {
const char *name;
time_t when;
+ char *location;
+ char *notes;
depth_t maxdepth, meandepth;
duration_t duration, surfacetime;
depth_t visibility;
@@ -133,6 +135,7 @@ static inline struct dive *get_dive(unsigned int nr)
extern void parse_xml_init(void);
extern void parse_xml_file(const char *filename);
-void save_dives(const char *filename);
+extern void flush_dive_info_changes(void);
+extern void save_dives(const char *filename);
#endif /* DIVE_H */