summaryrefslogtreecommitdiffstats
path: root/src/database/rrdfunctions-inflight.h
blob: 8fd43f0afea4ad7fa0020ce78d706bf03f045fa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_RRDFUNCTIONS_INFLIGHT_H
#define NETDATA_RRDFUNCTIONS_INFLIGHT_H

#include "rrd.h"

void rrd_functions_inflight_init(void);

// cancel a running function, to be run from anywhere
void rrd_function_cancel(const char *transaction);

void rrd_function_progress(const char *transaction);
void rrd_function_call_progresser(nd_uuid_t *transaction);

#endif //NETDATA_RRDFUNCTIONS_INFLIGHT_H