summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-03-08 13:01:14 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2011-03-08 13:01:14 +0000
commitb3ed57b031b51b1c01819064a38e337fc2860abc (patch)
tree52a0645464e01aa4729b0063f9360368654d6971 /include
parent048c0fe1a76edb282a69b52c7f42305bf9f0470e (diff)
downloadrabbitmq-server-git-b3ed57b031b51b1c01819064a38e337fc2860abc.tar.gz
add BQ:validate_message
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 9f4f76ca16..4ef13cb32f 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -68,3 +68,5 @@
-spec(status/1 :: (state()) -> [{atom(), any()}]).
-spec(invoke/3 :: (atom(), fun ((A) -> A), state()) ->
{[rabbit_guid:guid()], state()}).
+-spec(validate_message/2 ::
+ (rabbit_types:basic_message(), state()) -> boolean()).