diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-08-10 11:36:18 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-08-10 11:36:18 +0000 |
commit | 26274eb7018d3bff583687f2a8da4f02cf31620d (patch) | |
tree | 70c4c6165826ea6f20389892809c1b0761b0b805 /epan/filesystem.h | |
parent | 777a4ee10ee61ed1e33b56921c364dd91a753359 (diff) |
From Cal Turney:
Remember folder of capture selected from Welcome screen file dialog.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5038
svn path=/trunk/; revision=33758
Diffstat (limited to 'epan/filesystem.h')
-rw-r--r-- | epan/filesystem.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/filesystem.h b/epan/filesystem.h index 6e459393f3..ce5cc386bc 100644 --- a/epan/filesystem.h +++ b/epan/filesystem.h @@ -218,6 +218,13 @@ extern const char *file_write_error_message(int err); */ extern const char *get_basename(const char *); + /* + * Given a pathname, return a pointer to the last pathname separator + * character in the pathname, or NULL if the pathname contains no + * separators. + */ +extern char *find_last_pathname_separator(const char *path); + /* * Given a pathname, return a string containing everything but the * last component. NOTE: this overwrites the pathname handed into |