diff options
author | midipix <writeonce@midipix.org> | 2018-05-13 12:13:30 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-14 01:37:07 -0400 |
commit | ad58de287d1c25c8bc143803b978c4bc5b0955f2 (patch) | |
tree | 7b830f0d94a24637ea2a6da7f3ade8241c611436 /src/internal | |
parent | 392ff94e13a35cfe738d5c3078dced3ff1fbaf29 (diff) | |
download | ntapi-ad58de287d1c25c8bc143803b978c4bc5b0955f2.tar.bz2 ntapi-ad58de287d1c25c8bc143803b978c4bc5b0955f2.tar.xz |
daemon initialization: revised for optimized thread synchronization.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi.c | 3 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 3 | ||||
-rw-r--r-- | src/internal/ntapi_impl.h | 5 |
3 files changed, 5 insertions, 6 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index c493087..9361338 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -362,10 +362,7 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) /* nt_daemon.h */ __ntapi->dsr_init = __ntapi_dsr_init; - __ntapi->dsr_start = __ntapi_dsr_start; __ntapi->dsr_create_port = __ntapi_dsr_create_port; - __ntapi->dsr_connect_internal_client = __ntapi_dsr_connect_internal_client; - __ntapi->dsr_internal_client_connect = __ntapi_dsr_internal_client_connect; /* nt_acl.h */ __ntapi->acl_init_common_descriptor = __ntapi_acl_init_common_descriptor; diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index da71a81..7c744c9 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -228,10 +228,7 @@ ntapi_uc_convert_unicode_stream_utf16_to_utf32 __ntapi_uc_convert_unicode_stream /* nt_daemon.h */ ntapi_dsr_init __ntapi_dsr_init; -ntapi_dsr_start __ntapi_dsr_start; ntapi_dsr_create_port __ntapi_dsr_create_port; -ntapi_dsr_connect_internal_client __ntapi_dsr_connect_internal_client; -ntapi_dsr_internal_client_connect __ntapi_dsr_internal_client_connect; /* nt_acl.h */ ntapi_acl_init_common_descriptor __ntapi_acl_init_common_descriptor; diff --git a/src/internal/ntapi_impl.h b/src/internal/ntapi_impl.h index d020386..18845a5 100644 --- a/src/internal/ntapi_impl.h +++ b/src/internal/ntapi_impl.h @@ -144,6 +144,11 @@ ntapi_internals * __cdecl __ntapi_internals(void); int32_t __ntapi_tt_open_file_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); int32_t __ntapi_tt_open_dir_utf8(void ** hfile, void * hat, const char * arg, int fprivate, wchar16_t *, uint32_t); +/* daemon internals */ +int32_t __ntapi_dsr_start(nt_daemon_params *); +int32_t __ntapi_dsr_connect_internal_client(nt_daemon_params *); +int32_t __ntapi_dsr_internal_client_connect(nt_daemon_params *); + /* ipc internals */ int __ntapi_ipc_page_alloc(struct dalist_ex * dlist, void ** addr, size_t * alloc_size); |