summaryrefslogtreecommitdiff
path: root/libsylph/masterpassword.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsylph/masterpassword.h')
-rw-r--r--libsylph/masterpassword.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libsylph/masterpassword.h b/libsylph/masterpassword.h
index 9d00384..91f3793 100644
--- a/libsylph/masterpassword.h
+++ b/libsylph/masterpassword.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * LibSylph -- E-Mail client library 2 * LibSylph -- E-Mail client library
3 * Copyright (C) 1999-2006 Hiroyuki Yamamoto 3 * Copyright (C) 1999-2018 Hiroyuki Yamamoto
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public 6 * modify it under the terms of the GNU Lesser General Public
@@ -28,9 +28,10 @@ extern 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); 30void unload_master_password(void);
31gint mpes_string_prefix(const gchar *str);
31gboolean master_password_active(void); 32gboolean master_password_active(void);
32gchar *decrypt_with_master_password(gchar *str); 33gchar *decrypt_with_master_password(const gchar *str);
33gchar *encrypt_with_master_password(gchar *str); 34gchar *encrypt_with_master_password(const gchar *str);
34 35
35#if USE_SSL 36#if USE_SSL
36gint set_master_password_interactively(guint max_attempts); 37gint set_master_password_interactively(guint max_attempts);