summaryrefslogtreecommitdiffstats
path: root/conversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'conversions.h')
-rw-r--r--conversions.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/conversions.h b/conversions.h
new file mode 100644
index 000000000..f59fcc96b
--- /dev/null
+++ b/conversions.h
@@ -0,0 +1,16 @@
+/*
+ * conversions.h
+ *
+ * Helpers to convert between different units
+ *
+ */
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void convert_volume_pressure(int ml, int mbar, double *v, double *p);
+int convert_pressure(int mbar, double *p);
+
+#ifdef __cplusplus
+}
+#endif