Home GnuPG
Diffusion GPGME d19bea52afe6

core: Un-deprecate gpgme_data_rewind.
d19bea52afe6Unpublished

Unpublished Commit · Learn More

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

Description

core: Un-deprecate gpgme_data_rewind.

* src/gpgme.h.in (gpgme_data_rewind): Un-deprecate.
* src/data-compat.c (gpgme_data_rewind): Move to ...
* src/data.c (gpgme_data_rewind): here.

That function is very convenient because it is required a lot with
memory streams. It also documents the intention of the caller better
than gpgme_data_seek with its addition parameters and the need to map
system errors. Thus it does not make sense to make it a first class
citizen again.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 2 2017, 9:50 AM
Parents
rM9b7d81998b73: core: Move all deprecated stuff to the end of gpgme.h.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rMd19bea52afe6: core: Un-deprecate gpgme_data_rewind. (authored by Werner Koch <wk@gnupg.org>).Feb 2 2017, 9:53 AM