|
Squid Web Cache v8/master
|
#include "helper/protocol_defines.h"#include <cstdlib>#include <cstring>#include <ctime>#include <fcntl.h>#include <sys/types.h>#include <sys/stat.h>Go to the source code of this file.
Macros | |
| #define | __BIT_TYPES_DEFINED__ |
Functions | |
| static void | shutdown_db () |
| static void | init_db (void) |
| static size_t | dataSize (DB_ENTRY *data) |
| static bool | fetchKey (DB_ENTRY &key, DB_ENTRY *data) |
| static void | deleteEntry (DB_ENTRY &key) |
| static void | copyValue (void *dst, const DB_ENTRY *src, size_t sz) |
| static int | session_active (const char *details, size_t len) |
| static void | session_login (char *details, size_t len) |
| static void | session_logout (char *details, size_t len) |
| static void | usage (void) |
| int | main (int argc, char **argv) |
Variables | |
| static int | session_ttl = 3600 |
| static int | fixed_timeout = 0 |
| char * | db_path = nullptr |
| const char * | program_name |
| int | session_is_active = 0 |
| #define __BIT_TYPES_DEFINED__ |
Definition at line 58 of file ext_session_acl.cc.
|
static |
Definition at line 188 of file ext_session_acl.cc.
Referenced by Snmp::Var::assign(), and session_active().
|
static |
Definition at line 156 of file ext_session_acl.cc.
Referenced by session_active().
|
static |
Definition at line 178 of file ext_session_acl.cc.
References db.
Referenced by session_active(), and session_logout().
|
static |
|
static |
Definition at line 99 of file ext_session_acl.cc.
References db, db_path, program_name, shutdown_db(), and xstrdup.
Referenced by main().
Definition at line 271 of file ext_session_acl.cc.
References db_path, fixed_timeout, getopt(), HELPER_INPUT_BUFFER, init_db(), optarg, program_name, session_active(), session_login(), session_logout(), session_ttl, shutdown_db(), size_t, usage(), and xstrdup.
Definition at line 197 of file ext_session_acl.cc.
References copyValue(), dataSize(), deleteEntry(), fetchKey(), program_name, and session_ttl.
Referenced by main().
|
static |
|
static |
|
static |
Definition at line 80 of file ext_session_acl.cc.
References db, db_path, program_name, and xfree.
|
static |
Definition at line 263 of file ext_session_acl.cc.
References program_name.
Referenced by main(), main(), process_options(), and process_options().
| char* db_path = nullptr |
Definition at line 63 of file ext_session_acl.cc.
Referenced by Ssl::CertificateDb::Check(), Ssl::CertificateDb::Create(), init_db(), Ssl::CertificateDb::load(), main(), main(), processNewRequest(), and shutdown_db().
|
static |
Definition at line 62 of file ext_session_acl.cc.
Referenced by main().
| const char* program_name |
Definition at line 64 of file ext_session_acl.cc.
Referenced by init_db(), main(), session_active(), shutdown_db(), and usage().
| int session_is_active = 0 |
Definition at line 153 of file ext_session_acl.cc.
|
static |
Definition at line 61 of file ext_session_acl.cc.
Referenced by main(), and session_active().