NetBurner 3.1
fstaticw.h
1 /*NB_REVISION*/
2 
3 #ifndef _FSSTATIC_H_
4 #define _FSSTATIC_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: info@hcc-embedded.com
31  *
32  ***************************************************************************/
33 
34 #include <file/fsf.h>
35 
36 #ifdef __cplusplus
37 extern "C"
38 {
39 #endif
40 
41 #define FS_STATIC_DISTANCE 1024 /* distance between statically used and free block */
42 #define FS_STATIC_PERIOD 1024 /* period, when to check static distance */
43 
44  extern int fs_staticwear(FS_MULTI *fm, int drvnum); /* for normal */
45  extern int fsm_staticwear(int drvnum); /* for multitask */
46 
47 #define fs_staticwear(drvnum) fsm_staticwear(drvnum)
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 /****************************************************************************
54  *
55  * End of fstatic.h
56  *
57  ***************************************************************************/
58 
59 #endif /* _FSSTATIC_H_ */
Embedded Flash File System API - STD.