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.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/visibility.h') diff --git a/src/visibility.h b/src/visibility.h index feeb8d1..35878d7 100644 --- a/src/visibility.h +++ b/src/visibility.h @@ -87,6 +87,8 @@ MARK_VISIBLE (_gpgrt_get_std_stream) MARK_VISIBLE (gpgrt_flockfile) MARK_VISIBLE (gpgrt_ftrylockfile) MARK_VISIBLE (gpgrt_funlockfile) +MARK_VISIBLE (gpgrt_pending) +MARK_VISIBLE (gpgrt_pending_unlocked) MARK_VISIBLE (gpgrt_feof) MARK_VISIBLE (gpgrt_feof_unlocked) MARK_VISIBLE (gpgrt_ferror) @@ -190,6 +192,8 @@ MARK_VISIBLE (gpgrt_set_alloc_func) #define gpgrt_flockfile _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_ftrylockfile _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_funlockfile _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_pending _gpgrt_USE_UNDERSCORED_FUNCTION +#define gpgrt_pending_unlocked _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_feof _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_feof_unlocked _gpgrt_USE_UNDERSCORED_FUNCTION #define gpgrt_ferror _gpgrt_USE_UNDERSCORED_FUNCTION -- cgit v1.2.3