diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-15 16:49:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-15 17:02:25 +0200 |
commit | 9946c0363648b44d396b07d8a1a4557c568edc88 (patch) | |
tree | d5a2426e266c14f4e4773bacccff7cb8456466c5 /src/fileutils.h | |
parent | 73393bfab65515c68159a649c10856659b5ac016 (diff) |
Implement html sync, fix rss sync
Diffstat (limited to 'src/fileutils.h')
-rw-r--r-- | src/fileutils.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |