Mercurial > dovecot > core-2.2
view src/lib-storage/subscription-file/subscription-file.h @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | 82b7de533f98 |
children | 411006be3c66 |
line wrap: on
line source
#ifndef __SUBSCRIPTION_FILE_H #define __SUBSCRIPTION_FILE_H #include "mail-storage.h" /* Returns FALSE if foreach should be aborted */ typedef int (*SubsFileForeachFunc)(struct mail_storage *storage, const char *name, void *context); int subsfile_set_subscribed(struct mail_storage *storage, const char *name, int set); /* Returns -1 if error, 0 if foreach function returned FALSE or 1 if all ok */ int subsfile_foreach(struct mail_storage *storage, const char *mask, SubsFileForeachFunc func, void *context); #endif