diff options
author | Ben Hood <0x6e6562@gmail.com> | 2008-08-25 17:26:37 +0100 |
---|---|---|
committer | Ben Hood <0x6e6562@gmail.com> | 2008-08-25 17:26:37 +0100 |
commit | 474cfe36692ea4aa15a00842e10052a280ca0afd (patch) | |
tree | 8a0f32bc5f5e56661a65848763cdd6458bd47f76 /include | |
parent | 56bc3187ca206a30aafbc06df94d82d5513eb20d (diff) | |
download | rabbitmq-server-474cfe36692ea4aa15a00842e10052a280ca0afd.tar.gz |
Cleanup rabbit_exchange a bit
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 418d6521..c23c5664 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -78,6 +78,7 @@ name :: name()}). -type(queue_name() :: r('queue')). -type(exchange_name() :: r('exchange')). +-type(key() :: binary()). -type(user() :: #user{username :: username(), password :: password()}). @@ -94,6 +95,10 @@ durable :: bool(), auto_delete :: bool(), arguments :: amqp_table()}). +-type(binding() :: + #binding{exchange_name :: exchange_name(), + queue_name :: queue_name(), + key :: key()}). %% TODO: make this more precise by tying specific class_ids to %% specific properties -type(undecoded_content() :: |