aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/filesystem.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-04-28 13:41:27 -0700
committerGerald Combs <gerald@wireshark.org>2022-04-29 18:00:21 +0000
commit70bd130379643e16b19679f8d2f26fbea5607a3d (patch)
treee5141413e72ed733423482293ae880543104f972 /wsutil/filesystem.h
parentb244db8f3c3ed5e2e97d64d00e62be4e17359268 (diff)
Fix "generated by" comments in configuration files.
Add get_configuration_namespace() and use it in code that writes "generated by" comments at the top of various configuration files. Update our Logwolf colorfilters.
Diffstat (limited to 'wsutil/filesystem.h')
-rw-r--r--wsutil/filesystem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h
index 8d276f3d99..9c8432f813 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -39,6 +39,12 @@ extern "C" {
*/
WS_DLL_PUBLIC char *configuration_init(const char *arg0, const char *namespace_name);
+/**
+ * Get the configuration namespace name.
+ * @return The namespace name. One of "Wireshark" or "Logwolf".
+ */
+WS_DLL_PUBLIC const char *get_configuration_namespace(void);
+
/*
* Get the directory in which the program resides.
*/