summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_acl.h12
-rw-r--r--include/ntapi/ntapi.h4
2 files changed, 16 insertions, 0 deletions
diff --git a/include/ntapi/nt_acl.h b/include/ntapi/nt_acl.h
index 0ae8509..ae04b0e 100644
--- a/include/ntapi/nt_acl.h
+++ b/include/ntapi/nt_acl.h
@@ -145,4 +145,16 @@ typedef struct _nt_sd_common_buffer {
uint32_t buffer[64];
} nt_sd_common_buffer;
+
+/* extension functions */
+typedef void __stdcall ntapi_acl_init_common_descriptor(
+ __out nt_sd_common_buffer * sd,
+ __in const nt_sid * owner,
+ __in const nt_sid * group,
+ __in const nt_sid * other,
+ __in uint32_t owner_access,
+ __in uint32_t group_access,
+ __in uint32_t other_access,
+ __in uint32_t system_access);
+
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 4b695d9..d25116c 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -42,6 +42,7 @@
#include "nt_statfs.h"
#include "nt_daemon.h"
#include "nt_sem.h"
+#include "nt_acl.h"
#include "nt_vfd.h"
#include "nt_tty.h"
#include "nt_hash.h"
@@ -557,6 +558,9 @@ typedef struct _ntapi_vtbl {
ntapi_dsr_connect_internal_client * dsr_connect_internal_client;
ntapi_dsr_internal_client_connect * dsr_internal_client_connect;
+ /* nt_acl.h */
+ ntapi_acl_init_common_descriptor * acl_init_common_descriptor;
+
/* nt_vfd.h */
ntapi_vfd_dev_name_init * vfd_dev_name_init;