Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib-storage/index/mbox/mbox-lock.h @ 6410:e4eb71ae8e96 HEAD
Changed .h ifdef/defines to use <NAME>_H format.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 11:31:27 +0300 |
parents | b698ae839a18 |
children | af998ae4254b |
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); #endif