summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_framing_spec.hrl11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/rabbit_framing_spec.hrl b/include/rabbit_framing_spec.hrl
index 447947b77b..5344695e92 100644
--- a/include/rabbit_framing_spec.hrl
+++ b/include/rabbit_framing_spec.hrl
@@ -41,11 +41,16 @@
%% we could make this more precise but ultimately are limited by
%% dialyzer's lack of support for recursive types
-type(amqp_table() :: [{binary(), amqp_field_type(), any()}]).
+%% TODO Remove this
+-type(amqp_class_id() ::
+ ( 100 | 70 | 40 | 10
+ | 110 | 80 | 50 | 20
+ | 120 | 90 | 60 | 30 )).
%% TODO: make this more precise
--type(amqp_class_id() :: non_neg_integer()).
-%% TODO: make this more precise
+%% TODO: Are these tuples of the form {P_basic_property, any()} ?
-type(amqp_properties() :: tuple()).
-%% TODO: make this more precise
+%% TODO: make this more precise I can't find any restriction on this.
+%% Should I just check if it's 16bit ?
-type(channel_number() :: non_neg_integer()).
-type(resource_name() :: binary()).
-type(routing_key() :: binary()).