summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-06-02 15:40:26 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-06-02 15:40:26 +0100
commitc2475fe28fad0f55e32484bed76091476a419e3d (patch)
treeb387fa6fa21e9e0db3aa7d54c8ec2651f0fab217 /include
parentd03d08e75937bec437d664203c7a0ff845a3f46a (diff)
downloadrabbitmq-server-git-c2475fe28fad0f55e32484bed76091476a419e3d.tar.gz
Reduce diff from bug23554: Extend backing queue api to present reason for termination
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 1c2b94e267..295d90394f 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -32,8 +32,8 @@
-spec(stop/0 :: () -> 'ok').
-spec(init/4 :: (rabbit_types:amqqueue(), attempt_recovery(),
async_callback(), sync_callback()) -> state()).
--spec(terminate/1 :: (state()) -> state()).
--spec(delete_and_terminate/1 :: (state()) -> state()).
+-spec(terminate/2 :: (any(), state()) -> state()).
+-spec(delete_and_terminate/2 :: (any(), state()) -> state()).
-spec(purge/1 :: (state()) -> {purged_msg_count(), state()}).
-spec(publish/4 :: (rabbit_types:basic_message(),
rabbit_types:message_properties(), pid(), state()) ->