summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/utilities.h
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-08 07:42:32 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-12-08 07:42:32 +0300
commitcaff89011ee731657192dc076b6a1ea54fcee520 (patch)
tree2390a84cb56fbd7a472533efda7b24ea409f389e /plugins/New_GPG/src/utilities.h
parentb3d3b95a16be5b1785681f0f6fdc3bcdb967a42e (diff)
new_gpg: a bit of refactoring
- eliminated few confusing globals (including unnecessary mutex) - implemeted proper way to avoid collisions in some places
Diffstat (limited to 'plugins/New_GPG/src/utilities.h')
-rwxr-xr-xplugins/New_GPG/src/utilities.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/New_GPG/src/utilities.h b/plugins/New_GPG/src/utilities.h
index b14f50dd69..1d2d6c7de7 100755
--- a/plugins/New_GPG/src/utilities.h
+++ b/plugins/New_GPG/src/utilities.h
@@ -109,5 +109,8 @@ void strip_line_term(std::wstring &s);
void strip_line_term(std::string &s);
void strip_tags(std::wstring &s);
void clean_temp_dir();
+bool gpg_validate_paths(wchar_t *gpg_bin_path, wchar_t *gpg_home_path);
+void gpg_save_paths(wchar_t *gpg_bin_path, wchar_t *gpg_home_path);
+bool gpg_use_new_random_key(char *account_name = Translate("Default"), wchar_t *gpg_bin_path = nullptr, wchar_t *gpg_home_dir = nullptr);
#endif