mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add errmsg() function for libdivecomputer.c
Taken as is from libdivecomputer exaples/common.c to improve verbosity on libdc return codes. Intended to be used on error messages shown to the user on main window complementarily to those messages managed by dev_info(). Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a0904fc4d1
commit
e276ec65ba
2 changed files with 35 additions and 0 deletions
|
@ -41,6 +41,7 @@ typedef struct device_data_t
|
|||
struct dive_table *download_table;
|
||||
} device_data_t;
|
||||
|
||||
const char *errmsg (dc_status_t rc);
|
||||
const char *do_libdivecomputer_import(device_data_t *data);
|
||||
const char *do_uemis_import(device_data_t *data);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue