HttpHdrContRange.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_HTTPHDRCONTRANGE_H
10 #define SQUID_SRC_HTTPHDRCONTRANGE_H
11 
12 #include "HttpHeaderRange.h"
13 
14 class HttpHeader;
15 
18 {
20 
21 public:
23 
25  int64_t elength;
26 };
27 
28 // TODO: move httpHdrContRange* functions into the class methods
29 
31 HttpHdrContRange *httpHdrContRangeParseCreate(const char *crange_spec);
33 int httpHdrContRangeParseInit(HttpHdrContRange * crange, const char *crange_spec);
35 void httpHdrContRangePackInto(const HttpHdrContRange * crange, Packable * p);
39 
40 #endif /* SQUID_SRC_HTTPHDRCONTRANGE_H */
41 
HttpHdrContRange * httpHdrContRangeCreate(void)
HttpHdrRangeSpec spec
HttpHdrContRange * httpHdrContRangeDup(const HttpHdrContRange *crange)
HttpHdrContRange * httpHdrContRangeParseCreate(const char *crange_spec)
int httpHdrContRangeParseInit(HttpHdrContRange *crange, const char *crange_spec)
void httpHeaderAddContRange(HttpHeader *, HttpHdrRangeSpec, int64_t)
void httpHdrContRangeSet(HttpHdrContRange *, HttpHdrRangeSpec, int64_t)
void httpHdrContRangePackInto(const HttpHdrContRange *crange, Packable *p)
MEMPROXY_CLASS(HttpHdrContRange)

 

Introduction

Documentation

Support

Miscellaneous