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);
116 std::string get_string()
const;
119 bool get_bool()
const;
122 label get_label()
const;
150 void set_infinint(
const infinint & val);
153 void set_U_I(U_I val);
156 void set_string(
const std::string & val);
159 void set_bool(
bool val);
162 void set_label(
const label & val);
165 void reset_get_block();
177 bool get_block(
char * ptr,
unsigned int & size);
messaging_encode()
constructor
define the datastructure "label" used to identify slice membership to an archive
void set_type(msg_type val)
define the type of the message to generate
msg_type get_type() const
get the type of message pointed to at construction time
decoding received messages
generic_file stored in memory
Memory_file is a generic_file class that only uses virtual memory.
encoding messages to be sent
switch module to limitint (32 ou 64 bits integers) or infinint
manage label data structure used in archive slice headers
msg_type
the different types of messages
the arbitrary large positive integer class
libdar namespace encapsulate all libdar symbols