summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/libsmartcols.h.in
diff options
context:
space:
mode:
authorIgor Gnatenko2016-09-23 14:21:15 +0200
committerIgor Gnatenko2016-09-23 14:21:15 +0200
commit43e06c67f9a03114fa616a529faee6ed8eb26e97 (patch)
tree7d10033420e7d0d21141365524ca24eb89eb46ed /libsmartcols/src/libsmartcols.h.in
parentlibsmartcols: add scols_table_is_nowrap() (diff)
downloadkernel-qcow2-util-linux-43e06c67f9a03114fa616a529faee6ed8eb26e97.tar.gz
kernel-qcow2-util-linux-43e06c67f9a03114fa616a529faee6ed8eb26e97.tar.xz
kernel-qcow2-util-linux-43e06c67f9a03114fa616a529faee6ed8eb26e97.zip
libsmartcols: add scols_table_is_nolinesep()
And save 1 or 0 into tb->no_linesep instead of any value. 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.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in
index 6df878804..0fa9b464d 100644
--- a/libsmartcols/src/libsmartcols.h.in
+++ b/libsmartcols/src/libsmartcols.h.in
@@ -205,6 +205,7 @@ extern int scols_table_is_empty(const struct libscols_table *tb);
extern int scols_table_is_export(const struct libscols_table *tb);
extern int scols_table_is_maxout(const struct libscols_table *tb);
extern int scols_table_is_nowrap(const struct libscols_table *tb);
+extern int scols_table_is_nolinesep(const struct libscols_table *tb);
extern int scols_table_is_tree(const struct libscols_table *tb);
extern int scols_table_enable_colors(struct libscols_table *tb, int enable);