summaryrefslogtreecommitdiffstats
path: root/libnetdata/required_dummies.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-11-30 18:47:00 +0000
commit03bf87dcb06f7021bfb2df2fa8691593c6148aff (patch)
treee16b06711a2ed77cafb4b7754be0220c3d14a9d7 /libnetdata/required_dummies.h
parentAdding upstream version 1.36.1. (diff)
downloadnetdata-03bf87dcb06f7021bfb2df2fa8691593c6148aff.tar.xz
netdata-03bf87dcb06f7021bfb2df2fa8691593c6148aff.zip
Adding upstream version 1.37.0.upstream/1.37.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libnetdata/required_dummies.h')
-rw-r--r--libnetdata/required_dummies.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/libnetdata/required_dummies.h b/libnetdata/required_dummies.h
index 6d51bfedd..ad1e8fb84 100644
--- a/libnetdata/required_dummies.h
+++ b/libnetdata/required_dummies.h
@@ -22,15 +22,20 @@ void signals_block(void){};
void signals_unblock(void){};
void signals_reset(void){};
+#ifndef UNIT_TESTING
// callback required by eval()
-int health_variable_lookup(const char *variable, uint32_t hash, struct rrdcalc *rc, NETDATA_DOUBLE *result)
+int health_variable_lookup(STRING *variable, struct rrdcalc *rc, NETDATA_DOUBLE *result)
{
(void)variable;
- (void)hash;
(void)rc;
(void)result;
return 0;
};
+#endif
+
+void rrdset_thread_rda_free(void){};
+void sender_thread_buffer_free(void){};
+void query_target_free(void){};
// required by get_system_cpus()
char *netdata_configured_host_prefix = "";