|
Apache HTTPD
|
Classes | |
| struct | ap_socache_hints |
| struct | ap_socache_provider_t |
Macros | |
| #define | AP_SOCACHE_FLAG_NOTMPSAFE (0x0001) |
| #define | AP_SOCACHE_PROVIDER_GROUP "socache" |
| #define | AP_SOCACHE_PROVIDER_VERSION "0" |
| #define | AP_SOCACHE_DEFAULT_PROVIDER "default" |
| #define AP_SOCACHE_DEFAULT_PROVIDER "default" |
Default provider name.
Definition at line 223 of file ap_socache.h.
| #define AP_SOCACHE_FLAG_NOTMPSAFE (0x0001) |
If this flag is set, the store/retrieve/remove/status interfaces of the provider are NOT safe to be called concurrently from multiple processes or threads, and an external global mutex must be used to serialize access to the provider.
Definition at line 46 of file ap_socache.h.
| #define AP_SOCACHE_PROVIDER_GROUP "socache" |
The provider group used to register socache providers.
Definition at line 218 of file ap_socache.h.
| #define AP_SOCACHE_PROVIDER_VERSION "0" |
The provider version used to register socache providers.
Definition at line 220 of file ap_socache.h.
A cache instance.
Definition at line 49 of file ap_socache.h.
| typedef apr_status_t() ap_socache_iterator_t(ap_socache_instance_t *instance, server_rec *s, void *userctx, const unsigned char *id, unsigned int idlen, const unsigned char *data, unsigned int datalen, apr_pool_t *pool) |
Iterator callback prototype for the ap_socache_provider_t->iterate() method
| instance | The cache instance |
| s | Associated server context (for logging) |
| userctx | User defined pointer passed from the iterator call |
| id | Unique ID for the object (binary blob) with a trailing null char for convenience |
| idlen | Length of id blob |
| data | Output buffer to place retrieved data (binary blob) with a trailing null char for convenience |
| datalen | Length of data buffer |
| pool | Pool for temporary allocations |
Definition at line 77 of file ap_socache.h.
A socache provider structure. socache providers are registered with the ap_provider.h interface using the AP_SOCACHE_PROVIDER_* constants.