aboutsummaryrefslogtreecommitdiffstats
path: root/gpgme/gpgme.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpgme/gpgme.h')
-rw-r--r--gpgme/gpgme.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/gpgme/gpgme.h b/gpgme/gpgme.h
index e4f1e95a..7c0e4c47 100644
--- a/gpgme/gpgme.h
+++ b/gpgme/gpgme.h
@@ -34,7 +34,7 @@ extern "C" {
* let autoconf (using the AM_PATH_GPGME macro) check that this
* header matches the installed library.
* Warning: Do not edit the next line. configure will do that for you! */
-#define GPGME_VERSION "0.1.2"
+#define GPGME_VERSION "0.1.3"
@@ -99,19 +99,24 @@ typedef enum {
} GpgmeSigMode;
-typedef const char *(*GpgmePassphraseCb)(void*, const char *desc, void *r_hd);
+typedef const char *(*GpgmePassphraseCb)(void*,
+ const char *desc, void *r_hd);
+typedef void (*GpgmeProgressCb)(void *opaque,
+ const char *what,
+ int type, int current, int total );
/* Context management */
GpgmeError gpgme_new (GpgmeCtx *r_ctx);
-void gpgme_release ( GpgmeCtx c );
-GpgmeCtx gpgme_wait ( GpgmeCtx c, int hang );
-
-char *gpgme_get_notation ( GpgmeCtx c );
-void gpgme_set_armor ( GpgmeCtx c, int yes );
-void gpgme_set_textmode ( GpgmeCtx c, int yes );
-void gpgme_set_passphrase_cb ( GpgmeCtx c,
- GpgmePassphraseCb cb, void *cb_value );
+void gpgme_release (GpgmeCtx c);
+GpgmeCtx gpgme_wait (GpgmeCtx c, int hang);
+
+char *gpgme_get_notation (GpgmeCtx c);
+void gpgme_set_armor (GpgmeCtx c, int yes);
+void gpgme_set_textmode (GpgmeCtx c, int yes);
+void gpgme_set_passphrase_cb (GpgmeCtx c,
+ GpgmePassphraseCb cb, void *cb_value);
+void gpgme_set_progress_cb (GpgmeCtx c, GpgmeProgressCb cb, void *cb_value);