diff options
author | Karel Zak | 2017-06-12 11:51:36 +0200 |
---|---|---|
committer | Karel Zak | 2017-06-12 11:51:36 +0200 |
commit | e33b387483494711439578f209e0ce245410047c (patch) | |
tree | f45b2578af790a6c7e05746c3e5cb420dab57f37 /libsmartcols/src/libsmartcols.h.in | |
parent | lib/ttyutils: return terminal lines too (diff) | |
download | kernel-qcow2-util-linux-e33b387483494711439578f209e0ce245410047c.tar.gz kernel-qcow2-util-linux-e33b387483494711439578f209e0ce245410047c.tar.xz kernel-qcow2-util-linux-e33b387483494711439578f209e0ce245410047c.zip |
libsmartcols: add scols_table_{set,get}_termheight()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index e77af857a..cfe2439ef 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -282,6 +282,8 @@ extern int scols_table_set_termforce(struct libscols_table *tb, int force); extern int scols_table_get_termforce(const struct libscols_table *tb); extern int scols_table_set_termwidth(struct libscols_table *tb, size_t width); extern size_t scols_table_get_termwidth(const struct libscols_table *tb); +extern int scols_table_set_termheight(struct libscols_table *tb, size_t height); +extern size_t scols_table_get_termheight(const struct libscols_table *tb); /* table_print.c */ |