vfs: check userland buffers before reading them.
[haiku.git] / src / tools / fs_shell / path_util.h
blobd0d898f9485ab6924a65e3e19657144b3ecee85f
1 /*
2 * Copyright 2005-2007, Ingo Weinhold, bonefish@cs.tu-berlin.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _FSSH_PATH_UTIL_H
6 #define _FSSH_PATH_UTIL_H
8 #include "fssh_defs.h"
11 namespace FSShell {
14 fssh_status_t get_last_path_component(const char *path, char *buffer,
15 int bufferLen);
16 char* make_path(const char *dir, const char *entry);
19 } // namespace FSShell
22 #endif // _FSSH_PATH_UTIL_H