diff options
| author | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 23:14:12 +0100 |
|---|---|---|
| committer | Toby Goodwin <toby@paganbooks.eu> | 2018-04-28 23:14:12 +0100 |
| commit | 154fb2264f717aebe4ff149efce42411cefd583f (patch) | |
| tree | 8fe0984e5ce9f60eb0d47419c7b05b7e730c6230 /rc.h | |
| parent | 6fe8c0e92443ce3898fa8c3ebd73f6976fe98eec (diff) | |
support completion through subdirs of path
Diffstat (limited to 'rc.h')
| -rw-r--r-- | rc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |