]> git.saurik.com Git - apt.git/blob - apt-pkg/update.h
releasing 1.1~exp14
[apt.git] / apt-pkg / update.h
1 // -*- mode: cpp; mode: fold -*-
2 // Description /*{{{*/
3 /* ######################################################################
4
5 Update - ListUpdate releated 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
17 bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
18 bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
19 bool const RunUpdateScripts = true, bool const ListCleanup = true);
20
21
22 #endif