]> gitweb.michael.orlitzky.com - apply-default-acl.git/blob - src/libadacl.h
Move a few constants out of the libadacl.h header to where they are used.
[apply-default-acl.git] / src / libadacl.h
1 /**
2 * @file libadacl.h
3 *
4 * @brief The public API for libadacl.
5 *
6 */
7
8 /* Most of the libacl functions return 1 for success, 0 for failure,
9 * and -1 on error. We follow suit.
10 */
11 #define ACL_ERROR -1
12 #define ACL_FAILURE 0
13 #define ACL_SUCCESS 1
14
15 int apply_default_acl_ex(const char* path,
16 const struct stat* sp,
17 bool no_exec_mask);
18
19 int apply_default_acl(const char* path, bool no_exec_mask);