NetBurner 3.5.0
PDF Version
 
fat_m.h
1/*NB_REVISION*/
2
3#ifndef _FAT_M_H_
4#define _FAT_M_H_
5
6/****************************************************************************
7 *
8 * Copyright (c) 2003 by HCC Embedded
9 *
10 * This software is copyrighted by and is the sole property of
11 * HCC. All rights, title, ownership, or other interests
12 * in the software remain the property of HCC. This
13 * software may only be used in accordance with the corresponding
14 * license agreement. Any unauthorized use, duplication, transmission,
15 * distribution, or disclosure of this software is expressly forbidden.
16 *
17 * This Copyright notice may not be removed or modified without prior
18 * written consent of HCC.
19 *
20 * HCC reserves the right to modify this software without notice.
21 *
22 * HCC Embedded
23 * Budapest 1132
24 * Victor Hugo Utca 11-15
25 * Hungary
26 *
27 * Tel: +36 (1) 450 1302
28 * Fax: +36 (1) 450 1303
29 * http: www.hcc-embedded.com
30 * email: [email protected]
31 *
32 ***************************************************************************/
33
34#ifdef __cplusplus
35extern "C"
36{
37#endif
38
39#ifdef HCC_UNICODE
40 extern int fm_wgetcwd(wchar *buffer, int maxlen);
41 extern int fm_wgetdcwd(int drivenum, wchar *buffer, int maxlen);
42 extern int fm_wchdir(const wchar *dirname);
43 extern int fm_wmkdir(const wchar *dirname);
44 extern int fm_wrmdir(const wchar *dirname);
45 extern int fm_wfindfirst(const wchar *filename, FN_WFIND *find);
46 extern int fm_wfindnext(FN_WFIND *find);
47 extern int fm_wrename(const wchar *filename, const wchar *newname);
48 extern int fm_wmove(const wchar *filename, const wchar *newname);
49 extern long fm_wfilelength(const wchar *filename);
50 extern FN_FILE *fm_wopen(const wchar *filename, const wchar *mode);
51 extern FN_FILE *fm_wtruncate(const wchar *filename, unsigned long length);
52 extern int fm_wstat(const wchar *filename, F_STAT *stat);
53 extern int fm_wgettimedate(const wchar *filename, unsigned short *pctime, unsigned short *pcdate);
54 extern int fm_wsettimedate(const wchar *filename, unsigned short ctime, unsigned short cdate);
55 extern int fm_wdelete(const wchar *filename);
56 extern int fm_wgetattr(const wchar *filename, unsigned char *attr);
57 extern int fm_wsetattr(const wchar *filename, unsigned char attr);
58#endif
59
60#ifdef __cplusplus
61}
62#endif
63
64/****************************************************************************
65 *
66 * end of fat_m.h
67 *
68 ***************************************************************************/
69
70#endif /* _FAT_M_H_ */