aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_app.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-06-29 11:21:41 +0200
committerIngela Anderton Andin <[email protected]>2010-06-29 11:21:41 +0200
commit5ef0b06ddbaa48499394c30d56fc81e7162abf50 (patch)
tree09960a4dd828d06b05a48e656657cf7949bda4b0 /lib/ssl/src/ssl_app.erl
parent249613f10368dc694edb0a962d6025e19940b5af (diff)
parent80e96ac836975c537ebbb7588cce9390775e20db (diff)
downloadotp-5ef0b06ddbaa48499394c30d56fc81e7162abf50.tar.gz
otp-5ef0b06ddbaa48499394c30d56fc81e7162abf50.tar.bz2
otp-5ef0b06ddbaa48499394c30d56fc81e7162abf50.zip
Merge branch 'ia/ssl/new-doc' into dev
Diffstat (limited to 'lib/ssl/src/ssl_app.erl')
-rw-r--r--lib/ssl/src/ssl_app.erl12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ssl/src/ssl_app.erl b/lib/ssl/src/ssl_app.erl
index 6ca1c42631..d9a354086d 100644
--- a/lib/ssl/src/ssl_app.erl
+++ b/lib/ssl/src/ssl_app.erl
@@ -27,14 +27,16 @@
-export([start/2, stop/1]).
-%% start/2(Type, StartArgs) -> {ok, Pid} | {ok, Pid, State} |
-%% {error, Reason}
-%%
+%%--------------------------------------------------------------------
+-spec start(normal | {takeover, node()} | {failover, node()}, list()) ->
+ {ok, pid()} | {ok, pid(), term()} | {error, term()}.
+%%--------------------------------------------------------------------
start(_Type, _StartArgs) ->
ssl_sup:start_link().
-%% stop(State) -> void()
-%%
+%--------------------------------------------------------------------
+-spec stop(term())-> ok.
+%%--------------------------------------------------------------------
stop(_State) ->
ok.