diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-10-25 22:21:29 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-10-25 22:21:29 +0100 |
commit | a3609bcb7c7ada5b3706a83e097a4950074bb6d3 (patch) | |
tree | 0ac9190a65bcaa3ddbcdacd047f1399ca9b8ff3b /include | |
parent | 537dee5bc96fda480a9811368928270e0e89fc6b (diff) | |
parent | 5fc27ddfe468be603804df4c7a49e2831b8c3f00 (diff) | |
download | rabbitmq-server-a3609bcb7c7ada5b3706a83e097a4950074bb6d3.tar.gz |
merge from default
Diffstat (limited to 'include')
-rw-r--r-- | include/rabbit.hrl | 7 | ||||
-rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index ae672fc9..df22b573 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -69,12 +69,13 @@ is_persistent}). -record(ssl_socket, {tcp, ssl}). --record(delivery, {mandatory, immediate, txn, sender, message}). --record(amqp_error, {name, explanation = "", method = none}). +-record(delivery, {mandatory, immediate, txn, sender, message, + origin, msg_seq_no}). +-record(amqp_error, {name, explanation, method = none}). -record(event, {type, props, timestamp}). --record(message_properties, {expiry}). +-record(message_properties, {expiry, needs_confirming = false}). %%---------------------------------------------------------------------------- diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 20230b24..f67c6f46 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -37,6 +37,7 @@ -type(attempt_recovery() :: boolean()). -type(purged_msg_count() :: non_neg_integer()). -type(ack_required() :: boolean()). +-type(confirm_required() :: boolean()). -type(message_properties_transformer() :: fun ((rabbit_types:message_properties()) -> rabbit_types:message_properties())). @@ -57,7 +58,7 @@ (fun ((rabbit_types:message_properties()) -> boolean()), state()) -> state()). -spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}). --spec(ack/2 :: ([ack()], state()) -> state()). +-spec(ack/2 :: ([ack()], state()) -> {[rabbit_guid:guid()], state()}). -spec(tx_publish/4 :: (rabbit_types:txn(), rabbit_types:basic_message(), rabbit_types:message_properties(), state()) -> state()). -spec(tx_ack/3 :: (rabbit_types:txn(), [ack()], state()) -> state()). |