From 0f022fce389543404f86824ed6c5720d2502cd09 Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Fri, 8 Jun 2012 15:38:22 -0600 Subject: Propose new socket API The general idea is to have a non-instantiable socket base class. Connection-specific sub-classes provide a constructor and methods for modifying connection parameters. `amqp_socket_close()` is the destructor. Signed-off-by: Michael Steinert --- examples/utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'examples/utils.h') diff --git a/examples/utils.h b/examples/utils.h index 2e7b15f..dea86da 100644 --- a/examples/utils.h +++ b/examples/utils.h @@ -37,6 +37,7 @@ * ***** END LICENSE BLOCK ***** */ +void die(const char *fmt, ...); extern void die_on_error(int x, char const *context); extern void die_on_amqp_error(amqp_rpc_reply_t x, char const *context); -- cgit v1.2.1