1
0
Fork 0
apt/apt-pkg/update.h
Daniel Baumann 6810ba718b
Adding upstream version 3.0.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-20 21:10:43 +02:00

22 lines
642 B
C++

// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
/* ######################################################################
Update - ListUpdate related code
##################################################################### */
/*}}}*/
#ifndef PKGLIB_UPDATE_H
#define PKGLIB_UPDATE_H
class pkgAcquireStatus;
class pkgSourceList;
class pkgAcquire;
APT_PUBLIC bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
APT_PUBLIC bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
bool const RunUpdateScripts = true, bool const ListCleanup = true);
#endif