summaryrefslogtreecommitdiff
path: root/include
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
commit0e9ab79f92f700da57c0c2c96501afa853833629 (patch)
treed8ad501936a0d5f5fca5cb139a053843ad1743f3 /include
parent123a0fa618ccd5077193c6af1914664d073f835d (diff)
downloadrabbitmq-server-git-0e9ab79f92f700da57c0c2c96501afa853833629.tar.gz
Tweaked read_msg_callback to not increment RamMsgCount and cleaned it up at the same time
Diffstat (limited to 'include')
-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 0044174c49..fa90eef4b9 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').