#include <schroot-releaselock-main.h>
Inheritance diagram for schroot_releaselock::main:


Public Types | |
| typedef sbuild::custom_error< error_code > | error |
| Exception type. | |
| DEVICE_NOTBLOCK | |
| File is not a block device. | |
| DEVICE_OWNED | |
| Failed to release device lock (lock held by PID). | |
| DEVICE_RELEASE | |
| Failed to release device lock. | |
| DEVICE_STAT | |
| Failed to stat device. | |
| enum | error_code { DEVICE_NOTBLOCK, DEVICE_OWNED, DEVICE_RELEASE, DEVICE_STAT } |
| Error codes. More... | |
Public Member Functions | |
| main (options::ptr &options) | |
| The constructor. | |
| virtual | ~main () |
| The destructor. | |
| virtual void | action_releaselock () |
| Release lock. | |
| virtual int | run_impl () |
| Run the program. | |
Public Attributes | |
| options::ptr | opts |
| The program options. | |
This class is used to "run" schroot.
Exception type.
| main::main | ( | options::ptr & | options | ) |
The constructor.
| options | the command-line options to use. |
| main::~main | ( | ) | [virtual] |
| void main::action_releaselock | ( | ) | [virtual] |
| int main::run_impl | ( | ) | [virtual] |
Run the program.
Implements schroot_base::main.
The program options.
1.4.7