aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-10 22:48:57 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-10 22:48:57 -0800
commit6d8cabe8f4f1abc304c60dd832e05f18f069451b (patch)
treefe43d68bb4fb4357b60cb5d85b15de7736ea08ff /src/nng.h
parent6a7f5a2a113cd63add78ad72601683529899b2ed (diff)
downloadnng-6d8cabe8f4f1abc304c60dd832e05f18f069451b.tar.gz
nng-6d8cabe8f4f1abc304c60dd832e05f18f069451b.tar.bz2
nng-6d8cabe8f4f1abc304c60dd832e05f18f069451b.zip
Condition variable implementation.
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nng.h b/src/nng.h
index 1075b95a..16596fa6 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -415,9 +415,11 @@ NNG_DECL int nng_device(nng_socket_t, nng_socket_t);
* Error codes. These may happen to align to errnos used on your platform,
* but do not count on this.
*/
-#define NNG_ENOMEM (-2)
-#define NNG_EINVAL (-3)
-#define NNG_EBUSY (-4)
+#define NNG_ENOMEM (-2)
+#define NNG_EINVAL (-3)
+#define NNG_EBUSY (-4)
+#define NNG_ETIMEDOUT (-5)
+#define NNG_ECONNREFUSED (-6)
#ifdef __cplusplus
}