apt @VERSION@
Public Member Functions | Public Attributes

pkgAcquire::MethodConfig Struct Reference

Information about the properties of a single acquire method. {{{. More...

#include <acquire.h>

List of all members.

Public Member Functions

 MethodConfig ()
 Set up the default method parameters.

Public Attributes

MethodConfigNext
 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.

Detailed Description

Information about the properties of a single acquire method. {{{.


Constructor & Destructor Documentation

Set up the default method parameters.

All fields are initialized to NULL, "", or false as appropriate.

References LocalOnly, Next, Pipeline, Removable, SendConfig, and SingleInstance.


Member Data Documentation

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.

Todo:
Why not an STL container?

Referenced by pkgAcquire::GetConfig(), MethodConfig(), and pkgAcquire::~pkgAcquire().


The documentation for this struct was generated from the following files: