ext_time_quota_acl.cc
Go to the documentation of this file.
79 debugs(MY_DEBUG_SECTION, DBG_CRITICAL, "FATAL: Failed to open time_quota db '" << db_path << '\'');
83 debugs(MY_DEBUG_SECTION, 2, "Database contains " << tdb_traverse(db, nullptr, nullptr) << " entries");
175 debugs(MY_DEBUG_SECTION, DBG_IMPORTANT, "ERROR: Wrong time unit \"" << unit << "\". Only \"m\", \"h\", \"d\", or \"w\" allowed");
219 debugs(MY_DEBUG_SECTION, DBG_IMPORTANT, "ERROR: missing 'budget' field on line " << lineCount << " of '" << filename << '\'');
223 debugs(MY_DEBUG_SECTION, DBG_IMPORTANT, "ERROR: missing 'period' field on line " << lineCount << " of '" << filename << '\'');
static void processActivity(const char *user_key)
Definition: ext_time_quota_acl.cc:246
static SBuf KeyString(const char *user_key, const char *sub_key)
Definition: ext_time_quota_acl.cc:91
static const auto KeyTimeBudgetConfigured
Definition: ext_time_quota_acl.cc:58
static void parseTime(const char *s, time_t *secs, time_t *start)
Definition: ext_time_quota_acl.cc:140
static time_t readTime(const char *user_key, const char *sub_key)
Definition: ext_time_quota_acl.cc:112
static const auto KeyPeriodLengthConfigured
Definition: ext_time_quota_acl.cc:56
SBuf ToSBuf(Args &&... args)
slowly stream-prints all arguments into a freshly allocated SBuf
Definition: Stream.h:63
static void writeTime(const char *user_key, const char *sub_key, time_t t)
Definition: ext_time_quota_acl.cc:96
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products