summaryrefslogtreecommitdiffstats
path: root/core/deco.h
blob: a86ab1a47a697fb8e841bb136f092d8b472b9363 (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
// SPDX-License-Identifier: GPL-2.0
#ifndef DECO_H
#define DECO_H

#ifdef __cplusplus
extern "C" {
#endif

extern double buehlmann_N2_t_halflife[];

extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure, const struct dive *dive, bool smooth);

double get_gf(struct deco_state *ds, double ambpressure_bar, const struct dive *dive);

extern double regressiona();
extern double regressionb();
extern void reset_regression();

#ifdef __cplusplus
}
#endif

#endif // DECO_H