aboutsummaryrefslogtreecommitdiffstats
path: root/src/visibility.h
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.h
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.h')
-rw-r--r--src/visibility.h4
1 files changed, 4 insertions, 0 deletions
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