From 795c1240c9fb09c42bcdc45d5a8d44e6a406ee9c Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Thu, 10 May 2012 13:28:17 -0600 Subject: Add plumbing for SSL/TLS support This change abstracts out the networking functions so that the user can provide an SSL/TLS implementation. Callback functions replace `writev()`, `send()`, and `recv()` (there is also a callback for error reporting). The default interface remains unchanged. If the user wants to create a SSL/TLS connection they first negotiate the connection and then use the new function `amqp_set_sockfd_full()` to provide the networking implementation for their SSL/TLS library. The user may provide an optional pointer to data that is passed through to the networking functions. Signed-off-by: Michael Steinert --- tools/common.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tools') diff --git a/tools/common.c b/tools/common.c index 7659521..46e0a26 100644 --- a/tools/common.c +++ b/tools/common.c @@ -39,7 +39,6 @@ #endif /* needed for asnprintf */ -#define _GNU_SOURCE #include #include #include -- cgit v1.2.1