summaryrefslogtreecommitdiff
path: root/src/rabbit.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-02 12:25:30 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-07-02 12:25:30 +0100
commita44454c71869a2346c7e7bd8038a711276a11110 (patch)
treeab03c262b49adf6f0cd9067e3fb38afba1a96455 /src/rabbit.erl
parentd9fa7c5806df89c4432c5618548dea605ba8da22 (diff)
downloadrabbitmq-server-git-a44454c71869a2346c7e7bd8038a711276a11110.tar.gz
moved most hard-coded types from rabbit_framing
Diffstat (limited to 'src/rabbit.erl')
-rw-r--r--src/rabbit.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index 86e00b7f28..e276cd03a6 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -42,7 +42,7 @@
-export_type([regexp/0, txn/0, thunk/1,maybe/1, info/0, info_key/0,
msg_id/0, erlang_node/0, message/0, basic_message/0,
delivery/0, content/0, decoded_content/0, encoded_content/0,
- unencoded_content/0]).
+ unencoded_content/0, vhost/0, ctag/0]).
%%---------------------------------------------------------------------------
%% Boot steps.
@@ -192,6 +192,8 @@
-type(erlang_node() :: atom()).
-type(thunk(T) :: fun(() -> T)).
-type(regexp() :: binary()).
+-type(vhost() :: binary()).
+-type(ctag() :: binary()).
%% TODO: make this more precise by tying specific class_ids to
%% specific properties