Skip to content
API Documentation
BastionGuard™
BastionGuard::nativehost Namespace Reference

Functions

nlohmann::json read_message ()
void send_message (const nlohmann::json &j)
int run ()
bool write_lang_config (const std::string &lang, std::string &out_path, std::string &out_err)
int restart_scanner_service ()
bool open_url_xdg (const std::string &url)

Function Documentation

◆ open_url_xdg()

bool BastionGuard::nativehost::open_url_xdg ( const std::string & url)

References open_url_xdg().

Referenced by open_url_xdg().

◆ read_message()

nlohmann::json BastionGuard::nativehost::read_message ( )

References read_message().

Referenced by read_message().

◆ restart_scanner_service()

int BastionGuard::nativehost::restart_scanner_service ( )

◆ run()

int BastionGuard::nativehost::run ( )

References run().

Referenced by run().

◆ send_message()

void BastionGuard::nativehost::send_message ( const nlohmann::json & j)

References send_message().

Referenced by send_message().

◆ write_lang_config()

bool BastionGuard::nativehost::write_lang_config ( const std::string & lang,
std::string & out_path,
std::string & out_err )

References write_lang_config().

Referenced by write_lang_config().