]> gitweb.michael.orlitzky.com - apply-default-acl.git/blobdiff - src/libadacl.h
doc/COPYING: add one to state the "or later" bit
[apply-default-acl.git] / src / libadacl.h
index c70487ac2a57c84031f307aee5325eaea85478ab..4e0c75d7520a7c6baeb1218c8d5ae5feee507777 100644 (file)
@@ -5,6 +5,9 @@
  *
  */
 
+#include <stdbool.h>  /* the "bool" type */
+#include <sys/stat.h> /* 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);