Fix a dircache NULL-pointer dereference.
[kugel-rb.git] / apps / playlist_viewer.h
blob97f5b0baef93b5ca7941858ccc424098ac99e9af
1 /***************************************************************************
3 * __________ __ ___.
4 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
5 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
6 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
7 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
8 * \/ \/ \/ \/ \/
9 * $Id$
11 * Copyright (C) 2003 Hardeep Sidhu
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
21 ****************************************************************************/
23 #ifndef _PLAYLIST_VIEWER_H_
24 #define _PLAYLIST_VIEWER_H_
26 enum playlist_viewer_result playlist_viewer(void);
27 enum playlist_viewer_result playlist_viewer_ex(const char* filename);
28 bool search_playlist(void);
30 enum playlist_viewer_result {
31 PLAYLIST_VIEWER_OK,
32 PLAYLIST_VIEWER_USB,
33 PLAYLIST_VIEWER_MAINMENU,
36 #endif