aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-11-22 10:26:06 +0000
committerWerner Koch <[email protected]>2017-11-22 10:26:06 +0000
commite0ef8126c20216f79b7ad147c103bb2cf2790c59 (patch)
tree698adb0fdef9d1a99dc1f711c8e455a757d647fc
parentw32: Avoid unused code warning. (diff)
downloadlibgpg-error-e0ef8126c20216f79b7ad147c103bb2cf2790c59.tar.gz
libgpg-error-e0ef8126c20216f79b7ad147c103bb2cf2790c59.zip
core: Do not use the estream_t alias in gpg-error.h.
* src/gpg-error.h.in: Use gpgrt_stream_t in prototypes. -- estream_t is not necessary enabled so to keep the namespace clean. Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--src/gpg-error.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in
index 66e8d08..f157fd8 100644
--- a/src/gpg-error.h.in
+++ b/src/gpg-error.h.in
@@ -917,7 +917,7 @@ enum gpgrt_log_levels
/* The next 4 fucntions are not thread-safe - call them early. */
-void gpgrt_log_set_sink (const char *name, estream_t stream, int fd);
+void gpgrt_log_set_sink (const char *name, gpgrt_stream_t stream, int fd);
void gpgrt_log_set_socket_dir_cb (const char *(*fnc)(void));
void gpgrt_log_set_pid_suffix_cb (int (*cb)(unsigned long *r_value));
void gpgrt_log_set_prefix (const char *text, unsigned int flags);
@@ -927,7 +927,7 @@ void gpgrt_inc_errorcount (void);
const char *gpgrt_log_get_prefix (unsigned int *flags);
int gpgrt_log_test_fd (int fd);
int gpgrt_log_get_fd (void);
-estream_t gpgrt_log_get_stream (void);
+gpgrt_stream_t gpgrt_log_get_stream (void);
void gpgrt_log (int level, const char *fmt, ...) GPGRT_ATTR_PRINTF(2,3);
void gpgrt_logv (int level, const char *fmt, va_list arg_ptr);