Annotation of ntddk/src/network/streams/inc/ntstapi.h, revision 1.1.1.1

1.1       root        1: /*++
                      2: 
                      3: Copyright (c) 1991  Microsoft Corporation
                      4: 
                      5: Module Name:
                      6: 
                      7:     ntstapi.h
                      8: 
                      9: Abstract:
                     10: 
                     11:     This module declares the STREAMS APIs that are provided for use
                     12:     primarily by the NT tcp/ip socket library.
                     13: 
                     14: Author:
                     15: 
                     16:     Eric Chin (ericc)           July 26, 1991
                     17: 
                     18: Revision History:
                     19: 
                     20:     mikemas   01-02-92    Deleted poll definition. Mips complained because
                     21:                           of def in winsock.h
                     22: 
                     23: 
                     24: --*/
                     25: 
                     26: #ifndef _NTSTAPI_
                     27: #define _NTSTAPI_
                     28: 
                     29: 
                     30: //
                     31: // s_close() is not provided.  Use the open and close primitives that are
                     32: // appropriate to your subsystem.
                     33: //
                     34: 
                     35: int
                     36: WINAPI
                     37: getmsg(
                     38:     IN HANDLE fd,
                     39:     IN OUT struct strbuf *ctrlptr OPTIONAL,
                     40:     IN OUT struct strbuf *dataptr OPTIONAL,
                     41:     IN OUT int *flagsp
                     42:     );
                     43: 
                     44: int
                     45: WINAPI
                     46: putmsg(
                     47:     IN HANDLE fd,
                     48:     IN struct strbuf *ctrlptr OPTIONAL,
                     49:     IN struct strbuf *dataptr OPTIONAL,
                     50:     IN int flags
                     51:     );
                     52: 
                     53: int
                     54: WINAPI
                     55: s_ioctl(
                     56:     IN HANDLE fd,
                     57:     IN int cmd,
                     58:     IN OUT void *arg OPTIONAL
                     59:     );
                     60: 
                     61: HANDLE
                     62: WINAPI
                     63: s_open(
                     64:     IN char *path,
                     65:     IN int oflag,
                     66:     IN int ignored
                     67:     );
                     68: 
                     69: #endif /* _NTSTAPI_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.