TimeData.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_ACLTIMEDATA_H
10#define SQUID_ACLTIMEDATA_H
11
12#include "acl/Acl.h"
13#include "acl/Data.h"
14
15class ACLTimeData : public ACLData<time_t>
16{
18
19public:
21 ~ACLTimeData() override;
22 bool match(time_t) override;
23 SBufList dump() const override;
24 void parse() override;
25 bool empty() const override;
26
27private:
29 int start;
30 int stop;
32};
33
34#endif /* SQUID_ACLTIMEDATA_H */
35
Configured ACL parameter(s) (e.g., domain names in dstdomain ACL).
Definition: Data.h:18
MEMPROXY_CLASS(ACLTimeData)
int weekbits
Definition: TimeData.h:28
SBufList dump() const override
Definition: TimeData.cc:68
~ACLTimeData() override
Definition: TimeData.cc:31
bool match(time_t) override
Definition: TimeData.cc:38
int stop
Definition: TimeData.h:30
ACLTimeData * next
Definition: TimeData.h:31
bool empty() const override
Definition: TimeData.cc:214
int start
Definition: TimeData.h:29
void parse() override
Definition: TimeData.cc:92
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors