Crossfire Server, Trunk  R20513
path.h
Go to the documentation of this file.
1 
6 #ifndef PATH_H
7 #define PATH_H
8 
12 char *path_combine(const char *src, const char *dst, char *path, size_t size);
13 
17 void path_normalize(char *path);
18 
24 char *path_combine_and_normalize(const char *src, const char *dst, char *path, size_t size);
25 
26 #endif /* PATH_H */
char * path_combine_and_normalize(const char *src, const char *dst, char *path, size_t size)
Combine two paths and normalize the result.
Definition: path.c:172
char * path_combine(const char *src, const char *dst, char *path, size_t size)
Combine two paths and return the combined path.
Definition: path.c:51
void path_normalize(char *path)
Normalize a path; the passed in path is modified in-place.
Definition: path.c:85