]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/update.h
Move ListUpdate/AquireUpdate into update.{cc,h}
[apt.git] / apt-pkg / update.h
diff --git a/apt-pkg/update.h b/apt-pkg/update.h
new file mode 100644 (file)
index 0000000..3835644
--- /dev/null
@@ -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