aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme.h.in
diff options
context:
space:
mode:
authorBen Kibbey <[email protected]>2015-08-15 00:56:14 +0000
committerBen Kibbey <[email protected]>2015-08-15 00:56:14 +0000
commitaa89252256fc87d637d3793a1fabdbee207967a4 (patch)
treeb5a325d3120370417498981db36cc3c1b3293cae /src/gpgme.h.in
parentParse the INQUIRE_MAXLEN status message. (diff)
parentAlso check the return code in gpg_sign(). (diff)
downloadgpgme-bjk/passphrase-inquire.tar.gz
gpgme-bjk/passphrase-inquire.zip
Merge branch 'master' into passphrase-inquirebjk/passphrase-inquire
Diffstat (limited to '')
-rw-r--r--src/gpgme.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in
index 893e11ce..8255e637 100644
--- a/src/gpgme.h.in
+++ b/src/gpgme.h.in
@@ -893,6 +893,12 @@ void gpgme_set_textmode (gpgme_ctx_t ctx, int yes);
/* Return non-zero if text mode is set in CTX. */
int gpgme_get_textmode (gpgme_ctx_t ctx);
+/* If YES is non-zero, enable offline mode in CTX, disable it otherwise. */
+void gpgme_set_offline (gpgme_ctx_t ctx, int yes);
+
+/* Return non-zero if offline mode is set in CTX. */
+int gpgme_get_offline (gpgme_ctx_t ctx);
+
/* Use whatever the default of the backend crypto engine is. */
#define GPGME_INCLUDE_CERTS_DEFAULT -256