summaryrefslogtreecommitdiffstats
path: root/daemon/service.h
blob: cb03bec2cd0da01cbb6b2640b05d0f8b2ad757bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef NETDATA_SERVICE_H
#define NETDATA_SERVICE_H 1

#define NETDATA_PLUGIN_HOOK_SERVICE \
    { \
        .name = "SERVICE", \
        .config_section = NULL, \
        .config_name = NULL, \
        .enabled = 1, \
        .thread = NULL, \
        .init_routine = NULL, \
        .start_routine = service_main \
    },

extern void *service_main(void *ptr);

#endif //NETDATA_SERVICE_H