summaryrefslogtreecommitdiff
path: root/rc.h
diff options
context:
space:
mode:
authorToby Goodwin <toby@paganbooks.eu>2018-04-28 23:14:12 +0100
committerToby Goodwin <toby@paganbooks.eu>2018-04-28 23:14:12 +0100
commit154fb2264f717aebe4ff149efce42411cefd583f (patch)
tree8fe0984e5ce9f60eb0d47419c7b05b7e730c6230 /rc.h
parent6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec (diff)
support completion through subdirs of path
Diffstat (limited to 'rc.h')
-rw-r--r--rc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.h b/rc.h
index 3009803..c3b2243 100644
--- a/rc.h
+++ b/rc.h
@@ -4,6 +4,9 @@
#include <assert.h>
+/* for struct stat */
+#include <sys/stat.h>
+
#define RC "rc: "
/* datatypes */
@@ -399,5 +402,5 @@ extern bool walk(Node *, bool);
extern bool cond;
/* which.c */
-extern bool rc_access(char *, bool);
+extern bool rc_access(char *, bool, struct stat *);
extern char *which(char *, bool);