]> git.ipfire.org Git - thirdparty/squid.git/blame - src/TimeOrTag.h
Maintenance: rework SASL detection (#1694)
[thirdparty/squid.git] / src / TimeOrTag.h
CommitLineData
bbc27441 1/*
b8ae064d 2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
bbc27441
AJ
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
ff9d9458
FC
9#ifndef SQUID_SRC_TIMEORTAG_H
10#define SQUID_SRC_TIMEORTAG_H
81a94152
AJ
11
12#include "ETag.h"
13
14/**
15 * Some fields can hold either time or etag specs (e.g. If-Range)
16 */
987de843
A
17class TimeOrTag
18{
81a94152
AJ
19public:
20 ETag tag; /* entity tag */
21 time_t time;
22 int valid; /* true if struct is usable */
23};
24
ff9d9458 25#endif /* SQUID_SRC_TIMEORTAG_H */
f53969cc 26