summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-02-22 14:41:24 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-02-22 14:41:24 +0000
commit41ea356685cc968cb7e837742c1d89fae0fe7024 (patch)
treec21c26b0329a000a905ca70e59518d45a3b9e85a /include
parent1adca902568cc3ff578cb42c1988bf1bc755787e (diff)
downloadrabbitmq-server-git-41ea356685cc968cb7e837742c1d89fae0fe7024.tar.gz
Revert d3fd719c5287 (Remove should_offer/1).
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_auth_mechanism_spec.hrl1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rabbit_auth_mechanism_spec.hrl b/include/rabbit_auth_mechanism_spec.hrl
index 49614d5f9c..614a3eed07 100644
--- a/include/rabbit_auth_mechanism_spec.hrl
+++ b/include/rabbit_auth_mechanism_spec.hrl
@@ -17,6 +17,7 @@
-ifdef(use_specs).
-spec(description/0 :: () -> [{atom(), any()}]).
+-spec(should_offer/1 :: (rabbit_net:socket()) -> boolean()).
-spec(init/1 :: (rabbit_net:socket()) -> any()).
-spec(handle_response/2 :: (binary(), any()) ->
{'ok', rabbit_types:user()} |