From 9f30334c544326732698012b3ebe9ffbec0afe0e Mon Sep 17 00:00:00 2001 From: Thorsten Töpper Date: Sat, 21 Jun 2025 23:57:40 +0200 Subject: simple format string: name, size and time fields --- include/options.h | 1 + include/output.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/options.h b/include/options.h index 5e951b2..e31fd6a 100644 --- a/include/options.h +++ b/include/options.h @@ -32,6 +32,7 @@ extern bool option_show_hidden_entries; extern bool option_timestamp_long; extern char option_time_field; +extern char *option_format_string; int parse_arguments(int argc, char **argv); void set_option(const char *option_name, char *option_argument); diff --git a/include/output.h b/include/output.h index 35640fe..53f0869 100644 --- a/include/output.h +++ b/include/output.h @@ -23,6 +23,7 @@ int fputc_all_cols(char c, FILE *fdout); int fputc_width_x(char c, size_t x, FILE *fdout); void print_list(struct list_head *list); +void print_list_formatted(const char *format, struct list_head *list); #endif -- cgit v1.2.3-70-g09d2