mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 01:56:28 +01:00
PublicIP: support JSON format
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_publicip_publicip
|
||||
#define FF_INCLUDED_detection_publicip_publicip
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFPublicIpResult
|
||||
@@ -8,3 +13,5 @@ typedef struct FFPublicIpResult
|
||||
|
||||
void ffPreparePublicIp(FFPublicIpOptions* options);
|
||||
const char* ffDetectPublicIp(FFPublicIpOptions* options, FFPublicIpResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user