summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 06297c69f3..cff17e080a 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, {user, timeout_sec, frame_max, vhost, client_properties,
+ protocol}).
-record(content,
{class_id,
@@ -173,6 +174,7 @@
explanation :: string(),
method :: atom()}).
+-type(protocol() :: atom()).
-endif.
%%----------------------------------------------------------------------------