summaryrefslogtreecommitdiffstats
path: root/src/rrdpush.h
blob: dddbe758b5c0cf66b2d519d8742712a3e1a35467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef NETDATA_RRDPUSH_H
#define NETDATA_RRDPUSH_H

extern int default_rrdpush_enabled;
extern char *default_rrdpush_destination;
extern char *default_rrdpush_api_key;

extern int rrdpush_init();
extern void rrdset_done_push(RRDSET *st);
extern void *rrdpush_sender_thread(void *ptr);

extern int rrdpush_receiver_thread_spawn(RRDHOST *host, struct web_client *w, char *url);
extern void rrdpush_sender_thread_stop(RRDHOST *host);

#endif //NETDATA_RRDPUSH_H