apt 3.2.0 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
13 class pkgAcquireStatus;
14 class pkgSourceList;
15 class 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