apt 3.0.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
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
A monitor object for downloads controlled by the pkgAcquire class. {{{.
Definition acquire.h:711
Represents the process by which a pkgAcquire object should retrieve a file or a collection of files.
Definition acquire-item.h:59
Definition sourcelist.h:43