1/*
2 * Copyright (c) 2010, 2011, ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#ifndef VFS_PATH_H
11#define VFS_PATH_H
12
13#include <sys/cdefs.h>
14
15__BEGIN_DECLS
16
17/// path separator used by the VFS
18#define VFS_PATH_SEP        '/'
19/// path separator used by the VFS, as a string constant
20#define VFS_PATH_SEP_STR    "/"
21
22void vfs_path_normalise(char *path);
23char *vfs_path_mkabsolute(const char *cwd, const char *path);
24char *vfs_path_mkabs(const char *path);
25
26__END_DECLS
27
28#endif
29