aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/transport/diameter_sctp.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-24 11:51:44 +0200
committerAnders Svensson <[email protected]>2017-08-24 16:09:24 +0200
commit2d540b95755a6f628b0cfc5a9bab4ff41046fe4b (patch)
tree689d2a3e544219614c7118355f350aac30caa67f /lib/diameter/src/transport/diameter_sctp.erl
parent3c7e35ca4512088f0b4074f809f3110dfa285b8e (diff)
downloadotp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.gz
otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.bz2
otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.zip
Rename type evaluable -> eval
Export the old type as a synonym for backwards compatability. The name evaluable is a bit too awkward.
Diffstat (limited to 'lib/diameter/src/transport/diameter_sctp.erl')
-rw-r--r--lib/diameter/src/transport/diameter_sctp.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/transport/diameter_sctp.erl b/lib/diameter/src/transport/diameter_sctp.erl
index 6a9f1f940b..4f56475529 100644
--- a/lib/diameter/src/transport/diameter_sctp.erl
+++ b/lib/diameter/src/transport/diameter_sctp.erl
@@ -79,7 +79,7 @@
-type option() :: {sender, boolean()}
| sender
| {packet, boolean() | raw}
- | {message_cb, false | diameter:evaluable()}.
+ | {message_cb, false | diameter:eval()}.
-type uint() :: non_neg_integer().
@@ -104,7 +104,7 @@
os = 0 :: uint(), %% next output stream
packet = true :: boolean() %% legacy transport_data?
| raw,
- message_cb = false :: false | diameter:evaluable(),
+ message_cb = false :: false | diameter:eval(),
send = false :: pid() | boolean()}). %% sending process
%% Monitor process state.
@@ -120,7 +120,7 @@
socket :: gen_sctp:sctp_socket(),
service :: pid(), %% service process
pending = {0, queue:new()},
- opts :: [[match()] | boolean() | diameter:evaluable()]}).
+ opts :: [[match()] | boolean() | diameter:eval()]}).
%% Field pending implements two queues: the first of transport-to-be
%% processes to which an association has been assigned but for which
%% diameter hasn't yet spawned a transport process, a short-lived