lock.h 929 B

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