summaryrefslogtreecommitdiffstats
path: root/include/colors.h
diff options
context:
space:
mode:
authorKarel Zak2014-08-13 10:09:08 +0200
committerKarel Zak2014-08-13 10:09:08 +0200
commitb8731ebcf2d825fd64ad772c1e5b5bb154ab0255 (patch)
tree1454143fc5a17924071215b133cf5d303f9b897b /include/colors.h
parentlibblkid: (gpt) fix PT offset (diff)
downloadkernel-qcow2-util-linux-b8731ebcf2d825fd64ad772c1e5b5bb154ab0255.tar.gz
kernel-qcow2-util-linux-b8731ebcf2d825fd64ad772c1e5b5bb154ab0255.tar.xz
kernel-qcow2-util-linux-b8731ebcf2d825fd64ad772c1e5b5bb154ab0255.zip
lib/colors: add function to return color from scheme
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/colors.h')
-rw-r--r--include/colors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/colors.h b/include/colors.h
index e8ab3951a..97efc486a 100644
--- a/include/colors.h
+++ b/include/colors.h
@@ -65,7 +65,9 @@ extern void colors_on(void);
/* Set the color */
extern void color_fenable(const char *seq, FILE *f);
+
extern void color_scheme_fenable(const char *name, const char *dflt, FILE *f);
+extern const char *color_scheme_get_sequence(const char *name, const char *dflt);
static inline void color_enable(const char *seq)
{