core: New public enum gpgme_keyorg_t.
authorWerner Koch <wk@gnupg.org>
Thu, 24 Aug 2017 12:21:15 +0000 (14:21 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 24 Aug 2017 14:20:51 +0000 (16:20 +0200)
commit9bde9144f0c2d0087799511e9b041dc945a4cfa8
tree768790cb29da24b343ae889d8484105e768b388c
parent91e47d71652bd0f83b51089c343c3c4836bdfa8a
core: New public enum gpgme_keyorg_t.

* src/gpgme.h.in (gpgme_keyorg_t): New.
* src/keylist.c (parse_keyorg): New.
(keylist_colon_handler): Set key->ORIGIN.
--

This finally set the key origin value form data supplied by recent gpg
versions.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/gpgme.h.in
src/keylist.c