core: Add gpgme_data_set_flag to add more meta data to data objects.
authorWerner Koch <wk@gnupg.org>
Fri, 12 Aug 2016 13:21:16 +0000 (15:21 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 12 Aug 2016 13:21:42 +0000 (15:21 +0200)
commit293d1736911fd5e77b8cec305168b35b2420c612
treefb8b9d18eff489ee673c4f4f1224ca3fe2ffecac
parent06e601ad1a169ec8e941125afe698e722eca657d
core: Add gpgme_data_set_flag to add more meta data to data objects.

* src/gpgme.h.in (gpgme_data_set_flag): New public function.
* src/data.c (gpgme_data_set_flag): New.
(_gpgme_data_get_size_hint): New.
* src/data.h (strucy gpgme_data): Add field 'size_hint'.
* src/gpgme.def, src/libgpgme.vers: Add new function.
* src/conversion.c (_gpgme_string_to_off): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
NEWS
src/conversion.c
src/data.c
src/data.h
src/gpgme.def
src/gpgme.h.in
src/libgpgme.vers
src/util.h