Ticket #2518: code cleanup before 4.7.5.2 release.
[midnight-commander.git] / lib / lock.h
blob412f38c0b92afadd1a8db3b88a92f7c774597fc6
2 /** \file
3 * \brief Header: file locking
4 * \author Adam Byrtek
5 * \date 2003
6 * Look at lock.c for more details
7 */
9 #ifndef MC_LOCK_H
10 #define MC_LOCK_H
12 /*** typedefs(not structures) and defined constants **********************************************/
14 /*** enums ***************************************************************************************/
16 /*** structures declarations (and typedefs of structures)*****************************************/
18 /*** global variables defined in .c file *********************************************************/
20 /*** declarations of public functions ************************************************************/
22 int lock_file (const char *fname);
23 int unlock_file (const char *fname);
25 /*** inline functions ****************************************************************************/
27 #endif /* MC_LOCK_H */