summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPetr Gotthard <petr.gotthard@honeywell.com>2015-04-15 21:07:22 -0700
committerPetr Gotthard <petr.gotthard@honeywell.com>2015-04-15 21:07:22 -0700
commit76dacb2051e637526dccc4c0407cf42a8a40c5b4 (patch)
treec6ea8ed6c6d1f23f3d4fe378ec9a8bdd0f466079 /include
parente0ae7d1867092267a99c1e1a2fac16d7dce98dde (diff)
downloadrabbitmq-server-git-76dacb2051e637526dccc4c0407cf42a8a40c5b4.tar.gz
Implement authz_socket_info structure passed to authorization plugins.
Diffstat (limited to 'include')
-rw-r--r--include/rabbit.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 7627ed431e..b4afddeef1 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -23,6 +23,8 @@
-record(auth_user, {username,
tags,
impl}).
+%% Passed to authz backends.
+-record(authz_socket_info, {sockname, peername}).
%% Implementation for the internal auth backend
-record(internal_user, {username, password_hash, tags}).