diff options
author | Werner Koch <[email protected]> | 2013-08-09 17:19:26 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-08-09 17:19:26 +0000 |
commit | 8579091c4f6a36e6bb06fcfbd147a776166fd3ea (patch) | |
tree | bf1e746416e7c1378832a65329cdcbffd6070df2 /src/libgpgme.vers | |
parent | Prefer GnuPG-2 engines over GnuPG-1. (diff) | |
download | gpgme-8579091c4f6a36e6bb06fcfbd147a776166fd3ea.tar.gz gpgme-8579091c4f6a36e6bb06fcfbd147a776166fd3ea.zip |
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.
Diffstat (limited to 'src/libgpgme.vers')
-rw-r--r-- | src/libgpgme.vers | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libgpgme.vers b/src/libgpgme.vers index 0b2e89db..fe18e6a5 100644 --- a/src/libgpgme.vers +++ b/src/libgpgme.vers @@ -29,6 +29,7 @@ GPGME_1.1 { gpgme_data_set_file_name; gpgme_data_get_file_name; + gpgme_data_identify; gpgme_sig_notation_clear; gpgme_sig_notation_add; |