Adds a subscription to the module’s subscription list.
mco_fh_ret mco_fh_mod_add_subscription(/*IN*/ mco_fh_module_h h,
/*IN*/ const char *source_name,
/*IN*/ const char *data_domain,
/*IN*/ const char **syms,
/*IN*/ mco_size_t nsyms);
h
source_name
data_domain
syms
nsyms
syms array.This function adds a subscription to the module’s subscription list. The subscription is
identified by the data source name and by the array of symbol names specified in the
syms argument.
MCO_FH_OK
MCO_FH_E_INVALID_CONFIG
MCO_FH_E_BAD_HANDLE
mco_fh_ret mco_fh_mod_add_subscription(mco_fh_module_h h, const char *source_name,
const char *data_domain, const char **syms,
mco_size_t nsyms)
{
return reinterpret_cast<TestFeedHandler *>(h)->addSubscription(source_name, data_domain, syms, nsyms);
}