1 /* ncftp_errno.h
2  *
3  * Copyright (c) 1996-2001 Mike Gleason, NCEMRSoft.
4  * All rights reserved.
5  *
6  */
7 
8 #ifndef kNoErr
9 #	define kNoErr				0
10 #endif
11 
12 #ifndef kErrGeneric
13 #	define kErrGeneric			(-1)
14 #endif
15 
16 #define kErrFirst				(100)
17 #define kErrGetHostNameFailed			(-100)
18 #define kErrHostWithoutDomain			(-101)
19 #define kErrSetLinger				(-102)
20 #define kErrSetTypeOfService			(-103)
21 #define kErrSetOutOfBandInline			(-104)
22 #define kErrHostUnknown				(-105)
23 #define kErrNewStreamSocket			(-106)
24 #define kErrDupSocket				(-107)
25 #define kErrFdopenR				(-108)
26 #define kErrFdopenW				(-109)
27 #define kErrGetSockName				(-110)
28 #define kErrBindDataSocket			(-111)
29 #define kErrListenDataSocket			(-112)
30 #define kErrPassiveModeFailed			(-113)
31 #define kErrServerSentBogusPortNumber		(-114)
32 #define kErrConnectDataSocket			(-115)
33 #define kErrAcceptDataSocket			(-116)
34 #define kErrSetStartPoint			(-117)
35 #define kErrConnectMiscErr			(-118)
36 #define kErrConnectRetryableErr			(-119)
37 #define kErrConnectRefused			(-120)
38 #define kErrBadTransferType			(-121)
39 #define kErrInvalidDirParam			(-122)
40 #define kErrMallocFailed			(-123)
41 #define kErrPWDFailed				(-124)
42 #define kErrCWDFailed				(-125)
43 #define kErrRMDFailed				(-126)
44 #define kErrBadLineList				(-127)
45 #define kErrUnimplementedOption			(-128)
46 #define kErrUnimplementedFunction		(-129)
47 #define kErrLISTFailed				(-130)
48 #define kErrRETRFailed				(-131)
49 #define kErrSTORFailed				(-132)
50 #define kErrWriteFailed				(-133)
51 #define kErrReadFailed				(-134)
52 #define kErrSocketWriteFailed			(-135)
53 #define kErrSocketReadFailed			(-136)
54 #define kErrOpenFailed				(-137)
55 #define kErrBadMagic				(-138)
56 #define kErrBadParameter			(-139)
57 #define kErrMKDFailed				(-140)
58 #define kErrCannotGoToPrevDir			(-141)
59 #define kErrChmodFailed				(-142)
60 #define kErrUmaskFailed				(-143)
61 #define kErrDELEFailed				(-144)
62 #define kErrSIZEFailed				(-145)
63 #define kErrMDTMFailed				(-146)
64 #define kErrTYPEFailed				(-147)
65 #define kErrSIZENotAvailable			(-148)
66 #define kErrMDTMNotAvailable			(-149)
67 #define kErrRenameFailed			(-150)
68 #define kErrGlobFailed				(-151)
69 #define kErrSetKeepAlive			(-152)
70 #define kErrHostDisconnectedDuringLogin		(-153)
71 #define kErrBadRemoteUser			(-154)
72 #define kErrBadRemoteUserOrPassword		(-155)
73 #define kErrLoginFailed				(-156)
74 #define kErrInvalidReplyFromServer		(-157)
75 #define kErrRemoteHostClosedConnection		(-158)
76 #define kErrNotConnected			(-159)
77 #define kErrCouldNotStartDataTransfer		(-160)
78 #define kErrDataTransferFailed			(-161)
79 #define kErrPORTFailed				(-162)
80 #define kErrPASVFailed				(-163)
81 #define kErrUTIMEFailed				(-164)
82 #define kErrUTIMENotAvailable			(-165)
83 #define kErrHELPFailed				(-166)
84 #define kErrLocalDeleteFailed			(-167)
85 #define kErrLseekFailed				(-168)
86 #define kErrDataTransferAborted			(-169)
87 #define kErrSYMLINKFailed			(-170)
88 #define kErrSYMLINKNotAvailable			(-171)
89 #define kErrGlobNoMatch				(-172)
90 #define kErrFEATNotAvailable			(-173)
91 #define kErrNoValidFilesSpecified		(-174)
92 #define kErrNoBuf				(-175)
93 #define kErrLocalFileNewer			(-176)
94 #define kErrRemoteFileNewer			(-177)
95 #define	kErrLocalSameAsRemote			(-178)
96 #define kErrMLSDFailed				(-179)
97 #define kErrMLSTFailed				(-180)
98 #define kErrInvalidMLSTResponse			(-181)
99 #define kErrMLSTNotAvailable			(-182)
100 #define kErrMLSDNotAvailable			(-183)
101 #define kErrSTATFailed				(-184)
102 #define kErrSTATwithFileNotAvailable		(-185)
103 #define kErrNLSTFailed				(-186)
104 #define kErrNLSTwithFileNotAvailable		(-187)
105 #define kErrNoSuchFileOrDirectory		(-188)
106 #define kErrCantTellIfFileExists		(-189)
107 #define kErrFileExistsButCannotDetermineType	(-190)
108 #define kErrNotADirectory			(-191)
109 #define kErrRecursionLimitReached		(-192)
110 #define kErrControlTimedOut			(-193)
111 #define kErrDataTimedOut			(-194)
112 #define kErrUserCanceled			(-195)
113 #define kErrLast				(195)
114