Mercurial > dovecot > original-hg > dovecot-1.2
view src/plugins/expire/expire-env.h @ 8112:d630b13ccd60 HEAD
Expire plugin: Include expire/ in the dictionary path.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 27 Aug 2008 12:08:14 +0300 |
parents | bd54359bfb3a |
children |
line wrap: on
line source
#ifndef EXPIRE_ENV_H #define EXPIRE_ENV_H #define DICT_EXPIRE_PREFIX DICT_PATH_SHARED"expire/" struct expire_env; struct expire_env *expire_env_init(const char *expunges, const char *altmoves); void expire_env_deinit(struct expire_env *env); bool expire_box_find(struct expire_env *env, const char *name, unsigned int *expunge_secs_r, unsigned int *altmove_secs_r); unsigned int expire_box_find_min_secs(struct expire_env *env, const char *name, bool *altmove_r); #endif