 |
Disk ARchive
2.6.8
Full featured and portable backup and archiving tool
|
Go to the documentation of this file.
29 #include "../my_config.h"
53 ~
scrambler() {
if(buffer !=
nullptr)
delete [] buffer; };
57 virtual bool skip(
const infinint & pos)
override {
if(ref ==
nullptr)
throw SRC_BUG;
return ref->
skip(pos); };
74 unsigned char *buffer;
virtual U_I inherited_read(char *a, U_I size) override
implementation of read() operation
scrambler is a very weak encryption scheme
switch module to limitint (32 ou 64 bits integers) or infinint
the arbitrary large positive integer class
virtual bool skip(const infinint &pos) override
skip at the absolute position
virtual bool skip_relative(S_I x) override
skip relatively to the current position
virtual void inherited_sync_write() override
write down any pending data
virtual bool skippable(skippability direction, const infinint &amount) override
whether the implementation is able to skip
class generic_file is defined here as well as class fichier
contains all the excetion class thrown by libdar
virtual void inherited_terminate() override
destructor-like call, except that it is allowed to throw exceptions
virtual void inherited_write(const char *a, U_I size) override
implementation of the write() operation
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
void read_ahead(const infinint &amount)
this is the interface class from which all other data transfer classes inherit
virtual void inherited_flush_read() override
reset internal engine, flush caches in order to read the data at current position
virtual void inherited_read_ahead(const infinint &amount) override
tells the object that several calls to read() will follow to probably obtain at least the given amoun...
virtual infinint get_position() const override
get the current read/write position
libdar namespace encapsulate all libdar symbols
virtual bool skip_to_eof() override
skip to the end of file