summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-07-30 21:21:21 +0000
committermidipix <writeonce@midipix.org>2017-07-31 08:43:36 -0400
commit9faf9a067cfeaa786ac1784fb8bf4eece49922e9 (patch)
tree46950830693387fa1223c43445b1f1c022408c80 /src/internal
parent029ed17d66b232d5e8bea0b3ab543ec8331e563d (diff)
downloadntapi-9faf9a067cfeaa786ac1784fb8bf4eece49922e9.tar.bz2
ntapi-9faf9a067cfeaa786ac1784fb8bf4eece49922e9.tar.xz
subsystem interfaces: integrated sysv semaphore client-side interfaces.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi.c10
-rw-r--r--src/internal/ntapi_fnapi.h10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index 42812c0..2459534 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -191,6 +191,16 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->ipc_init_section_by_port = __ntapi_ipc_init_section_by_port;
__ntapi->ipc_disconnect_unmap_section_by_port = __ntapi_ipc_disconnect_unmap_section_by_port;
+ /* nt_sem.h */
+ __ntapi->sem_create = __ntapi_sem_create;
+ __ntapi->sem_open = __ntapi_sem_open;
+ __ntapi->sem_fcntl = __ntapi_sem_fcntl;
+ __ntapi->sem_ioctl = __ntapi_sem_ioctl;
+ __ntapi->sem_query = __ntapi_sem_query;
+ __ntapi->sem_set = __ntapi_sem_set;
+ __ntapi->sem_cancel = __ntapi_sem_cancel;
+ __ntapi->sem_free = __ntapi_sem_free;
+
/* nt_ldr.h */
__ntapi->ldr_load_system_dll = __ntapi_ldr_load_system_dll;
__ntapi->ldr_create_state_snapshot = __ntapi_ldr_create_state_snapshot;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 39f8ac3..e7cb5ae 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -59,6 +59,16 @@ ntapi_ipc_disconnect_unmap_section_by_port __ntapi_ipc_disconnect_unmap_section_
ntapi_ipc_create_pipe __ntapi_ipc_create_pipe_v1;
ntapi_ipc_create_pipe __ntapi_ipc_create_pipe_v2;
+/* nt_sem.h */
+ntapi_sem_create __ntapi_sem_create;
+ntapi_sem_open __ntapi_sem_open;
+ntapi_sem_fcntl __ntapi_sem_fcntl;
+ntapi_sem_ioctl __ntapi_sem_ioctl;
+ntapi_sem_query __ntapi_sem_query;
+ntapi_sem_set __ntapi_sem_set;
+ntapi_sem_cancel __ntapi_sem_cancel;
+ntapi_sem_free __ntapi_sem_free;
+
/* nt_ldr */
ntapi_ldr_load_system_dll __ntapi_ldr_load_system_dll;
ntapi_ldr_create_state_snapshot __ntapi_ldr_create_state_snapshot;