mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-15 19:20:59 +00:00
14 lines
437 B
C++
14 lines
437 B
C++
#include "network.h"
|
|
#include "thread_safe.h"
|
|
|
|
namespace http {
|
|
|
|
void init(std::shared_ptr<safe::signal_t> shutdown_event);
|
|
int create_creds(const std::string &pkey, const std::string &cert);
|
|
std::string read_file(const char *path);
|
|
int write_file(const char *path, const std::string_view &contents);
|
|
int reload_user_creds(const std::string &file);
|
|
extern std::string unique_id;
|
|
extern net::net_e origin_pin_allowed;
|
|
|
|
} // namespace http
|