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 <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2019-03-30 20:59:28 +01:00 committed by Dirk Hohndel
parent a89b36c661
commit 8c9e5becb2
6 changed files with 233 additions and 1 deletions

16
core/save-profiledata.h Normal file
View file

@ -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