summaryrefslogtreecommitdiffstats
path: root/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'path.h')
-rw-r--r--path.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/path.h b/path.h
index ffa052d680..9293852e2d 100644
--- a/path.h
+++ b/path.h
@@ -21,6 +21,7 @@
#ifndef MPLAYER_PATH_H
#define MPLAYER_PATH_H
+#include <stdbool.h>
#include "bstr.h"
extern char *codec_path;
@@ -44,4 +45,7 @@ struct bstr mp_dirname(const char *path);
*/
char *mp_path_join(void *talloc_ctx, struct bstr p1, struct bstr p2);
+bool mp_path_exists(const char *path);
+bool mp_path_isdir(const char *path);
+
#endif /* MPLAYER_PATH_H */