-define(UINT_MAX, 16#ff_ff_ff_ff).

% [1.6.5]
-type uint() :: 0..?UINT_MAX.

% [2.3.1]
-define(FRAME_HEADER_SIZE, 8).

% [2.8.4]
-type link_handle() :: uint().
% [2.8.8]
-type delivery_number() :: sequence_no().
% [2.8.9]
-type transfer_number() :: sequence_no().
% [2.8.10]
-type sequence_no() :: uint().

% [2.8.1]
-define(AMQP_ROLE_SENDER, false).
-define(AMQP_ROLE_RECEIVER, true).

% [2.8.2]
-type snd_settle_mode() :: unsettled | settled | mixed.
% [2.8.3]
-type rcv_settle_mode() :: first | second.

% [3.2.16]
-define(MESSAGE_FORMAT, 0).
