1 |
/* $Id: path.h,v 1.1 2005/12/08 21:50:19 akirschbaum Exp $ */ |
2 |
|
3 |
#ifndef PATH_H |
4 |
#define PATH_H |
5 |
|
6 |
/** |
7 |
* Combine two paths and return the combined path. The result value is a static |
8 |
* buffer; it is valid until the next call to this function. |
9 |
*/ |
10 |
char *path_combine(const char *src, const char *dst); |
11 |
|
12 |
/** |
13 |
* Normalize a path; the passed in path is modified in-place. |
14 |
*/ |
15 |
void path_normalize(char *path); |
16 |
|
17 |
/** |
18 |
* Combine two paths and normalize the result. The result is a static buffer; |
19 |
* it is valid until the next call to either this function or to |
20 |
* combine_path(). |
21 |
*/ |
22 |
char *path_combine_and_normalize(const char *src, const char *dst); |
23 |
|
24 |
#endif |