summaryrefslogtreecommitdiff
path: root/include/rabbit_backing_queue_spec.hrl
diff options
context:
space:
mode:
authorRob Harrop <rob@rabbitmq.com>2011-06-20 14:16:02 +0100
committerRob Harrop <rob@rabbitmq.com>2011-06-20 14:16:02 +0100
commit736f88b1ef60ad3ed2f5e606ff457f508f8425c2 (patch)
treed8ad501936a0d5f5fca5cb139a053843ad1743f3 /include/rabbit_backing_queue_spec.hrl
parent7a37aa6720dc1805568e856e5db5d2840ce33be6 (diff)
downloadrabbitmq-server-736f88b1ef60ad3ed2f5e606ff457f508f8425c2.tar.gz
Tweaked read_msg_callback to not increment RamMsgCount and cleaned it up at the same time
Diffstat (limited to 'include/rabbit_backing_queue_spec.hrl')
-rw-r--r--include/rabbit_backing_queue_spec.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 0044174c..fa90eef4 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -28,12 +28,12 @@
-type(async_callback() :: fun ((atom(), fun ((atom(), state()) -> state())) -> 'ok')).
-type(sync_callback() :: fun ((atom(), fun ((atom(), state()) -> state())) -> 'ok' | 'error')).
--type(msg_lookup_result() :: {rabbit_types:basic_message(), {any(), state()}}).
+-type(msg_lookup_result() :: {rabbit_types:basic_message(), state()}).
--type(msg_lookup_fun() :: fun((any(), state()) -> msg_lookup_result())).
+-type(msg_lookup_fun() :: fun((state()) -> msg_lookup_result())).
-type(msg_lookup_callback() ::
- fun((msg_lookup_fun(), {A, state()}) -> {A, state()})).
+ fun((msg_lookup_fun(), state()) -> state())).
-spec(start/1 :: ([rabbit_amqqueue:name()]) -> 'ok').
-spec(stop/0 :: () -> 'ok').