diff pwfile.h @ 22:ec01c579024a

Add fully interactive mode
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Thu, 07 Sep 2017 12:40:50 +0200
parents efef93e54c5f
children
line wrap: on
line diff
--- a/pwfile.h	Wed Sep 06 16:41:58 2017 +0200
+++ b/pwfile.h	Thu Sep 07 12:40:50 2017 +0200
@@ -79,12 +79,13 @@
 void		pwfile_destroy_list(union list_item **);
 struct metadata * pwfile_get_metadata(struct pwm_ctx *);
 void		pwfile_destroy_metadata(struct metadata *);
-int		pwfile_create_record(struct pwm_ctx *, struct record *);
-int		pwfile_modify_record(struct pwm_ctx *, unsigned int,
+int		pwfile_create_pws_record(struct pwm_ctx *, struct record *);
+int		pwfile_modify_pws_record(struct pwm_ctx *, unsigned int,
     struct record *);
-int		pwfile_remove_record(struct pwm_ctx *, unsigned int);
+int		pwfile_remove_pws_record(struct pwm_ctx *, unsigned int);
 int		pwfile_create_group(struct pwm_ctx *, const char *);
 int		pwfile_remove_group(struct pwm_ctx *, const char *);
+struct record *	pwfile_create_record(void);
 struct record *	pwfile_get_record(struct pwm_ctx *, unsigned int);
 void		pwfile_destroy_record(struct record *);