update.h 624 B

1234567891011121314151617181920212223
  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. class pkgSourceList;
  11. class pkgAcquire;
  12. bool ListUpdate(pkgAcquireStatus &progress, pkgSourceList &List, int PulseInterval=0);
  13. bool AcquireUpdate(pkgAcquire &Fetcher, int const PulseInterval = 0,
  14. bool const RunUpdateScripts = true, bool const ListCleanup = true);
  15. #endif