blob: 359889a1ad2c1711c133b0992a1a4830593eae24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* SPDX-License-Identifier: MIT-0 */
#ifndef OPENDECOCONF_H
#define OPENDECOCONF_H
#include "deco.h"
#ifndef VERSION
#define VERSION "unknown version"
#endif
/* types */
struct arguments {
double depth;
double time;
char *gas;
int gflow;
int gfhigh;
char *decogasses;
double SURFACE_PRESSURE;
int SWITCH_INTERMEDIATE;
int LAST_STOP_AT_SIX;
double RMV_DIVE;
double RMV_DECO;
int SHOW_TRAVEL;
enum UNITS UNITS;
};
int opendeco_conf_parse(const char *confpath, struct arguments *arguments);
#endif /* end of include guard: OPENDECOCONF_H */
|