diff options
author | Anders Svensson <[email protected]> | 2012-10-10 10:59:08 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2012-11-05 11:54:30 +0100 |
commit | 0b7c87dc62d845d059d250ba152f16e94c660e55 (patch) | |
tree | 84e7f32c851cca24ad39b5b875d284e2794cee3d /lib/diameter/src/base/diameter.erl | |
parent | f3ea0395506e7e80f9efb53d8c96c28bd288a066 (diff) | |
download | otp-0b7c87dc62d845d059d250ba152f16e94c660e55.tar.gz otp-0b7c87dc62d845d059d250ba152f16e94c660e55.tar.bz2 otp-0b7c87dc62d845d059d250ba152f16e94c660e55.zip |
Implement service_opt() restrict_connections
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r-- | lib/diameter/src/base/diameter.erl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl index d60510db7d..3e3a6be0ef 100644 --- a/lib/diameter/src/base/diameter.erl +++ b/lib/diameter/src/base/diameter.erl @@ -44,6 +44,7 @@ stop/0]). -export_type([evaluable/0, + restriction/0, sequence/0, app_alias/0, service_name/0, @@ -284,11 +285,19 @@ call(SvcName, App, Message) -> -type sequence() :: {'Unsigned32'(), 0..32}. +-type restriction() + :: false + | node + | nodes + | [node()] + | evaluable(). + %% Options passed to start_service/2 -type service_opt() :: capability() | {application, [application_opt()]} + | {restrict_connections, restriction()} | {sequence, sequence() | evaluable()}. -type application_opt() |