summaryrefslogtreecommitdiffstats
path: root/private/inc/ntstapi.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/inc/ntstapi.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/inc/ntstapi.h')
-rw-r--r--private/inc/ntstapi.h82
1 files changed, 82 insertions, 0 deletions
diff --git a/private/inc/ntstapi.h b/private/inc/ntstapi.h
new file mode 100644
index 000000000..f524cc795
--- /dev/null
+++ b/private/inc/ntstapi.h
@@ -0,0 +1,82 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ ntstapi.h
+
+Abstract:
+
+ This module declares the STREAMS APIs that are provided for use
+ primarily by the NT tcp/ip socket library.
+
+Author:
+
+ Eric Chin (ericc) July 26, 1991
+
+Revision History:
+
+ mikemas 01-02-92 Deleted poll definition. Mips complained because
+ of def in winsock.h
+
+ jballard 07-14-94 Added STRMAPI types. This should fix problems
+ building outside of the MS build environment.
+
+
+--*/
+
+#ifndef _NTSTAPI_
+#define _NTSTAPI_
+
+#ifndef STRMAPI
+
+#if (_MSC_VER >= 800)
+#define STRMAPI __stdcall
+#else
+#define STRMAPI
+#endif
+
+#endif
+
+
+//
+// s_close() is not provided. Use the open and close primitives that are
+// appropriate to your subsystem.
+//
+
+int
+STRMAPI
+getmsg(
+ IN HANDLE fd,
+ IN OUT struct strbuf *ctrlptr OPTIONAL,
+ IN OUT struct strbuf *dataptr OPTIONAL,
+ IN OUT int *flagsp
+ );
+
+int
+STRMAPI
+putmsg(
+ IN HANDLE fd,
+ IN struct strbuf *ctrlptr OPTIONAL,
+ IN struct strbuf *dataptr OPTIONAL,
+ IN int flags
+ );
+
+int
+STRMAPI
+s_ioctl(
+ IN HANDLE fd,
+ IN int cmd,
+ IN OUT void *arg OPTIONAL
+ );
+
+HANDLE
+STRMAPI
+s_open(
+ IN char *path,
+ IN int oflag,
+ IN int ignored
+ );
+
+#endif /* _NTSTAPI_ */