CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
PluginManifest.cpp File Reference
#include "plugin_manager/PluginManifest.h"
#include "cdc_log.h"
#include "cJSON.h"
#include <cstdlib>
#include <cstring>

Go to the source code of this file.

Namespaces

namespace  cdc
namespace  cdc::plugin_manager

Functions

static std::string cdc::plugin_manager::str_or (const cJSON *node, const char *key, const char *dflt="")
static bool cdc::plugin_manager::parse_api_level (const std::string &s, uint16_t &major, uint16_t &minor)
static void cdc::plugin_manager::parse_localized (const cJSON *root, std::map< std::string, LocalizedString > &out)
static void cdc::plugin_manager::parse_capabilities (const cJSON *root, PluginCapabilities &cap)
static void cdc::plugin_manager::parse_prereqs (const cJSON *root, std::vector< PrerequisiteSpec > &out)

Variables

static const char * cdc::plugin_manager::TAG = "PLG_MAN"