summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorPaul Jones <paulj@lshift.net>2009-08-28 15:40:18 +0100
committerPaul Jones <paulj@lshift.net>2009-08-28 15:40:18 +0100
commit3e32eb614d61b2fbaa0301250c82280c71b6f4a7 (patch)
tree502f58faaf5d681fb8287bd659791b0e174f4e45 /include/rabbit.hrl
parente7a42e3e545061309773f9ca172016181285275e (diff)
parente0c502266bdb5f0e7d6de05cae0a731c76983bc0 (diff)
downloadrabbitmq-server-git-3e32eb614d61b2fbaa0301250c82280c71b6f4a7.tar.gz
Merged default into bug17880
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 784c21b39d..d1a2f3bde1 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -64,6 +64,7 @@
-record(basic_message, {exchange_name, routing_key, content, persistent_key}).
+-record(ssl_socket, {tcp, ssl}).
-record(delivery, {mandatory, immediate, txn, sender, message}).
%%----------------------------------------------------------------------------
@@ -74,7 +75,8 @@
-type(maybe(T) :: T | 'none').
-type(erlang_node() :: atom()).
--type(socket() :: port()).
+-type(ssl_socket() :: #ssl_socket{}).
+-type(socket() :: port() | ssl_socket()).
-type(thunk(T) :: fun(() -> T)).
-type(info_key() :: atom()).
-type(info() :: {info_key(), any()}).