diff options
| author | Hubert Plociniczak <hubert@lshift.net> | 2008-09-02 13:01:19 +0100 |
|---|---|---|
| committer | Hubert Plociniczak <hubert@lshift.net> | 2008-09-02 13:01:19 +0100 |
| commit | 1fc2c35b5850f70c2ab1a68b57785a45c5a90a18 (patch) | |
| tree | ec92c440435b6faf3dac7463e594f9fb7bc8bb34 /include | |
| parent | 727f14072784dd8223503f1500623147ebafa499 (diff) | |
| download | rabbitmq-server-git-1fc2c35b5850f70c2ab1a68b57785a45c5a90a18.tar.gz | |
Better naming for types
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 2 | ||||
| -rw-r--r-- | include/rabbit_framing_spec.hrl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index b374f04702..180a0dc392 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -71,7 +71,7 @@ -type(r(Kind) :: #resource{virtual_host :: vhost(), kind :: Kind, - name :: binary_name()}). + name :: resource_name()}). -type(queue_name() :: r('queue')). -type(exchange_name() :: r('exchange')). -type(user() :: diff --git a/include/rabbit_framing_spec.hrl b/include/rabbit_framing_spec.hrl index 6bd1cd917f..e9e650929b 100644 --- a/include/rabbit_framing_spec.hrl +++ b/include/rabbit_framing_spec.hrl @@ -46,7 +46,7 @@ -type(channel_number() :: non_neg_integer()). %% TODO: make this more precise -type(amqp_error() :: {bool(), non_neg_integer(), binary()}). --type(binary_name() :: binary()). +-type(resource_name() :: binary()). -type(routing_key() :: binary()). -type(username() :: binary()). -type(password() :: binary()). |
