summaryrefslogtreecommitdiff
path: root/src/gpg-error.h.in
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2017-11-22 11:26:06 +0100
committerWerner Koch <wk@gnupg.org>2017-11-22 11:26:06 +0100
commite0ef8126c20216f79b7ad147c103bb2cf2790c59 (patch)
tree698adb0fdef9d1a99dc1f711c8e455a757d647fc /src/gpg-error.h.in
parenta950326d20990fa33cee637d5b54d708fff585b2 (diff)
downloadlibgpg-error-e0ef8126c20216f79b7ad147c103bb2cf2790c59.tar.gz
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 <wk@gnupg.org>
Diffstat (limited to 'src/gpg-error.h.in')
-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);