summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-02 17:47:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-02 22:18:41 -0700
commitf2566ba561ff8eb560e71dd89de5e66e46e7143d (patch)
treee7d35033cb61283bc5ba7e191d1d3447a2456afb /parse-xml.c
parentfe0eff8f1ef6f5bd73a0b89d3ac5fc334650c184 (diff)
downloadsubsurface-f2566ba561ff8eb560e71dd89de5e66e46e7143d.tar.gz
First steps towards integrating SDA files into the default XML loading
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index efae6b61f..4e68e8ee2 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -8,6 +8,7 @@
#include <libxml/tree.h>
#include "dive.h"
+#include "uemis.h"
int verbose;
@@ -861,6 +862,7 @@ static int uemis_dive_match(struct dive *dive, const char *name, int len, char *
MATCH(".nitrox_3.deco_tank.oxygen", uemis_percent, dive->cylinder + 5) ||
MATCH(".nitrox_3.travel_tank.size", uemis_cylindersize, dive->cylinder + 6) ||
MATCH(".nitrox_3.travel_tank.oxygen", uemis_percent, dive->cylinder + 6) ||
+ MATCH(".dive.val.bin", uemis_parse_divelog_binary, &dive) ||
0;
}
@@ -1365,6 +1367,7 @@ static struct nesting {
{ "SUUNTO", suunto_importer },
{ "Divinglog", DivingLog_importer },
{ "pre_dive", uemis_importer },
+ { "dives", uemis_importer },
{ "uddf", uddf_importer },
{ NULL, }