summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2015-01-27 13:05:31 +0000
committerSimon MacMullen <simon@rabbitmq.com>2015-01-27 13:05:31 +0000
commit05d9b5dbda524e492dfcef81ede5006c5d107da6 (patch)
tree5b018ce11fc87bcd690eeed9fa2c6060ac7cea46 /include/rabbit.hrl
parentd6453f1d044ac944eeec2b8b3196b79497b528f2 (diff)
parent0a4b964076f6a360211d36b582f1a2e9ae632490 (diff)
downloadrabbitmq-server-git-05d9b5dbda524e492dfcef81ede5006c5d107da6.tar.gz
stable to default
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 74e165cd9b..b925dffc01 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -14,12 +14,17 @@
%% Copyright (c) 2007-2014 GoPivotal, Inc. All rights reserved.
%%
+%% Passed around most places
-record(user, {username,
tags,
- auth_backend, %% Module this user came from
- impl %% Scratch space for that module
- }).
+ authz_backends}). %% List of {Module, AuthUserImpl} pairs
+%% Passed to auth backends
+-record(auth_user, {username,
+ tags,
+ impl}).
+
+%% Implementation for the internal auth backend
-record(internal_user, {username, password_hash, tags}).
-record(permission, {configure, write, read}).
-record(user_vhost, {username, virtual_host}).
@@ -83,7 +88,7 @@
is_persistent}).
-record(ssl_socket, {tcp, ssl}).
--record(delivery, {mandatory, confirm, sender, message, msg_seq_no}).
+-record(delivery, {mandatory, confirm, sender, message, msg_seq_no, flow}).
-record(amqp_error, {name, explanation = "", method = none}).
-record(event, {type, props, reference = undefined, timestamp}).