]> wimlib.net Git - wimlib/blob - include/wimlib/paths.h
Compiler stuff
[wimlib] / include / wimlib / paths.h
1 #ifndef _WIMLIB_PATHS_H
2 #define _WIMLIB_PATHS_H
3
4 #include "wimlib/compiler.h"
5 #include "wimlib/types.h"
6
7 const tchar *
8 path_basename(const tchar *path);
9
10 const tchar *
11 path_basename_with_len(const tchar *path, size_t len);
12
13 extern const tchar *
14 path_stream_name(const tchar *path);
15
16 extern void
17 zap_backslashes(tchar *s);
18
19 extern tchar *
20 canonicalize_wim_path(const tchar *wim_path) _malloc_attribute;
21
22 extern tchar *
23 canonicalize_fs_path(const tchar *fs_path) _malloc_attribute;
24
25 #endif /* _WIMLIB_PATHS_H */