aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/filesystem.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2021-09-21 10:38:05 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-21 18:20:34 +0000
commit533d8594991bbe283b6310ae38c701b802a112e7 (patch)
tree03eca932230df5334e68764f65296a079464b9d6 /wsutil/filesystem.h
parent0c735dcf0ab33a9d870ff751118806a9a0521a5f (diff)
Qt: Register import_hexdump.json as a profile file
Profile files which is only used in Qt is not automatically registered during startup and must be explicit registered. Add profile_register_persconffile() to handle this registration.
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 5ed146a1d9..d648e197e9 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -147,6 +147,12 @@ WS_DLL_PUBLIC char *get_global_profiles_dir(void);
WS_DLL_PUBLIC void profile_store_persconffiles(gboolean store);
/*
+ * Register a filename to the personal config files storage.
+ * This is for files which are not read using get_persconffile_path() during startup.
+ */
+WS_DLL_PUBLIC void profile_register_persconffile(const char *filename);
+
+/*
* Check if given configuration profile exists.
*/
WS_DLL_PUBLIC gboolean profile_exists(const gchar *profilename, gboolean global);