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/smartcolsP.h | |
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/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index ca6ea1be7..8e8bd768e 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -161,6 +161,7 @@ struct libscols_table { padding_debug :1, /* output visible padding chars */ maxout :1, /* maximize output */ header_printed :1, /* header already printed */ + priv_symbols :1, /* default private symbols */ no_headings :1, /* don't print header */ no_linesep :1, /* don't print line separator */ no_wrap :1; /* never wrap lines */ |