1 2 /** \file 3 * \brief Header: file locking 4 * \author Adam Byrtek 5 * \date 2003 6 * Look at lock.c for more details 7 */ 8 9 #ifndef MC_LOCK_H 10 #define MC_LOCK_H 11 12 #include "lib/vfs/vfs.h" /* vfs_path_t */ 13 14 /*** typedefs(not structures) and defined constants **********************************************/ 15 16 /*** enums ***************************************************************************************/ 17 18 /*** structures declarations (and typedefs of structures)*****************************************/ 19 20 /*** global variables defined in .c file *********************************************************/ 21 22 /*** declarations of public functions ************************************************************/ 23 24 int lock_file (const vfs_path_t * fname_vpath); 25 int unlock_file (const vfs_path_t * fname_vpath); 26 27 /*** inline functions ****************************************************************************/ 28 29 #endif /* MC_LOCK_H */