summaryrefslogtreecommitdiffstats
path: root/bftw.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2019-06-23 10:15:52 -0400
committerTavian Barnes <tavianator@tavianator.com>2019-06-25 01:18:47 -0400
commit71d8077dca5e5c407dff934d549fcfea53f83ede (patch)
treee5394798abeee9a6bedfcfe85bc489a098c7c339 /bftw.h
parenteb62240bf67690a63b3d17626408d15408b93d57 (diff)
downloadbfs-71d8077dca5e5c407dff934d549fcfea53f83ede.tar.xz
bftw: Remove BFTW_SKIP_SIBLINGS
It's not used by bfs, and it's difficult to support in all search strategies.
Diffstat (limited to 'bftw.h')
-rw-r--r--bftw.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/bftw.h b/bftw.h
index e9b1132..573c5a9 100644
--- a/bftw.h
+++ b/bftw.h
@@ -150,10 +150,8 @@ enum bftw_typeflag bftw_typeflag(const struct BFTW *ftwbuf, enum bfs_stat_flag f
enum bftw_action {
/** Keep walking. */
BFTW_CONTINUE,
- /** Skip this path's siblings. */
- BFTW_SKIP_SIBLINGS,
/** Skip this path's children. */
- BFTW_SKIP_SUBTREE,
+ BFTW_PRUNE,
/** Stop walking. */
BFTW_STOP,
};