summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Harrop <rob@rabbitmq.com>2011-02-25 16:02:17 +0000
committerRob Harrop <rob@rabbitmq.com>2011-02-25 16:02:17 +0000
commitb4fae0526122f5d4d221204cab4b163bc57baa0c (patch)
treeb5f678692e0ce08baa98594204ddece9f10173a7 /include
parent50aeae4f4f7469d0399dea5fa5f816895f7e115d (diff)
parentc5278e21223d8ad7af73d3b73240435019822635 (diff)
downloadrabbitmq-server-git-b4fae0526122f5d4d221204cab4b163bc57baa0c.tar.gz
Merge bug23727 into default
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl6
-rw-r--r--include/rabbit_auth_mechanism_spec.hrl1
2 files changed, 7 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 24d0f96149..b9a01735b3 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -54,6 +54,12 @@
-record(binding, {source, key, destination, args = []}).
-record(reverse_binding, {destination, key, source, args = []}).
+-record(topic_trie_edge, {trie_edge, node_id}).
+-record(topic_trie_binding, {trie_binding, value = const}).
+
+-record(trie_edge, {exchange_name, node_id, word}).
+-record(trie_binding, {exchange_name, node_id, destination}).
+
-record(listener, {node, protocol, host, ip_address, port}).
-record(basic_message, {exchange_name, routing_key, content, guid,
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()} |