"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fsremap/src/remap.hh" between
fstransform-0.9.3-src.tar.gz and fstransform-0.9.4.tar.gz

About: fstransform is a tool to change a file-system from one format to another, for example from jfs, xfs, or reiser to ext2, ext3, or ext4, in-place and without the need for backup.

remap.hh  (fstransform-0.9.3-src):remap.hh  (fstransform-0.9.4)
skipping to change at line 87 skipping to change at line 87
/** initialize UI subsystem */ /** initialize UI subsystem */
int init_ui(const fr_args & args); int init_ui(const fr_args & args);
/** initialize tty UI subsystem */ /** initialize tty UI subsystem */
int init_ui_tty(const char * arg); int init_ui_tty(const char * arg);
/** quit UI subsystem */ /** quit UI subsystem */
void quit_ui(); void quit_ui();
int pre_init_io(); int pre_init_io();
/**
* initialize remapper to use I/O type IO_T.
*
* args depend on I/O type:
* POSIX and PREALLOC I/O require two or three arguments in args.io_args: DE
VICE, LOOP-FILE and optionally ZERO-FILE;
* test I/O requires three arguments in args.io_args: DEVICE-LENGTH, LOOP
-FILE-EXTENTS and ZERO-FILE-EXTENTS;
* self-test I/O does not require any argument in args.io_args;
* return 0 if success, else error.
*/
template<class IO_T>
int init_io_class(const fr_args & args);
void post_init_io(FT_IO_NS fr_io * io); void post_init_io(FT_IO_NS fr_io * io);
public: public:
/** constructor */ /** constructor */
fr_remap(); fr_remap();
/** destructor. calls quit_io() */ /** destructor. calls quit_io() */
~fr_remap(); ~fr_remap();
skipping to change at line 135 skipping to change at line 148
/** /**
* allocate, open and use I/O specified in args. * allocate, open and use I/O specified in args.
* if success, stores a pointer to I/O object * if success, stores a pointer to I/O object
* destructor and quit_io() will delete fr_io object. * destructor and quit_io() will delete fr_io object.
* *
* return 0 if success, else error. * return 0 if success, else error.
*/ */
int init_io(const fr_args & args); int init_io(const fr_args & args);
/** /**
* initialize remapper to use POSIX I/O.
* POSIX I/O requires three arguments in args.io_args: DEVICE, LOOP-FILE and
ZERO-FILE.
* return 0 if success, else error.
*/
int init_io_posix(const fr_args & args);
/**
* initialize remapper to use test I/O.
* test I/O requires three arguments in args.io_args: DEVICE-LENGTH, LOOP-FI
LE-EXTENTS and ZERO-FILE-EXTENTS.
* return 0 if success, else error.
*/
int init_io_test(const fr_args & args);
/**
* initialize remapper to use self-test I/O.
* return 0 if success, else error.
*/
int init_io_self_test(const fr_args & args);
/**
* perform actual work using configured I/O * perform actual work using configured I/O
* return 0 if success, else error. * return 0 if success, else error.
*/ */
int run(); int run();
/** close configured I/O and delete it */ /** close configured I/O and delete it */
void quit_io(); void quit_io();
}; };
FT_NAMESPACE_END FT_NAMESPACE_END
 End of changes. 2 change blocks. 
22 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)