summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorVlad Alexandru Ionescu <vlad@rabbitmq.com>2010-08-26 18:46:36 +0100
committerVlad Alexandru Ionescu <vlad@rabbitmq.com>2010-08-26 18:46:36 +0100
commit766295ae1ff8e59b61c93b345624eda3f146e9f4 (patch)
tree4bcaccb401e6e9928a85be849d24e59b83ba72ad /include/rabbit.hrl
parent9398957b19e81628d057fd7ea2d7a0eb4630ab1f (diff)
downloadrabbitmq-server-766295ae1ff8e59b61c93b345624eda3f146e9f4.tar.gz
implementing topic routing with tries; adding better test for topic routing
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index b9abd788..210709b9 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -63,6 +63,12 @@
-record(binding, {exchange_name, key, queue_name, args = []}).
-record(reverse_binding, {queue_name, key, exchange_name, 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, queue_name}).
+
-record(listener, {node, protocol, host, port}).
-record(basic_message, {exchange_name, routing_key, content, guid,