summaryrefslogtreecommitdiffstats
path: root/src/daemon/win_system-info.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:15:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:15:35 +0000
commitf09848204fa5283d21ea43e262ee41aa578e1808 (patch)
treec62385d7adf209fa6a798635954d887f718fb3fb /src/daemon/win_system-info.h
parentReleasing debian version 1.46.3-2. (diff)
downloadnetdata-f09848204fa5283d21ea43e262ee41aa578e1808.tar.xz
netdata-f09848204fa5283d21ea43e262ee41aa578e1808.zip
Merging upstream version 1.47.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/daemon/win_system-info.h')
-rw-r--r--src/daemon/win_system-info.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/daemon/win_system-info.h b/src/daemon/win_system-info.h
new file mode 100644
index 00000000..a4f0906f
--- /dev/null
+++ b/src/daemon/win_system-info.h
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef _NETDATA_WIN_SYSTEM_INFO_H_
+#define _NETDATA_WIN_SYSTEM_INFO_H_
+
+// the netdata database
+#include "database/rrd.h"
+
+#define NETDATA_DEFAULT_SYSTEM_INFO_VALUE_UNKNOWN "unknown"
+#define NETDATA_DEFAULT_SYSTEM_INFO_VALUE_NONE "none"
+#define NETDATA_DEFAULT_SYSTEM_INFO_VALUE_FALSE "false"
+
+#ifdef OS_WINDOWS
+#include "windows.h"
+#include "versionhelpers.h"
+
+void netdata_windows_get_system_info(struct rrdhost_system_info *system_info);
+#endif
+
+#endif // _NETDATA_WIN_SYSTEM_INFO_H_