mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Optional anonymization upon export
Add a checkbox that triggers replacement of all English characters by x's in notes, buddy, dive guide and (while we are at it) suit. This is ment for people sharing logs for debugging that are concious about privacy issues. It leaves the lenth of strings in tact as well as special charcters as those might be needed to track down a particular parsing problem. Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
adbb1488e8
commit
afe363fa85
10 changed files with 114 additions and 68 deletions
|
|
@ -511,12 +511,12 @@ extern int parse_seabear_log(const char *filename);
|
|||
extern int parse_txt_file(const char *filename, const char *csv);
|
||||
extern int parse_manual_file(const char *filename, char **params, int pnr);
|
||||
extern int save_dives(const char *filename);
|
||||
extern int save_dives_logic(const char *filename, bool select_only);
|
||||
extern int save_dive(FILE *f, struct dive *dive);
|
||||
extern int export_dives_xslt(const char *filename, const bool selected, const int units, const char *export_xslt);
|
||||
extern int save_dives_logic(const char *filename, bool select_only, bool anonymize);
|
||||
extern int save_dive(FILE *f, struct dive *dive, bool anonymize);
|
||||
extern int export_dives_xslt(const char *filename, const bool selected, const int units, const char *export_xslt, bool anonymize);
|
||||
|
||||
struct membuffer;
|
||||
extern void save_one_dive_to_mb(struct membuffer *b, struct dive *dive);
|
||||
extern void save_one_dive_to_mb(struct membuffer *b, struct dive *dive, bool anonymize);
|
||||
|
||||
int cylinderuse_from_text(const char *text);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue