diff options
author | Tim Segers <tsegers@pm.me> | 2022-12-23 18:44:58 +0100 |
---|---|---|
committer | Tim Segers <tsegers@pm.me> | 2022-12-23 18:44:58 +0100 |
commit | c0f2ea4176b967ba902bb5e0e5c4ee3f28530beb (patch) | |
tree | 85ad3c174ab645f4e43a7ac91b6df9f98af7ebc3 /src/opendeco-conf.h | |
parent | 14009b2ee28f763d343f1905a2da2092f8b61f0b (diff) | |
download | opendeco-c0f2ea4176b967ba902bb5e0e5c4ee3f28530beb.tar.gz |
Extract CLI handling into separate file
Diffstat (limited to 'src/opendeco-conf.h')
-rw-r--r-- | src/opendeco-conf.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/opendeco-conf.h b/src/opendeco-conf.h new file mode 100644 index 0000000..cb5b863 --- /dev/null +++ b/src/opendeco-conf.h @@ -0,0 +1,24 @@ +#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; +}; + +#endif /* end of include guard: OPENDECOCONF_H */ |