diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-06-10 07:24:34 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-10 09:29:04 -0700 |
commit | 1ee447b5a95e97f5eb409ce67b0b06464138e572 (patch) | |
tree | 75070de371927ec4caa18eee6d5aed3c825b8594 /device.h | |
parent | 2365531c686be62954c201a690d89e0eebdef456 (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |