RetroArch
paths.h
Go to the documentation of this file.
1 /* RetroArch - A frontend for libretro.
2  * Copyright (C) 2011-2017 - Daniel De Matteis
3  *
4  * RetroArch is free software: you can redistribute it and/or modify it under the terms
5  * of the GNU General Public License as published by the Free Software Found-
6  * ation, either version 3 of the License, or (at your option) any later version.
7  *
8  * RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
9  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
10  * PURPOSE. See the GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License along with RetroArch.
13  * If not, see <http://www.gnu.org/licenses/>.
14  */
15 
16 #ifndef __PATHS_H
17 #define __PATHS_H
18 
19 #include <boolean.h>
20 #include <retro_common_api.h>
21 
22 #include <lists/string_list.h>
23 
25 
27 {
32 };
33 
35 {
46 };
47 
48 void path_deinit_subsystem(void);
49 
50 void path_deinit_savefile(void);
51 
52 void path_init_savefile(void);
53 
54 void path_fill_names(void);
55 
56 bool path_set(enum rarch_path_type type, const char *path);
57 
58 void path_set_redirect(void);
59 
60 void path_set_special(char **argv, unsigned num_content);
61 
62 void path_set_basename(const char *path);
63 
65 
67 
69 
70 const char *path_get(enum rarch_path_type type);
71 
73 
74 void path_clear_all(void);
75 
77 
79 
81 
82 #endif
Definition: paths.h:37
Definition: paths.h:40
void path_fill_names(void)
Definition: paths.c:428
Definition: paths.h:45
rarch_content_type
Definition: paths.h:26
void path_set_special(char **argv, unsigned num_content)
Definition: paths.c:253
Definition: paths.h:43
#define RETRO_BEGIN_DECLS
Definition: retro_common_api.h:41
size_t path_get_realsize(enum rarch_path_type type)
Definition: paths.c:527
void path_set_redirect(void)
Definition: paths.c:60
GLsizei const GLchar ** path
Definition: glext.h:7901
Definition: paths.h:44
Definition: paths.h:29
struct string_list * path_get_subsystem_list(void)
Definition: paths.c:248
Definition: paths.h:30
Definition: paths.h:36
Definition: paths.h:38
const char * path_get(enum rarch_path_type type)
Definition: paths.c:493
void path_clear_all(void)
Definition: paths.c:705
enum rarch_content_type path_is_media_type(const char *path)
Definition: paths.c:714
void path_clear(enum rarch_path_type type)
Definition: paths.c:671
GLenum type
Definition: glext.h:6233
Definition: paths.h:39
void path_deinit_savefile(void)
Definition: task_save.c:1570
Definition: paths.h:31
void path_init_savefile(void)
Definition: paths.c:394
#define RETRO_END_DECLS
Definition: retro_common_api.h:42
void path_set_basename(const char *path)
Definition: paths.c:213
bool path_set(enum rarch_path_type type, const char *path)
Definition: paths.c:578
Definition: paths.h:41
Definition: paths.h:42
Definition: paths.h:28
bool path_is_empty(enum rarch_path_type type)
Definition: paths.c:627
rarch_path_type
Definition: paths.h:34
Definition: string_list.h:47
void path_deinit_subsystem(void)
Definition: paths.c:791
char * path_get_ptr(enum rarch_path_type type)
Definition: paths.c:459