blob: 9db15dac8008b6d34b1814524c9bd16e21b57467 [file] [log] [blame]
Daniel Stenberg8c5e3f82003-01-17 16:50:36 +00001/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19
Felix Arendse3403ec2003-02-14 20:51:10 +000020#ifndef _FILE_H_
21
Daniel Stenberg8c5e3f82003-01-17 16:50:36 +000022int win32_rename(char *oldpath, char *newpath);
Linus Nielsen Feltzinge98bad52003-03-18 00:39:57 +000023int win32_filesize(int fd);
Daniel Stenberg8c5e3f82003-01-17 16:50:36 +000024
25#define rename(x,y) win32_rename(x,y)
Daniel Stenberg7b9a36e2003-03-18 21:45:13 +000026#define filesize(x) win32_filesize(x)
Daniel Stenberg8c5e3f82003-01-17 16:50:36 +000027
Daniel Stenberg3d849882003-02-07 10:21:50 +000028#include "../../firmware/include/file.h"
Daniel Stenberg8c5e3f82003-01-17 16:50:36 +000029
Felix Arendse3403ec2003-02-14 20:51:10 +000030#undef rename
Daniel Stenberg7b9a36e2003-03-18 21:45:13 +000031
Felix Arendse3403ec2003-02-14 20:51:10 +000032
33#endif