本文整理汇总了C++中plugin_register_shutdown函数的典型用法代码示例。如果您正苦于以下问题:C++ plugin_register_shutdown函数的具体用法?C++ plugin_register_shutdown怎么用?C++ plugin_register_shutdown使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了plugin_register_shutdown函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: module_register
void module_register (void)
{
plugin_register_complex_config ("curl", cc_config);
plugin_register_init ("curl", cc_init);
plugin_register_read ("curl", cc_read);
plugin_register_shutdown ("curl", cc_shutdown);
} /* void module_register */
示例2: 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 */
示例3: module_register
void module_register (void)
{
plugin_register_read (PLUGIN_NAME, hadoop_read);
plugin_register_init (PLUGIN_NAME, hadoop_init);
plugin_register_shutdown (PLUGIN_NAME, hadoop_shutdown);
return;
}
示例4: module_register
void module_register(void) {
plugin_register_init(DPDK_STATS_PLUGIN, dpdk_stats_init);
plugin_register_complex_config(DPDK_STATS_PLUGIN, dpdk_stats_config);
plugin_register_complex_read(NULL, DPDK_STATS_PLUGIN, dpdk_stats_read, 0,
NULL);
plugin_register_shutdown(DPDK_STATS_PLUGIN, dpdk_stats_shutdown);
}
示例5: module_register
void module_register (void)
{
plugin_register_init ("ipvs", cipvs_init);
plugin_register_read ("ipvs", cipvs_read);
plugin_register_shutdown ("ipvs", cipvs_shutdown);
return;
} /* module_register */
示例6: module_register
void module_register (void) /* {{{ */
{
plugin_register_complex_config ("dbi", cdbi_config);
plugin_register_init ("dbi", cdbi_init);
plugin_register_read ("dbi", cdbi_read);
plugin_register_shutdown ("dbi", cdbi_shutdown);
} /* }}} void module_register */
示例7: module_register
void module_register(void)
{
plugin_register_complex_config("ceph", ceph_config);
plugin_register_init("ceph", ceph_init);
plugin_register_read("ceph", ceph_read);
plugin_register_shutdown("ceph", ceph_shutdown);
}
示例8: 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 */
示例9: tbl_init
static int tbl_init(void) {
if (tables_num == 0)
return 0;
plugin_register_read("table", tbl_read);
plugin_register_shutdown("table", tbl_shutdown);
return 0;
} /* tbl_init */
示例10: 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) */
示例11: 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);
}
示例12: 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);
}
示例13: module_register
void
module_register (void)
{
plugin_register_config ("libvirt",
lv_config,
config_keys, NR_CONFIG_KEYS);
plugin_register_init ("libvirt", lv_init);
plugin_register_read ("libvirt", lv_read);
plugin_register_shutdown ("libvirt", lv_shutdown);
}
示例14: module_register
void module_register(void)
{
/*
* Mandatory module_register function
*/
plugin_register_config ("teamspeak2", tss2_config,
config_keys, config_keys_num);
plugin_register_read ("teamspeak2", tss2_read);
plugin_register_shutdown ("teamspeak2", tss2_shutdown);
} /* void module_register */
示例15: module_register
/**
* Register the module.
*/
void module_register (void)
{
cgps_config_data.host = sstrdup (CGPS_DEFAULT_HOST);
cgps_config_data.port = sstrdup (CGPS_DEFAULT_PORT);
cgps_config_data.timeout = CGPS_DEFAULT_TIMEOUT;
cgps_config_data.pause_connect = CGPS_DEFAULT_PAUSE_CONNECT;
plugin_register_complex_config ("gps", cgps_config);
plugin_register_init ("gps", cgps_init);
plugin_register_read ("gps", cgps_read);
plugin_register_shutdown ("gps", cgps_shutdown);
}