aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/opendeco-conf.h
blob: 48b1ad0da802623a75972d69a2f9245130e57cc8 (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
#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 */