Public Types | Data Fields | Static Public Attributes

cache_bc::HTTPCacheFragmentTable Struct Reference

Cache backwards compatibility structure - the fragment table. More...

#include <P_CacheBC.h>

Public Types

typedef uint64_t FragOffset
 Type of offset for a fragment.

Data Fields

int m_frag_offset_count
 # of fragment offsets in this alternate.
FragOffsetm_frag_offsets
 Table of fragment offsets.
FragOffset m_integral_frag_offsets [N_INTEGRAL_FRAG_OFFSETS]
 Integral fragment offset table.

Static Public Attributes

static int const N_INTEGRAL_FRAG_OFFSETS = 4
 # of fragment offsets built in to object.

Detailed Description

Cache backwards compatibility structure - the fragment table.

This is copied from HTTPCacheAlt in HTTP.h.

Definition at line 43 of file P_CacheBC.h.


Member Typedef Documentation

Type of offset for a fragment.

Definition at line 48 of file P_CacheBC.h.


Field Documentation

# of fragment offsets in this alternate.

Note:
This is one less than the number of fragments.

Definition at line 46 of file P_CacheBC.h.

Table of fragment offsets.

Note:
The offsets are forward looking so that frag[0] is the first byte past the end of fragment 0 which is also the first byte of fragment 1. For this reason there is no fragment offset for the last fragment.

Definition at line 54 of file P_CacheBC.h.

Integral fragment offset table.

Definition at line 58 of file P_CacheBC.h.

# of fragment offsets built in to object.

Definition at line 56 of file P_CacheBC.h.


The documentation for this struct was generated from the following file: