diff options
| author | Ben Hood <0x6e6562@gmail.com> | 2008-09-14 21:33:23 +0100 |
|---|---|---|
| committer | Ben Hood <0x6e6562@gmail.com> | 2008-09-14 21:33:23 +0100 |
| commit | 16c5b611e6c6e9e0f3123babc7e9359d6651dba9 (patch) | |
| tree | addb92dd27d0ae31b8ea39e7f4e23f0ee93e003e /include | |
| parent | d6960cf5af9ef65d0212643cae25e40ce2b49951 (diff) | |
| download | rabbitmq-server-git-16c5b611e6c6e9e0f3123babc7e9359d6651dba9.tar.gz | |
Changed key type into binding_key and moved it to rabbit_framing_spec header file
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 3 | ||||
| -rw-r--r-- | include/rabbit_framing_spec.hrl | 1 |
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()). |
