update.h 586 B

12345678910111213141516171819202122
  1. // -*- mode: cpp; mode: fold -*-
  2. // Description /*{{{*/
  3. /* ######################################################################
  4. Update - ListUpdate releated code
  5. ##################################################################### */
  6. /*}}}*/
  7. #ifndef PKGLIB_UPDATE_H
  8. #define PKGLIB_UPDATE_H
  9. class pkgAcquireStatus;
  10. bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
  11. bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
  12. bool const RunUpdateScripts = true, bool const ListCleanup = true);
  13. #endif