~ubuntu-branches/debian/stretch/apt-cacher-ng/stretch

« back to all changes in this revision

Viewing changes to include/bgtask.h

  • Committer: Package Import Robot
  • Author(s): Eduard Bloch
  • Date: 2015-09-21 21:35:41 UTC
  • mfrom: (1.6.28)
  • Revision ID: package-import@ubuntu.com-20150921213541-rh3tsf8k2g2n0fdr
Tags: 0.8.6-1
* New upstream version
  + replaces the expiration call mechanism and script with native
    implementation (closes: 794328)
* Changed error log rotation schedule to daily execution (to expire some
  cruft from ancient bugs sooner or later)
* removed urlencode-fixer.pl (should be obsolete now), expire-caller.pl
  (symlink to acngtool which emulates it)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        // to be implemented by subclasses
38
38
        virtual void Action() =0;
39
39
 
40
 
        void AfterSendChunk(const char *data, size_t size) override;
 
40
        void SendChunkLocalOnly(const char *data, size_t size) override;
41
41
 
42
42
        void DumpLog(time_t id);
43
43
 
60
60
                tProgressTracker() : nEndSize(-1), id(0) {};
61
61
                void SetEnd(off_t);
62
62
        };
63
 
        typedef SMARTPTR_SPACE::shared_ptr<tProgressTracker> tProgTrackPtr;
64
 
        static SMARTPTR_SPACE::weak_ptr<tProgressTracker> g_pTracker;
 
63
        typedef SHARED_PTR<tProgressTracker> tProgTrackPtr;
 
64
        static WEAK_PTR<tProgressTracker> g_pTracker;
65
65
        tProgTrackPtr m_pTracker;
66
66
        protected:
67
67
        tStrSet m_delCboxFilter;