aboutsummaryrefslogtreecommitdiff
path: root/include/find.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-02-11 11:43:25 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-02-11 11:43:25 -0500
commit9bd603b639d7dd08fbe0af7e8669358bd066b7cd (patch)
tree8207b9680cc33846ff7d9ce0c8917aa052766c43 /include/find.h
parentb828cc647f63de48c6e24f5a1043e052eb99b2a2 (diff)
downloadspmc-9bd603b639d7dd08fbe0af7e8669358bd066b7cd.tar.gz
Refactor project structure:
* Move prototypes and definitions to respective header files * Renamed strings.h to str.h to avoid collision with standard library header
Diffstat (limited to 'include/find.h')
-rw-r--r--include/find.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/find.h b/include/find.h
new file mode 100644
index 0000000..6a3b2f5
--- /dev/null
+++ b/include/find.h
@@ -0,0 +1,9 @@
+#ifndef SPM_FIND_H
+#define SPM_FIND_H
+
+char *find_executable(const char *program);
+char *find_file(const char *root, const char *filename);
+char *find_package(const char *filename);
+int errglob(const char *epath, int eerrno);
+
+#endif //SPM_FIND_H