diff options
author | Tony Garnock-Jones <tonygarnockjones@gmail.com> | 2010-01-09 00:18:47 +0000 |
---|---|---|
committer | Tony Garnock-Jones <tonygarnockjones@gmail.com> | 2010-01-09 00:18:47 +0000 |
commit | fc9a9bbccf1a5ea483ecffd35dd988dffa94362d (patch) | |
tree | 5538d27b11c5f9760003dc5af50702419a75053e /librabbitmq/amqp.h | |
parent | 75aceb1eebce09669bc3b354bf44168fbfbc0d3e (diff) | |
download | rabbitmq-c-github-ask-fc9a9bbccf1a5ea483ecffd35dd988dffa94362d.tar.gz |
Add amqp_bytes_t utilities.
Diffstat (limited to 'librabbitmq/amqp.h')
-rw-r--r-- | librabbitmq/amqp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h index 643fc39..45e4d63 100644 --- a/librabbitmq/amqp.h +++ b/librabbitmq/amqp.h @@ -238,6 +238,8 @@ extern void amqp_pool_alloc_bytes(amqp_pool_t *pool, size_t amount, amqp_bytes_t extern amqp_bytes_t amqp_cstring_bytes(char const *cstr); extern amqp_bytes_t amqp_bytes_malloc_dup(amqp_bytes_t src); +extern amqp_bytes_t amqp_bytes_malloc(size_t amount); +extern void amqp_bytes_free(amqp_bytes_t bytes); #define AMQP_BYTES_FREE(b) \ ({ \ |