aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_s2s.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ejabberd_s2s.erl')
-rw-r--r--src/ejabberd_s2s.erl14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/ejabberd_s2s.erl b/src/ejabberd_s2s.erl
index 74234e26e..126700f10 100644
--- a/src/ejabberd_s2s.erl
+++ b/src/ejabberd_s2s.erl
@@ -708,19 +708,7 @@ get_s2s_state(S2sPid) ->
end,
[{s2s_pid, S2sPid} | Infos].
--type use_starttls() :: boolean() | optional | required | required_trusted.
--spec opt_type(route_subdomains) -> fun((s2s | local) -> s2s | local);
- (s2s_access) -> fun((any()) -> any());
- (s2s_ciphers) -> fun((binary()) -> binary());
- (s2s_dhfile) -> fun((binary()) -> binary());
- (s2s_cafile) -> fun((binary()) -> binary());
- (s2s_protocol_options) -> fun(([binary()]) -> binary());
- (s2s_tls_compression) -> fun((boolean()) -> boolean());
- (s2s_use_starttls) -> fun((use_starttls()) -> use_starttls());
- (s2s_zlib) -> fun((boolean()) -> boolean());
- (s2s_timeout) -> fun((timeout()) -> timeout());
- (s2s_queue_type) -> fun((ram | file) -> ram | file);
- (atom()) -> [atom()].
+-spec opt_type(atom()) -> fun((any()) -> any()) | [atom()].
opt_type(route_subdomains) ->
fun (s2s) -> s2s;
(local) -> local