30 #ifndef FICHIER_GLOBAL_HPP
31 #define FICHIER_GLOBAL_HPP
34 #include "../my_config.h"
58 class fichier_global :
public generic_file,
public thread_cancellation,
public mem_ui
82 virtual void change_ownership(
const std::string & user,
const std::string & group) = 0;
85 virtual void change_permission(U_I perm) = 0;
88 virtual infinint get_size()
const = 0;
91 virtual void fadvise(advise adv)
const = 0;
104 virtual U_I fichier_global_inherited_write(
const char *a, U_I size) = 0;
117 virtual bool fichier_global_inherited_read(
char *a, U_I size, U_I & read, std::string & message) = 0;
122 void inherited_write(
const char *a, U_I size);
123 U_I inherited_read(
char *a, U_I size);
class mem_ui definition. This class is to be used as parent class to handle user_interaction object m...
are defined here basic integer types that tend to be portable
class crc definition, used to handle Cyclic Redundancy Checks
define the datastructure "label" used to identify slice membership to an archive
gf_mode
generic_file openning modes
defines the interaction between libdar and the user.Three classes are defined
to be able to cancel libdar operation while running in a given thread.the class thread_cancellation i...
mem_ui(const user_interaction &dialog)
constructor
generic_file(gf_mode m)
main constructor
thread_cancellation()
the constructor