summaryrefslogtreecommitdiff
path: root/src/err.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-10-16 16:05:34 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-16 16:05:34 +0200
commit72b15a6dae6c199d847ebde5ac73de238f0ebf75 (patch)
treea94f630b5989bd6243f3a1ebf4d48df053e3772c /src/err.hpp
parent61d38fbeed89d69516b9976c60b7711fefed6411 (diff)
Implementation of zmq_strerror moved from zmq.cpp to err.cpp
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/err.hpp')
-rw-r--r--src/err.hpp9
1 files changed, 6 insertions, 3 deletions
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 <netdb.h>
#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.