2007-09-27 Marcus Brinkmann <marcus@g10code.de>
+ * assuan-pipe-connect.c (pipe_connect_gpgme): Fix last change.
+
* assuan-pipe-connect.c (pipe_connect_gpgme): New function, use it
if _ASSUAN_IN_GPGME_BUILD_ASSUAN.
+2007-09-27 Marcus Brinkmann <marcus@g10code.de>
+
+ * gpgme.texi (Protocols and Engines): Document GPGME_PROTOCOL_UNKNOWN.
+
2007-09-11 Werner Koch <wk@g10code.com>
* gpgme.texi (I/O Callback Example): Typo fix.
@item GPGME_PROTOCOL_CMS
This specifies the Cryptographic Message Syntax.
+
+@item GPGME_PROTOCOL_UNKNOWN
+Reserved for future extension. You may use this to indicate that the
+used protocol is not known to the application. Currently,
+@acronym{GPGME} does not accept this value in any operation, though,
+except for @code{gpgme_get_protocol_name}.
@end table
@end deftp
2007-09-27 Marcus Brinkmann <marcus@g10code.de>
+ * gpgme.h (gpgme_protocol_t): Add GPGME_PROTOCOL_UNKNOWN.
+ * gpgme.c (gpgme_get_protocol_name): Implement support for
+ GPGME_PROTOCOL_UNKNOWN.
+
* kdpipeiodevice.h: Fix last change.
* w32-glib-io.c (_gpgme_io_pipe), w32-qt-io.c (_gpgme_io_pipe),
case GPGME_PROTOCOL_CMS:
return "CMS";
+ case GPGME_PROTOCOL_UNKNOWN:
+ return "unknown";
+
default:
return NULL;
}
typedef enum
{
GPGME_PROTOCOL_OpenPGP = 0, /* The default mode. */
- GPGME_PROTOCOL_CMS = 1
+ GPGME_PROTOCOL_CMS = 1,
+ GPGME_PROTOCOL_UNKNOWN = 255
}
gpgme_protocol_t;