From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Tue, 11 Dec 2018 17:42:39 +0100
Subject: Add "since" attributes in xml for new functions and modules
introduced after OTP_R13B03.
---
lib/diameter/doc/src/diameter.xml | 28 ++++++++++++++--------------
lib/diameter/doc/src/diameter_app.xml | 18 +++++++++---------
lib/diameter/doc/src/diameter_codec.xml | 6 +++---
lib/diameter/doc/src/diameter_make.xml | 10 +++++-----
lib/diameter/doc/src/diameter_sctp.xml | 4 ++--
lib/diameter/doc/src/diameter_tcp.xml | 4 ++--
lib/diameter/doc/src/diameter_transport.xml | 4 ++--
7 files changed, 37 insertions(+), 37 deletions(-)
(limited to 'lib/diameter/doc/src')
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index dfa4c803ed..0a0194af2d 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -55,7 +55,7 @@ limitations under the License.
-diameter
+diameter
Main API of the diameter application.
@@ -1574,7 +1574,7 @@ identifies the configuration.
-add_transport(SvcName, {connect|listen, [Opt]})
+add_transport(SvcName, {connect|listen, [Opt]})
-> {ok, Ref} | {error, Reason}
Add transport capability to a service.
@@ -1624,7 +1624,7 @@ its transports.
-call(SvcName, App, Request, [Opt]) -> Answer | ok | {error, Reason}
+call(SvcName, App, Request, [Opt]) -> Answer | ok | {error, Reason}
Send a Diameter request message.
SvcName = &service_name;
@@ -1730,7 +1730,7 @@ transport connection.
-origin_state_id() -> &dict_Unsigned32;
+origin_state_id() -> &dict_Unsigned32;
Returns a reasonable Origin-State-Id.
@@ -1748,7 +1748,7 @@ at the time the diameter application was started.
-remove_transport(SvcName, Pred) -> ok | {error, Reason}
+remove_transport(SvcName, Pred) -> ok | {error, Reason}
Remove previously added transports.
SvcName = &service_name;
@@ -1795,7 +1795,7 @@ configured on the transport.
-service_info(SvcName, Info) -> term()
+service_info(SvcName, Info) -> term()
Return information about a started service.
SvcName = &service_name;
@@ -2114,7 +2114,7 @@ For example:
-services() -> [SvcName]
+services() -> [SvcName]
Return the list of started services.
SvcName = &service_name;
@@ -2129,7 +2129,7 @@ Return the list of started services.
-session_id(Ident) -> &dict_OctetString;
+session_id(Ident) -> &dict_OctetString;
Return a value for a Session-Id AVP.
Ident = &dict_DiameterIdentity;
@@ -2148,7 +2148,7 @@ the message containing the returned value will be sent.
-start() -> ok | {error, Reason}
+start() -> ok | {error, Reason}
Start the diameter application.
@@ -2164,7 +2164,7 @@ file, not by calling start/0 explicitly.
-start_service(SvcName, Options) -> ok | {error, Reason}
+start_service(SvcName, Options) -> ok | {error, Reason}
Start a Diameter service.
SvcName = &service_name;
@@ -2194,7 +2194,7 @@ necessarily the case.
-stop() -> ok | {error, Reason}
+stop() -> ok | {error, Reason}
Stop the diameter application.
@@ -2208,7 +2208,7 @@ Stop the diameter application.
-stop_service(SvcName) -> ok | {error, Reason}
+stop_service(SvcName) -> ok | {error, Reason}
Stop a Diameter service.
SvcName = &service_name;
@@ -2236,7 +2236,7 @@ be called to remove transport configuration.
-subscribe(SvcName) -> true
+subscribe(SvcName) -> true
Subscribe to event messages.
SvcName = &service_name;
@@ -2258,7 +2258,7 @@ reception of all transport-related events.
-unsubscribe(SvcName) -> true
+unsubscribe(SvcName) -> true
Unsubscribe to event messages.
SvcName = &service_name;
diff --git a/lib/diameter/doc/src/diameter_app.xml b/lib/diameter/doc/src/diameter_app.xml
index aa334beb21..82e3d449ef 100644
--- a/lib/diameter/doc/src/diameter_app.xml
+++ b/lib/diameter/doc/src/diameter_app.xml
@@ -44,7 +44,7 @@ limitations under the License.
-diameter_app
+diameter_app
Callback module of a Diameter application.
@@ -180,7 +180,7 @@ process.
-Mod:peer_up(SvcName, Peer, State) -> NewState
+Mod:peer_up(SvcName, Peer, State) -> NewState
Invoked when a transport connection has been established
SvcName = &mod_service_name;
@@ -215,7 +215,7 @@ handled independently of &peer_up; and &peer_down;.
-Mod:peer_down(SvcName, Peer, State) -> NewState
+Mod:peer_down(SvcName, Peer, State) -> NewState
Invoked when a transport connection has been lost.
SvcName = &mod_service_name;
@@ -234,7 +234,7 @@ candidate in &pick_peer; callbacks.
-Mod:pick_peer(LocalCandidates, RemoteCandidates, SvcName, State)
+Mod:pick_peer(LocalCandidates, RemoteCandidates, SvcName, State)
-> Selection | false
Select a target peer for an outgoing request.
@@ -311,7 +311,7 @@ or &peer_down; callback.
-Mod:prepare_request(Packet, SvcName, Peer) -> Action
+Mod:prepare_request(Packet, SvcName, Peer) -> Action
Return a request for encoding and transport.
Packet = &packet;
@@ -363,7 +363,7 @@ discarded}.
-Mod:prepare_retransmit(Packet, SvcName, Peer) -> Action
+Mod:prepare_retransmit(Packet, SvcName, Peer) -> Action
Return a request for encoding and retransmission.
Packet = &packet;
@@ -393,7 +393,7 @@ discarded}.
-Mod:handle_answer(Packet, Request, SvcName, Peer) -> Result
+Mod:handle_answer(Packet, Request, SvcName, Peer) -> Result
Receive an answer message from a peer.
Packet = &packet;
@@ -437,7 +437,7 @@ The &mod_application_opt;
-Mod:handle_error(Reason, Request, SvcName, Peer) -> Result
+Mod:handle_error(Reason, Request, SvcName, Peer) -> Result
Return an error from a outgoing request.
Reason = timeout | failover | term()
@@ -465,7 +465,7 @@ not selected.
-Mod:handle_request(Packet, SvcName, Peer) -> Action
+Mod:handle_request(Packet, SvcName, Peer) -> Action
Receive an incoming request.
Packet = &packet;
diff --git a/lib/diameter/doc/src/diameter_codec.xml b/lib/diameter/doc/src/diameter_codec.xml
index 0a34dd7ec7..0384ad2913 100644
--- a/lib/diameter/doc/src/diameter_codec.xml
+++ b/lib/diameter/doc/src/diameter_codec.xml
@@ -46,7 +46,7 @@ limitations under the License.
diameter_codec.xml
-diameter_codec
+diameter_codec
Decode and encode of Diameter messages.
@@ -346,7 +346,7 @@ question, as documented in &man_transport;.
-decode(Mod, Bin) -> Pkt
+decode(Mod, Bin) -> Pkt
Decode a Diameter message.
Mod = &dictionary;
@@ -362,7 +362,7 @@ Decode a Diameter message.
-encode(Mod, Msg) -> Pkt
+encode(Mod, Msg) -> Pkt
Encode a Diameter message.
Mod = &dictionary;
diff --git a/lib/diameter/doc/src/diameter_make.xml b/lib/diameter/doc/src/diameter_make.xml
index 112355816f..57e83bbca1 100644
--- a/lib/diameter/doc/src/diameter_make.xml
+++ b/lib/diameter/doc/src/diameter_make.xml
@@ -45,7 +45,7 @@ limitations under the License.
diameter_make.xml
-diameter_make
+diameter_make
Diameter dictionary compilation.
@@ -67,7 +67,7 @@ interface.
-codec(File :: iolist() | binary(), [Opt]) -> ok
+codec(File :: iolist() | binary(), [Opt]) -> ok
| {ok, [Out]}
| {error, Reason}
Compile a dictionary file into Erlang source.
@@ -186,7 +186,7 @@ A returned error reason can be converted into a readable string using
-format(Parsed) -> iolist()
+format(Parsed) -> iolist()
Format a parsed dictionary.
@@ -198,7 +198,7 @@ dictionary format.
-flatten(Parsed) -> term()
+flatten(Parsed) -> term()
Flatten a parsed dictionary.
@@ -214,7 +214,7 @@ The return value is also a parsed dictionary.
-format_error(Reason) -> string()
+format_error(Reason) -> string()
Turn an error reason into a readable string.
diff --git a/lib/diameter/doc/src/diameter_sctp.xml b/lib/diameter/doc/src/diameter_sctp.xml
index 62e958870e..2cf924ee6b 100644
--- a/lib/diameter/doc/src/diameter_sctp.xml
+++ b/lib/diameter/doc/src/diameter_sctp.xml
@@ -47,7 +47,7 @@ limitations under the License.
diameter_sctp.xml
-diameter_sctp
+diameter_sctp
Diameter transport over SCTP.
@@ -67,7 +67,7 @@ and implements the behaviour documented in
-start({Type, Ref}, Svc, [Opt])
+start({Type, Ref}, Svc, [Opt])
-> {ok, Pid, [LAddr]} | {error, Reason}
Start a transport process.
diff --git a/lib/diameter/doc/src/diameter_tcp.xml b/lib/diameter/doc/src/diameter_tcp.xml
index 9f84eeb9fd..fe0cb2d067 100644
--- a/lib/diameter/doc/src/diameter_tcp.xml
+++ b/lib/diameter/doc/src/diameter_tcp.xml
@@ -57,7 +57,7 @@ limitations under the License.
diameter_tcp.xml
-diameter_tcp
+diameter_tcp
Diameter transport over TCP.
@@ -83,7 +83,7 @@ before configuring TLS capability on diameter transports.
-start({Type, Ref}, Svc, [Opt])
+start({Type, Ref}, Svc, [Opt])
-> {ok, Pid}
| {ok, Pid, [LAddr]}
| {error, Reason}
diff --git a/lib/diameter/doc/src/diameter_transport.xml b/lib/diameter/doc/src/diameter_transport.xml
index 294e8a8864..67fd54bc56 100644
--- a/lib/diameter/doc/src/diameter_transport.xml
+++ b/lib/diameter/doc/src/diameter_transport.xml
@@ -43,7 +43,7 @@ limitations under the License.
diameter_transport.xml
-diameter_transport
+diameter_transport
Diameter transport interface.
@@ -94,7 +94,7 @@ and has the binary() to send in its bin field.
-Mod:start({Type, Ref}, Svc, Config)
+Mod:start({Type, Ref}, Svc, Config)
-> {ok, Pid}
| {ok, Pid, LAddrs}
| {error, Reason}
--
cgit v1.2.3