summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-14 12:05:05 +0000
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-14 12:05:05 +0000
commit12eea5e00a656f2dda3888ff089f7c4d47acb40c (patch)
tree82ab6fb66a67644e17cb7048ea83b9064530ccdf /include
parent62facff84cb5aee19de9385d618fcea3ef622218 (diff)
downloadrabbitmq-server-12eea5e00a656f2dda3888ff089f7c4d47acb40c.tar.gz
amqqueue_process re-publishes with confirms
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 1e870bb7..602f598e 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -48,14 +48,14 @@
rabbit_types:message_properties(), pid(), state())
-> {undefined, state()}).
-spec(drain_confirmed/1 :: (state()) -> {[rabbit_guid:guid()], state()}).
--spec(dropwhile/3 ::
+-spec(dropwhile/4 ::
(fun ((rabbit_types:message_properties()) -> boolean()),
- msg_fun(), state())
- -> state()).
+ msg_fun(), non_neg_integer(), state())
+ -> {non_neg_integer(), state()}).
-spec(fetch/2 :: (true, state()) -> {fetch_result(ack()), state()};
(false, state()) -> {fetch_result(undefined), state()}).
--spec(ack/3 :: ([ack()], msg_fun(), state()) ->
- {[rabbit_guid:guid()], state()}).
+-spec(ack/4 :: ([ack()], msg_fun(), non_neg_integer(), state()) ->
+ {[rabbit_guid:guid()], non_neg_integer(), state()}).
-spec(requeue/2 :: ([ack()], state())
-> {[rabbit_guid:guid()], state()}).
-spec(len/1 :: (state()) -> non_neg_integer()).