summaryrefslogtreecommitdiffstats
path: root/osdep/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/path.h')
-rw-r--r--osdep/path.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/osdep/path.h b/osdep/path.h
index c09bedceb0..c697453fcc 100644
--- a/osdep/path.h
+++ b/osdep/path.h
@@ -5,9 +5,11 @@
struct mpv_global;
-void mp_add_win_config_dirs(struct mpv_global *global, char **dirs, int i);
-
-// Returns Mac OS X application bundle directory.
-char *mp_get_macosx_bundle_dir(void *talloc_ctx);
+// Append paths starting at dirs[i]. The dirs array has place only for at most
+// MAX_CONFIG_PATHS paths, but it's guaranteed that at least 4 paths can be
+// added without checking for i>=MAX_CONFIG_PATHS.
+// Return the new value of i.
+int mp_add_win_config_dirs(struct mpv_global *global, char **dirs, int i);
+int mp_add_macosx_bundle_dir(struct mpv_global *global, char **dirs, int i);
#endif