本文整理汇总了C++中plugin_register_config函数的典型用法代码示例。如果您正苦于以下问题:C++ plugin_register_config函数的具体用法?C++ plugin_register_config怎么用?C++ plugin_register_config使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了plugin_register_config函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: module_register
void module_register (void)
{
plugin_register_config("tokyotyrant", tt_config,
config_keys, config_keys_num);
plugin_register_read("tokyotyrant", tt_read);
plugin_register_shutdown("tokyotyrant", tt_shutdown);
}
示例2: module_register
void module_register (void)
{
plugin_register_config ("apcups", apcups_config, config_keys,
config_keys_num);
plugin_register_read ("apcups", apcups_read);
plugin_register_shutdown ("apcups", apcups_shutdown);
} /* void module_register */
示例3: module_register
void module_register (void)
{
plugin_register_config ("logfile", logfile_config,
config_keys, config_keys_num);
plugin_register_log ("logfile", logfile_log);
plugin_register_notification ("logfile", logfile_notification);
} /* void module_register (void) */
示例4: module_register
void module_register (void)
{
plugin_register_config ("olsrd", olsrd_config,
config_keys, config_keys_num);
plugin_register_read ("olsrd", olsrd_read);
plugin_register_shutdown ("olsrd", olsrd_shutdown);
} /* void module_register */
示例5: module_register
void module_register (void)
{
plugin_register_config ("madwifi", madwifi_config,
config_keys, config_keys_num);
plugin_register_read ("madwifi", madwifi_read);
}
示例6: module_register
void module_register (void)
{
plugin_register_config ("cgroups", cgroups_config,
config_keys, config_keys_num);
plugin_register_init ("cgroups", cgroups_init);
plugin_register_read ("cgroups", cgroups_read);
} /* void module_register */
示例7: module_register
void module_register (void)
{
plugin_register_config ("basic_aggregator", basic_aggregator_config,
config_keys, config_keys_num);
plugin_register_read ("instances_of_types_update", instances_of_types_tree_update);
plugin_register_read ("basic_aggregator_read_all_aggregators", basic_aggregator_read_all_aggregators);
}
示例8: module_register
void module_register (void)
{
plugin_register_config ("df", df_config,
config_keys, config_keys_num);
plugin_register_init ("df", df_init);
plugin_register_read ("df", df_read);
} /* void module_register */
示例9: module_register
void module_register (void)
{
plugin_register_config ("swap", swap_config,
config_keys, config_keys_num);
plugin_register_init ("swap", swap_init);
plugin_register_read ("swap", swap_read);
} /* void module_register */
示例10: module_register
void module_register (void)
{
plugin_register_config ("thermal", thermal_config,
config_keys, STATIC_ARRAY_SIZE(config_keys));
plugin_register_init ("thermal", thermal_init);
plugin_register_shutdown ("thermal", thermal_shutdown);
}
示例11: module_register
void module_register (void)
{
plugin_register_init ("notify_email", notify_email_init);
plugin_register_shutdown ("notify_email", notify_email_shutdown);
plugin_register_config ("notify_email", notify_email_config,
config_keys, config_keys_num);
plugin_register_notification ("notify_email", notify_email_notification);
} /* void module_register (void) */
示例12: module_register
void module_register (void)
{
plugin_register_config ("ping", ping_config,
config_keys, config_keys_num);
plugin_register_init ("ping", ping_init);
plugin_register_read ("ping", ping_read);
plugin_register_shutdown ("ping", ping_shutdown);
} /* void module_register */
示例13: module_register
void
module_register (void)
{
printf ("cubrid_statdump module register-0\n");
plugin_register_config (PLUGIN_NAME, config, config_keys, config_keys_num);
plugin_register_init (PLUGIN_NAME, cubrid_statdump_init);
plugin_register_read (PLUGIN_NAME, cubrid_statdump_read);
plugin_register_shutdown (PLUGIN_NAME, cubrid_statdump_shutdown);
}
示例14: module_register
void module_register (void)
{
plugin_register_config ("interface", interface_config,
config_keys, config_keys_num);
#if HAVE_LIBKSTAT
plugin_register_init ("interface", interface_init);
#endif
plugin_register_read ("interface", interface_read);
} /* void module_register */
示例15: module_register
void
module_register (void)
{
plugin_register_config (PLUGIN_NAME,
lv_config,
config_keys, NR_CONFIG_KEYS);
plugin_register_init (PLUGIN_NAME, lv_init);
plugin_register_read (PLUGIN_NAME, lv_read);
plugin_register_shutdown (PLUGIN_NAME, lv_shutdown);
}