aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-12-06 18:46:03 +0100
committerAnders Svensson <[email protected]>2011-12-06 19:02:52 +0100
commit1c41ee4a931c2429d35205ae04a27dd92fdd8d5a (patch)
treed7c47a50ef58120806d394a2aca6dddfc34a95bf /lib/diameter
parent650104cf38cb259c5488bf1e9a086685388be14a (diff)
downloadotp-1c41ee4a931c2429d35205ae04a27dd92fdd8d5a.tar.gz
otp-1c41ee4a931c2429d35205ae04a27dd92fdd8d5a.tar.bz2
otp-1c41ee4a931c2429d35205ae04a27dd92fdd8d5a.zip
Update documentation
Diffstat (limited to 'lib/diameter')
-rw-r--r--lib/diameter/doc/src/diameter.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index 2d8edb1301..93e2603c10 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -107,7 +107,9 @@ belonging to the application.</p>
<marker id="application_module"/>
</item>
-<tag><c>application_module() = Mod | [Mod | ExtraArgs]</c></tag>
+<tag><c>application_module() = Mod
+ | [Mod | ExtraArgs]
+ | #diameter_callback{}</c></tag>
<item>
<code>
Mod = atom()
@@ -125,6 +127,14 @@ specified to <seealso marker="#call">call/4</seealso>, in which case
the call-specific arguments are appended to any specified with the
callback module.</p>
+<p>
+Specifying a <c>#diameter_callback{}</c> record allows individual
+functions to be configured in place of the usual <seealso
+marker="diameter_app">diameter_app(3)</seealso> callbacks, with
+default implementations provided by module <c>diameter_callback</c>
+unless otherwise specified.
+See that module for details.</p>
+
<marker id="application_opt"/>
</item>