From 6d8cabe8f4f1abc304c60dd832e05f18f069451b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 10 Dec 2016 22:48:57 -0800 Subject: Condition variable implementation. --- src/nng.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/nng.h') 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 } -- cgit v1.2.3-70-g09d2