Debian Codegraph @

src/file/configfile.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 BDPLUS_CONFIGFILE_H
21 #define BDPLUS_CONFIGFILE_H
22
23 #include "util/attributes.h"
24
25 #include <stdint.h>
26 #include <stdio.h>
27
28 #define BDPLUS_DIR "bdplus"
29
30 BD_PRIVATE char * file_get_cache_dir(void) BD_ATTR_MALLOC;
31 BD_PRIVATE char * file_get_config_dir(const char *file) BD_ATTR_MALLOC;
32
33 BD_PRIVATE char * file_load(const char *path, uint32_t *p_size) BD_ATTR_MALLOC;
34
35
36 #endif