44#include "squid-tlv.hh"
46SquidTLV::SquidTLV( SquidMetaType _type,
size_t _size,
void* _data )
47 :next(nullptr),
size(_size)
53SquidMetaList::SquidMetaList()
55 head = tail =
nullptr;
58SquidMetaList::~SquidMetaList()
60 for ( SquidTLV* temp =
head; temp; temp =
head ) {
67SquidMetaList::append( SquidMetaType type,
size_t size,
void* data )
69 SquidTLV* temp =
new SquidTLV( type,
size, data );
70 if (
head ==
nullptr )
head = tail = temp;
78SquidMetaList::search( SquidMetaType type )
const
80 const SquidTLV* temp =
head;
81 while ( temp && temp->type != type ) temp = temp->
next;
squidaio_request_t * head
struct squidaio_request_t * next