yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
mesen_socket_client.cc File Reference
#include "app/emu/mesen/mesen_socket_client.h"
#include <fcntl.h>
#include <sys/stat.h>
#include <filesystem>
#include <sys/socket.h>
#include <sys/un.h>
#include <unistd.h>
#include <cstdlib>
#include <cerrno>
#include <cstring>
#include <regex>
#include <sstream>
#include "absl/strings/numbers.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_format.h"
#include "absl/strings/str_split.h"
#include <charconv>

Go to the source code of this file.

Namespaces

namespace  yaze
 
namespace  yaze::emu
 SNES Emulation and debugging tools.
 
namespace  yaze::emu::mesen
 
namespace  yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}
 

Functions

std::string yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ExtractJsonString (const std::string &json, const std::string &key)
 
int64_t yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ExtractJsonInt (const std::string &json, const std::string &key, int64_t default_value=0)
 
double yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ExtractJsonDouble (const std::string &json, const std::string &key, double default_value=0.0)
 
bool yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ExtractJsonBool (const std::string &json, const std::string &key, bool default_value=false)
 
std::string yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::BuildJsonCommand (const std::string &type)
 
std::string yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::EscapeJsonValue (const std::string &value)
 
std::string yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::BuildJsonCommand (const std::string &type, const std::vector< std::pair< std::string, std::string > > &params)
 
absl::Status yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ConnectSocketToPath (const std::string &socket_path, int *socket_fd)
 
void yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::ShutdownSocketFd (int fd)
 

Variables

constexpr size_t yaze::emu::mesen::anonymous_namespace{mesen_socket_client.cc}::kMaxResponseSize = 4 * 1024 * 1024