… | |
… | |
30 | * buffer; it is valid until the next call to this function. |
30 | * buffer; it is valid until the next call to this function. |
31 | */ |
31 | */ |
32 | char *path_combine(const char *src, const char *dst); |
32 | char *path_combine(const char *src, const char *dst); |
33 | |
33 | |
34 | /** |
34 | /** |
35 | * Normalize a path; the passed in path is modified in-place. |
|
|
36 | */ |
|
|
37 | void path_normalize(char *path); |
|
|
38 | |
|
|
39 | /** |
|
|
40 | * Combine two paths and normalize the result. The result is a static buffer; |
35 | * Combine two paths and normalize the result. The result is a static buffer; |
41 | * it is valid until the next call to either this function or to |
36 | * it is valid until the next call to either this function or to |
42 | * combine_path(). |
37 | * combine_path(). |
43 | */ |
38 | */ |
44 | char *path_combine_and_normalize(const char *src, const char *dst); |
39 | char *path_combine_and_normalize(const char *src, const char *dst); |