summaryrefslogtreecommitdiffstats
path: root/uemis.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-02 21:59:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-02 22:20:29 -0700
commit254b851e44a31e2028a2fdddfb4f6989a8e59374 (patch)
tree685b4b409ea20bb419bf26aaad96865806c82f19 /uemis.h
parentf2566ba561ff8eb560e71dd89de5e66e46e7143d (diff)
downloadsubsurface-254b851e44a31e2028a2fdddfb4f6989a8e59374.tar.gz
Integrate loading of uemis SDA files into the regular xml parsing
There are a few interesting issues with this: - this requires a change to the SDA file format; thankfully I control that format, too (the default files are not valid XML files) - once again, the fact that adding samples can change the dive pointer messes with me - I decided to change the interface of ALL of the XXX_dive_match functions to take a struct dive** I know this is not ideal as all the other functions don't need that - but I would have hated the inconsistency - there is the issue that we now overload two _different_ uemis formats in the same function - that's certainly a potential point of confusion - a minor detail is the problem that the SDA format is kinda odd to parse and that we trigger on the duration field by it being the only float. Yeah, that's not ideal - but again, I control the format, so I _know_ this is true. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'uemis.h')
-rw-r--r--uemis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/uemis.h b/uemis.h
index 62aeb5422..99cf44445 100644
--- a/uemis.h
+++ b/uemis.h
@@ -9,6 +9,6 @@
#define DEVICE_TYPE_UEMIS (-1)
void uemis_import();
-void uemis_parse_divelog_binary(char *base64, struct dive **divep);
+void uemis_parse_divelog_binary(char *base64, void *divep);
#endif /* DIVE_H */