summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-16 13:23:50 -0400
committermidipix <writeonce@midipix.org>2016-06-16 13:23:50 -0400
commit4192289efd809a11ae1d29a1e31a0b55930ace8b (patch)
tree67a679d33136113e6d8d53223caf22a9dcd496cb /include
parent830346bf1600a38dbbacc569599da55895cfd033 (diff)
downloadntapi-4192289efd809a11ae1d29a1e31a0b55930ace8b.tar.bz2
ntapi-4192289efd809a11ae1d29a1e31a0b55930ace8b.tar.xz
__ntapi_sc_getsockopt(): initial implementation and integration.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_socket.h9
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ntapi/nt_socket.h b/include/ntapi/nt_socket.h
index 1f8dd14..d56f370 100644
--- a/include/ntapi/nt_socket.h
+++ b/include/ntapi/nt_socket.h
@@ -518,6 +518,15 @@ typedef int32_t __cdecl ntapi_sc_setsockopt(
__out nt_io_status_block * iosb __optional);
+typedef int32_t __cdecl ntapi_sc_getsockopt(
+ __in nt_socket * hssocket,
+ __in int32_t level,
+ __in int32_t optname,
+ __out void * optval,
+ __in uint32_t optlen,
+ __out nt_io_status_block * iosb);
+
+
typedef int32_t __cdecl ntapi_sc_wait(nt_socket * hssocket, nt_iosb * iosb, nt_timeout * timeout);
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 904a563..054d66a 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -548,6 +548,7 @@ typedef struct _ntapi_vtbl {
ntapi_sc_server_accept_connection * sc_server_accept_connection;
ntapi_sc_server_duplicate_socket * sc_server_duplicate_socket;
ntapi_sc_setsockopt * sc_setsockopt;
+ ntapi_sc_getsockopt * sc_getsockopt;
ntapi_sc_wait * sc_wait;
/* nt_mount.h */