struct errmsg
00046 { 00047 int e_code;
00048 char e_msg[64];
00049 } errmsgs[] = {
00050 { EUNDEF, "Undefined error code" },
00051 { ENOTFOUND, "File not found" },
00052 { EACCESS, "Access violation" },
00053 { ENOSPACE, "Disk full or allocation exceeded" },
00054 { EBADOP, "Illegal TFTP operation" },
00055 { EBADID, "Unknown transfer ID" },
00056 { EEXISTS, "File already exists" },
00057 { ENOUSER, "No such user" },
00058 { -1, "0" }
00059 };
00046 { 00047 int e_code;
00048 char e_msg[64];
00049 } errmsgs[] = {
00050 { EUNDEF, "Undefined error code" },
00051 { ENOTFOUND, "File not found" },
00052 { EACCESS, "Access violation" },
00053 { ENOSPACE, "Disk full or allocation exceeded" },
00054 { EBADOP, "Illegal TFTP operation" },
00055 { EBADID, "Unknown transfer ID" },
00056 { EEXISTS, "File already exists" },
00057 { ENOUSER, "No such user" },
00058 { -1, "0" }
00059 };
No comments:
Post a Comment