json: Add meta command ,read to gpgme-json.
authorWerner Koch <wk@gnupg.org>
Wed, 18 Apr 2018 07:26:33 +0000 (09:26 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 18 Apr 2018 07:26:33 +0000 (09:26 +0200)
commite69b175e8ed5430b56e2e8f3d68c16a45f0fed17
tree5a2070321970acd95ed6b0f5901467f99d0f6ae6
parent01435da498af9f7538d7ee810392d7eaa407957e
json: Add meta command ,read to gpgme-json.

* src/gpgme-json.c: Include stat.h.
(get_file): New.
(process_meta_commands): Implement ",read".

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