diff options
Diffstat (limited to 'bin/bbstored')
-rw-r--r-- | bin/bbstored/BackupCommands.cpp | 17 | ||||
-rw-r--r-- | bin/bbstored/backupprotocol.txt | 7 |
2 files changed, 24 insertions, 0 deletions
diff --git a/bin/bbstored/BackupCommands.cpp b/bin/bbstored/BackupCommands.cpp index 1a021a58..35bc095d 100644 --- a/bin/bbstored/BackupCommands.cpp +++ b/bin/bbstored/BackupCommands.cpp @@ -859,3 +859,20 @@ std::auto_ptr<ProtocolObject> BackupProtocolServerGetAccountUsage::DoCommand(Bac )); } +// -------------------------------------------------------------------------- +// +// Function +// Name: BackupProtocolServerGetIsAlive::DoCommand(BackupProtocolServer &, BackupContext &) +// Purpose: Return the amount of disc space used +// Created: 19/4/04 +// +// -------------------------------------------------------------------------- +std::auto_ptr<ProtocolObject> BackupProtocolServerGetIsAlive::DoCommand(BackupProtocolServer &rProtocol, BackupContext &rContext) +{ + CHECK_PHASE(Phase_Commands) + + // + // NOOP + // + return std::auto_ptr<ProtocolObject>(new BackupProtocolServerIsAlive()); +} diff --git a/bin/bbstored/backupprotocol.txt b/bin/bbstored/backupprotocol.txt index 39cb1fb3..106ac24c 100644 --- a/bin/bbstored/backupprotocol.txt +++ b/bin/bbstored/backupprotocol.txt @@ -219,3 +219,10 @@ AccountUsage 41 Reply int64 BlocksSoftLimit int64 BlocksHardLimit int32 BlockSize + +GetIsAlive 42 Command(IsAlive) + # no data members + +IsAlive 43 Reply + # no data members + |