changeset 7275 | 15f722e0b96f |
parent 7269 | 5b0aeef8ba2a |
child 7314 | 6171f0bad318 |
--- a/project_files/frontlib/util/util.h Mon Jun 25 15:21:18 2012 +0200 +++ b/project_files/frontlib/util/util.h Wed Jun 27 18:02:45 2012 +0200 @@ -87,4 +87,12 @@ */ char *flib_urldecode(const char *str); +/** + * Figure out if the string contains / or \. Useful in routines that + * construct filenames. + */ +bool flib_contains_dir_separator(const char *str); + +int flib_gets(char *str, size_t strlen); + #endif