diff options
author | Costa Tsaousis <costa@netdata.cloud> | 2023-08-03 15:42:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-03 15:42:11 +0300 |
commit | ce75313de06ee1e8aa5a59d57625ca25d467f0f8 (patch) | |
tree | d9ea59af0ace84b34f627b2f72d67a39d5bcff4d /libnetdata/libnetdata.h | |
parent | a833f6674f09011b2e0134f045c4c8a39be8de75 (diff) |
systemd-journal plugin (#15363)
Diffstat (limited to 'libnetdata/libnetdata.h')
-rw-r--r-- | libnetdata/libnetdata.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libnetdata/libnetdata.h b/libnetdata/libnetdata.h index 53b93e1e1a..b8dedf5156 100644 --- a/libnetdata/libnetdata.h +++ b/libnetdata/libnetdata.h @@ -836,6 +836,7 @@ extern char *netdata_configured_host_prefix; #include "yaml.h" #include "http/http_defs.h" #include "gorilla/gorilla.h" +#include "facets/facets.h" #include "dyn_conf/dyn_conf.h" // BEWARE: this exists in alarm-notify.sh @@ -979,6 +980,14 @@ typedef enum { void timing_action(TIMING_ACTION action, TIMING_STEP step); int hash256_string(const unsigned char *string, size_t size, char *hash); + +extern bool unittest_running; +#define API_RELATIVE_TIME_MAX (3 * 365 * 86400) + +bool rrdr_relative_window_to_absolute(time_t *after, time_t *before, time_t *now_ptr, bool unittest_running); + +int netdata_base64_decode(const char *encoded, char *decoded, size_t decoded_size); + # ifdef __cplusplus } # endif |