From 3413489d25577e3fe7f529b8e610a45d2bd1857c Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 26 Jun 2020 15:24:43 +0200 Subject: 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 --- src/gpgrt-int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpgrt-int.h') 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, -- cgit v1.2.3