summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-30 20:27:01 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-30 20:27:01 -0800
commitdf0ea072920668de4517ad85c742c7169bd24f22 (patch)
tree27d5a5bfa96fb7bc7155b5dea988e048ae0ad27e /dive.h
parent96db56f89c76ffc2ede8605f4b0febb0c2261c5a (diff)
downloadsubsurface-df0ea072920668de4517ad85c742c7169bd24f22.tar.gz
Fix nickname saving in XML file to deal with utf8 characters
This makes the whole code much cleaner and simpler. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 91694f8c3..1028a6919 100644
--- a/dive.h
+++ b/dive.h
@@ -532,6 +532,9 @@ extern void flush_divelist(struct dive *dive);
extern void set_dc_nickname(struct dive *dive);
extern const char *get_dc_nickname(const char *model, uint32_t deviceid);
extern void remember_dc(const char *model, uint32_t deviceid, const char *nickname, gboolean change_conf);
+extern gboolean dc_was_saved(struct divecomputer *dc);
+extern void mark_dc_saved(struct divecomputer *dc);
+extern void clear_dc_saved_status(void);
#define DIVE_ERROR_PARSE 1