… | |
… | |
48 | |
48 | |
49 | #include <uudeview.h> |
49 | #include <uudeview.h> |
50 | #include <uuint.h> |
50 | #include <uuint.h> |
51 | #include <uustring.h> |
51 | #include <uustring.h> |
52 | |
52 | |
53 | char * uustring_id = "$Id: uustring.c,v 1.3 2002/03/31 20:04:31 root Exp $"; |
53 | char * uustring_id = "$Id: uustring.c,v 1.4 2002/10/13 13:08:44 root Exp $"; |
54 | |
54 | |
55 | typedef struct { |
55 | typedef struct { |
56 | int code; |
56 | int code; |
57 | char * msg; |
57 | char * msg; |
58 | } stringmap; |
58 | } stringmap; |
… | |
… | |
84 | { S_PARM_CHECK, "Parameter check failed in %s" }, |
84 | { S_PARM_CHECK, "Parameter check failed in %s" }, |
85 | { S_SHORT_BINHEX, "BinHex encoded file %s ended prematurely (%ld bytes left)" }, |
85 | { S_SHORT_BINHEX, "BinHex encoded file %s ended prematurely (%ld bytes left)" }, |
86 | { S_DECODE_CANCEL, "Decode operation canceled" }, |
86 | { S_DECODE_CANCEL, "Decode operation canceled" }, |
87 | { S_ENCODE_CANCEL, "Encode operation canceled" }, |
87 | { S_ENCODE_CANCEL, "Encode operation canceled" }, |
88 | { S_SCAN_CANCEL, "Scanning canceled" }, |
88 | { S_SCAN_CANCEL, "Scanning canceled" }, |
|
|
89 | { S_SIZE_MISMATCH, "%s: Decoded size (%ld) does not match expected size (%ld)" }, |
|
|
90 | { S_PSIZE_MISMATCH, "%s part %d: Decoded size (%ld) does not match expected size (%ld)" }, |
|
|
91 | { S_CRC_MISMATCH, "CRC32 mismatch in %s. Decoded file probably corrupt." }, |
|
|
92 | { S_PCRC_MISMATCH, "PCRC32 mismatch in %s part %d. Decoded file probably corrupt." }, |
89 | |
93 | |
90 | /* informational messages */ |
94 | /* informational messages */ |
91 | { S_LOADED_PART, "Loaded from %s: '%s' (%s): %s part %d %s %s %s" }, |
95 | { S_LOADED_PART, "Loaded from %s: '%s' (%s): %s part %d %s %s %s" }, |
92 | { S_NO_DATA_FOUND, "No encoded data found in %s" }, |
96 | { S_NO_DATA_FOUND, "No encoded data found in %s" }, |
93 | { S_NO_BIN_FILE, "Oops, could not find decoded file?" }, |
97 | { S_NO_BIN_FILE, "Oops, could not find decoded file?" }, |