From ab497e439d9c8c41d7f43998a7b782fe4720d856 Mon Sep 17 00:00:00 2001 From: Anser Date: Mon, 17 Aug 2026 11:51:54 +0200 Subject: added OS/distro name --- include/cfetch.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/cfetch.h b/include/cfetch.h index 47a21d8..6b4f7b7 100644 --- a/include/cfetch.h +++ b/include/cfetch.h @@ -31,6 +31,7 @@ struct system_info_t { char user[64]; char kernel[128]; + char distro[128]; char memory[64]; char cpu[64]; char debug; @@ -52,8 +53,11 @@ void print_ascii_art(struct system_info_t *info); void get_cpu(struct system_info_t *info); void get_memory(struct system_info_t *info); void get_kernel(struct system_info_t *info); +void get_os_release(struct system_info_t *info); void get_line_length(struct ascii_art_t *ascii, const char **line); void print_system_info(struct system_info_t *info); +void parse_args(int argc, char** argv); +void print_help(); /* Util functions */ -- cgit v1.2.3