Config used by libhcache. More...
#include "config.h"
#include <stddef.h>
#include <stdbool.h>
#include "mutt/lib.h"
#include "config/lib.h"
#include "lib.h"
#include "compress/lib.h"
#include "store/lib.h"
#include "init.h"
Go to the source code of this file.
Functions | |
int | hcache_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Validate the "header_cache_backend" config variable - Implements ConfigDef::validator() More... | |
int | compress_method_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Validate the "header_cache_compress_method" config variable - Implements ConfigDef::validator() More... | |
int | compress_level_validator (const struct ConfigSet *cs, const struct ConfigDef *cdef, intptr_t value, struct Buffer *err) |
Validate the "header_cache_compress_level" config variable - Implements ConfigDef::validator() More... | |
bool | config_init_hcache (struct ConfigSet *cs) |
Register hcache config variables - Implements module_init_config_t. More... | |
Variables | |
char * | C_HeaderCache |
Config: (hcache) Directory/file for the header cache database. More... | |
char * | C_HeaderCacheBackend |
Config: (hcache) Header cache backend to use. More... | |
short | C_HeaderCacheCompressLevel |
Config: (hcache) Level of compression for method. More... | |
char * | C_HeaderCacheCompressMethod |
Config: (hcache) Enable generic hcache database compression. More... | |
bool | C_HeaderCacheCompress = false |
long | C_HeaderCachePagesize = 0 |
struct ConfigDef | HcacheVars [] |
Config used by libhcache.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file config.c.
int hcache_validator | ( | const struct ConfigSet * | cs, |
const struct ConfigDef * | cdef, | ||
intptr_t | value, | ||
struct Buffer * | err | ||
) |
Validate the "header_cache_backend" config variable - Implements ConfigDef::validator()
Definition at line 56 of file config.c.
int compress_method_validator | ( | const struct ConfigSet * | cs, |
const struct ConfigDef * | cdef, | ||
intptr_t | value, | ||
struct Buffer * | err | ||
) |
Validate the "header_cache_compress_method" config variable - Implements ConfigDef::validator()
Definition at line 75 of file config.c.
int compress_level_validator | ( | const struct ConfigSet * | cs, |
const struct ConfigDef * | cdef, | ||
intptr_t | value, | ||
struct Buffer * | err | ||
) |
Validate the "header_cache_compress_level" config variable - Implements ConfigDef::validator()
Definition at line 93 of file config.c.
bool config_init_hcache | ( | struct ConfigSet * | cs | ) |
Register hcache config variables - Implements module_init_config_t.
Definition at line 153 of file config.c.
char* C_HeaderCache |
char* C_HeaderCacheBackend |
short C_HeaderCacheCompressLevel |
char* C_HeaderCacheCompressMethod |
struct ConfigDef HcacheVars[] |