ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/UUlib.pm
(Generate patch)

Comparing Convert-UUlib/UUlib.pm (file contents):
Revision 1.14 by root, Tue Oct 15 23:34:41 2002 UTC vs.
Revision 1.16 by root, Thu Nov 6 13:33:40 2003 UTC

3use Carp; 3use Carp;
4 4
5require Exporter; 5require Exporter;
6require DynaLoader; 6require DynaLoader;
7 7
8$VERSION = 0.31; 8$VERSION = 1;
9 9
10@ISA = qw(Exporter DynaLoader); 10@ISA = qw(Exporter DynaLoader);
11 11
12@_consts = qw( 12@_consts = qw(
13 ACT_COPYING ACT_DECODING ACT_ENCODING ACT_IDLE ACT_SCANNING 13 ACT_COPYING ACT_DECODING ACT_ENCODING ACT_IDLE ACT_SCANNING
153 OPT_PREAMB handle Mime preambles/epilogues 153 OPT_PREAMB handle Mime preambles/epilogues
154 OPT_TINYB64 detect short B64 outside of Mime 154 OPT_TINYB64 detect short B64 outside of Mime
155 OPT_ENCEXT extension for single-part encoded files 155 OPT_ENCEXT extension for single-part encoded files
156 OPT_REMOVE remove input files after decoding (dangerous) 156 OPT_REMOVE remove input files after decoding (dangerous)
157 OPT_MOREMIME strict MIME adherence 157 OPT_MOREMIME strict MIME adherence
158 OPT_DOTDOT .. unescaping has not yet been done on input files 158 OPT_DOTDOT ".."-unescaping has not yet been done on input files
159 159
160=head2 Result/Error codes 160=head2 Result/Error codes
161 161
162 RET_OK everything went fine 162 RET_OK everything went fine
163 RET_IOERR I/O Error - examine errno 163 RET_IOERR I/O Error - examine errno
257 257
258=head2 Loading sourcefiles, optionally fuzzy merge and start decoding 258=head2 Loading sourcefiles, optionally fuzzy merge and start decoding
259 259
260=over 4 260=over 4
261 261
262=item ($retval, $count) = LoadFile $fname, [$id, [$delflag]] 262=item ($retval, $count) = LoadFile $fname, [$id, [$delflag, [$partno]]]
263 263
264Load the given file and scan it for encoded contents. Optionally tag it 264Load the given file and scan it for encoded contents. Optionally tag it
265with the given id, and if C<$delflag> is true, delete the file after it is 265with the given id, and if C<$delflag> is true, delete the file after it
266no longer necessary. 266is no longer necessary. If you are certain of the part number, you cna
267specify it as the lat argument.
268
269A better (usually faster) way of doing this is using the C<SetFNameFilter>
270functionality.
267 271
268=item $retval = Smerge $pass 272=item $retval = Smerge $pass
269 273
270If you are desperate, try to call C<Smerge> with increasing C<$pass> 274If you are desperate, try to call C<Smerge> with increasing C<$pass>
271values, beginning at C<0>, to try to merge parts that usually would not 275values, beginning at C<0>, to try to merge parts that usually would not

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines