]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: add comments to private header file
authorKarel Zak <kzak@redhat.com>
Wed, 10 Mar 2021 10:30:53 +0000 (11:30 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Mar 2021 10:30:53 +0000 (11:30 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/smartcolsP.h

index 5e9b9ec5619de9123477c52adb8711160249781c..2a3b22672f86b939867a3eb79a052757b5069179 100644 (file)
@@ -124,7 +124,7 @@ struct libscols_column {
 
 
        struct libscols_cell    header;
-       struct list_head        cl_columns;
+       struct list_head        cl_columns;     /* member of table->tb_columns */
 
        struct libscols_table   *table;
 
@@ -212,8 +212,8 @@ struct libscols_table {
        char    *colsep;        /* column separator */
        char    *linesep;       /* line separator */
 
-       struct list_head        tb_columns;
-       struct list_head        tb_lines;
+       struct list_head        tb_columns;     /* list of columns, items: column->cl_columns */
+       struct list_head        tb_lines;       /* list of lines; items: line->ln_lines  */
 
        struct list_head        tb_groups;      /* all defined groups */
        struct libscols_group   **grpset;