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
commit5592ce2dbf48b7d3171e875c775667d4dd9f8fa3 (patch)
tree52a0645464e01aa4729b0063f9360368654d6971 /include
parent574e343a38fddc7c7035de175394cd72058eeff1 (diff)
downloadrabbitmq-server-5592ce2dbf48b7d3171e875c775667d4dd9f8fa3.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 9f4f76ca..4ef13cb3 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()).