mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 09:33:39 +01:00
d0f093c567
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
38 lines
727 B
C
38 lines
727 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_packages_packages
|
|
#define FF_INCLUDED_detection_packages_packages
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFPackagesResult
|
|
{
|
|
uint32_t apk;
|
|
uint32_t brew;
|
|
uint32_t brewCask;
|
|
uint32_t choco;
|
|
uint32_t dpkg;
|
|
uint32_t emerge;
|
|
uint32_t eopkg;
|
|
uint32_t flatpakSystem;
|
|
uint32_t flatpakUser;
|
|
uint32_t nixDefault;
|
|
uint32_t nixSystem;
|
|
uint32_t nixUser;
|
|
uint32_t pacman;
|
|
uint32_t pkg;
|
|
uint32_t port;
|
|
uint32_t rpm;
|
|
uint32_t scoop;
|
|
uint32_t snap;
|
|
uint32_t xbps;
|
|
|
|
uint32_t all; //Make sure this goes last
|
|
|
|
FFstrbuf pacmanBranch;
|
|
} FFPackagesResult;
|
|
|
|
const char* ffDetectPackages(FFPackagesResult* result);
|
|
|
|
#endif
|