blob: f014f905df509385a78afeae81921a91a4b03487 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _PERF_PATH_H
3#define _PERF_PATH_H
4
5struct dirent;
6
7int path__join(char *bf, size_t size, const char *path1, const char *path2);
8int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
9
10bool is_regular_file(const char *file);
11bool is_directory(const char *base_path, const struct dirent *dent);
12
13#endif /* _PERF_PATH_H */