From 74abfcf0c3ba7cd6ce36540c70699fc1719248b3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 2 Oct 2014 10:50:57 +0200 Subject: Add GPG_ERR_BOGUS_STRING and an experimental gpgrt_pending. * src/visibility.c (gpgrt_pending, gpgrt_pending_unlocked): New. * src/estream.c (_gpgrt_pending, _gpgrt_pending_unlocked): New. (check_pending): new. (check_pending_fbf, check_pending_nbf): New. (es_func_mem_read, es_func_fd_read, es_func_w32_read) (es_func_fp_read, es_fill): Take care of the special 0 value for SIZE. --- src/visibility.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/visibility.c') diff --git a/src/visibility.c b/src/visibility.c index f0d7fd1..f26f58c 100644 --- a/src/visibility.c +++ b/src/visibility.c @@ -297,6 +297,18 @@ gpgrt_funlockfile (estream_t stream) _gpgrt_funlockfile (stream); } +int +gpgrt_pending (estream_t stream) +{ + return _gpgrt_pending (stream); +} + +int +gpgrt_pending_unlocked (estream_t stream) +{ + return _gpgrt_pending_unlocked (stream); +} + int gpgrt_feof (estream_t stream) { -- cgit v1.2.3