diff options
author | David Wragg <dpw@lshift.net> | 2010-05-30 23:31:40 +0100 |
---|---|---|
committer | David Wragg <dpw@lshift.net> | 2010-05-30 23:31:40 +0100 |
commit | 2347dc9977d3bf0c9ed19f7ed3a905eb4e65fa46 (patch) | |
tree | 56b6486c279997736c61a5b3fe6661caadb7d352 /librabbitmq/amqp.h | |
parent | 76e825b388c6c3b65ef238a245748f38d3f1c1fc (diff) | |
download | rabbitmq-c-github-ask-2347dc9977d3bf0c9ed19f7ed3a905eb4e65fa46.tar.gz |
Add amqp_end_connection, which closes the socket and destroys the connection
Diffstat (limited to 'librabbitmq/amqp.h')
-rw-r--r-- | librabbitmq/amqp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h index 139de5d..b67d6c8 100644 --- a/librabbitmq/amqp.h +++ b/librabbitmq/amqp.h @@ -310,6 +310,7 @@ extern int amqp_tune_connection(amqp_connection_state_t state, int heartbeat); int amqp_get_channel_max(amqp_connection_state_t state); extern void amqp_destroy_connection(amqp_connection_state_t state); +extern int amqp_end_connection(amqp_connection_state_t state); extern int amqp_handle_input(amqp_connection_state_t state, amqp_bytes_t received_data, |