Public Member Functions | Data Fields

HTTPHdrImpl Struct Reference

#include <HTTP.h>

Inherits HdrHeapObjImpl.

Collaboration diagram for HTTPHdrImpl:
Collaboration graph
[legend]

Public Member Functions

int marshal (MarshalXlate *ptr_xlate, int num_ptr, MarshalXlate *str_xlate, int num_str)
void unmarshal (intptr_t offset)
void move_strings (HdrStrHeap *new_heap)
size_t strings_length ()
void check_strings (HeapCheck *heaps, int num_heaps)

Data Fields

HTTPType m_polarity
int32_t m_version
union {
   struct {
      URLImpl *   m_url_impl
      const char *   m_ptr_method
      uint16_t   m_len_method
      int16_t   m_method_wks_idx
   }   req
   struct {
      const char *   m_ptr_reason
      uint16_t   m_len_reason
      int16_t   m_status
   }   resp
u
MIMEHdrImplm_fields_impl

Detailed Description

Definition at line 240 of file HTTP.h.


Member Function Documentation

void HTTPHdrImpl::check_strings ( HeapCheck heaps,
int  num_heaps 
)

Definition at line 1708 of file HTTP.cc.

References CHECK_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_polarity, and u.

int HTTPHdrImpl::marshal ( MarshalXlate ptr_xlate,
int  num_ptr,
MarshalXlate str_xlate,
int  num_str 
)
void HTTPHdrImpl::move_strings ( HdrStrHeap new_heap  ) 

Definition at line 1683 of file HTTP.cc.

References HDR_MOVE_STR, HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, ink_release_assert, m_polarity, and u.

size_t HTTPHdrImpl::strings_length (  ) 

Definition at line 1695 of file HTTP.cc.

References HTTP_TYPE_REQUEST, HTTP_TYPE_RESPONSE, m_polarity, and u.

void HTTPHdrImpl::unmarshal ( intptr_t  offset  ) 

Field Documentation

Definition at line 252 of file HTTP.h.

Definition at line 259 of file HTTP.h.

Definition at line 253 of file HTTP.h.

Definition at line 251 of file HTTP.h.

Definition at line 258 of file HTTP.h.

Definition at line 260 of file HTTP.h.

Definition at line 250 of file HTTP.h.

struct { ... } HTTPHdrImpl::req
struct { ... } HTTPHdrImpl::resp
union { ... } HTTPHdrImpl::u

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