mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 22:20:17 +01:00
18 lines
374 B
C
18 lines
374 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_publicip_publicip
|
|
#define FF_INCLUDED_detection_publicip_publicip
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFPublicIpResult
|
|
{
|
|
FFstrbuf ip;
|
|
FFstrbuf location;
|
|
} FFPublicIpResult;
|
|
|
|
void ffPreparePublicIp(FFPublicIpOptions* options);
|
|
const char* ffDetectPublicIp(FFPublicIpOptions* options, FFPublicIpResult* result);
|
|
|
|
#endif
|