mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
13 lines
417 B
C
13 lines
417 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_common_networking
|
|
#define FF_INCLUDED_common_networking
|
|
|
|
#include "util/FFstrbuf.h"
|
|
|
|
int ffNetworkingSendHttpRequest(const char* host, const char* path, const char* headers, uint32_t timeout);
|
|
bool ffNetworkingRecvHttpResponse(int sock, FFstrbuf* buffer);
|
|
bool ffNetworkingGetHttp(const char* host, const char* path, uint32_t timeout, const char* headers, FFstrbuf* buffer);
|
|
|
|
#endif
|