aboutsummaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2017-10-26 16:24:51 +0200
committerGravatar GitHub <noreply@github.com>2017-10-26 16:24:51 +0200
commita08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d (patch)
tree463e846d897487bcaa628c7a8c03b601d4b263cd /core/dive.h
parent2c67b387ea5571675db68c46b7879b4746571fd9 (diff)
parent405923ecfdca7993a3f6433eba4f0de0d03161f5 (diff)
downloadsubsurface-a08e8a2d04821b4dcdfabe9f8e2d05a5cdac0d8d.tar.gz
Merge pull request #726 from Subsurface-divelog/rewriteErrorHandling
Rewrite error handling
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h
index 64dee5196..f72aaf1d5 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -698,6 +698,7 @@ extern "C" {
extern int report_error(const char *fmt, ...);
extern void report_message(const char *msg);
extern const char *get_error_string(void);
+extern void set_error_cb(void(*cb)(void));
extern struct dive *find_dive_including(timestamp_t when);
extern bool dive_within_time_range(struct dive *dive, timestamp_t when, timestamp_t offset);