source: squid-ssl/trunk/fuentes/src/TimeOrTag.h @ 5495

Last change on this file since 5495 was 5495, checked in by Juanma, 2 years ago

Initial release

File size: 616 bytes
Line 
1/*
2 * Copyright (C) 1996-2015 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_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 */
17class TimeOrTag
18{
19public:
20    ETag tag;                   /* entity tag */
21    time_t time;
22    int valid;                  /* true if struct is usable */
23};
24
25#endif /* _SQUID_TIMEORTAG_H */
26
Note: See TracBrowser for help on using the repository browser.