diff options
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() :: |