Debian Codegraph @

src/file/dirs.h

raw
1 /*
2 * This file is part of libbluray
3 * Copyright (C) 2011-2013 VideoLAN
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see
17 * <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef BLURAY_DIRS_H
21 #define BLURAY_DIRS_H
22
23 #include "util/attributes.h"
24
25 #ifdef _WIN32
26 BD_PRIVATE int win32_mkdir(const char *dir);
27 #endif
28
29 /*
30 * Config, cache and data dirs
31 */
32
33 BD_PRIVATE const char *file_get_config_system(const char *dir);
34
35 BD_PRIVATE char *file_get_config_home(void) BD_ATTR_MALLOC;
36 BD_PRIVATE char *file_get_cache_home(void) BD_ATTR_MALLOC;
37 BD_PRIVATE char *file_get_data_home(void) BD_ATTR_MALLOC;
38
39 #endif