summaryrefslogtreecommitdiffstats
path: root/profile.h
blob: 66d1ee19096e7c6af36d2790a0bf654c68ad87ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef PROFILE_H
#define PROFILE_H

#ifdef __cplusplus
extern "C" {
#else
#if __STDC_VERSION__ >= 199901L
#include <stdbool.h>
#else
typedef int bool;
#endif
#endif

struct dive;
struct divecomputer;
struct graphics_context;
struct plot_info;

void calculate_max_limits(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);
struct plot_info *create_plot_info(struct dive *dive, struct divecomputer *dc, struct graphics_context *gc);

#ifdef __cplusplus
}
#endif
#endif