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
commit62f021010858ec2c4a3e5f555968b0dc68305ebc (patch)
treeb4c7829f6859032880337eb741ea4521acc945d4 /include
parent17f996b9df7c8b9661b5edc8f2f90b6ca919099a (diff)
downloadrabbitmq-server-git-62f021010858ec2c4a3e5f555968b0dc68305ebc.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 706a92af7a..267e018b44 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()).