]> git.saurik.com Git - apt.git/blame - apt-pkg/update.h
Only do openpty() if both stdin/stdout are terminals
[apt.git] / apt-pkg / update.h
CommitLineData
d428d131
MV
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
13class pkgAcquireStatus;
14
15
16bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
17bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
18 bool const RunUpdateScripts = true, bool const ListCleanup = true);
19
20
21#endif