Mercurial > dovecot > core-2.2
view src/lib-storage/index/mbox/mbox-lock.h @ 9002:9d0037a997f4 HEAD
Initial commit for config rewrite.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 27 Jan 2009 18:21:53 -0500 |
parents | af998ae4254b |
children | 128c598d2870 |
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 mbox_mailbox *mbox, int lock_type, unsigned int *lock_id_r); int mbox_unlock(struct mbox_mailbox *mbox, unsigned int lock_id); void mbox_dotlock_touch(struct mbox_mailbox *mbox); #endif