diff options
author | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-05-09 10:04:47 +0100 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@kcbbs.gen.nz> | 2009-05-09 10:04:47 +0100 |
commit | f434b0a6cd655034fa87e2400359ee4bb8d052fe (patch) | |
tree | 913de8d2df1598f80a21d74767f98ea46319505b /src/rabbit_control.erl | |
parent | 519a16ec69f5c1a6f52f336a0a716971df144a25 (diff) | |
parent | 83497bbd0c37ddef8b07a1c8f82311ea9264ce61 (diff) | |
download | rabbitmq-server-f434b0a6cd655034fa87e2400359ee4bb8d052fe.tar.gz |
merge default into bug20589
Diffstat (limited to 'src/rabbit_control.erl')
-rw-r--r-- | src/rabbit_control.erl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index d0fb8da4..a5bc4a72 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -38,6 +38,19 @@ -define(RPC_TIMEOUT, 30000). +%%---------------------------------------------------------------------------- + +-ifdef(use_specs). + +-spec(start/0 :: () -> no_return()). +-spec(stop/0 :: () -> 'ok'). +-spec(action/4 :: (atom(), erlang_node(), [string()], + fun ((string(), [any()]) -> 'ok')) -> 'ok'). + +-endif. + +%%---------------------------------------------------------------------------- + start() -> FullCommand = init:get_plain_arguments(), #params{quiet = Quiet, node = Node, command = Command, args = Args} = |