summaryrefslogtreecommitdiffstats
path: root/src/claim/ui.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:33:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-25 17:34:10 +0000
commit83ba6762cc43d9db581b979bb5e3445669e46cc2 (patch)
tree2e69833b43f791ed253a7a20318b767ebe56cdb8 /src/claim/ui.h
parentReleasing debian version 1.47.5-1. (diff)
downloadnetdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.tar.xz
netdata-83ba6762cc43d9db581b979bb5e3445669e46cc2.zip
Merging upstream version 2.0.3+dfsg (Closes: #923993, #1042533, #1045145).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/claim/ui.h')
-rw-r--r--src/claim/ui.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/claim/ui.h b/src/claim/ui.h
new file mode 100644
index 000000000..583ed1cda
--- /dev/null
+++ b/src/claim/ui.h
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef NETDATA_CLAIM_WINDOW_H_
+# define NETDATA_CLAIM_WINDOW_H_ 1
+
+// https://learn.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation
+// https://sourceforge.net/p/mingw/mailman/mingw-users/thread/4C8FD4EB.4050503@xs4all.nl/
+#define WINDOWS_MAX_PATH 8191
+
+int netdata_claim_window_loop(HINSTANCE hInstance, int nCmdShow);
+
+#endif //NETDATA_CLAIM_WINDOW_H_