diff options
author | Karel Zak | 2019-05-03 17:12:18 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-03 17:12:18 +0200 |
commit | ea7fb72eb25bdfee46d612f91f47c36ba78c4627 (patch) | |
tree | 9dcd50f0ec36f7859217b1c417b8c5ba5c6bd877 /libsmartcols/src/smartcolsP.h | |
parent | libsmartcols: (groups) print group childrent after regualr tree (diff) | |
download | kernel-qcow2-util-linux-ea7fb72eb25bdfee46d612f91f47c36ba78c4627.tar.gz kernel-qcow2-util-linux-ea7fb72eb25bdfee46d612f91f47c36ba78c4627.tar.xz kernel-qcow2-util-linux-ea7fb72eb25bdfee46d612f91f47c36ba78c4627.zip |
libsmartcols: (groups) use print functions tp calculate grpset
Now we have extra code to calculate grpset. It seems better to use
only one way how we wall the tree.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index c063db212..5a06d3f7e 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -231,6 +231,7 @@ struct libscols_table { colors_wanted :1, /* enable colors */ is_term :1, /* isatty() */ padding_debug :1, /* output visible padding chars */ + is_dummy_print :1, /* printing used for width calcualion only */ maxout :1, /* maximize output */ header_repeat :1, /* print header after libscols_table->termheight */ header_printed :1, /* header already printed */ @@ -309,7 +310,6 @@ void scols_group_remove_children(struct libscols_group *gr); void scols_group_remove_members(struct libscols_group *gr); void scols_unref_group(struct libscols_group *gr); void scols_groups_fix_members_order(struct libscols_table *tb); -int scols_groups_calculate_grpset(struct libscols_table *tb); int scols_groups_update_grpset(struct libscols_table *tb, struct libscols_line *ln); void scols_groups_reset_state(struct libscols_table *tb); struct libscols_group *scols_grpset_get_printable_children(struct libscols_table *tb); |