summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-16 13:22:38 -0400
committermidipix <writeonce@midipix.org>2016-06-16 13:22:38 -0400
commit830346bf1600a38dbbacc569599da55895cfd033 (patch)
treea64218ef4b7fdbac932516a636f70e5078af180a /src/internal
parenta867b08c1bdfa631cd117be7d23a4ad90246d27e (diff)
downloadntapi-830346bf1600a38dbbacc569599da55895cfd033.tar.bz2
ntapi-830346bf1600a38dbbacc569599da55895cfd033.tar.xz
__ntapi_sc_setsockopt(): initial implementation and integration.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi.c1
-rw-r--r--src/internal/ntapi_fnapi.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index 885fe61..451ccd7 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -308,6 +308,7 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->sc_recv = __ntapi_sc_recv;
__ntapi->sc_shutdown = __ntapi_sc_shutdown;
__ntapi->sc_server_duplicate_socket = __ntapi_sc_server_duplicate_socket;
+ __ntapi->sc_setsockopt = __ntapi_sc_setsockopt;
__ntapi->sc_wait = __ntapi_sc_wait;
/* nt_mount.h */
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index a22c659..05f4707 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -203,6 +203,7 @@ ntapi_sc_getpeername __ntapi_sc_getpeername_v2;
ntapi_sc_server_accept_connection __ntapi_sc_server_accept_connection_v1;
ntapi_sc_server_accept_connection __ntapi_sc_server_accept_connection_v2;
ntapi_sc_server_duplicate_socket __ntapi_sc_server_duplicate_socket;
+ntapi_sc_setsockopt __ntapi_sc_setsockopt;
ntapi_sc_listen __ntapi_sc_listen;
ntapi_sc_accept __ntapi_sc_accept;
ntapi_sc_send __ntapi_sc_send;