diff options
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 |