diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-25 01:17:40 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-05-25 01:17:40 -0400 |
commit | 2d981c10be5f902442c885fb7e2cafa6154145c7 (patch) | |
tree | 500d53d43af7cc140a556f43bf398cad5d3a1ccd /include/fs.h | |
parent | c205840e737b23614a686a9675b896106cee5c64 (diff) | |
download | spmc-2d981c10be5f902442c885fb7e2cafa6154145c7.tar.gz |
Move file_readlines function out of mirrors.c
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fs.h b/include/fs.h index c41b649..81acd92 100644 --- a/include/fs.h +++ b/include/fs.h @@ -41,6 +41,5 @@ char *human_readable_size(uint64_t n); char *expandpath(const char *_path); char *spm_mkdtemp(const char *base, const char *name, const char *extended_path); int touch(const char *path); - - +char **file_readlines(const char *filename, size_t start, size_t limit, ReaderFn *readerFn); #endif //SPM_FSTREE_H |