CernVM-FS  2.13.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
acl.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_ACL_H_
6 #define CVMFS_ACL_H_
7 
8 #include <inttypes.h>
9 #include <stddef.h>
10 #include <string>
11 
12 /* Takes textual ACL, outputs binary array fit to be a value of system.posix_acl_access */
13 int acl_from_text_to_xattr_value(const std::string& textual_acl, char *&o_binary_acl, size_t &o_size, bool &o_equiv_mode);
14 
15 //#define COMPARE_TO_LIBACL
16 #ifdef COMPARE_TO_LIBACL
17 int acl_from_text_to_xattr_value_both_impl(const std::string textual_acl, char *&o_binary_acl, size_t &o_size, bool &o_equiv_mode);
18 #endif // COMPARE_TO_LIBACL
19 
20 #endif // CVMFS_ACL_H_
int acl_from_text_to_xattr_value(const string &textual_acl, char *&o_binary_acl, size_t &o_size, bool &o_equiv_mode)
Definition: acl.cc:250