summaryrefslogtreecommitdiffstats
path: root/libsmartcols/src/smartcolsP.h
diff options
context:
space:
mode:
authorKarel Zak2019-05-03 14:53:23 +0200
committerKarel Zak2019-05-03 14:53:23 +0200
commitb94932c063f642abe06e8f3fb72e3abe4416371f (patch)
tree4d0c2db96fe96c7ab6042a68fcb3119649d8ddc5 /libsmartcols/src/smartcolsP.h
parentlibsmartcols: (groups) improve debug messages (diff)
downloadkernel-qcow2-util-linux-b94932c063f642abe06e8f3fb72e3abe4416371f.tar.gz
kernel-qcow2-util-linux-b94932c063f642abe06e8f3fb72e3abe4416371f.tar.xz
kernel-qcow2-util-linux-b94932c063f642abe06e8f3fb72e3abe4416371f.zip
libsmartcols: (groups) print group childrent after regualr tree
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r--libsmartcols/src/smartcolsP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h
index bbc8a98a1..c063db212 100644
--- a/libsmartcols/src/smartcolsP.h
+++ b/libsmartcols/src/smartcolsP.h
@@ -214,6 +214,7 @@ struct libscols_table {
struct list_head tb_groups; /* all defined groups */
struct libscols_group **grpset;
size_t grpset_size;
+ size_t ngrpchlds_pending; /* groups with not yet printed children */
struct libscols_symbols *symbols;
struct libscols_cell title; /* optional table title (for humans) */
@@ -311,6 +312,7 @@ 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);
/*
* calculate.c