diff options
| author | Matthias Radestock <matthias@lshift.net> | 2010-01-27 18:29:45 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2010-01-27 18:29:45 +0000 |
| commit | 340b9dab1e3fb9a03c7addba549a04472e705750 (patch) | |
| tree | c0608c007d6a582bd017113d83d4b57c72c43a71 /include | |
| parent | e4f81545eb5ed120a85b4c8737e05568bfb641ef (diff) | |
| download | rabbitmq-server-git-340b9dab1e3fb9a03c7addba549a04472e705750.tar.gz | |
flesh out binary_generator API
...for symmetry with binary_parser and because we need it in bug 21673
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 4b157cbc46..38d8c89974 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -128,11 +128,17 @@ properties :: amqp_properties(), properties_bin :: 'none', payload_fragments_rev :: [binary()]}). +-type(unencoded_content() :: undecoded_content()). -type(decoded_content() :: #content{class_id :: amqp_class_id(), properties :: amqp_properties(), properties_bin :: maybe(binary()), payload_fragments_rev :: [binary()]}). +-type(encoded_content() :: + #content{class_id :: amqp_class_id(), + properties :: maybe(amqp_properties()), + properties_bin :: binary(), + payload_fragments_rev :: [binary()]}). -type(content() :: undecoded_content() | decoded_content()). -type(basic_message() :: #basic_message{exchange_name :: exchange_name(), |
