2013-09-18 16:42:18 +00:00
|
|
|
#ifndef OSDEP_PATH_H
|
|
|
|
#define OSDEP_PATH_H
|
|
|
|
|
2014-06-18 23:55:40 +00:00
|
|
|
#define MAX_CONFIG_PATHS 32
|
|
|
|
|
2013-12-21 19:45:19 +00:00
|
|
|
struct mpv_global;
|
|
|
|
|
2014-06-26 17:32:53 +00:00
|
|
|
// 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);
|
2013-09-18 17:26:26 +00:00
|
|
|
|
2013-09-18 16:42:18 +00:00
|
|
|
#endif
|