apt: apt-pkg/update.h Source File

apt 3.3.3 commandline package manager

update.h
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
3/* ######################################################################
4
5 Update - ListUpdate related code
6
7 ##################################################################### */
8 /*}}}*/
9
10#ifndef PKGLIB_UPDATE_H
11#define PKGLIB_UPDATE_H
12
13class pkgAcquireStatus;
14class pkgSourceList;
15class pkgAcquire;
16
17APT_PUBLIC bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
18APT_PUBLIC bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
19 bool const RunUpdateScripts = true, bool const ListCleanup = true);
20
21
22#endif
pkgAcquireStatus
A monitor object for downloads controlled by the pkgAcquire class. {{{.
Definition acquire.h:711
pkgAcquire
The core download scheduler. {{{.
Definition acquire.h:94
pkgSourceList
Definition sourcelist.h:43