mc/lib/lock.h
Andrew Borodin b2ee413f03 Allow use file locking in various components of MC.
Renamed and moved src/editor/editloc.[ch] -> lib/lock.[ch].
Renamed lock handling functions.
Fixed library order in src/Makefile.am.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-06-22 21:44:22 +04:00

16 lines
256 B
C

/** \file
* \brief Header: file locking
* \author Adam Byrtek
* \date 2003
* Look at lock.c for more details
*/
#ifndef MC_LOCK_H
#define MC_LOCK_H
int lock_file (const char *fname);
int unlock_file (const char *fname);
#endif /* MC_LOCK_H */