Functions | |
| static bool | run_cmd (const std::vector< std::string > &argv, std::string *out_stdout=nullptr, bool silence_stderr=true) |
| static bool | pkexec_servicectl (const std::vector< std::string > &args, std::string *out_stdout=nullptr) |
| std::string | choose_clamd_conf_target () |
| bool | atomic_install_with_pkexec (const std::string &tmp_src, const std::string &target) |
| bool | isServiceActive (const std::string &service, bool user=false) |
| void | set_badge_class (Gtk::Widget &w, const char *css_class) |
Variables | |
| constexpr const char * | kServiceName = "bsc-daemon.service" |
| constexpr const char * | kAutostartPath = "/etc/xdg/autostart/bastionguard-sc-autostart.desktop" |
| constexpr const char * | kFallbackAutostartPath = "/etc/xdg/autostart/bastionguard-sc.desktop" |
| constexpr const char * | kAutostartBackupPath = "/etc/xdg/autostart/bastionguard-sc-autostart.desktop.bak" |
| bool anonymous_namespace{SettingsPage.cpp}::atomic_install_with_pkexec | ( | const std::string & | tmp_src, |
| const std::string & | target ) |
Definition at line 1415 of file SettingsPage.cpp.
References atomic_install_with_pkexec(), bg_process::Result::ok(), and bg_process::run().
Referenced by atomic_install_with_pkexec().
| std::string anonymous_namespace{SettingsPage.cpp}::choose_clamd_conf_target | ( | ) |
Definition at line 1395 of file SettingsPage.cpp.
References choose_clamd_conf_target().
Referenced by choose_clamd_conf_target().
| bool anonymous_namespace{SettingsPage.cpp}::isServiceActive | ( | const std::string & | service, |
| bool | user = false ) |
Definition at line 1429 of file SettingsPage.cpp.
References isServiceActive(), and bg_process::run().
Referenced by isClamonaccRunning(), and isServiceActive().
|
static |
Definition at line 81 of file SettingsPage.cpp.
References pkexec_servicectl(), and run_cmd().
Referenced by pkexec_servicectl().
|
static |
Definition at line 72 of file SettingsPage.cpp.
References bg_process::run(), and run_cmd().
Referenced by pkexec_servicectl(), and run_cmd().
| void anonymous_namespace{SettingsPage.cpp}::set_badge_class | ( | Gtk::Widget & | w, |
| const char * | css_class ) |
Definition at line 23 of file SettingsPage.cpp.
References set_badge_class().
Referenced by set_badge_class().
|
constexpr |
Definition at line 21 of file SettingsPage.cpp.
|
constexpr |
Definition at line 19 of file SettingsPage.cpp.
|
constexpr |
Definition at line 20 of file SettingsPage.cpp.
|
constexpr |
Definition at line 18 of file SettingsPage.cpp.