1 #ifndef MBROWSE_H_INCLUDED
2 #define MBROWSE_H_INCLUDED
3 
4 /************************************************************************
5  * This file is part of Wizznic.                                        *
6  * Copyright 2009-2015 Jimmy Christensen <dusted@dusted.dk>             *
7  * Wizznic is free software: you can redistribute it and/or modify      *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation, either version 3 of the License, or    *
10  * (at your option) any later version.                                  *
11  *                                                                      *
12  * Wizznic is distributed in the hope that it will be useful,           *
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
15  * GNU General Public License for more details.                         *
16  *                                                                      *
17  * You should have received a copy of the GNU General Public License    *
18  * along with Wizznic.  If not, see <http://www.gnu.org/licenses/>.     *
19  ************************************************************************/
20 
21 #include "list/list.h"
22 
23 struct fileListItem_s
24 {
25   char* fullName; //Full path
26   char* name; //Shown in list
27   int dir;
28 };
29 
30 typedef struct fileListItem_s fileListItem_t;
31 
32 void fileListFree();
33 void fileListMake(const char* path);
34 list_t* fileList();
35 
36 #endif // MBROWSE_H_INCLUDED
37