apt @VERSION@
|
Information about the properties of a single acquire method. {{{. More...
#include <acquire.h>
Public Member Functions | |
MethodConfig () | |
Set up the default method parameters. | |
Public Attributes | |
MethodConfig * | Next |
The next link on the acquire method list. | |
string | Access |
The name of this acquire method (e.g., http). | |
string | Version |
The implementation version of this acquire method. | |
bool | SingleInstance |
If true, only one download queue should be created for this method. | |
bool | Pipeline |
If true, this method supports pipelined downloading. | |
bool | SendConfig |
If true, the worker process should send the entire APT configuration tree to the fetch subprocess when it starts up. | |
bool | LocalOnly |
If true, this fetch method does not require network access; all files are to be acquired from the local disk. | |
bool | NeedsCleanup |
If true, the subprocess has to carry out some cleanup actions before shutting down. | |
bool | Removable |
If true, this fetch method acquires files from removable media. |
Information about the properties of a single acquire method. {{{.
MethodConfig | ( | ) |
Set up the default method parameters.
All fields are initialized to NULL, "", or false as appropriate.
References LocalOnly, Next, Pipeline, Removable, SendConfig, and SingleInstance.
bool NeedsCleanup |
If true, the subprocess has to carry out some cleanup actions before shutting down.
For instance, the cdrom method needs to unmount the CD after it finishes.
Referenced by pkgAcquire::Queue::Shutdown().
The next link on the acquire method list.
Referenced by pkgAcquire::GetConfig(), MethodConfig(), and pkgAcquire::~pkgAcquire().