Adds a data source from the module’s configuration section.
mco_fh_ret mco_fh_mod_add_data_source(/*IN*/ mco_fh_module_h h,
/*IN*/ const char *type,
/*IN*/ const char *name)
h
type
name
This function adds a data source from the module’s configuration section. The data source is identified by its type and name.
MCO_FH_OK
MCO_FH_E_INVALID_CONFIG
MCO_FH_E_BAD_HANDLE
mco_fh_ret mco_fh_mod_add_data_source(mco_fh_module_h h, const char *type, const char *name)
{
return reinterpret_cast<TestFeedHandler *>(h)->addDataSource(type, name);
}