summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEssien Ita Essien <essiene@gmail.com>2009-01-29 12:26:10 +0100
committerEssien Ita Essien <essiene@gmail.com>2009-01-29 12:26:10 +0100
commitbcb4308d58e71c4e8544c988e0a630717895cf7c (patch)
tree2e968e0326a142d8b476dffe50eb81a4d9d23fd2 /include
parent0370c95e47a65eaff8a3c3ca8c7c1904a0811d5b (diff)
parent268703e9cd1ccd4faa98dd23752a24e0336fe104 (diff)
downloadrabbitmq-server-git-bcb4308d58e71c4e8544c988e0a630717895cf7c.tar.gz
Merged with upstream
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index b6faf4f06f..c42df1eab3 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -30,7 +30,9 @@
%%
-record(user, {username, password}).
+-record(permission, {configuration, messaging}).
-record(user_vhost, {username, virtual_host}).
+-record(user_permission, {user_vhost, permission}).
-record(vhost, {virtual_host, dummy}).
@@ -77,6 +79,7 @@
-type(thunk(T) :: fun(() -> T)).
-type(info_key() :: atom()).
-type(info() :: {info_key(), any()}).
+-type(regexp() :: binary()).
%% this is really an abstract type, but dialyzer does not support them
-type(guid() :: any()).
@@ -91,6 +94,9 @@
-type(user() ::
#user{username :: username(),
password :: password()}).
+-type(permission() ::
+ #permission{configuration :: regexp(),
+ messaging :: regexp()}).
-type(amqqueue() ::
#amqqueue{name :: queue_name(),
durable :: bool(),