X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Flibadacl.h;h=4e0c75d7520a7c6baeb1218c8d5ae5feee507777;hb=HEAD;hp=c70487ac2a57c84031f307aee5325eaea85478ab;hpb=d9b820de67813a5e2b92e4249e5a25cf8d884720;p=apply-default-acl.git diff --git a/src/libadacl.h b/src/libadacl.h index c70487a..4e0c75d 100644 --- a/src/libadacl.h +++ b/src/libadacl.h @@ -5,6 +5,9 @@ * */ +#include /* the "bool" type */ +#include /* the "struct stat" type */ + /* Most of the libacl functions return 1 for success, 0 for failure, * and -1 on error. We follow suit. */ @@ -12,8 +15,4 @@ #define ACL_FAILURE 0 #define ACL_SUCCESS 1 -int apply_default_acl_ex(const char* path, - const struct stat* sp, - bool no_exec_mask); - -int apply_default_acl(const char* path, bool no_exec_mask); +int apply_default_acl(const char* path, bool recursive);