summaryrefslogtreecommitdiffstats
path: root/src/database/rrdfunctions-inflight.h
blob: 3cad3178476e5e529ef0fa174904d95cf8475f5a (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(uuid_t *transaction);

#endif //NETDATA_RRDFUNCTIONS_INFLIGHT_H