summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-09-28 22:19:29 +0100
committerMatthias Radestock <matthias@lshift.net>2008-09-28 22:19:29 +0100
commitf64385428372fc230421b559c201e2d69b0f7f9e (patch)
tree84d47b9ad723bdcbf27f0657edb4df1a3f008c43 /include/rabbit.hrl
parent358f4d29e0355c366b93790282cef6e041dc910f (diff)
downloadrabbitmq-server-git-f64385428372fc230421b559c201e2d69b0f7f9e.tar.gz
cosmetic changes and some minor refactoring
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 0ab51b363e..b089014476 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -45,12 +45,8 @@
-record(amqqueue, {name, durable, auto_delete, arguments, pid}).
-%% In the route and reverse route record definitions,
-%% theconstant field seems to be required because the
-%% underlying storage is ets, which stores key value pairs.
-%% The binding field is made up of an {Exchange, Binding, Queue}
+%% mnesia doesn't like unary records, so we add a dummy 'value' field
-record(route, {binding, value = const}).
-%% The reverse_binding field is made up of an {Queue, Binding, Exchange}
-record(reverse_route, {reverse_binding, value = const}).
-record(binding, {exchange_name, key, queue_name}).