fix a stupid bug which made mountpoint detection based on folders non-functional...
[Rockbox.git] / firmware / include / timefuncs.h
blobe266ff9acb7a8b76cb9560d7e61f0a174a132ee1
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Linus Nielsen Feltzing
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef _TIMEFUNCS_H_
21 #define _TIMEFUNCS_H_
23 #include "config.h"
24 #include <stdbool.h>
25 #include "time.h"
27 struct tm *get_time(void);
28 int set_time(const struct tm *tm);
29 bool valid_time(const struct tm *tm);
30 #if CONFIG_RTC
31 time_t mktime(struct tm *t);
32 #endif
34 #endif /* _TIMEFUNCS_H_ */