diff options
author | Ben Hood <0x6e6562@gmail.com> | 2008-08-05 17:29:08 +0100 |
---|---|---|
committer | Ben Hood <0x6e6562@gmail.com> | 2008-08-05 17:29:08 +0100 |
commit | 3181aa765bccace82e4ffd587f256eddb56bffe9 (patch) | |
tree | 5648db4ca11da2b3bb1407679b10c1b1ce089a3f /include/rabbit.hrl | |
parent | 38b5c8861732f5ddebb48c6176b3af7e450ab536 (diff) | |
download | rabbitmq-server-3181aa765bccace82e4ffd587f256eddb56bffe9.tar.gz |
Renamed the routing fields to keep the naming conventions consistent
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r-- | include/rabbit.hrl | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 44268940..418d6521 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -31,11 +31,11 @@ -record(connection, {user, timeout_sec, frame_max, vhost}). -record(content, {class_id, - properties, %% either 'none', or a decoded record/tuple - properties_bin, %% either 'none', or an encoded properties binary - %% Note: at most one of properties and properties_bin can be 'none' at once. - payload_fragments_rev %% list of binaries, in reverse order (!) - }). + properties, %% either 'none', or a decoded record/tuple + properties_bin, %% either 'none', or an encoded properties binary + %% Note: at most one of properties and properties_bin can be 'none' at once. + payload_fragments_rev %% list of binaries, in reverse order (!) + }). -record(resource, {virtual_host, kind, name}). @@ -46,11 +46,12 @@ %% ets, which stores key value pairs %% The binding field is made up of an {Exchange, Binding, Queue} --record(forwards_binding, {binding, value = const}). -%% The binding field is made up of an {Queue, Binding, Exchange} --record(reverse_binding, {binding, value = const}). +-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, {virtual_host, exchange_name, key, queue_name}). +-record(binding, {exchange_name, key, queue_name}). +-record(reverse_binding, {queue_name, key, exchange_name}). -record(listener, {node, protocol, host, port}). @@ -80,7 +81,7 @@ -type(user() :: #user{username :: username(), password :: password()}). --type(permission() :: 'passive' | 'active' | 'write' | 'read'). +-type(permission() :: 'passive' | 'active' | 'write' | 'read'). -type(amqqueue() :: #amqqueue{name :: queue_name(), durable :: bool(), |