summaryrefslogtreecommitdiff
path: root/libsylph/masterpassword.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/masterpassword.h')
-rw-r--r--libsylph/masterpassword.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libsylph/masterpassword.h b/libsylph/masterpassword.h
index b2798ce..9d00384 100644
--- a/libsylph/masterpassword.h
+++ b/libsylph/masterpassword.h
@@ -27,12 +27,14 @@
27extern gchar *master_password; 27extern gchar *master_password;
28void set_master_password(const char *password); 28void set_master_password(const char *password);
29gchar *get_master_password(void); 29gchar *get_master_password(void);
30void unload_master_password(void);
31gboolean master_password_active(void);
32gchar *decrypt_with_master_password(gchar *str);
33gchar *encrypt_with_master_password(gchar *str);
30 34
31#if USE_SSL 35#if USE_SSL
32
33gint set_master_password_interactively(guint max_attempts); 36gint set_master_password_interactively(guint max_attempts);
34gint check_master_password_interactively(guint max_attempts); 37gint check_master_password_interactively(guint max_attempts);
35
36#endif /* USE_SSL */ 38#endif /* USE_SSL */
37 39
38#endif /* __MASTERPASSWORD_H__ */ 40#endif /* __MASTERPASSWORD_H__ */