webpg-npapi 0.6.1
bool webpgPluginAPI::gpgconf_detected ( )

Determines if the gpgconf util is available to the gpgme_engine.

Definition at line 908 of file webpgPluginAPI.cpp.

Referenced by init(), and webpgPluginAPI().

                                      {
    gpgme_error_t err;
    std::string cfg_present;
    err = gpgme_engine_check_version (GPGME_PROTOCOL_GPGCONF);
    if (err && err != GPG_ERR_NO_ERROR) {
        return false;
    }
    return true;
}
 All Classes Functions