29 #include "../my_config.h"
41 #define REMOVE_TAG gettext("[--- REMOVED ENTRY ----]")
42 #define SAVED_FAKE_BIT 0x80
51 extern std::string local_perm(
const cat_inode & ref,
bool hard);
52 extern std::string local_uid(
const cat_inode & ref);
53 extern std::string local_gid(
const cat_inode & ref);
54 extern std::string local_size(
const cat_inode & ref,
bool sizes_in_bytes);
55 extern std::string local_storage_size(
const cat_inode & ref);
56 extern std::string local_date(
const cat_inode & ref);
57 extern std::string local_flag(
const cat_inode & ref,
bool isolated,
bool dirty_seq);
58 extern void xml_listing_attributes(user_interaction & dialog,
59 const std::string & beginning,
60 const std::string & data,
61 const std::string & metadata,
62 const cat_entree * obj =
nullptr,
63 bool list_ea =
false);
64 extern bool extract_base_and_status(
unsigned char signature,
unsigned char & base, saved_status & saved);
65 extern void local_display_ea(user_interaction & dialog,
const cat_inode * ino,
const std::string &prefix,
const std::string &suffix,
bool xml_output =
false);
66 extern unsigned char mk_signature(
unsigned char base, saved_status state);
67 extern void unmk_signature(
unsigned char sig,
unsigned char & base, saved_status & state,
bool isolated);
68 extern bool compatible_signature(
unsigned char a,
unsigned char b);
69 extern unsigned char get_base_signature(
unsigned char a);
std::string entree_to_string(const cat_entree *obj)
base object for all inode types, managed EA and FSA, dates, permissions, ownership, ...
libdar namespace encapsulate all libdar symbols