Blame


1 4027f31a 2017-11-04 stsp /* Utilities for dealing with filesystem paths. */
2 4027f31a 2017-11-04 stsp
3 4027f31a 2017-11-04 stsp /* Determine whether a path is an absolute path. */
4 4027f31a 2017-11-04 stsp int got_path_is_absolute(const char *);
5 4027f31a 2017-11-04 stsp
6 4027f31a 2017-11-04 stsp /*
7 4027f31a 2017-11-04 stsp * Return an absolute version of a relative path.
8 4027f31a 2017-11-04 stsp * The result is allocated with malloc(3).
9 4027f31a 2017-11-04 stsp */
10 4027f31a 2017-11-04 stsp char *got_path_get_absolute(const char *);
11 4027f31a 2017-11-04 stsp
12 4027f31a 2017-11-04 stsp /*
13 4027f31a 2017-11-04 stsp * Normalize a path for internal processing.
14 4027f31a 2017-11-04 stsp * The result is allocated with malloc(3).
15 4027f31a 2017-11-04 stsp */
16 4027f31a 2017-11-04 stsp char *got_path_normalize(const char *);