From 8579091c4f6a36e6bb06fcfbd147a776166fd3ea Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 9 Aug 2013 19:19:26 +0200 Subject: Add function gpgme_data_identify. * src/gpgme.h.in (gpgme_data_type_t): New. (gpgme_data_identify): New prototype. * src/data-identify.c: New. * src/parsetlv.c, src/parsetlv.h: New. Take from gpa. * src/libgpgme.vers, src/gpgme.def: Add gpgme_data_identify. * src/gpgme-tool.c (status): Add STATUS_IDENTIFY_RESULT. (gt_identify): New. (cmd_identify): New. (hlp_passwd): Move close to cmd_passwd. -- It is often useful to have a way to identify the data which needs processing. This is such a common task that it makes sense to implement this in gpgme to avoid diverging implementations. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5c871dd8..8f700fde 100644 --- a/NEWS +++ b/NEWS @@ -7,9 +7,13 @@ Noteworthy changes in version 1.4.3 (unreleased) * Under Windows the default engines names are first searched in the installation directory of the gpgme DLL. + * New function gpgme_data_identify to detect the type of a message. + * Interface changes relative to the 1.4.2 release: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gpgme_signers_count NEW. + gpgme_data_type_t NEW. + gpgme_data_identify NEW. Noteworthy changes in version 1.4.2 (2013-05-28) -- cgit v1.2.3