ETag.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#ifndef _SQUID_ETAG_H
10#define _SQUID_ETAG_H
11
17class ETag
18{
19public:
20 const char *str;
21 int weak;
22};
23
24/* ETag */
25int etagParseInit(ETag * etag, const char *str);
27bool etagIsStrongEqual(const ETag &tag1, const ETag &tag2);
29bool etagIsWeakEqual(const ETag &tag1, const ETag &tag2);
30
31#endif /* _SQUIDETAG_H */
32
bool etagIsWeakEqual(const ETag &tag1, const ETag &tag2)
whether etags are weak-equal
Definition: ETag.cc:55
int etagParseInit(ETag *etag, const char *str)
Definition: ETag.cc:29
bool etagIsStrongEqual(const ETag &tag1, const ETag &tag2)
whether etags are strong-equal
Definition: ETag.cc:49
Definition: ETag.h:18
int weak
true if it is a weak validator
Definition: ETag.h:21
const char * str
quoted-string
Definition: ETag.h:20

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors