Last change
on this file since e16e8f2 was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
837 bytes
|
Rev | Line | |
---|
[e16e8f2] | 1 | #include <stdint.h> |
---|
| 2 | |
---|
| 3 | #ifndef UPLOAD_TFTP |
---|
| 4 | #define UPLOAD_TFTP |
---|
| 5 | /* TFTP Error codes */ |
---|
| 6 | enum tftp_error_codes { |
---|
| 7 | TFTP_ERR_UNKNOWN_ERROR = 0, // We have to use the message from the server |
---|
| 8 | TFTP_ERR_FILE_NOT_FOUND = 1, /**< File not found */ |
---|
| 9 | TFTP_ERR_ACCESS_DENIED = 2, /**< Access violation */ |
---|
| 10 | TFTP_ERR_DISK_FULL = 3, /**< Disk full or allocation exceeded */ |
---|
| 11 | TFTP_ERR_ILLEGAL_OP = 4, /**< Illegal TFTP operation */ |
---|
| 12 | TFTP_ERR_UNKNOWN_TID = 5, /**< Unknown transfer ID */ |
---|
| 13 | TFTP_ERR_FILE_EXISTS = 6, /**< File already exists */ |
---|
| 14 | TFTP_ERR_UNKNOWN_USER = 7, /**< No such user */ |
---|
| 15 | TFTP_ERR_BAD_OPTS = 8, /**< Option negotiation failed */ |
---|
| 16 | TFTP_ERR_UNABLE_TO_RESOLVE = 9, // Not in RFC, internal usage |
---|
| 17 | TFTP_ERR_UNABLE_TO_CONNECT = 10, // Not in RFC, internal usage |
---|
| 18 | TFTP_OK = 11, /* Not in RFC */ |
---|
| 19 | }; |
---|
| 20 | |
---|
| 21 | extern const char *tftp_string_error_message[]; |
---|
| 22 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.