diff options
| author | Ben Hood <0x6e6562@gmail.com> | 2009-01-22 13:47:46 +0000 |
|---|---|---|
| committer | Ben Hood <0x6e6562@gmail.com> | 2009-01-22 13:47:46 +0000 |
| commit | 25964d18a56f65e94b64dace82bb409e64dab4e9 (patch) | |
| tree | a785b370cc61158e63b198e75ad7757b75de90d4 /include | |
| parent | 33d0c4627618c5fbde6b2a85483ed038f4dba293 (diff) | |
| parent | f02d49ed637a9033ea0dd841522ea6417be34375 (diff) | |
| download | rabbitmq-server-git-25964d18a56f65e94b64dace82bb409e64dab4e9.tar.gz | |
Merged 20173 into default
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index d07aeaf845..8aba8a6fb6 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}). @@ -74,6 +76,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()). @@ -88,6 +91,9 @@ -type(user() :: #user{username :: username(), password :: password()}). +-type(permission() :: + #permission{configuration :: regexp(), + messaging :: regexp()}). -type(amqqueue() :: #amqqueue{name :: queue_name(), durable :: bool(), |
