summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-03-21 01:47:38 +0000
committermidipix <writeonce@midipix.org>2018-03-20 23:27:59 -0400
commit60ddd3f92f51e3b0bf1379ded0daed101dc30410 (patch)
tree3202ff627b82c34f2ab8c9b27aba3b7c8ae5d044 /include
parentb8eeedbce423520ef6a7ae029145caedd7ed2104 (diff)
downloadntapi-60ddd3f92f51e3b0bf1379ded0daed101dc30410.tar.bz2
ntapi-60ddd3f92f51e3b0bf1379ded0daed101dc30410.tar.xz
acl helper interfaces: added ntapi_acl_init_common_descriptor().
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;