expire-env.h revision 9514dbd41faad453406fc3a10aca791417a9ce75
#ifndef EXPIRE_ENV_H
#define EXPIRE_ENV_H
#define DICT_EXPIRE_PREFIX DICT_PATH_SHARED"expire/"
struct expire_env;
struct mail_namespace;
struct expire_env *expire_env_init(struct mail_namespace *namespaces,
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