summaryrefslogtreecommitdiffstats
path: root/osdep/path.h
blob: c2fe2ba3036cbd4c8a7a8964e1b431418c4bb60b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef OSDEP_PATH_H
#define OSDEP_PATH_H

#define MAX_CONFIG_PATHS 32

struct mpv_global;

// Windows config directories
char *mp_get_win_exe_dir(void *talloc_ctx);
char *mp_get_win_exe_subdir(void *talloc_ctx);
char *mp_get_win_app_dir(void *talloc_ctx);

void mp_add_win_config_dirs(void *talloc_ctx, struct mpv_global *global,
                            char **dirs, int i);

// Returns Mac OS X application bundle directory.
char *mp_get_macosx_bundle_dir(void *talloc_ctx);

#endif