-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnwerror.h
77 lines (70 loc) · 2.43 KB
/
nwerror.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/***************************************************************************
*
* Copyright (c) 1997-2022 Jeff V. Merkey
* 7260 SE Tenino St.
* Portland, Oregon 97206
* jeffmerkey@gmail.com
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the Lesser GNU Public License as published by the
* Free Software Foundation, version 2.1, or any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* Original Authorship :
* source code written by Jeff V. Merkey
*
* Original Contributors :
* Jeff V. Merkey
*
*
*
****************************************************************************
*
* AUTHOR : Jeff V. Merkey (jeffmerkey@gmail.com)
* FILE : NWERROR.H
* DESCRIP : Error Codes
* DATE : April 3, 2022
*
*
***************************************************************************/
#ifndef _NWFS_ERROR_
#define _NWFS_ERROR_
/**********************************************************************
*
* NWFS Error Codes
*
***********************************************************************/
typedef enum _NW_STATUS
{
NwSuccess, // 0
NwFileCorrupt, // 1
NwDirectoryCorrupt, // 2
NwVolumeCorrupt, // 3
NwHashCorrupt, // 4
NwHashError, // 5
NwDiskIoError, // 6
NwInsufficientResources, // 7
NwInvalidParameter, // 8
NwNoMoreMirrors, // 9
NwOtherError, // 10
NwEndOfFile, // 11
NwFileExists, // 12
NwBadName, // 13
NwVolumeFull, // 14
NwFatCorrupt, // 15
NwAccessError, // 16
NwMissingSegment, // 17
NwMirrorGroupFailure, // 18
NwNotEmpty, // 19
NwNoEntry, // 20
NwNotPermitted, // 21
NwSuballocMissing, // 22
NwSuballocExceeded, // 23
NwMemoryFault, // 24
NwChainBad // 25
} NW_STATUS;
#endif