File Reference
#include "squid.h"
#include "ETag.h"
#include <cstring>
Include dependency graph for

Go to the source code of this file.


static bool etagStringsMatch (const ETag &tag1, const ETag &tag2)
 whether etag strings match More...
int etagParseInit (ETag *etag, const char *str)
bool etagIsStrongEqual (const ETag &tag1, const ETag &tag2)
 whether etags are strong-equal More...
bool etagIsWeakEqual (const ETag &tag1, const ETag &tag2)
 whether etags are weak-equal More...

Function Documentation

◆ etagIsStrongEqual()

bool etagIsStrongEqual ( const ETag tag1,
const ETag tag2 

Definition at line 49 of file

References etagStringsMatch(), and ETag::weak.

Referenced by clientIfRangeMatch(), and StoreEntry::hasOneOfEtags().

◆ etagIsWeakEqual()

bool etagIsWeakEqual ( const ETag tag1,
const ETag tag2 

Definition at line 55 of file

References etagStringsMatch().

Referenced by StoreEntry::hasOneOfEtags().

◆ etagParseInit()

int etagParseInit ( ETag etag,
const char *  str 

Definition at line 29 of file

References assert, len, NULL, ETag::str, and ETag::weak.

Referenced by HttpHeader::getETag(), HttpHeader::getTimeOrTag(), and StoreEntry::hasOneOfEtags().

◆ etagStringsMatch()

static bool etagStringsMatch ( const ETag tag1,
const ETag tag2 

Definition at line 21 of file

References ETag::str.

Referenced by etagIsStrongEqual(), and etagIsWeakEqual().






Web Site Translations