diff options
author | Karel Zak | 2016-09-23 14:20:24 +0200 |
---|---|---|
committer | Karel Zak | 2016-09-23 14:20:24 +0200 |
commit | 63168cf9b5172c3cccd4bd5541d0e186c798bf9b (patch) | |
tree | 59f71cb583c8ff0d8969d6e0f3df0720842f5ddd /libsmartcols/src/libsmartcols.sym | |
parent | findmnt: (verify) add docs (diff) | |
download | kernel-qcow2-util-linux-63168cf9b5172c3cccd4bd5541d0e186c798bf9b.tar.gz kernel-qcow2-util-linux-63168cf9b5172c3cccd4bd5541d0e186c798bf9b.tar.xz kernel-qcow2-util-linux-63168cf9b5172c3cccd4bd5541d0e186c798bf9b.zip |
libsmartcols: cleanup scols_table_set_symbols() API
Change behavior:
* scols_table_set_symbols(tb, NULL) remove reference to the current symbols setting
and does not set default symbols at all
Add new functions:
* scols_table_get_symbols()
* scols_table_set_default_symbols()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.sym')
-rw-r--r-- | libsmartcols/src/libsmartcols.sym | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/libsmartcols.sym b/libsmartcols/src/libsmartcols.sym index d599a5030..62698bac6 100644 --- a/libsmartcols/src/libsmartcols.sym +++ b/libsmartcols/src/libsmartcols.sym @@ -141,8 +141,10 @@ SMARTCOLS_2.29 { global: scols_column_is_wrapnl; scols_symbols_set_cell_padding; + scols_table_get_symbols; scols_table_get_termforce; scols_table_get_termwidth; + scols_table_set_default_symbols; scols_table_set_termforce; scols_table_set_termwidth; } SMARTCOLS_2.28; |