diff options
author | Karel Zak | 2015-12-10 13:02:03 +0100 |
---|---|---|
committer | Karel Zak | 2015-12-10 13:02:03 +0100 |
commit | 6d6b6d185e7427e2b5590349edd76d019b0fe920 (patch) | |
tree | c939298915cfafd1da489166f3990213ddaccf40 /libsmartcols/src/libsmartcols.h.in | |
parent | libmount: add comment, remove TODO item (diff) | |
download | kernel-qcow2-util-linux-6d6b6d185e7427e2b5590349edd76d019b0fe920.tar.gz kernel-qcow2-util-linux-6d6b6d185e7427e2b5590349edd76d019b0fe920.tar.xz kernel-qcow2-util-linux-6d6b6d185e7427e2b5590349edd76d019b0fe920.zip |
libsmartcols: add SCOLS_FL_HIDDEN
Export "don't print this column" functionality by public API.
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 2ac166b32..381a8eb9b 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -83,6 +83,7 @@ enum { SCOLS_FL_RIGHT = (1 << 2), /* align to the right */ SCOLS_FL_STRICTWIDTH = (1 << 3), /* don't reduce width if column is empty */ SCOLS_FL_NOEXTREMES = (1 << 4), /* ignore extreme fields when count column width*/ + SCOLS_FL_HIDDEN = (1 << 5), /* maintain data, but don't print */ }; extern struct libscols_iter *scols_new_iter(int direction); @@ -126,6 +127,7 @@ extern int scols_column_is_tree(struct libscols_column *cl); extern int scols_column_is_trunc(struct libscols_column *cl); extern int scols_column_is_right(struct libscols_column *cl); extern int scols_column_is_strict_width(struct libscols_column *cl); +extern int scols_column_is_hidden(struct libscols_column *cl); extern int scols_column_is_noextremes(struct libscols_column *cl); extern int scols_column_set_flags(struct libscols_column *cl, int flags); |