summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-08-26 16:07:11 +0100
committerMatthew Sackman <matthew@lshift.net>2009-08-26 16:07:11 +0100
commit1b9f4af11f2ba425e71b01368afa7197a0ee6902 (patch)
tree8542edefe8608d5a5960dc2c4809b6d706851c80 /include/rabbit.hrl
parent65cb1da3f4fe3a018144b69c41832ecb55841906 (diff)
downloadrabbitmq-server-git-1b9f4af11f2ba425e71b01368afa7197a0ee6902.tar.gz
pushed the encoding of the properties into the binary_generator. Plus associated types and changes to MQ.
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 0ba31cb5e9..06564290e8 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -127,11 +127,17 @@
properties :: amqp_properties(),
properties_bin :: 'none',
payload_fragments_rev :: [binary()]}).
+-type(unencoded_content() :: undecoded_content()).
-type(decoded_content() ::
#content{class_id :: amqp_class_id(),
properties :: amqp_properties(),
properties_bin :: maybe(binary()),
payload_fragments_rev :: [binary()]}).
+-type(encoded_content() ::
+ #content{class_id :: amqp_class_id(),
+ properties :: maybe(amqp_properties()),
+ properties_bin :: binary(),
+ payload_fragments_rev :: [binary()]}).
-type(content() :: undecoded_content() | decoded_content()).
-type(basic_message() ::
#basic_message{exchange_name :: exchange_name(),