|
Apache HTTPD
|
#include "httpd.h"#include "http_log.h"#include "http_request.h"#include "http_protocol.h"#include "http_config.h"#include "mod_status.h"#include "apr.h"#include "apr_strings.h"#include "apr_time.h"#include "apr_shm.h"#include "apr_want.h"#include "apr_general.h"#include "ap_socache.h"Go to the source code of this file.
Classes | |
| struct | SHMCBHeader |
| struct | SHMCBSubcache |
| struct | SHMCBIndex |
| struct | ap_socache_instance_t |
Macros | |
| #define | APR_WANT_STRFUNC |
| #define | SHMCB_MAX_SIZE (UINT_MAX<APR_SIZE_MAX ? UINT_MAX : APR_SIZE_MAX) |
| #define | DEFAULT_SHMCB_PREFIX "socache-shmcb-" |
| #define | DEFAULT_SHMCB_SUFFIX ".cache" |
| #define | ALIGNED_HEADER_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBHeader)) |
| #define | ALIGNED_SUBCACHE_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBSubcache)) |
| #define | ALIGNED_INDEX_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBIndex)) |
| #define | SHMCB_SUBCACHE(pHeader, num) |
| #define | SHMCB_MASK(pHeader, id) SHMCB_SUBCACHE((pHeader), *(id) & ((pHeader)->subcache_num - 1)) |
| #define | SHMCB_MASK_DBG(pHeader, id) *(id), (*(id) & ((pHeader)->subcache_num - 1)) |
| #define | SHMCB_INDEX(pSubcache, num) |
| #define | SHMCB_DATA(pHeader, pSubcache) ((unsigned char *)(pSubcache) + (pHeader)->subcache_data_offset) |
| #define | SHMCB_CYCLIC_INCREMENT(val, inc, mod) (((val) + (inc)) % (mod)) |
| #define | SHMCB_CYCLIC_SPACE(val1, val2, mod) |
Variables | |
| static const ap_socache_provider_t | socache_shmcb |
| static int *const | aplog_module_index = &( socache_shmcb_module.module_index) |
| #define ALIGNED_HEADER_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBHeader)) |
Definition at line 51 of file mod_socache_shmcb.c.
| #define ALIGNED_INDEX_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBIndex)) |
Definition at line 53 of file mod_socache_shmcb.c.
| #define ALIGNED_SUBCACHE_SIZE APR_ALIGN_DEFAULT(sizeof(SHMCBSubcache)) |
Definition at line 52 of file mod_socache_shmcb.c.
| #define APR_WANT_STRFUNC |
Definition at line 28 of file mod_socache_shmcb.c.
Definition at line 47 of file mod_socache_shmcb.c.
| #define DEFAULT_SHMCB_SUFFIX ".cache" |
Definition at line 49 of file mod_socache_shmcb.c.
Definition at line 191 of file mod_socache_shmcb.c.
| #define SHMCB_DATA | ( | pHeader, | |
| pSubcache | |||
| ) | ((unsigned char *)(pSubcache) + (pHeader)->subcache_data_offset) |
Definition at line 183 of file mod_socache_shmcb.c.
Definition at line 176 of file mod_socache_shmcb.c.
Definition at line 166 of file mod_socache_shmcb.c.
Definition at line 171 of file mod_socache_shmcb.c.
| #define SHMCB_MAX_SIZE (UINT_MAX<APR_SIZE_MAX ? UINT_MAX : APR_SIZE_MAX) |
Definition at line 45 of file mod_socache_shmcb.c.
Definition at line 159 of file mod_socache_shmcb.c.
|
static |
Definition at line 1068 of file mod_socache_shmcb.c.
|
static |
Definition at line 216 of file mod_socache_shmcb.c.
|
static |
Definition at line 234 of file mod_socache_shmcb.c.
|
static |
Definition at line 200 of file mod_socache_shmcb.c.
|
static |
Definition at line 723 of file mod_socache_shmcb.c.
|
static |
Definition at line 970 of file mod_socache_shmcb.c.
|
static |
Definition at line 934 of file mod_socache_shmcb.c.
|
static |
Definition at line 871 of file mod_socache_shmcb.c.
|
static |
Definition at line 769 of file mod_socache_shmcb.c.
|
static |
Definition at line 345 of file mod_socache_shmcb.c.
|
static |
Definition at line 290 of file mod_socache_shmcb.c.
|
static |
Definition at line 490 of file mod_socache_shmcb.c.
|
static |
Definition at line 355 of file mod_socache_shmcb.c.
|
static |
Definition at line 695 of file mod_socache_shmcb.c.
|
static |
Definition at line 562 of file mod_socache_shmcb.c.
|
static |
Definition at line 535 of file mod_socache_shmcb.c.
|
static |
Definition at line 591 of file mod_socache_shmcb.c.
|
static |
Definition at line 497 of file mod_socache_shmcb.c.
Definition at line 1081 of file mod_socache_shmcb.c.
|
static |
Definition at line 1055 of file mod_socache_shmcb.c.