Files
fastfetch/src/detection/terminalshell/terminalshell.h
T

29 lines
584 B
C
Raw Normal View History

#pragma once
#include "fastfetch.h"
typedef struct FFShellResult
{
FFstrbuf processName;
FFstrbuf exe;
const char* exeName; //pointer to a char in exe
FFstrbuf prettyName;
FFstrbuf version;
uint32_t pid;
uint32_t ppid;
} FFShellResult;
typedef struct FFTerminalResult
{
FFstrbuf processName;
FFstrbuf exe;
FFstrbuf prettyName;
const char* exeName; //pointer to a char in exe
FFstrbuf version;
uint32_t pid;
uint32_t ppid;
} FFTerminalResult;
const FFShellResult* ffDetectShell();
const FFTerminalResult* ffDetectTerminal();