diff options
Diffstat (limited to 'core/divelist.h')
-rw-r--r-- | core/divelist.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/core/divelist.h b/core/divelist.h index 14366f274..e0c0058ad 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -2,15 +2,25 @@ #ifndef DIVELIST_H #define DIVELIST_H -#include "dive.h" +#include "units.h" #ifdef __cplusplus extern "C" { #endif +struct dive; +struct trip_table; +struct dive_site_table; struct deco_state; extern int shown_dives; +struct dive_table { + int nr, allocated; + struct dive **dives; +}; +static const struct dive_table empty_dive_table = { 0, 0, (struct dive **)0 }; +extern struct dive_table dive_table; + /* this is used for both git and xml format */ #define DATAFORMAT_VERSION 3 |