Mercurial > dovecot > core-2.2
view src/lib-index/mbox/mbox-lock.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 | 83da62e0675a |
children |
line wrap: on
line source
#ifndef __MBOX_LOCK_H #define __MBOX_LOCK_H /* NOTE: if mbox file is not open, it's opened. if it is open but file has been overwritten (ie. inode has changed), it's reopened. */ int mbox_lock(struct mail_index *index, enum mail_lock_type lock_type); int mbox_unlock(struct mail_index *index); #endif