summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl3
-rw-r--r--include/rabbit_framing_spec.hrl1
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index e0c33a4fee..63a29fd501 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -81,7 +81,6 @@
name :: name()}).
-type(queue_name() :: r('queue')).
-type(exchange_name() :: r('exchange')).
--type(key() :: binary()).
-type(user() ::
#user{username :: username(),
password :: password()}).
@@ -100,7 +99,7 @@
-type(binding() ::
#binding{exchange_name :: exchange_name(),
queue_name :: queue_name(),
- key :: key()}).
+ key :: binding_key()}).
%% TODO: make this more precise by tying specific class_ids to
%% specific properties
-type(undecoded_content() ::
diff --git a/include/rabbit_framing_spec.hrl b/include/rabbit_framing_spec.hrl
index ef9ab58487..7135a75d82 100644
--- a/include/rabbit_framing_spec.hrl
+++ b/include/rabbit_framing_spec.hrl
@@ -53,3 +53,4 @@
-type(vhost() :: binary()).
-type(ctag() :: binary()).
-type(exchange_type() :: 'direct' | 'topic' | 'fanout').
+-type(binding_key() :: binary()).