diff options
author | Karel Zak | 2014-08-13 10:09:08 +0200 |
---|---|---|
committer | Karel Zak | 2014-08-13 10:09:08 +0200 |
commit | b8731ebcf2d825fd64ad772c1e5b5bb154ab0255 (patch) | |
tree | 1454143fc5a17924071215b133cf5d303f9b897b /include/colors.h | |
parent | libblkid: (gpt) fix PT offset (diff) | |
download | kernel-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.h | 2 |
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) { |