diff options
| author | Anser <rostgans@tutamail.com> | 2026-08-17 11:51:54 +0200 |
|---|---|---|
| committer | Anser <rostgans@tutamail.com> | 2026-08-17 11:54:00 +0200 |
| commit | ab497e439d9c8c41d7f43998a7b782fe4720d856 (patch) | |
| tree | 6d1589c0e950b52125c6d516fa31152173d62ff9 /include | |
| parent | 5f068ebcc05703ac7e4f1051fbe5eaf21f0d7f75 (diff) | |
added OS/distro name
Diffstat (limited to 'include')
| -rw-r--r-- | include/cfetch.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |
