summaryrefslogtreecommitdiffstats
path: root/ctx.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-12-02 10:06:53 -0500
committerTavian Barnes <tavianator@tavianator.com>2020-12-02 10:06:53 -0500
commitbdef1cd0bb00251bf92e6a545bb6e0f2dc2814a5 (patch)
tree1d84e62abf5bfa01a04bca8b7305b78bb96880b2 /ctx.h
parentbec07dfca5caefea28f20c7ce6c4a80c70cc6944 (diff)
downloadbfs-bdef1cd0bb00251bf92e6a545bb6e0f2dc2814a5.tar.xz
parse: Clean up debug flag parsing/printing
Diffstat (limited to 'ctx.h')
-rw-r--r--ctx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctx.h b/ctx.h
index 39b3330..35eee76 100644
--- a/ctx.h
+++ b/ctx.h
@@ -48,6 +48,11 @@ enum debug_flags {
};
/**
+ * Convert a debug flag to a string.
+ */
+const char *debug_flag_name(enum debug_flags flag);
+
+/**
* The execution context for bfs.
*/
struct bfs_ctx {