summaryrefslogtreecommitdiff
path: root/apt-pkg/update.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-22 21:24:13 +0200
committerMichael Vogt <mvo@debian.org>2013-10-22 21:24:13 +0200
commit4c9234d668bc1a250fd1af4c5d90497a08be67fd (patch)
tree6f7851c01a98a98013625af3de28cceeab3e2db9 /apt-pkg/update.h
parentc08cf1dc784a98a253296a51433f6de7d16d3125 (diff)
parent3f506f684c6199a9a2bc68365732a9c00dc551c1 (diff)
Merge remote-tracking branch 'mvo/feature/upgrade-api' into debian/sid
Diffstat (limited to 'apt-pkg/update.h')
-rw-r--r--apt-pkg/update.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/apt-pkg/update.h b/apt-pkg/update.h
new file mode 100644
index 000000000..3835644de
--- /dev/null
+++ b/apt-pkg/update.h
@@ -0,0 +1,21 @@
+// -*- mode: cpp; mode: fold -*-
+// Description /*{{{*/
+/* ######################################################################
+
+ Update - ListUpdate releated code
+
+ ##################################################################### */
+ /*}}}*/
+
+#ifndef PKGLIB_UPDATE_H
+#define PKGLIB_UPDATE_H
+
+class pkgAcquireStatus;
+
+
+bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
+bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
+ bool const RunUpdateScripts = true, bool const ListCleanup = true);
+
+
+#endif