diff pwfile.h @ 20:efef93e54c5f

Automatically save the database when receiving a fatal signal
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Wed, 06 Sep 2017 13:56:11 +0200
parents 17fb30016e64
children ec01c579024a
line wrap: on
line diff
--- a/pwfile.h	Fri Sep 01 22:33:41 2017 +0200
+++ b/pwfile.h	Wed Sep 06 13:56:11 2017 +0200
@@ -74,6 +74,7 @@
 void		pwfile_destroy(struct pwm_ctx *);
 int		pwfile_read_file(struct pwm_ctx *, FILE *);
 int		pwfile_write_file(struct pwm_ctx *);
+int		pwfile_write_autosave_file(struct pwm_ctx *);
 union list_item ** pwfile_create_list(struct pwm_ctx *);
 void		pwfile_destroy_list(union list_item **);
 struct metadata * pwfile_get_metadata(struct pwm_ctx *);