blob: 2f49d0f6d8cd1c55bdabaef6f9eff13aeef3a57a (
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
32
|
/* SPDX-License-Identifier: MIT-0 */
#ifndef OPENDECOCONF_H
#define OPENDECOCONF_H
#include "deco.h"
#include "units.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 */
|