]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: cleanup scols_table_set_symbols() API
authorKarel Zak <kzak@redhat.com>
Fri, 23 Sep 2016 12:20:24 +0000 (14:20 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 23 Sep 2016 12:20:24 +0000 (14:20 +0200)
commit63168cf9b5172c3cccd4bd5541d0e186c798bf9b
tree59f71cb583c8ff0d8969d6e0f3df0720842f5ddd
parent302419e8da819f7ab4c6c5773b412ea939117291
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>
libsmartcols/docs/libsmartcols-sections.txt
libsmartcols/src/libsmartcols.h.in
libsmartcols/src/libsmartcols.sym
libsmartcols/src/smartcolsP.h
libsmartcols/src/table.c
libsmartcols/src/table_print.c