diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-01 19:56:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-01 19:56:04 -0700 |
commit | 22fcef2ec7fd1efd3d1df2aba2b7b3af5d463288 (patch) | |
tree | 02e55dce4695cf93e4f54756903ea84564c1342e /dive.h | |
parent | 0189de695c1b361a1ef85c0523a50f2abc5f0dbf (diff) | |
download | subsurface-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |