mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
libutil: Add function to print separator line
In wide format the header is separated from the rest of the records by a separator line. Add support to print such a separator line also between some records. Add function util_rec_print_separator() that prints the separator line for wide format only. For other formats this is a NOP. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Acked-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
5f2ddad6a8
commit
b165500b69
@@ -68,6 +68,7 @@ const char *util_rec_get(struct util_rec *rec, const char *key);
|
||||
|
||||
void util_rec_print_hdr(struct util_rec *rec);
|
||||
void util_rec_print(struct util_rec *rec);
|
||||
void util_rec_print_separator(struct util_rec *rec);
|
||||
|
||||
void util_rec_set_indent(struct util_rec *rec, int indent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user