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.17 by root, Mon Nov 24 16:10:22 2003 UTC vs.
Revision 1.26 by root, Sun Dec 10 16:44:00 2006 UTC

3use Carp; 3use Carp;
4 4
5require Exporter; 5require Exporter;
6require DynaLoader; 6require DynaLoader;
7 7
8$VERSION = "1.0"; 8$VERSION = "1.07";
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
15 FILE_DECODED FILE_ERROR FILE_MISPART FILE_NOBEGIN FILE_NODATA 15 FILE_DECODED FILE_ERROR FILE_MISPART FILE_NOBEGIN FILE_NODATA
16 FILE_NOEND FILE_OK FILE_READ FILE_TMPFILE 16 FILE_NOEND FILE_OK FILE_READ FILE_TMPFILE
17 17
18 MSG_ERROR MSG_FATAL MSG_MESSAGE MSG_NOTE MSG_PANIC MSG_WARNING 18 MSG_ERROR MSG_FATAL MSG_MESSAGE MSG_NOTE MSG_PANIC MSG_WARNING
19 19
20 OPT_RBUF OPT_WBUF
20 OPT_BRACKPOL OPT_DEBUG OPT_DESPERATE OPT_DUMBNESS OPT_ENCEXT 21 OPT_BRACKPOL OPT_DEBUG OPT_DESPERATE OPT_DUMBNESS OPT_ENCEXT
21 OPT_ERRNO OPT_FAST OPT_IGNMODE OPT_IGNREPLY OPT_OVERWRITE OPT_PREAMB 22 OPT_ERRNO OPT_FAST OPT_IGNMODE OPT_IGNREPLY OPT_OVERWRITE OPT_PREAMB
22 OPT_PROGRESS OPT_SAVEPATH OPT_TINYB64 OPT_USETEXT OPT_VERBOSE 23 OPT_PROGRESS OPT_SAVEPATH OPT_TINYB64 OPT_USETEXT OPT_VERBOSE
23 OPT_VERSION OPT_REMOVE OPT_MOREMIME OPT_DOTDOT 24 OPT_VERSION OPT_REMOVE OPT_MOREMIME OPT_DOTDOT
24 25
154 OPT_TINYB64 detect short B64 outside of Mime 155 OPT_TINYB64 detect short B64 outside of Mime
155 OPT_ENCEXT extension for single-part encoded files 156 OPT_ENCEXT extension for single-part encoded files
156 OPT_REMOVE remove input files after decoding (dangerous) 157 OPT_REMOVE remove input files after decoding (dangerous)
157 OPT_MOREMIME strict MIME adherence 158 OPT_MOREMIME strict MIME adherence
158 OPT_DOTDOT ".."-unescaping has not yet been done on input files 159 OPT_DOTDOT ".."-unescaping has not yet been done on input files
160 OPT_RBUF set default read I/O buffer size in bytes *EXPERIMENTAL*
161 OPT_WBUF set default write I/O buffer size in bytes *EXPERIMENTAL*
159 162
160=head2 Result/Error codes 163=head2 Result/Error codes
161 164
162 RET_OK everything went fine 165 RET_OK everything went fine
163 RET_IOERR I/O Error - examine errno 166 RET_IOERR I/O Error - examine errno
261 264
262=item ($retval, $count) = LoadFile $fname, [$id, [$delflag, [$partno]]] 265=item ($retval, $count) = LoadFile $fname, [$id, [$delflag, [$partno]]]
263 266
264Load the given file and scan it for encoded contents. Optionally tag it 267Load 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 268with the given id, and if C<$delflag> is true, delete the file after it
266is no longer necessary. If you are certain of the part number, you cna 269is no longer necessary. If you are certain of the part number, you can
267specify it as the lat argument. 270specify it as the last argument.
268 271
269A better (usually faster) way of doing this is using the C<SetFNameFilter> 272A better (usually faster) way of doing this is using the C<SetFNameFilter>
270functionality. 273functionality.
271 274
272=item $retval = Smerge $pass 275=item $retval = Smerge $pass
534 537
535 CleanUp(); 538 CleanUp();
536 539
537=head1 AUTHOR 540=head1 AUTHOR
538 541
539Marc Lehmann <pcg@goof.com>, the original uulib library was written 542Marc Lehmann <schmorp@schmorp.de>, the original uulib library was written
540by Frank Pilhofer <fp@informatik.uni-frankfurt.de>, and later heavily 543by Frank Pilhofer <fp@informatik.uni-frankfurt.de>, and later heavily
541bugfixed by Marc Lehmann. 544bugfixed by Marc Lehmann.
542 545
543=head1 SEE ALSO 546=head1 SEE ALSO
544 547

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines