summaryrefslogtreecommitdiffstats
path: root/src/filesystem.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-11-12 17:54:24 -0500
committerDavid Robillard <d@drobilla.net>2022-11-16 10:22:55 -0500
commit42439bc6e35eef7c3cc905c60b5924c200b49ec8 (patch)
tree8a924183525ea0197ce26dbc68ab7564ef72b1d9 /src/filesystem.h
parenta2d40769d25c9495edce67be67be0ac36491ce80 (diff)
downloadlilv-42439bc6e35eef7c3cc905c60b5924c200b49ec8.tar.gz
lilv-42439bc6e35eef7c3cc905c60b5924c200b49ec8.tar.bz2
lilv-42439bc6e35eef7c3cc905c60b5924c200b49ec8.zip
Use zix_file_lock()
Diffstat (limited to 'src/filesystem.h')
-rw-r--r--src/filesystem.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/filesystem.h b/src/filesystem.h
index 33294da..e50b1af 100644
--- a/src/filesystem.h
+++ b/src/filesystem.h
@@ -2,7 +2,6 @@
// SPDX-License-Identifier: ISC
#include <stdbool.h>
-#include <stdio.h>
/// Return true iff `path` is an absolute path
bool
@@ -55,21 +54,6 @@ int
lilv_symlink(const char* oldpath, const char* newpath);
/**
- Set or remove an advisory exclusive lock on `file`.
-
- If the `lock` is true and the file is already locked by another process, or
- by this process via a different file handle, then this will not succeed and
- non-zero will be returned.
-
- @param file Handle for open file to lock.
- @param lock True to set lock, false to release lock.
- @param block If true, then this call will block until the lock is acquired.
- @return Zero on success.
-*/
-int
-lilv_flock(FILE* file, bool lock, bool block);
-
-/**
Visit every file in the directory at `path`.
@param path A path to a directory.