X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.h;h=bdf3aa6e1f52fc8c553377592537741dc95381e9;hb=53ecd2025d00e844fbfb84b5765d975e1e8942be;hp=f0808efb47d3bbe19c4efcb004a957fcc9ad9e9c;hpb=af290d5eb281662d336b8186a9df1a489d78ec9d;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 */