summaryrefslogtreecommitdiffstats
path: root/ui/persfilepath_opt.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui/persfilepath_opt.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ui/persfilepath_opt.h b/ui/persfilepath_opt.h
new file mode 100644
index 0000000..8f04cc6
--- /dev/null
+++ b/ui/persfilepath_opt.h
@@ -0,0 +1,31 @@
+/** @file
+ *
+ * Definitions of routines to handle command-line options to set paths
+ * for directories containing personal files (configuration, saved
+ * captures)
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef PERSFILEPATH_OPT_H
+#define PERSFILEPATH_OPT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/*
+ * process command line option that affects the paths of the directories
+ * used for personal files (configuration, saved captures)
+ */
+extern gboolean persfilepath_opt(int opt, const char *optstr);
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* PERSFILEPATH_OPT_H */