TimeData.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2022 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 virtual ~ACLTimeData();
22 bool match(time_t);
23 virtual SBufList dump() const;
24 void parse();
25 bool empty() const;
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
void parse()
Definition: TimeData.cc:92
bool match(time_t)
Definition: TimeData.cc:38
int stop
Definition: TimeData.h:30
bool empty() const
Definition: TimeData.cc:214
ACLTimeData * next
Definition: TimeData.h:31
virtual SBufList dump() const
Definition: TimeData.cc:68
virtual ~ACLTimeData()
Definition: TimeData.cc:31
int start
Definition: TimeData.h:29
std::list< SBuf > SBufList
Definition: forward.h:23

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors