MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / registerSourceConfig

Method registerSourceConfig

Suscan/Library.cpp:728–737  ·  view source on GitHub ↗

Singleton methods

Source from the content-addressed store, hash-verified

726
727// Singleton methods
728void
729Singleton::registerSourceConfig(suscan_source_config_t *config)
730{
731 const char *label = suscan_source_config_get_label(config);
732
733 if (label == nullptr)
734 label = "(Null profile)";
735
736 this->profiles[label] = Suscan::Source::Config(config);
737}
738
739void
740Singleton::registerNetworkProfile(const suscan_source_config_t *config)

Callers 1

walk_all_sourcesFunction · 0.80

Calls 1

ConfigClass · 0.50

Tested by

no test coverage detected