]>
Commit | Line | Data |
---|---|---|
bbc27441 | 1 | /* |
ef57eb7b | 2 | * Copyright (C) 1996-2016 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 | ||
81a94152 AJ |
9 | #ifndef _SQUID_TIMEORTAG_H |
10 | #define _SQUID_TIMEORTAG_H | |
11 | ||
12 | #include "ETag.h" | |
13 | ||
14 | /** | |
15 | * Some fields can hold either time or etag specs (e.g. If-Range) | |
16 | */ | |
987de843 A |
17 | class TimeOrTag |
18 | { | |
81a94152 AJ |
19 | public: |
20 | ETag tag; /* entity tag */ | |
21 | time_t time; | |
22 | int valid; /* true if struct is usable */ | |
23 | }; | |
24 | ||
25 | #endif /* _SQUID_TIMEORTAG_H */ | |
f53969cc | 26 |