summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_private.h
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-04-25 22:11:44 +0100
committerTony Garnock-Jones <tonyg@kcbbs.gen.nz>2009-04-25 22:11:44 +0100
commitaf9315c575b8788b28bb3c5d959a9462b12b9a15 (patch)
tree615ddf61ed58796bcbeb32dc9165f9c2fd925582 /librabbitmq/amqp_private.h
parent67970c9c56ebd49b57e61d50255b04fa1ac7d27d (diff)
downloadrabbitmq-c-github-ask-af9315c575b8788b28bb3c5d959a9462b12b9a15.tar.gz
More work
Diffstat (limited to 'librabbitmq/amqp_private.h')
-rw-r--r--librabbitmq/amqp_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h
index 4f6628d..7a874e2 100644
--- a/librabbitmq/amqp_private.h
+++ b/librabbitmq/amqp_private.h
@@ -6,6 +6,12 @@ extern "C" {
#endif
struct amqp_connection_state_t_ {
+ amqp_pool_t pool;
+ amqp_bytes_t inbound_buffer;
+ amqp_bytes_t outbound_buffer;
+ size_t frame_offset;
+ size_t frame_size_target; /* 0 for unknown, still waiting for header */
+ amqp_boolean_t reset_required;
};
#define CHECK_LIMIT(b, o, l, v) ({ if ((o + l) > (b).len) { return -EFAULT; } (v); })