summaryrefslogtreecommitdiffstats
path: root/src/detection/initsystem/initsystem.h
blob: 3c59cf05d27fc55ee07f74ff4617eb9c94224701 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "fastfetch.h"
#include "modules/initsystem/option.h"

typedef struct FFInitSystemResult {
    FFstrbuf name;
    FFstrbuf exe;
    FFstrbuf version;
    uint32_t pid;
} FFInitSystemResult;

const char* ffDetectInitSystem(FFInitSystemResult* result);