Home GnuPG
Diffusion GPGME 8579091c4f6a

Add function gpgme_data_identify.
8579091c4f6aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Aug 9 2013, 7:19 PM
Parents
rMa4c80126ae47: Prefer GnuPG-2 engines over GnuPG-1.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rM8579091c4f6a: Add function gpgme_data_identify. (authored by Werner Koch <wk@gnupg.org>).Aug 9 2013, 7:19 PM