view src/lib-index/mbox/mbox-lock.h @ 298:5509d87fe68b HEAD

mbox locking changes. support read-locking now. there's still problems though..
author Timo Sirainen <tss@iki.fi>
date Mon, 23 Sep 2002 14:38:46 +0300
parents 3b1985cbc908
children cb405d2f5fd5
line wrap: on
line source

#ifndef __MBOX_LOCK_H
#define __MBOX_LOCK_H

int mbox_lock(MailIndex *index, const char *path, int fd, int exclusive);
int mbox_unlock(MailIndex *index, const char *path, int fd);

#endif