summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-09-02 17:05:04 -0400
committerTavian Barnes <tavianator@tavianator.com>2017-09-02 17:05:04 -0400
commit84064a0bccf8cbabd54b76afee890df880c5d581 (patch)
treedc2f9a99cf197afc87a4e2da4582969072c2c688 /bfs.h
parent2741f580ffb6a05f52f0e2b05fa77ff3a15d967f (diff)
downloadbfs-84064a0bccf8cbabd54b76afee890df880c5d581.tar.xz
Implement -D search
Diffstat (limited to 'bfs.h')
-rw-r--r--bfs.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/bfs.h b/bfs.h
index 0f782a5..97efb5d 100644
--- a/bfs.h
+++ b/bfs.h
@@ -63,17 +63,19 @@ typedef bool eval_fn(const struct expr *expr, struct eval_state *state);
*/
enum debug_flags {
/** Print cost estimates. */
- DEBUG_COST = 1 << 0,
+ DEBUG_COST = 1 << 0,
/** Print executed command details. */
- DEBUG_EXEC = 1 << 1,
+ DEBUG_EXEC = 1 << 1,
/** Print optimization details. */
- DEBUG_OPT = 1 << 2,
+ DEBUG_OPT = 1 << 2,
/** Print rate information. */
- DEBUG_RATES = 1 << 3,
+ DEBUG_RATES = 1 << 3,
+ /** Trace the filesystem traversal. */
+ DEBUG_SEARCH = 1 << 4,
/** Trace all stat() calls. */
- DEBUG_STAT = 1 << 4,
+ DEBUG_STAT = 1 << 5,
/** Print the parse tree. */
- DEBUG_TREE = 1 << 5,
+ DEBUG_TREE = 1 << 6,
};
/**