NetBurner 3.1
effs_fat/fwerr.h
1 /*NB_REVISION*/
2 
3 #ifndef _FWERR_H_
4 #define _FWERR_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 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38 
39  /****************************************************************************
40  *
41  * Filesystem's errorcodes
42  *
43  ***************************************************************************/
44 
45  enum
46  {
47  /* 0 */ F_NO_ERROR,
48  /* 1 */ F_ERR_INVALIDDRIVE,
49  /* 2 */ F_ERR_NOTFORMATTED,
50  /* 3 */ F_ERR_INVALIDDIR,
51  /* 4 */ F_ERR_INVALIDNAME,
52  /* 5 */ F_ERR_NOTFOUND,
53  /* 6 */ F_ERR_DUPLICATED,
54  /* 7 */ F_ERR_NOMOREENTRY,
55  /* 8 */ F_ERR_NOTOPEN,
56  /* 9 */ F_ERR_EOF,
57  /* 10 */ F_ERR_RESERVED,
58  /* 11 */ F_ERR_NOTUSEABLE,
59  /* 12 */ F_ERR_LOCKED,
60  /* 13 */ F_ERR_ACCESSDENIED,
61  /* 14 */ F_ERR_NOTEMPTY,
62  /* 15 */ F_ERR_INITFUNC,
63  /* 16 */ F_ERR_CARDREMOVED,
64  /* 17 */ F_ERR_ONDRIVE,
65  /* 18 */ F_ERR_INVALIDSECTOR,
66  /* 19 */ F_ERR_READ,
67  /* 20 */ F_ERR_WRITE,
68  /* 21 */ F_ERR_INVALIDMEDIA,
69  /* 22 */ F_ERR_BUSY,
70  /* 23 */ F_ERR_WRITEPROTECT,
71  /* 24 */ F_ERR_INVFATTYPE,
72  /* 25 */ F_ERR_MEDIATOOSMALL,
73  /* 26 */ F_ERR_MEDIATOOLARGE,
74  /* 27 */ F_ERR_NOTSUPPSECTORSIZE,
75  /* 28 */ F_ERR_UNKNOWN,
76  /* 29 */ F_ERR_DRVALREADYMNT,
77  /* 30 */ F_ERR_TOOint32_tNAME,
78  /* 31 */ F_ERR_NOTFORREAD,
79  /* 32 */ F_ERR_DELFUNC,
80  /* 33 */ F_ERR_ALLOCATION,
81  /* 34 */ F_ERR_INVALIDPOS,
82  /* 35 */ F_ERR_NOMORETASK,
83  /* 36 */ F_ERR_NOTAVAILABLE,
84  /* 37 */ F_ERR_TASKNOTFOUND,
85  /* 38 */ F_ERR_UNUSABLE
86  };
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
92 /****************************************************************************
93  *
94  * end of fwerr.h
95  *
96  ***************************************************************************/
97 
98 #endif /* _FWERR_H_ */