summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-02 14:51:24 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-02 14:51:24 +0100
commit949b4e5e187083dea6a28375b3878aa751bc7b8d (patch)
treec794c9c061f82b9439528ff76a4b17432297cb0d /include/rabbit.hrl
parent43420d3dc8a4eaa0d4be08ab5f63c110cb2ad640 (diff)
parent2efd9f8a2a2b167b21fc22b427613564b0bf6807 (diff)
downloadrabbitmq-server-git-949b4e5e187083dea6a28375b3878aa751bc7b8d.tar.gz
A ginormous amount of debitrotting, rewriting, debugging and refactoring to merge default into bug 15930
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 3fd525686b..6364d60f01 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -36,7 +36,8 @@
-record(vhost, {virtual_host, dummy}).
--record(connection, {user, timeout_sec, frame_max, vhost, client_properties}).
+-record(connection, {protocol, user, timeout_sec, frame_max, vhost,
+ client_properties}).
-record(content,
{class_id,
@@ -44,6 +45,7 @@
properties_bin, %% either 'none', or an encoded properties binary
%% Note: at most one of properties and properties_bin can be
%% 'none' at once.
+ protocol, %% The protocol under which properties_bin was encoded
payload_fragments_rev %% list of binaries, in reverse order (!)
}).
@@ -74,6 +76,7 @@
-define(COPYRIGHT_MESSAGE, "Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.").
-define(INFORMATION_MESSAGE, "Licensed under the MPL. See http://www.rabbitmq.com/").
+-define(PROTOCOL_VERSION, "AMQP 0-9-1 / 0-9 / 0-8").
-define(ERTS_MINIMUM, "5.6.3").
-define(MAX_WAIT, 16#ffffffff).