diff options
author | Michael Steinert <mike.steinert@gmail.com> | 2012-05-24 17:41:36 -0600 |
---|---|---|
committer | Michael Steinert <mike.steinert@gmail.com> | 2012-05-27 10:39:57 -0600 |
commit | 5b2585dc118f3db07a70575da47503e24986f8e9 (patch) | |
tree | 4d68627311e1aa0b23e1e257d3e4ba52dc3623a1 /librabbitmq/amqp_private.h | |
parent | ec9f03ce615713acfa1f2fb4a6da42a8c972e6e6 (diff) | |
download | rabbitmq-c-github-ask-5b2585dc118f3db07a70575da47503e24986f8e9.tar.gz |
Implement SSL/TLS over CyaSSL, GnuTLS, OpenSSL & PolarSSL backends
Signed-off-by: Michael Steinert <mike.steinert@gmail.com>
Diffstat (limited to 'librabbitmq/amqp_private.h')
-rw-r--r-- | librabbitmq/amqp_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h index 192cbba..d0a5dac 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -48,10 +48,10 @@ * (i.e. where its number comes from) in the top bits of the number * (assuming that an int has at least 32 bits). */ -#define ERROR_CATEGORY_MASK (1 << 29) - #define ERROR_CATEGORY_CLIENT (0 << 29) /* librabbitmq error codes */ #define ERROR_CATEGORY_OS (1 << 29) /* OS-specific error codes */ +#define ERROR_CATEGORY_SSL (1 << 28) /* SSL-specific error codes */ +#define ERROR_CATEGORY_MASK (ERROR_CATEGORY_OS | ERROR_CATEGORY_SSL) /* librabbitmq error codes */ #define ERROR_NO_MEMORY 1 |