master ohmu/fastfetch-openbsd / src / modules / netio / option.h
ohmu  ·  2026-10-15
 1#pragma once
 2
 3#include "common/option.h"
 4
 5typedef struct FFNetIOOptions {
 6    FFModuleArgs moduleArgs;
 7
 8    FFstrbuf namePrefix;
 9    uint32_t waitTime;
10    bool defaultRouteOnly;
11    bool detectTotal;
12} FFNetIOOptions;
13
14static_assert(sizeof(FFNetIOOptions) <= FF_OPTION_MAX_SIZE, "FFNetIOOptions size exceeds maximum allowed size");