aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/opendeco-conf.h
blob: 8845409eebbdcb577b03515149fd6ac15cb956d5 (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
/* SPDX-License-Identifier: MIT-0 */

#ifndef OPENDECOCONF_H
#define OPENDECOCONF_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;
};

int opendeco_conf_parse(const char *confpath, struct arguments *arguments);

#endif /* end of include guard: OPENDECOCONF_H */