summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r--src/lilv_internal.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index 9950a61..43f92cd 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -342,8 +342,6 @@ char* lilv_strdup(const char* str);
char* lilv_get_lang(void);
char* lilv_expand(const char* path);
char* lilv_dirname(const char* path);
-char* lilv_find_free_path(
- const char* in_path, bool (*exists)(const char*, void*), void* user_data);
int lilv_copy_file(const char* src, const char* dst);
bool lilv_path_exists(const char* path, void* ignored);
bool lilv_path_is_absolute(const char* path);
@@ -352,6 +350,15 @@ char* lilv_path_relative_to(const char* path, const char* base);
bool lilv_path_is_child(const char* path, const char* dir);
int lilv_flock(FILE* file, bool lock);
+char*
+lilv_find_free_path(const char* in_path,
+ bool (*exists)(const char*, void*), void* user_data);
+
+void
+lilv_dir_for_each(const char* path,
+ void* data,
+ void (*f)(const char* path, const char* name, void* data));
+
typedef void (*VoidFunc)(void);
/** dlsym wrapper to return a function pointer (without annoying warning) */