diff options
author | Igor Gnatenko | 2016-09-23 14:21:15 +0200 |
---|---|---|
committer | Igor Gnatenko | 2016-09-23 14:21:15 +0200 |
commit | 43e06c67f9a03114fa616a529faee6ed8eb26e97 (patch) | |
tree | 7d10033420e7d0d21141365524ca24eb89eb46ed /libsmartcols/src/libsmartcols.h.in | |
parent | libsmartcols: add scols_table_is_nowrap() (diff) | |
download | kernel-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.in | 1 |
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); |