master ohmu/fastfetch-openbsd / src / detection / camera / camera.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "fastfetch.h"
 4#include "modules/camera/option.h"
 5
 6typedef struct FFCameraResult {
 7    FFstrbuf name;
 8    FFstrbuf vendor;
 9    FFstrbuf id;
10    FFstrbuf colorspace;
11    uint32_t width;
12    uint32_t height;
13} FFCameraResult;
14
15const char* ffDetectCamera(FFlist* result /* list of FFCameraResult */);