Unify widget and dialog message handling.
[midnight-commander.git] / lib / lock.h
blob7cca65fa262288803df6f3c200eb3cc4c127a288
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 #include "lib/vfs/vfs.h" /* vfs_path_t */
14 /*** typedefs(not structures) and defined constants **********************************************/
16 /*** enums ***************************************************************************************/
18 /*** structures declarations (and typedefs of structures)*****************************************/
20 /*** global variables defined in .c file *********************************************************/
22 /*** declarations of public functions ************************************************************/
24 int lock_file (const vfs_path_t * fname_vpath);
25 int unlock_file (const vfs_path_t * fname_vpath);
27 /*** inline functions ****************************************************************************/
29 #endif /* MC_LOCK_H */