9#ifndef SQUID_SRC_HTTPHEADERRANGE_H
10#define SQUID_SRC_HTTPHEADERRANGE_H
13#include "mem/forward.h"
37 bool parseInit(
const char *field,
int flen);
65 typedef std::vector<HttpHdrRangeSpec *>::iterator
iterator;
84 std::vector<HttpHdrRangeSpec *>
specs;
88 void merge (std::vector<HttpHdrRangeSpec *> &basis);
103 int64_t
debt()
const;
HttpHdrRange::iterator pos
HttpHdrRange::iterator end
const HttpHdrRangeSpec * currentSpec() const
void packInto(Packable *p) const
bool parseInit(const char *field, int flen)
static HttpHdrRangeSpec * Create(const char *field, int fieldLen)
bool mergeWith(const HttpHdrRangeSpec *donor)
Range< int64_t, uint64_t > HttpRange
MEMPROXY_CLASS(HttpHdrRangeSpec)
static int64_t const UnknownPosition
int canonize(int64_t clen)
void outputInfo(char const *note) const
std::vector< HttpHdrRangeSpec * >::iterator iterator
void getCanonizedSpecs(std::vector< HttpHdrRangeSpec * > ©)
bool offsetLimitExceeded(const int64_t limit) const
void merge(std::vector< HttpHdrRangeSpec * > &basis)
static size_t ParsedCount
std::vector< HttpHdrRangeSpec * >::const_iterator const_iterator
bool willBeComplex() const
HttpHdrRange & operator=(HttpHdrRange const &)
std::vector< HttpHdrRangeSpec * > specs
bool parseInit(const String *range_spec)
int64_t lowestOffset(int64_t) const
MEMPROXY_CLASS(HttpHdrRange)
void packInto(Packable *p) const
static HttpHdrRange * ParseCreate(const String *range_spec)
int64_t firstOffset() const