From 9aefaa1ec87aff88bb1170bd6a79b76d351f804f Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 6 Nov 2014 22:02:22 -0800 Subject: Add helper function to add extra_data to dive computer Signed-off-by: Dirk Hohndel --- dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dive.h') diff --git a/dive.h b/dive.h index 71275a244..dffdc4ebe 100644 --- a/dive.h +++ b/dive.h @@ -690,6 +690,7 @@ extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int extern struct event *add_event(struct divecomputer *dc, int time, int type, int flags, int value, const char *name); extern void remove_event(struct event *event); extern void update_event_name(struct dive *d, struct event* event, char *name); +extern void add_extra_data(struct divecomputer *dc, const char *key, const char *value); extern void per_cylinder_mean_depth(struct dive *dive, struct divecomputer *dc, int *mean, int *duration); extern int get_cylinder_index(struct dive *dive, struct event *ev); extern int nr_cylinders(struct dive *dive); -- cgit v1.2.3-70-g09d2