 |
Disk ARchive
2.6.8
Full featured and portable backup and archiving tool
|
Go to the documentation of this file.
30 #include "../my_config.h"
50 order_read_ahead_begin,
53 answr_sync_write_done,
61 order_skippable_fwd_begin,
63 order_skippable_bkd_begin,
71 answr_readahead_stopped,
78 extern bool msg_continues(
msg_type msg);
79 extern char msg_type2char(
msg_type x);
80 extern msg_type char2msg_type(
char x);
104 bool add_block(
const char *x_input, U_I x_size);
177 bool get_block(
char * ptr,
unsigned int & size);
void clear()
reset the object to its initial state
void set_label(const label &val)
set label attribute
void set_string(const std::string &val)
add string attribute
std::string get_string() const
for messages of type order_set_context
void reset_get_block()
set the read block pointer to the first block
bool get_bool() const
for messages of type anwsr_oldarchive
manage label data structure used in archive slice headers
decoding received messages
void set_bool(bool val)
set boolean attribute
switch module to limitint (32 ou 64 bits integers) or infinint
the arbitrary large positive integer class
void set_U_I(U_I val)
add U_I attribute
messaging_encode()
constructor
label get_label() const
for messages of type answr_get_dataname,
define the datastructure "label" used to identify slice membership to an archive
encoding messages to be sent
msg_type get_type() const
get the type of message pointed to at construction time
void set_infinint(const infinint &val)
add infininit attribute
void clear()
reset the object to its initial state
Memory_file is a generic_file class that only uses virtual memory.
generic_file stored in memory
bool add_block(const char *x_input, U_I x_size)
infinint get_infinint() const
for messages of type order_skip, answr_filesize, order_read_ahead, answr_filesize,
U_I get_U_I() const
for messages of type order_read
msg_type
the different types of messages
void set_type(msg_type val)
define the type of the message to generate
bool get_block(char *ptr, unsigned int &size)
libdar namespace encapsulate all libdar symbols