projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable storing of GnuPG passphrase
[claws.git]
/
src
/
passphrase.h
diff --git
a/src/passphrase.h
b/src/passphrase.h
index c3c69b70a23b7d4236900d37aaf477a28c3cca97..3f4b2e33d7b764cd4dc1ec44c0cdf3175a33d39a 100644
(file)
--- a/
src/passphrase.h
+++ b/
src/passphrase.h
@@
-20,8
+20,15
@@
#define GPGMEGTK_PASSPHRASE_H
#include <glib.h>
#define GPGMEGTK_PASSPHRASE_H
#include <glib.h>
+#include <gpgme.h>
+
+struct passphrase_cb_info_s {
+ GpgmeCtx c;
+ int did_it;
+};
void gpgmegtk_set_passphrase_grab (gint yesno);
void gpgmegtk_set_passphrase_grab (gint yesno);
-gchar *gpgmegtk_passphrase_mbox (const gchar *desc);
+const char* gpgmegtk_passphrase_cb(void *opaque, const char *desc, void *r_hd);
+void gpgmegtk_free_passphrase();
#endif /* GPGMEGTK_PASSPHRASE_H */
#endif /* GPGMEGTK_PASSPHRASE_H */