Really just a namespace, doesn't depend on any of the members. More...
#include <P_CacheBC.h>
| Public Types | |
| typedef uint64_t | FragOffset | 
| Static Public Member Functions | |
| static bool | copy_and_upgrade_unmarshalled_to_v23 (char *&dst, char *&src, size_t &length, int n_frags, FragOffset *frag_offsets) | 
| Version upgrade methods src , dst , and n are updated upon return. | |
| static size_t | marshalled_length (void *data) | 
| The size of the marshalled data of a marshalled alternate header. | |
Really just a namespace, doesn't depend on any of the members.
Definition at line 91 of file P_CacheBC.h.
| typedef uint64_t cache_bc::HTTPInfo_v21::FragOffset | 
Definition at line 92 of file P_CacheBC.h.
| bool cache_bc::HTTPInfo_v21::copy_and_upgrade_unmarshalled_to_v23 | ( | char *& | dst, | |
| char *& | src, | |||
| size_t & | length, | |||
| int | n_frags, | |||
| FragOffset * | frag_offsets | |||
| ) |  [static] | 
Version upgrade methods src , dst , and n are updated upon return.
n is the space in dst remaining.
false if something went wrong. Definition at line 3685 of file Cache.cc.
References cache_bc::HTTP_ALT_MARSHAL_SIZE, HTTPCacheAlt::m_frag_offset_count, HTTPCacheAlt::m_frag_offsets, HdrHeapSDKHandle::m_heap, HTTPCacheAlt::m_integral_frag_offsets, HTTPCacheAlt::m_request_hdr, cache_bc::HTTPCacheAlt_v21::m_request_hdr, HTTPCacheAlt::m_response_hdr, cache_bc::HTTPCacheAlt_v21::m_response_hdr, memcpy, min(), HTTPCacheAlt::N_INTEGRAL_FRAG_OFFSETS, ROUND, and HdrHeap::unmarshal_size().
| size_t cache_bc::HTTPInfo_v21::marshalled_length | ( | void * | data | ) |  [static] | 
The size of the marshalled data of a marshalled alternate header.
Definition at line 3667 of file Cache.cc.
References HDR_PTR_SIZE, HdrHeapSDKHandle::m_heap, cache_bc::HTTPCacheAlt_v21::m_request_hdr, cache_bc::HTTPCacheAlt_v21::m_response_hdr, ROUND, and HdrHeap::unmarshal_size().
 1.7.1
 1.7.1