mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: add make_manually_added_dc() function
For reasons of symmetry (there is a is_manually_added_dc() function), create a make_manually_added_dc() function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f687e51d4b
commit
261f07dfa4
5 changed files with 12 additions and 4 deletions
|
|
@ -70,6 +70,7 @@ extern void add_extra_data(struct divecomputer *dc, const char *key, const char
|
|||
extern bool is_dc_planner(const struct divecomputer *dc);
|
||||
extern uint32_t calculate_string_hash(const char *str);
|
||||
extern bool is_manually_added_dc(const struct divecomputer *dc);
|
||||
extern void make_manually_added_dc(struct divecomputer *dc);
|
||||
|
||||
/* Check if two dive computer entries are the exact same dive (-1=no/0=maybe/1=yes) */
|
||||
extern int match_one_dc(const struct divecomputer *a, const struct divecomputer *b);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue