summaryrefslogtreecommitdiffstats
path: root/device.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-10 07:24:34 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-10 09:29:04 -0700
commit1ee447b5a95e97f5eb409ce67b0b06464138e572 (patch)
tree75070de371927ec4caa18eee6d5aed3c825b8594 /device.h
parent2365531c686be62954c201a690d89e0eebdef456 (diff)
downloadsubsurface-1ee447b5a95e97f5eb409ce67b0b06464138e572.tar.gz
When saving only selected dives, only include referenced dive computers
Since we should have far fewer dive computers than dives this straight forward algorithm shouldn't cause any performance issues. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/device.h b/device.h
index 9f6ebdcee..9ff2ce23a 100644
--- a/device.h
+++ b/device.h
@@ -9,7 +9,7 @@ extern "C" {
extern struct divecomputer *fake_dc(struct divecomputer *dc);
extern void create_device_node(const char *model, uint32_t deviceid, const char *serial, const char *firmware, const char *nickname);
extern void call_for_each_dc(void *f, void (*callback)(void *, const char *, uint32_t,
- const char *, const char *, const char *));
+ const char *, const char *, const char *), bool select_only);
#ifdef __cplusplus
}