]>
gitweb.michael.orlitzky.com - apply-default-acl.git/blob - src/libadacl.h
4 * @brief The public API for libadacl.
8 /* Most of the libacl functions return 1 for success, 0 for failure,
14 /* Even though most other library functions reliably return -1 for
15 * error, it feels a little wrong to re-use the ACL_ERROR constant.
17 #define CLOSE_ERROR -1
20 #define SNPRINTF_ERROR -1
23 int apply_default_acl_ex(const char* path
,
24 const struct stat
* sp
,
27 int apply_default_acl(const char* path
, bool no_exec_mask
);