source: bootcd/isolinux/syslinux-6.03/com32/libupload/tftp.h

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

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