summaryrefslogtreecommitdiffstats
path: root/path.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-03-16 18:57:23 +0100
committerwm4 <wm4@mplayer2.org>2012-03-16 19:14:44 +0100
commit6de8120822c2dd9c50ef23b4977421651396f1ae (patch)
tree11a977608cfc9f50cffbce4a879dd8e9b33b029c /path.h
parent0eb21226cbfdd200f2aea5d3a9db2cdbff4773a5 (diff)
parenta8168102668337f3c11619bea7e744fc245adff1 (diff)
downloadmpv-6de8120822c2dd9c50ef23b4977421651396f1ae.tar.bz2
mpv-6de8120822c2dd9c50ef23b4977421651396f1ae.tar.xz
Merge remote-tracking branch 'origin/master' into my_master
Conflicts: command.c mp_core.h mplayer.c screenshot.c
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 */