diff options
| author | Tony Garnock-Jones <tonyg@lshift.net> | 2009-12-14 17:38:01 +0000 |
|---|---|---|
| committer | Tony Garnock-Jones <tonyg@lshift.net> | 2009-12-14 17:38:01 +0000 |
| commit | f45367349216f956b2110aa396c6e84f08784dfd (patch) | |
| tree | 6c7cd6573d3f3ecbecd23fd52aad7092cc48d4cd /src/rabbit.erl | |
| parent | dd3ee26525947b1efbd57f8d34184a75ad602404 (diff) | |
| download | rabbitmq-server-git-f45367349216f956b2110aa396c6e84f08784dfd.tar.gz | |
Fixup specs.
Diffstat (limited to 'src/rabbit.erl')
| -rw-r--r-- | src/rabbit.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl index e55070637a..78bf7e3873 100644 --- a/src/rabbit.erl +++ b/src/rabbit.erl @@ -80,11 +80,11 @@ -type(log_location() :: 'tty' | 'undefined' | string()). -type(file_suffix() :: binary()). +-type(boot_step() :: {{atom(), {atom(), 0}}, [{atom(), any()}]}). -spec(prepare/0 :: () -> 'ok'). -spec(start/0 :: () -> 'ok'). --spec(finish_boot/1 :: ([any()]) -> 'ok'). --spec(run_boot_steps/0 :: () -> 'ok'). +-spec(finish_boot/1 :: ([boot_step()]) -> 'ok'). -spec(stop/0 :: () -> 'ok'). -spec(stop_and_halt/0 :: () -> 'ok'). -spec(rotate_logs/1 :: (file_suffix()) -> 'ok' | {'error', any()}). |
