Add function gpgme_data_identify.
authorWerner Koch <wk@gnupg.org>
Fri, 9 Aug 2013 17:19:26 +0000 (19:19 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 9 Aug 2013 17:19:26 +0000 (19:19 +0200)
commit8579091c4f6a36e6bb06fcfbd147a776166fd3ea
treebf1e746416e7c1378832a65329cdcbffd6070df2
parenta4c80126ae4754c8478c69a8a24a6ffd975485fc
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
doc/gpgme.texi
src/Makefile.am
src/data-identify.c [new file with mode: 0644]
src/gpgme-tool.c
src/gpgme.def
src/gpgme.h.in
src/libgpgme.vers
src/parsetlv.c [new file with mode: 0644]
src/parsetlv.h [new file with mode: 0644]