master
c 33 lines 802 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #include "common.h"
4
5 void win_plugin_main(void *ptr);
6
7 static const struct netdata_static_thread static_threads_windows[] = {
8 {
9 .name = "P[windows]",
10 .config_section = CONFIG_SECTION_PLUGINS,
11 .config_name = "windows",
12 .enabled = 1,
13 .thread = NULL,
14 .init_routine = NULL,
15 .start_routine = win_plugin_main
16 },
17
18 // terminator
19 {
20 .name = NULL,
21 .config_section = NULL,
22 .config_name = NULL,
23 .env_name = NULL,
24 .enabled = 0,
25 .thread = NULL,
26 .init_routine = NULL,
27 .start_routine = NULL
28 }
29 };
30
31 struct netdata_static_thread *static_threads_get() {
32 return static_threads_concat(static_threads_common, static_threads_windows);
33 }