summaryrefslogtreecommitdiffstats
path: root/ui/urls.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/urls.h')
-rw-r--r--ui/urls.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/ui/urls.h b/ui/urls.h
new file mode 100644
index 00000000..f1a6adcc
--- /dev/null
+++ b/ui/urls.h
@@ -0,0 +1,23 @@
+/** @file
+ *
+ * Define URLs for various Wireshark sites, so that if they move, we only
+ * have to change the URLs here.
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 2000 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#define WS_HOME_PAGE_URL "https://www.wireshark.org"
+#define WS_DOWNLOAD_URL "https://www.wireshark.org/download.html"
+#define WS_DOCS_URL "https://www.wireshark.org/docs/"
+#define WS_FAQ_URL "https://www.wireshark.org/faq.html"
+#define WS_Q_AND_A_URL "https://ask.wireshark.org"
+#define WS_WIKI_HOME_URL "https://gitlab.com/wireshark/wireshark/-/wikis"
+
+/*
+ * Construct a wiki URL given the path to the wiki page.
+ */
+#define WS_WIKI_URL(path) WS_WIKI_HOME_URL "/" path