summaryrefslogtreecommitdiffstats
path: root/uemis.h
diff options
context:
space:
mode:
Diffstat (limited to 'uemis.h')
-rw-r--r--uemis.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/uemis.h b/uemis.h
index f8489f5c3..66a2b9153 100644
--- a/uemis.h
+++ b/uemis.h
@@ -8,6 +8,10 @@
#include <stdint.h>
#include "dive.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void uemis_parse_divelog_binary(char *base64, void *divep);
int uemis_get_weight_unit(int diveid);
void uemis_mark_divelocation(int diveid, int divespot, char **location, degrees_t *longitude, degrees_t *latitude);
@@ -41,4 +45,8 @@ typedef struct {
uint8_t flags[8];
} __attribute((packed)) uemis_sample_t;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* UEMIS_H */