summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-07 14:20:38 +0000
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-07 14:20:38 +0000
commit5e8643f947be0e0eb07a7a1eff9b8cdbbc58f27c (patch)
tree1f31c9065e4b95fd6e76041a8f93400f4b085f85 /include
parentffbe61e27e210ae6e0002418c27f014af9ba8689 (diff)
downloadrabbitmq-server-git-5e8643f947be0e0eb07a7a1eff9b8cdbbc58f27c.tar.gz
more consistent naming
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 301f89d421..1e870bb74b 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -29,8 +29,7 @@
-type(msg_lookup_fun() :: fun((state()) -> msg_lookup_result())).
--type(msg_lookup_callback() ::
- fun((msg_lookup_fun(), state()) -> state())).
+-type(msg_fun() :: fun((msg_lookup_fun(), state()) -> state())).
-spec(start/1 :: ([rabbit_amqqueue:name()]) -> 'ok').
-spec(stop/0 :: () -> 'ok').
@@ -51,11 +50,11 @@
-spec(drain_confirmed/1 :: (state()) -> {[rabbit_guid:guid()], state()}).
-spec(dropwhile/3 ::
(fun ((rabbit_types:message_properties()) -> boolean()),
- msg_lookup_callback(), state())
+ msg_fun(), state())
-> state()).
-spec(fetch/2 :: (true, state()) -> {fetch_result(ack()), state()};
(false, state()) -> {fetch_result(undefined), state()}).
--spec(ack/3 :: ([ack()], msg_lookup_callback(), state()) ->
+-spec(ack/3 :: ([ack()], msg_fun(), state()) ->
{[rabbit_guid:guid()], state()}).
-spec(requeue/2 :: ([ack()], state())
-> {[rabbit_guid:guid()], state()}).