aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <ingela@erlang.org>2012-11-29 15:49:40 +0100
committerBjörn-Egil Dahlberg <egil@erlang.org>2012-12-06 14:47:22 +0100
commit83422663a34f5518568a9dde8ec2da5d47a4fb8f (patch)
treee17cbb2320b59ec958135b052031fe0770fde300 /lib
parentc84432ea4dbccba37a0f11a4edb024ce7604ab25 (diff)
downloadotp-83422663a34f5518568a9dde8ec2da5d47a4fb8f.tar.gz
otp-83422663a34f5518568a9dde8ec2da5d47a4fb8f.tar.bz2
otp-83422663a34f5518568a9dde8ec2da5d47a4fb8f.zip
ssl: Export sslsocket() dialyzer type
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/ssl.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl.erl b/lib/ssl/src/ssl.erl
index 69e8d868fa..66ceb2a591 100644
--- a/lib/ssl/src/ssl.erl
+++ b/lib/ssl/src/ssl.erl
@@ -45,7 +45,7 @@
-export_type([connect_option/0, listen_option/0, ssl_option/0, transport_option/0,
erl_cipher_suite/0, %% From ssl_cipher.hrl
tls_atom_version/0, %% From ssl_internal.hrl
- prf_random/0]).
+ prf_random/0, sslsocket/0]).
-record(config, {ssl, %% SSL parameters
inet_user, %% User set inet options
@@ -53,6 +53,8 @@
inet_ssl, %% inet options for internal ssl socket
cb %% Callback info
}).
+
+-type sslsocket() :: #sslsocket{}.
-type connect_option() :: socket_connect_option() | ssl_option() | transport_option().
-type socket_connect_option() :: gen_tcp:connect_option().
-type listen_option() :: socket_listen_option() | ssl_option() | transport_option().