diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-21 12:32:31 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-12-21 12:32:31 +0000 |
commit | 412a1581bf1e3db77a48b165af500a0d7d8ecfd1 (patch) | |
tree | 015e621880306dd498c44b0b37f5c269d1b4020a /epan/filesystem.h | |
parent | bb125ad37119abf813309c8b79b22a7f38cd53e9 (diff) |
Added Copy Profile functionality.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31335 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r-- | epan/filesystem.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h index 507271d2d2..6998147d5b 100644 --- a/epan/filesystem.h +++ b/epan/filesystem.h @@ -109,6 +109,12 @@ extern const char *get_profile_name(void); extern const char *get_profiles_dir(void); /* + * Store filenames used for personal config files so we know which + * files to copy when duplicate a configuration profile. + */ +extern void profile_store_persconffiles(gboolean store); + +/* * Check if given configuration profile exists. */ extern gboolean profile_exists(const gchar *profilename); @@ -140,6 +146,14 @@ extern int rename_persconffile_profile(const char *fromname, const char *toname, char **pf_from_dir_path_return, char **pf_to_dir_path_return); +/* + * Copy files in one profile to the other. + */ +extern int copy_persconffile_profile(const char *toname, const char *fromname, + char **pf_filename_return, + char **pf_to_dir_path_return, + char **pf_from_dir_path_return); + /* * Create the directory that holds personal configuration files, if * necessary. If we attempted to create it, and failed, return -1 and |