From 9946c0363648b44d396b07d8a1a4557c568edc88 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 15 Jul 2020 16:49:36 +0200 Subject: Implement html sync, fix rss sync --- src/fileutils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fileutils.h') diff --git a/src/fileutils.h b/src/fileutils.h index 2b9906c..9f8f4fe 100644 --- a/src/fileutils.h +++ b/src/fileutils.h @@ -15,6 +15,7 @@ int create_lock_file(const char *path); int file_overwrite(const char *filepath, const char *data, size_t size); int file_overwrite_in_dir(const char *dir, const char *filename, const char *data, size_t size); -void path_join(char *output, const char **components, int num_components); +/* Returns the length of the new path (the length of @output) */ +int path_join(char *output, const char **components, int num_components); #endif -- cgit v1.2.3