From 8c9e5becb20d2d8c8aa1f7108775cc520b08fae1 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sat, 30 Mar 2019 20:59:28 +0100 Subject: Export profile data This introduces a csv file that contains the data from the structs defined in profile.c, in particular all deco information computed for the dive profle (including NDL, TTS, ceilings, surface GFs etc). Signed-off-by: Robert C. Helling --- core/save-profiledata.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 core/save-profiledata.h (limited to 'core/save-profiledata.h') diff --git a/core/save-profiledata.h b/core/save-profiledata.h new file mode 100644 index 000000000..23e833a27 --- /dev/null +++ b/core/save-profiledata.h @@ -0,0 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef SAVE_PROFILE_DATA_H +#define SAVE_PROFILE_DATA_H + +#include "dive.h" + +#ifdef __cplusplus +extern "C" { +#endif + +int save_profiledata(const char *filename, bool selected_only); + +#ifdef __cplusplus +} +#endif +#endif // SAVE_PROFILE_DATA_H -- cgit v1.2.3-70-g09d2