diff -r 8eed495fd8da -r 15f722e0b96f project_files/frontlib/util/util.h --- 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