File-RsyncP

 view release on metacpan or  search on metacpan

FileList/FileList.pm  view on Meta::CPAN

After all the file list entries are processed you should call clean():

    $fileList->clean;

This ensures that each side (sender/receiver) has identical sorted
file lists.

=head2 Utility functions

The count() function returns the total number of files in the internal
file list (either decoded or encoded).

The fatalError() function returns true if a fatal error has occured
during file decoding.  It should be called in the decode loop to 
make sure no error has occured.

=head1 AUTHOR

File::RsyncP::FileList was written by Craig Barratt
<cbarratt@users.sourceforge.net> based on rsync 2.5.5.

FileList/rsync.h  view on Meta::CPAN

        int protocol_version;
        int preserve_uid;
        int preserve_gid;
        int preserve_devices;
        int preserve_links;
        int preserve_hard_links;
        int sanitize_paths;
        int eol_nulls;

        /* 
         * incoming (decoded) string being processed
         */
        unsigned char *inBuf;
        uint32 inLen;
        uint32 inPosn;
        uint32 inFileStart;
        int inError;
        int decodeDone;
        int fatalError;
        /*
         * outgoing (encoded) string being generated



( run in 0.284 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )