summaryrefslogblamecommitdiffstats
path: root/core/deco.h
blob: 581d2a791ef07e9ef371851faa5a825c466bfdab (plain) (tree)
1
2
3
4
5
6
7
8
9
                                   





                  
                                        
                                     
 
                                                                                                                 
 
                                                               


                  
                
// SPDX-License-Identifier: GPL-2.0
#ifndef DECO_H
#define DECO_H

#ifdef __cplusplus
extern "C" {
#endif

extern double buehlmann_N2_t_halflife[];
extern struct deco_state *deco_state;

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

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

#ifdef __cplusplus
}
#endif

#endif // DECO_H