29 #include "../my_config.h" 48 ~
scrambler() {
if(buffer != NULL)
delete [] buffer; };
52 bool skip(
const infinint & pos) {
if(ref == NULL)
throw SRC_BUG;
return ref->
skip(pos); };
57 #ifdef LIBDAR_SPECIAL_ALLOC 70 unsigned char *buffer;
void inherited_terminate()
destructor-like call, except that it is allowed to throw exceptions
U_I inherited_read(char *a, U_I size)
implementation of read() operation
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
infinint get_position()
get the current read/write position
bool skip(const infinint &pos)
skip at the absolute position
bool skip_relative(S_I x)
skip relatively to the current position
void inherited_write(const char *a, U_I size)
implementation of the write() operation
generic_file(gf_mode m)
main constructor
bool skip_to_eof()
skip to the end of file
contains all the excetion class thrown by libdar
switch module to limitint (32 ou 64 bits integers) or infinint
void inherited_sync_write()
write down any pending data
scrambler is a very weak encryption scheme
this is the interface class from which all other data transfer classes inherit
the arbitrary large positive integer class
this file contains the definition of secu_string class, a std::string like class but allocated in sec...
libdar namespace encapsulate all libdar symbols