/* name = */ callback_name,
/* callback = */ apache_read_host,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
.free_func = apache_free,
});
/* name = */ name ? name : db->name,
/* callback = */ cdbi_read_database,
/* interval = */ (db->interval > 0) ? db->interval : 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = db,
});
sfree (name);
/* name = */ function_name,
/* callback = */ clua_read,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = cb,
});
int status = plugin_register_write(/* name = */ function_name,
/* callback = */ clua_write,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = cb,
});
/* name = */ callback_name,
/* callback = */ memcached_read,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
.free_func = memcached_free,
});
plugin_register_complex_read (/* group = */ NULL, cb_name,
/* callback = */ cna_read,
/* interval = */ host->interval,
- /* user data = */ &(user_data_t) {
+ &(user_data_t) {
.data = host,
.free_func = (void *) free_host_config,
});
/* name = */ callback_name,
/* callback = */ cldap_read_host,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
});
}
/* name = */ "varnish/localhost",
/* callback = */ varnish_read,
/* interval = */ 0,
- /* user data = */ &(user_data_t) {
+ &(user_data_t) {
.data = conf,
.free_func = varnish_config_free,
});
/* name = */ callback_name,
/* callback = */ varnish_read,
/* interval = */ 0,
- /* user data = */ &(user_data_t) {
+ &(user_data_t) {
ud.data = conf,
ud.free_func = varnish_config_free,
});