From cda07b9ab4f09ac87bc1aebbbe113f125eedeb02 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 10 Nov 2009 14:49:35 +0000 Subject: 2009-11-10 Marcus Brinkmann * gpgme.h.in (gpgme_get_sub_protocol): Add prototype. * gpgme.def, libgpgme.vers: Add gpgme_get_sub_protocol. * context.h (struct gpgme_context): New member sub_protocol. * gpgme.c (gpgme_set_sub_protocol): Set CTX->sub_protocol. (gpgme_get_sub_protocol): New function. * op-support.c (_gpgme_op_reset): Set sub protocol. --- src/context.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/context.h') diff --git a/src/context.h b/src/context.h index 6818e7e4..6ab0154a 100644 --- a/src/context.h +++ b/src/context.h @@ -89,6 +89,9 @@ struct gpgme_context /* The running engine process. */ engine_t engine; + /* Engine's sub protocol. */ + gpgme_protocol_t sub_protocol; + /* True if armor mode should be used. */ unsigned int use_armor : 1; -- cgit v1.2.3