summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-09-12 16:49:20 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-09-12 16:49:20 +0100
commit86f2e118a1af555fd8838167c568433701cc9472 (patch)
treedf3c384fd8f885a065a20754e64ccad54fc7837e /include/rabbit.hrl
parentdac142b8e9155972fa0b148b3e3ed1ce21d3c6df (diff)
downloadrabbitmq-server-git-86f2e118a1af555fd8838167c568433701cc9472.tar.gz
exchange_name => source; consistent naming of Src{Name} and Dst{Name}, except in rabbit_exchange when we clearly are talking only about exchanges; improvements to rabbit_control so that list_bindings returns the type of the endpoints as well as the endpoint names
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 6bf6c87ebf..bce9dfa3c0 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -60,8 +60,8 @@
-record(route, {binding, value = const}).
-record(reverse_route, {reverse_binding, value = const}).
--record(binding, {exchange_name, key, destination, args = []}).
--record(reverse_binding, {destination, key, exchange_name, args = []}).
+-record(binding, {source, key, destination, args = []}).
+-record(reverse_binding, {destination, key, source, args = []}).
-record(listener, {node, protocol, host, port}).