34 std::vector<std::string>
ListKeys()
const;
35 std::string
ListKeysPosix(
const std::string &merge_with)
const;
36 bool Has(
const std::string &key)
const;
37 bool Get(
const std::string &key, std::string *value)
const;
38 bool Set(
const std::string &key,
const std::string &value);
39 bool Remove(
const std::string &key);
44 const std::vector<std::string> *blacklist = NULL)
const;
55 num_xattrs(num_xattrs)
61 XattrEntry(
const std::string &key,
const std::string &value);
64 std::string
GetKey()
const;
74 std::map<std::string, std::string>
xattrs_;
77 #endif // CVMFS_XATTR_H_
std::string ListKeysPosix(const std::string &merge_with) const
bool Set(const std::string &key, const std::string &value)
std::map< std::string, std::string > xattrs_
bool Get(const std::string &key, std::string *value) const
std::string GetValue() const
void Serialize(unsigned char **outbuf, unsigned *size, const std::vector< std::string > *blacklist=NULL) const
bool Has(const std::string &key) const
std::string GetKey() const
static XattrList * Deserialize(const unsigned char *inbuf, const unsigned size)
static XattrList * CreateFromFile(const std::string &path)
static const uint8_t kVersion
std::vector< std::string > ListKeys() const
bool Remove(const std::string &key)