/* */ #ifndef D_RANGE_H #define D_RANGE_H #include "common.h" #include namespace aria2 { struct Range { int64_t startByte; int64_t endByte; int64_t entityLength; Range(); Range(int64_t startByte, int64_t endByte, int64_t entityLength); Range(const Range& c); ~Range(); Range& operator=(const Range& c); bool operator==(const Range& range) const; bool operator!=(const Range& range) const; int64_t getContentLength() const; }; } // namespace aria2 #endif // D_RANGE_H