diff options
author | Anders Svensson <[email protected]> | 2017-07-08 00:48:07 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-08-03 17:14:28 +0200 |
commit | 55e65b262cdf0b794ab443928676720a323cf6b0 (patch) | |
tree | fe4214afece02c79c2f48b2a10e11bdf20c364f4 /lib/diameter/src/base/diameter.erl | |
parent | df12f634bec4b784f4c8d16846f2c24297b0e1ac (diff) | |
download | otp-55e65b262cdf0b794ab443928676720a323cf6b0.tar.gz otp-55e65b262cdf0b794ab443928676720a323cf6b0.tar.bz2 otp-55e65b262cdf0b794ab443928676720a323cf6b0.zip |
Rename record_decode -> decode_format
{record_decode, map} is a bit too quirky.
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r-- | lib/diameter/src/base/diameter.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl index b033632c47..75deaad511 100644 --- a/lib/diameter/src/base/diameter.erl +++ b/lib/diameter/src/base/diameter.erl @@ -47,6 +47,7 @@ stop/0]). -export_type([evaluable/0, + decode_format/0, restriction/0, message_length/0, remotes/0, @@ -330,6 +331,9 @@ call(SvcName, App, Message) -> -type message_length() :: 0..16#FFFFFF. +-type decode_format() + :: record | list | map | false. + %% Options passed to start_service/2 -type service_opt() @@ -338,7 +342,7 @@ call(SvcName, App, Message) -> | {restrict_connections, restriction()} | {sequence, sequence() | evaluable()} | {share_peers, remotes()} - | {record_decode, boolean() | list | map} + | {decode_format, decode_format()} | {string_decode, boolean()} | {strict_mbit, boolean()} | {incoming_maxlen, message_length()} |