X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.h;h=bdf3aa6e1f52fc8c553377592537741dc95381e9;hb=0915d2e691209fa6a65baa0622d00dd8d1fe2c67;hp=f0808efb47d3bbe19c4efcb004a957fcc9ad9e9c;hpb=95cc317b087e863f6e0a4ab4db7ab68f06a9d969;p=ext%2Fsubsurface.git diff --git a/dive.h b/dive.h index f0808ef..bdf3aa6 100644 --- a/dive.h +++ b/dive.h @@ -87,6 +87,8 @@ typedef struct { pressure_t start, end, sample_start, sample_end; } cylinder_t; +extern int cylinder_none(cylinder_t *cyl); + extern int get_pressure_units(unsigned int mb, const char **units); extern double get_depth_units(unsigned int mm, int *frac, const char **units); extern double get_volume_units(unsigned int mm, int *frac, const char **units); @@ -324,4 +326,6 @@ const char *monthname(int mon); #define FIVE_STARS UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR UTF8_BLACKSTAR extern const char *star_strings[]; +#define AIR_PERMILLE 209 + #endif /* DIVE_H */