aboutsummaryrefslogtreecommitdiffstats
path: root/src/visibility.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-02 08:50:57 +0000
committerWerner Koch <[email protected]>2014-10-02 08:50:57 +0000
commit74abfcf0c3ba7cd6ce36540c70699fc1719248b3 (patch)
treea3f9a8691928cab61fe793c1ae325506b37c3122 /src/visibility.c
parentGNU calls little-endian powerpc64 powerpc64le, not powerpc64el (diff)
downloadlibgpg-error-74abfcf0c3ba7cd6ce36540c70699fc1719248b3.tar.gz
libgpg-error-74abfcf0c3ba7cd6ce36540c70699fc1719248b3.zip
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.
Diffstat (limited to 'src/visibility.c')
-rw-r--r--src/visibility.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/visibility.c b/src/visibility.c
index f0d7fd1..f26f58c 100644
--- a/src/visibility.c
+++ b/src/visibility.c
@@ -298,6 +298,18 @@ gpgrt_funlockfile (estream_t 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)
{
return _gpgrt_feof (stream);