diff options
author | Igor Gnatenko | 2016-01-24 23:47:42 +0100 |
---|---|---|
committer | Igor Gnatenko | 2016-01-25 00:12:14 +0100 |
commit | 703d0196ee37f04cdef1b74b6af4b97252c961b0 (patch) | |
tree | 56842fc8edbf971c717e0de9763a33cfc8f7d89e /libsmartcols/src/libsmartcols.h.in | |
parent | libsmartcols: position of title in fact unsigned (diff) | |
download | kernel-qcow2-util-linux-703d0196ee37f04cdef1b74b6af4b97252c961b0.tar.gz kernel-qcow2-util-linux-703d0196ee37f04cdef1b74b6af4b97252c961b0.tar.xz kernel-qcow2-util-linux-703d0196ee37f04cdef1b74b6af4b97252c961b0.zip |
libsmartcols: add few methods to get information about title
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index e5a0fccb3..573a6ddca 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -188,6 +188,9 @@ extern struct libscols_line *scols_copy_line(struct libscols_line *ln); extern int scols_table_colors_wanted(struct libscols_table *tb); extern int scols_table_set_name(struct libscols_table *tb, const char *name); extern int scols_table_set_title(struct libscols_table *tb, const char *title, unsigned int position, const char *color); +extern const char *scols_table_get_title(struct libscols_table *tb); +extern unsigned int scols_table_get_title_position(struct libscols_table *tb); +extern const char *scols_table_get_title_color(struct libscols_table *tb); extern int scols_table_is_raw(struct libscols_table *tb); extern int scols_table_is_ascii(struct libscols_table *tb); extern int scols_table_is_json(struct libscols_table *tb); |