aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/include/diameter.hrl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-12-07 16:52:03 +0100
committerAnders Svensson <[email protected]>2011-12-07 16:52:03 +0100
commit6004f23e77856b8182fae699789b994e55691138 (patch)
tree9fc62fe3476321494479ade6c63d259305d6ecd5 /lib/diameter/include/diameter.hrl
parent24f0d3ee266d56cc83435401230a8bb85a0464d3 (diff)
parent1c41ee4a931c2429d35205ae04a27dd92fdd8d5a (diff)
downloadotp-6004f23e77856b8182fae699789b994e55691138.tar.gz
otp-6004f23e77856b8182fae699789b994e55691138.tar.bz2
otp-6004f23e77856b8182fae699789b994e55691138.zip
Merge branch 'anders/diameter/callback_redirection/OTP-9777'
* anders/diameter/callback_redirection/OTP-9777: Update documentation Use diameter_callback in relay and tls suites Use diameter_callback in failover suite Update app suite Smarter diameter_callback
Diffstat (limited to 'lib/diameter/include/diameter.hrl')
-rw-r--r--lib/diameter/include/diameter.hrl15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/diameter/include/diameter.hrl b/lib/diameter/include/diameter.hrl
index 0fa7fd406f..4273262015 100644
--- a/lib/diameter/include/diameter.hrl
+++ b/lib/diameter/include/diameter.hrl
@@ -107,6 +107,21 @@
transport = sctp, %% | tcp,
protocol = diameter}). %% | radius | 'tacacs+'
+%% A diameter_callback record can be specified as an application
+%% module in order to selectively receive callbacks or alter their
+%% form.
+-record(diameter_callback,
+ {peer_up,
+ peer_down,
+ pick_peer,
+ prepare_request,
+ prepare_retransmit,
+ handle_request,
+ handle_answer,
+ handle_error,
+ default,
+ extra = []}).
+
%% The diameter service and diameter_apps records are only passed
%% through the transport interface when starting a transport process,
%% although typically a transport implementation will (and probably