summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-09 15:37:12 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-09 15:37:12 +0100
commitdee56eb6e77d4fd719b1dfabdf3dbeaf6e1bed39 (patch)
tree058cc2edb4e226459d80475b3fd437c02f79333e /include/rabbit.hrl
parent2829795d6ed0857892cc23c161fcade87fd114cf (diff)
downloadrabbitmq-server-git-dee56eb6e77d4fd719b1dfabdf3dbeaf6e1bed39.tar.gz
All sorts of tidying, cosmetics, reorganisation and pruning. A veritable smörgåsbord of improvements.
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 35134ee7bc..d3c9ffee4b 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -84,9 +84,8 @@
-type(info_key() :: atom()).
-type(info() :: {info_key(), any()}).
-type(regexp() :: binary()).
--type(file_path() :: any()).
+-type(file_path() :: string()).
-type(io_device() :: any()).
--type(file_open_mode() :: any()).
%% this is really an abstract type, but dialyzer does not support them
-type(guid() :: binary()).
@@ -170,8 +169,6 @@
explanation :: string(),
method :: atom()}).
--type(msg() :: any()).
-
-endif.
%%----------------------------------------------------------------------------
@@ -181,9 +178,6 @@
-define(MAX_WAIT, 16#ffffffff).
--define(PERSISTENT_MSG_STORE, msg_store_persistent).
--define(TRANSIENT_MSG_STORE, msg_store_transient).
-
-define(HIBERNATE_AFTER_MIN, 1000).
-define(DESIRED_HIBERNATE, 10000).