lock.h 862 B

123456789101112131415161718192021222324252627
  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. /*** typedefs(not structures) and defined constants **********************************************/
  10. /*** enums ***************************************************************************************/
  11. /*** structures declarations (and typedefs of structures)*****************************************/
  12. /*** global variables defined in .c file *********************************************************/
  13. /*** declarations of public functions ************************************************************/
  14. int lock_file (const char *fname);
  15. int unlock_file (const char *fname);
  16. /*** inline functions ****************************************************************************/
  17. #endif /* MC_LOCK_H */