From 72b15a6dae6c199d847ebde5ac73de238f0ebf75 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 16 Oct 2010 16:05:34 +0200 Subject: Implementation of zmq_strerror moved from zmq.cpp to err.cpp Signed-off-by: Martin Sustrik --- src/err.hpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/err.hpp') diff --git a/src/err.hpp b/src/err.hpp index 2b76569..a31eb9b 100644 --- a/src/err.hpp +++ b/src/err.hpp @@ -35,15 +35,18 @@ #include #endif +namespace zmq +{ + const char *errno_to_string (int errno_); +} + #ifdef ZMQ_HAVE_WINDOWS namespace zmq { - const char *wsa_error (); void win_error (char *buffer_, size_t buffer_size_); - void wsa_error_to_errno (); - + void wsa_error_to_errno (); } // Provides convenient way to check WSA-style errors on Windows. -- cgit v1.2.3