summaryrefslogtreecommitdiffstats
path: root/bfs.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2017-03-11 14:06:42 -0500
committerTavian Barnes <tavianator@tavianator.com>2017-03-11 14:06:42 -0500
commit21f6c460fcda0161993f75421614efb6971af23b (patch)
tree80ff098bd62d81a694ad22c1dae66cdb01c7e51f /bfs.h
parentd03c58ef1cc8aa932b4f652dea14f762716bc02a (diff)
downloadbfs-21f6c460fcda0161993f75421614efb6971af23b.tar.xz
Make a printf()-style API for colored messages
Diffstat (limited to 'bfs.h')
-rw-r--r--bfs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfs.h b/bfs.h
index b589def..708deaa 100644
--- a/bfs.h
+++ b/bfs.h
@@ -84,10 +84,10 @@ struct cmdline {
/** Color data. */
struct colors *colors;
- /** Colors to use for stdout. */
- const struct colors *stdout_colors;
- /** Colors to use for stderr. */
- const struct colors *stderr_colors;
+ /** Colored stdout. */
+ CFILE *cout;
+ /** Colored stderr. */
+ CFILE *cerr;
/** -mindepth option. */
int mindepth;