diff options
author | Werner Koch <[email protected]> | 2020-06-26 13:24:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-06-26 13:25:27 +0000 |
commit | 3413489d25577e3fe7f529b8e610a45d2bd1857c (patch) | |
tree | 466a62f1a7cb34d8811a01f868157f30e370985e /src/gpgrt-int.h | |
parent | build: Fix the gpg-error-config test for cross build. (diff) | |
download | libgpg-error-3413489d25577e3fe7f529b8e610a45d2bd1857c.tar.gz libgpg-error-3413489d25577e3fe7f529b8e610a45d2bd1857c.zip |
estream: Add gpgrt_fcancel
* src/estream.c (do_close): Add arg 'cancel_mode' and chnage all
callers.
(_gpgrt_fcancel): New.
* src/gpg-error.def.in, src/gpg-error.vers: Add function.
* src/visibility.c (gpgrt_fcancel): New.
* src/gpg-error.h.in (gpgrt_fcancel): New.
--
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/gpgrt-int.h')
-rw-r--r-- | src/gpgrt-int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgrt-int.h b/src/gpgrt-int.h index 629f527..913b9ba 100644 --- a/src/gpgrt-int.h +++ b/src/gpgrt-int.h @@ -339,6 +339,7 @@ gpgrt_stream_t _gpgrt_fopencookie (void *_GPGRT__RESTRICT cookie, const char *_GPGRT__RESTRICT mode, gpgrt_cookie_io_functions_t functions); int _gpgrt_fclose (gpgrt_stream_t stream); +int _gpgrt_fcancel (gpgrt_stream_t stream); int _gpgrt_fclose_snatch (gpgrt_stream_t stream, void **r_buffer, size_t *r_buflen); int _gpgrt_onclose (gpgrt_stream_t stream, int mode, |