enable storing of GnuPG passphrase
[claws.git] / src / passphrase.h
index c3c69b70a23b7d4236900d37aaf477a28c3cca97..3f4b2e33d7b764cd4dc1ec44c0cdf3175a33d39a 100644 (file)
 #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 */