aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_connection.hrl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-11-20 15:54:47 +0100
committerIngela Anderton Andin <[email protected]>2013-12-02 09:50:28 +0100
commit1b6cb772ce5d1d1b7ce280c22e6a8d2ceb8165ed (patch)
treef5a589caf700715209b744e1f8c1984d2fa68cfd /lib/ssl/src/ssl_connection.hrl
parentb84f16e07336eecfb6dd30a4ef3824de76525265 (diff)
downloadotp-1b6cb772ce5d1d1b7ce280c22e6a8d2ceb8165ed.tar.gz
otp-1b6cb772ce5d1d1b7ce280c22e6a8d2ceb8165ed.tar.bz2
otp-1b6cb772ce5d1d1b7ce280c22e6a8d2ceb8165ed.zip
ssl: Refactor connetion handling
Diffstat (limited to 'lib/ssl/src/ssl_connection.hrl')
-rw-r--r--lib/ssl/src/ssl_connection.hrl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssl/src/ssl_connection.hrl b/lib/ssl/src/ssl_connection.hrl
index a444f2ae03..27489ca325 100644
--- a/lib/ssl/src/ssl_connection.hrl
+++ b/lib/ssl/src/ssl_connection.hrl
@@ -30,12 +30,14 @@
-include("ssl_record.hrl").
-include("ssl_handshake.hrl").
-include("ssl_srp.hrl").
+-include("ssl_cipher.hrl").
-include_lib("public_key/include/public_key.hrl").
-record(state, {
role :: client | server,
user_application :: {Monitor::reference(), User::pid()},
transport_cb :: atom(), % callback module
+ protocol_cb :: tls_connection | dtls_connection,
data_tag :: atom(), % ex tcp.
close_tag :: atom(), % ex tcp_closed
error_tag :: atom(), % ex tcp_error