* simple.el (password-word-equivalents): Add "passcode", used for
[emacs.git] / nt / inc / sys / acl.h
blob3133e3bfc09d423fa5b6492f954d78f42c39eeaa
1 /* Emulation of Posix ACLs for Windows. */
3 #ifndef ACL_H
4 #define ACL_H
6 #define NOMINMAX 1 /* don't define min and max */
7 #include <windows.h>
9 typedef PSECURITY_DESCRIPTOR acl_t;
10 typedef unsigned acl_type_t;
12 /* Values of acl_type_t */
13 #define ACL_TYPE_ACCESS 0
14 #define ACL_TYPE_DEFAULT 1
16 typedef unsigned acl_perm_t;
18 extern int acl_valid (acl_t);
19 extern acl_t acl_get_file (const char *, acl_type_t);
20 extern int acl_set_file (const char *, acl_type_t, acl_t);
21 extern char * acl_to_text (acl_t, ssize_t *);
22 extern acl_t acl_from_text (const char *);
23 extern int acl_free (void *);
25 #endif /* ACL_H */