Debian Codegraph @

include/path.h

raw symbols SCIP
1 /**
2 * @file
3 * Path-related function prototypes.
4 */
5
6 #ifndef PATH_H
7 #define PATH_H
8
9 /**
10 * Combine two paths and return the combined path. Returns path.
11 */
12 char *path_combine(const char *src, const char *dst, char *path, size_t size);
13
14 /**
15 * Normalize a path; the passed in path is modified in-place.
16 */
17 void path_normalize(char *path);
18
19 /**
20 * Combine two paths and normalize the result. The result is a static buffer;
21 * it is valid until the next call to either this function or to
22 * combine_path().
23 */
24 char *path_combine_and_normalize(const char *src, const char *dst, char *path, size_t size);
25
26 #endif /* PATH_H */