HttpHdrContRange.h File Reference
#include "HttpHeaderRange.h"
Include dependency graph for HttpHdrContRange.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HttpHdrContRange
 

Functions

HttpHdrContRangehttpHdrContRangeCreate (void)
 
HttpHdrContRangehttpHdrContRangeParseCreate (const char *crange_spec)
 
int httpHdrContRangeParseInit (HttpHdrContRange *crange, const char *crange_spec)
 
HttpHdrContRangehttpHdrContRangeDup (const HttpHdrContRange *crange)
 
void httpHdrContRangePackInto (const HttpHdrContRange *crange, Packable *p)
 
void httpHdrContRangeSet (HttpHdrContRange *, HttpHdrRangeSpec, int64_t)
 
void httpHeaderAddContRange (HttpHeader *, HttpHdrRangeSpec, int64_t)
 

Function Documentation

HttpHdrContRange* httpHdrContRangeCreate ( void  )
Todo:
CLEANUP: Move httpHdrContRange* functions into the class methods

Definition at line 118 of file HttpHdrContRange.cc.

References HttpHdrContRange::elength, HttpHdrRangeSpec::length, HttpHdrRangeSpec::offset, range_spec_unknown, and HttpHdrContRange::spec.

Referenced by httpHdrContRangeDup(), httpHdrContRangeParseCreate(), and httpHeaderAddContRange().

HttpHdrContRange* httpHdrContRangeDup ( const HttpHdrContRange crange)

Definition at line 186 of file HttpHdrContRange.cc.

References assert, and httpHdrContRangeCreate().

void httpHdrContRangePackInto ( const HttpHdrContRange crange,
Packable p 
)
HttpHdrContRange* httpHdrContRangeParseCreate ( const char *  crange_spec)

Definition at line 127 of file HttpHdrContRange.cc.

References httpHdrContRangeCreate(), and httpHdrContRangeParseInit().

Referenced by HttpHeader::getContRange().

int httpHdrContRangeParseInit ( HttpHdrContRange crange,
const char *  crange_spec 
)
void httpHdrContRangeSet ( HttpHdrContRange ,
HttpHdrRangeSpec  ,
int64_t   
)

inits with given spec

Definition at line 210 of file HttpHdrContRange.cc.

References assert, HttpHdrContRange::elength, and HttpHdrContRange::spec.

Referenced by httpHeaderAddContRange().

void httpHeaderAddContRange ( HttpHeader hdr,
HttpHdrRangeSpec  spec,
int64_t  ent_len 
)

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors