diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-06-05 17:00:51 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2020-06-05 17:00:51 -0400 |
commit | 389d0b2badf4a9cd33ed91a928b91475fb0d0a4f (patch) | |
tree | e7118bd11dc3647784d529643eafd0a28f85c244 /include/fs.h | |
parent | f76fed00c9c9289b354e7f8dd6f14ea699ef16a2 (diff) | |
download | spmc-389d0b2badf4a9cd33ed91a928b91475fb0d0a4f.tar.gz |
Move find.c functions into fs.c
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 0698871..9f706b2 100644 --- a/include/fs.h +++ b/include/fs.h @@ -47,4 +47,6 @@ 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); +char *find_executable(const char *program); +int find_in_file(const char *filename, const char *pattern); #endif //SPM_FSTREE_H |