mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
16 lines
421 B
C
16 lines
421 B
C
#include "bluetooth.h"
|
|
|
|
#include "../internal.h"
|
|
|
|
void ffDetectBluetoothImpl(const FFinstance* instance, FFBluetoothResult* bluetooth);
|
|
|
|
const FFBluetoothResult* ffDetectBluetooth(const FFinstance* instance)
|
|
{
|
|
FF_DETECTION_INTERNAL_GUARD(FFBluetoothResult,
|
|
ffStrbufInit(&result.error);
|
|
ffListInit(&result.devices, sizeof(FFBluetoothDevice));
|
|
|
|
ffDetectBluetoothImpl(instance, &result);
|
|
)
|
|
}
|