31 #include "../my_config.h"
56 bool skip_relative(
signed int x) {
return false; };
59 #ifdef LIBDAR_SPECIAL_ALLOC
bool skip_to_eof()
skip to the end of file
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
gf_mode
generic_file openning modes
the null_file class implements the /dev/null behavior
U_I inherited_read(char *a, U_I size)
implementation of read() operation
void check_self_cancellation() const
Checkpoint test : whether the current libdar call must abort or not.
to be able to cancel libdar operation while running in a given thread.the class thread_cancellation i...
void inherited_sync_write()
write down any pending data
generic_file(gf_mode m)
main constructor
class to be used as parent to provide checkpoints to inherited classes
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
bool skip(const infinint &pos)
skip at the absolute position
this is the interface class from which all other data transfer classes inherit
void inherited_write(const char *a, U_I size)
implementation of the write() operation
infinint get_position()
get the current read/write position
the arbitrary large positive integer class
libdar namespace encapsulate all libdar symbols