blob: fb329813c17b6018772374f176400dae28f5f98b [file] [log] [blame]
Björn Stenberg8a5de5f2005-01-17 11:39:46 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
Nicolas Pennequin357ffb32008-05-05 10:32:46 +000010 * Copyright (C) 2005 by Björn Stenberg
Björn Stenberg8a5de5f2005-01-17 11:39:46 +000011 *
Daniel Stenberg2acc0ac2008-06-28 18:10:04 +000012 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
Björn Stenberg8a5de5f2005-01-17 11:39:46 +000016 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef FILETREE_H
22#define FILETREE_H
23#include "tree.h"
24
Björn Stenbergcdd79a32005-01-18 22:50:47 +000025int ft_load(struct tree_context* c, const char* tempdir);
Björn Stenberg8a5de5f2005-01-17 11:39:46 +000026int ft_enter(struct tree_context* c);
27int ft_exit(struct tree_context* c);
28int ft_build_playlist(struct tree_context* c, int start_index);
Magnus Holmgrenfabdd382007-10-30 17:38:21 +000029bool ft_play_playlist(char* pathname, char* dirname, char* filename);
Björn Stenberg8a5de5f2005-01-17 11:39:46 +000030
31#endif