2013-04-08 03:20:25 +00:00
|
|
|
#ifndef PLANNER_H
|
|
|
|
#define PLANNER_H
|
|
|
|
|
2013-08-30 18:06:26 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-04-08 03:20:25 +00:00
|
|
|
extern int validate_gas(const char *text, int *o2_p, int *he_p);
|
|
|
|
extern int validate_po2(const char *text, int *mbar_po2);
|
|
|
|
extern timestamp_t current_time_notz(void);
|
|
|
|
extern void show_planned_dive(char **error_string_p);
|
2013-10-05 07:29:09 +00:00
|
|
|
extern void set_last_stop(bool last_stop_6m);
|
2013-11-08 09:15:04 +00:00
|
|
|
extern void get_gas_from_events(struct divecomputer *dc, int time, int *o2, int *he);
|
2013-11-20 04:35:15 +00:00
|
|
|
extern int get_gasidx(struct dive *dive, int o2, int he);
|
2014-05-30 22:40:13 +00:00
|
|
|
extern bool diveplan_empty(struct diveplan *diveplan);
|
2013-04-08 03:20:25 +00:00
|
|
|
|
|
|
|
extern struct dive *planned_dive;
|
|
|
|
extern char *cache_data;
|
|
|
|
extern char *disclaimer;
|
|
|
|
extern double plangflow, plangfhigh;
|
|
|
|
|
2013-08-30 18:06:26 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2014-02-11 18:14:46 +00:00
|
|
|
#endif // PLANNER_H
|