summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-11-12 23:27:12 +0000
committerMatthias Radestock <matthias@lshift.net>2008-11-12 23:27:12 +0000
commit205fbde9703430b8368d9dda788dad2c07309b12 (patch)
treeb4c7829f6859032880337eb741ea4521acc945d4 /include
parent60e744f1b38b32eb036701af4ac9d1bc1084d1e6 (diff)
downloadrabbitmq-server-205fbde9703430b8368d9dda788dad2c07309b12.tar.gz
move info types into common header file
so we can re-use them
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 706a92af..267e018b 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -66,6 +66,8 @@
-type(node() :: atom()).
-type(socket() :: port()).
-type(thunk(T) :: fun(() -> T)).
+-type(info_key() :: atom()).
+-type(info() :: {info_key(), any()}).
%% this is really an abstract type, but dialyzer does not support them
-type(guid() :: any()).