mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 06:00:08 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
21 lines
488 B
C
21 lines
488 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/netio/option.h"
|
|
|
|
typedef struct FFNetIOResult {
|
|
FFstrbuf name;
|
|
bool defaultRoute;
|
|
uint64_t txBytes;
|
|
uint64_t rxBytes;
|
|
uint64_t txPackets;
|
|
uint64_t rxPackets;
|
|
uint64_t rxErrors;
|
|
uint64_t txErrors;
|
|
uint64_t rxDrops;
|
|
uint64_t txDrops;
|
|
} FFNetIOResult;
|
|
|
|
const char* ffDetectNetIO(FFlist* result, FFNetIOOptions* options);
|
|
const char* ffNetIOGetIoCounters(FFlist* result, FFNetIOOptions* options);
|