diff options
author | Doug Junkins <junkins@foghead.com> | 2019-04-06 12:05:18 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-13 08:18:32 -0700 |
commit | 27927f74a1b11ed76580059443e9d4f963df0513 (patch) | |
tree | 13aa057ea56d2c0e158b601faadd3e961d307f26 /core/dive.h | |
parent | 88ed5bf05054a3a4b2313cec81e6756279e6bdb1 (diff) | |
download | subsurface-27927f74a1b11ed76580059443e9d4f963df0513.tar.gz |
Add export option to export dive sites.
Selecting "Selected dives" exports the dive sites for the selected
dives. Selecting "All dives" exports all dive sites.
XML format is the subsection of the divelog XML that describes the
sites headed with a <divesites> section like:
<divesites program='subsurface' version='3'>
</divesites>
Signed-off-by: Doug Junkins <junkins@foghead.com>
Diffstat (limited to 'core/dive.h')
-rw-r--r-- | core/dive.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h index 6e4940452..7a6cf4099 100644 --- a/core/dive.h +++ b/core/dive.h @@ -481,6 +481,8 @@ extern int save_dives_logic(const char *filename, bool select_only, bool anonymi extern int save_dive(FILE *f, struct dive *dive, bool anonymize); extern int export_dives_xslt(const char *filename, const bool selected, const int units, const char *export_xslt, bool anonymize); +extern int save_dive_sites_logic(const char *filename, bool select_only, bool anonymize); + struct membuffer; extern void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize); |