| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef NETDATA_STATUS_FILE_DEDUP_H |
| 4 | #define NETDATA_STATUS_FILE_DEDUP_H |
| 5 | |
| 6 | #include "libnetdata/libnetdata.h" |
| 7 | #include "status-file.h" |
| 8 | |
| 9 | uint64_t daemon_status_file_hash(DAEMON_STATUS_FILE *ds, const char *msg, const char *cause); |
| 10 | |
| 11 | bool dedup_already_posted(DAEMON_STATUS_FILE *ds, uint64_t hash, bool sentry); |
| 12 | void dedup_keep_hash(DAEMON_STATUS_FILE *ds, uint64_t hash, bool sentry); |
| 13 | |
| 14 | #endif //NETDATA_STATUS_FILE_DEDUP_H |