From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/os/os.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/detection/os/os.h (limited to 'src/detection/os/os.h') diff --git a/src/detection/os/os.h b/src/detection/os/os.h new file mode 100644 index 0000000..5b62aab --- /dev/null +++ b/src/detection/os/os.h @@ -0,0 +1,19 @@ +#pragma once + +#include "fastfetch.h" +#include "modules/os/option.h" + +typedef struct FFOSResult { + FFstrbuf name; + FFstrbuf prettyName; + FFstrbuf id; + FFstrbuf idLike; + FFstrbuf variant; + FFstrbuf variantID; + FFstrbuf version; + FFstrbuf versionID; + FFstrbuf codename; + FFstrbuf buildID; +} FFOSResult; + +const FFOSResult* ffDetectOS(); -- cgit v1.2.3