summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 7927512b7..d504790ae 100644
--- a/dive.h
+++ b/dive.h
@@ -266,6 +266,7 @@ struct event {
struct divecomputer {
timestamp_t when;
const char *model;
+ const char *nickname;
uint32_t deviceid, diveid;
int samples, alloc_samples;
struct sample *sample;
@@ -524,6 +525,9 @@ extern int edit_multi_dive_info(struct dive *single_dive);
extern void dive_list_update_dives(void);
extern void flush_divelist(struct dive *dive);
+extern void set_dc_nickname(struct dive *dive);
+extern void remember_dc(uint32_t deviceid, const char *nickname, gboolean change_conf);
+
#define DIVE_ERROR_PARSE 1
const char *weekday(int wday);