PublicIP: support JSON format

This commit is contained in:
李通洲
2023-09-13 17:47:31 +08:00
parent 28d40d9037
commit f5ad07a87b
3 changed files with 30 additions and 1 deletions
+7
View File
@@ -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