Home | History | Annotate | Download | only in main

Lines Matching refs:config

28 #include "osi/include/config.h"
36 config_t* config = config_new(p_path);
37 if (!config) {
38 LOG_ERROR(LOG_TAG, "%s unable to load DID config '%s'.", __func__, p_path);
46 if (!config_has_section(config, section_name)) {
53 config_get_int(config, section_name, "vendorId", LMP_COMPID_BROADCOM);
55 config, section_name, "vendorIdSource", DI_VENDOR_ID_SOURCE_BTSIG);
56 record.product = config_get_int(config, section_name, "productId", 0);
57 record.version = config_get_int(config, section_name, "version", 0);
59 config_get_bool(config, section_name, "primaryRecord", false);
61 config_get_string(config, section_name, "clientExecutableURL", ""),
64 config_get_string(config, section_name, "serviceDescription", ""),
67 config_get_string(config, section_name, "documentationURL", ""),
98 config_free(config);