diff options
Diffstat (limited to 'src/include/gnunet_disk_lib.h')
-rw-r--r-- | src/include/gnunet_disk_lib.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index b79be5f70..f43cf8943 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h | |||
@@ -691,35 +691,6 @@ GNUNET_DISK_directory_create (const char *dir); | |||
691 | 691 | ||
692 | 692 | ||
693 | /** | 693 | /** |
694 | * Lock a part of a file. | ||
695 | * | ||
696 | * @param fh file handle | ||
697 | * @param lock_start absolute position from where to lock | ||
698 | * @param lock_end absolute position until where to lock | ||
699 | * @param excl #GNUNET_YES for an exclusive lock | ||
700 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | ||
701 | */ | ||
702 | int | ||
703 | GNUNET_DISK_file_lock (struct GNUNET_DISK_FileHandle *fh, | ||
704 | off_t lock_start, | ||
705 | off_t lock_end, int excl); | ||
706 | |||
707 | |||
708 | /** | ||
709 | * Unlock a part of a file. | ||
710 | * | ||
711 | * @param fh file handle | ||
712 | * @param unlock_start absolute position from where to unlock | ||
713 | * @param unlock_end absolute position until where to unlock | ||
714 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on error | ||
715 | */ | ||
716 | int | ||
717 | GNUNET_DISK_file_unlock (struct GNUNET_DISK_FileHandle *fh, | ||
718 | off_t unlock_start, | ||
719 | off_t unlock_end); | ||
720 | |||
721 | |||
722 | /** | ||
723 | * @brief Removes special characters as ':' from a filename. | 694 | * @brief Removes special characters as ':' from a filename. |
724 | * @param fn the filename to canonicalize | 695 | * @param fn the filename to canonicalize |
725 | */ | 696 | */ |