summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cd5988)
raw | patch | inline | side by side (parent: 5cd5988)
author | Florian Forster <octo@collectd.org> | |
Sun, 11 Sep 2016 19:35:34 +0000 (21:35 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 11 Sep 2016 19:54:49 +0000 (21:54 +0200) |
src/apache.c | patch | blob | history | |
src/dbi.c | patch | blob | history | |
src/lua.c | patch | blob | history | |
src/memcached.c | patch | blob | history | |
src/netapp.c | patch | blob | history | |
src/openldap.c | patch | blob | history | |
src/varnish.c | patch | blob | history |
diff --git a/src/apache.c b/src/apache.c
index 56546ad8f138093d132b1df58cfd8209918bc257..c02dfe0fb19588b5d54bd6e90f534c85f9403fa9 100644 (file)
--- a/src/apache.c
+++ b/src/apache.c
/* name = */ callback_name,
/* callback = */ apache_read_host,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
.free_func = apache_free,
});
diff --git a/src/dbi.c b/src/dbi.c
index 84aa74740f7d566e5742ea6f23ab13c07880ffdc..fefbf87bcab0a4a101e6bd2a1f899a37394d3052 100644 (file)
--- a/src/dbi.c
+++ b/src/dbi.c
/* 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);
diff --git a/src/lua.c b/src/lua.c
index cf6dadcc28729c82caaa9eaf3f3ae52ad9952e81..d10b4ea737417a0f207ad3122a9683438e4c9955 100644 (file)
--- a/src/lua.c
+++ b/src/lua.c
/* 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,
});
diff --git a/src/memcached.c b/src/memcached.c
index 2cd3a50a28c31becc2e7f11eb00f07cad5a18c40..d83d4c83fb74cd71fb5ba530b2610abb44448aa8 100644 (file)
--- a/src/memcached.c
+++ b/src/memcached.c
/* name = */ callback_name,
/* callback = */ memcached_read,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
.free_func = memcached_free,
});
diff --git a/src/netapp.c b/src/netapp.c
index 1c9b21ce1644b80745b257284e8bbd34111f6300..bf4c286c6a9b5dd8b98a3a8ee096c97ed90aa510 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
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,
});
diff --git a/src/openldap.c b/src/openldap.c
index 374181dfb2980592449536c8b381847df10e5085..066dabcd1e6e52a03bf7bb5bd265fb133e2cfa80 100644 (file)
--- a/src/openldap.c
+++ b/src/openldap.c
/* name = */ callback_name,
/* callback = */ cldap_read_host,
/* interval = */ 0,
- /* user_data = */ &(user_data_t) {
+ &(user_data_t) {
.data = st,
});
}
diff --git a/src/varnish.c b/src/varnish.c
index 91320fed8a8ecab93a64ab5fe0620111deea598b..e34ee5691231449e846bbd739ce6dfc6a10ba215 100644 (file)
--- a/src/varnish.c
+++ b/src/varnish.c
/* 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,
});